You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@fory.apache.org by GitBox <gi...@apache.org> on 2026/02/18 18:32:29 UTC
[GH] (fory/main): Workflow run "npm_and_yarn in /javascript for ajv - Update #1248527356" failed!
The GitHub Actions job "npm_and_yarn in /javascript for ajv - Update #1248527356" on fory.git/main has failed.
Run started by GitHub user dependabot[bot] (triggered by dependabot[bot]).
Head commit for run:
db3b7f677d1adfe54195de96b775fed3550e9021 / Shawn Yang <sh...@gmail.com>
feat(swift): implement fory serialization for swift language (#3359)
## Why?
- Add first-class Swift support so Swift applications can use Fory xlang
serialization.
- Bring Swift into Fory’s cross-language test/CI matrix and close the
related Swift tracking issues.
## What does this PR do?
- Bootstraps a new `swift/` package with a library target (`ForySwift`),
macro target (`ForySwiftMacros`), and xlang peer executable
(`ForySwiftXlangPeer`).
- Implements the Swift serialization runtime: byte buffer IO,
primitive/optional/collection/map serializers, reference
resolver/context, type IDs/flags, type metadata, and error handling.
- Adds supporting components such as metastring encoding/decoding and
MurmurHash3 used by metadata/protocol paths.
- Adds `@ForyObject` macro generation for Swift structs/classes.
- Adds the Swift xlang peer executable used by Java xlang compatibility
tests.
- Adds broad Swift unit tests for primitive/optional/collection round
trips, reference tracking, macro models, varint edge cases, metastring,
and type metadata behavior.
- Adds Java integration test `SwiftXlangTest` and CI jobs (`swift`,
`swift_xlang`) on macOS.
- Updates repo housekeeping for Swift builds (`swift/.build` in
`.gitignore`) and adds `swift/README.md`.
## Related issues
Closes #3351
Closes #3350
Closes #3324
Closes #3352
Closes #3353
Closes #3354
#1017
#3349
## Does this PR introduce any user-facing change?
Adds a new Swift SDK/package (`swift/`) with serialization APIs and
macro-based object support.
- [x] Does this PR introduce any public API change?
- [ ] Does this PR introduce any binary protocol compatibility change?
## Benchmark
N/A for initial Swift implementation.
Report URL: https://github.com/apache/fory/actions/runs/22152531941
With regards,
GitHub Actions via GitBox
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@fory.apache.org
For additional commands, e-mail: commits-help@fory.apache.org