Skip to content

SwiftDocuments 1.0.0

Choose a tag to compare

@nanbu nanbu released this 23 Oct 08:01
· 2 commits to main since this release

SwiftDocuments 1.0.0 stabilizes the documented reading API for Swift applications.

  • Read DOCX/DOCM into format-neutral, Sendable document values, with explicit warnings and access to original parts.
  • Inspect packages, scan body blocks, retrieve lazy assets and source XML, and use concurrent async reads or bounded batches.
  • Read documented subsets of ODT and modern Pages. Advanced semantics remain partial or raw-only as stated in the support table.
  • Use consistent format selection for Data and URL inputs, individual codec products or the umbrella, following SwiftSheets' API conventions.
  • Includes fictional producer fixtures, English guides, a generated API inventory and an executable example.

Requires Swift 6.2+, macOS 14+ or iOS 17+. Linux requires system zlib. No external Swift package dependencies.

Writing, conversion, page rendering, legacy DOC and decryption are outside this release. Version 1.0 does not imply complete interpretation of every Office/ODF/Pages element. iOS compilation is verified; device/simulator execution is not yet verified.

Install with .package(url: "https://github.com/nanbu/SwiftDocuments.git", from: "1.0.0").

See the API reference, reading specification and changelog.