This release fixes an issue with file size attributes in some cases (such as iOS Document-based App with SwiftUI)
during OLEFile creation.
Merged pull requests:
This release adds support for creating OLEFile instances from a FileWrapper. Many thanks
to @sboh1214 for the contribution!
Merged pull requests:
This a bugfix release that breaks API compatibility. It fixes issues with reading OLE mini-streams,
and hierarchies of directory entries. The DataReader API was updated to use Int instead of
UInt64 to avoid potential overflow issues. Corresponding read methods on DataReader can
now trigger a precondition assertion if you try to read after reaching an end-of-stream position.
To prevent this, you should check the value of a new totalBytes property on DataReader.
Additionally, basic API documentation is now generated with
swift-doc and is now hosted with GitHub
Pages.
Breaking changes:
- Add preconditions to
DataStream, tweak seek API (#3) via @MaxDesiatov
Closed issues:
- [Bug] Storage & Stream Structure is Different while testing .hwp file (#6)
- [Bug] get wrong stream position while get "FileHeader" stream in ".hwp" file (#1)
Merged pull requests:
- Fix incorrectly built entries hierarchy (#7) via @MaxDesiatov
- Fix miniStream iteration bug, add HWP test (#5) via @MaxDesiatov
- Generate and publish documentation with
swift-doc(#4) via @MaxDesiatov - Fix branch name in
main.yml, test on new Xcode (#2) via @MaxDesiatov
Initial release of OLEKit that provides basic features for the CryptoOffice library.