Skip to content

Add modern Swift Package Manager support - #1

Merged
100mango merged 2 commits into
masterfrom
swiftpm-support
Oct 24, 2026
Merged

100mango merged 2 commits into
masterfrom
swiftpm-support

Conversation

@100mango

@100mango 100mango commented Oct 24, 2026 •

Copy link
Copy Markdown
Owner

Summary

  • Add a modern SwiftPM package without third-party dependencies, preserving the Apple platform declarations and CocoaPods source layout.
  • Support FoundationXML on Linux and preserve repeated/nested XML values across Foundation implementations.
  • Handle CDATA, reject invalid or missing-root documents, and document the unsupported mixed-content model.
  • Prepare version 0.2.0 with versioned installation instructions and corrected podspec metadata.

Tests

  • Expanded to 21 regression tests: resource-independent parsing, repeated/nested elements, separate and flattened attributes, CDATA/Unicode/UTF-8 BOM, empty roots, malformed input, parser recovery, and element-only round trips.
  • Final PR CI passed for head 91839102f9e8a5e1b4a9b6898845759c3eba9540: macOS and Linux each passed all 21 tests in Debug and Release, plus an independent consuming package.
  • Local Swift 6.4.1 Debug and Release suites and the independent consumer also passed.
  • The release-published workflow resolves the exact remote version and verifies its commit before running the consumer.

No signing, package-registry publication, access changes, or paid runners. Ready for the requested merge and GitHub release.

@100mango
100mango marked this pull request as ready for review October 24, 2026 14:06
@100mango
100mango merged commit 2bd8f83 into master Oct 24, 2026
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant