fix: use exact version for FlatBuffers dependency (#143)

### What changes are included in this PR?

This PR updates the `google/flatbuffers` dependency in `Package.swift`
to use the `exact` version requirement (`exact: "25.2.10"`) instead of
the previous `from:` requirement.

### Why are these changes necessary?

The `from:` parameter allows the Swift Package Manager to automatically
resolve and fetch newer minor versions. However, FlatBuffers has a known
history of introducing breaking API changes between minor updates.
Allowing floating versions can silently break the `*_generated.swift`
files and disrupt the build process for anyone depending on this
package.

Pinning the dependency to an exact version acts as a strict contract,
ensuring build stability, predictable code generation, and preventing
upstream surprises.

### Related Issues

Closes #114
1 file changed
tree: f1777eca8ed9efb029f1dbc9b03157d68c584ee3
  1. .github/
  2. CDataWGo/
  3. ci/
  4. data-generator/
  5. dev/
  6. Sources/
  7. Tests/
  8. .asf.yaml
  9. .dockerallow
  10. .editorconfig
  11. .env
  12. .gitignore
  13. .pre-commit-config.yaml
  14. .spi.yml
  15. .swiftlint.yml
  16. CODE_OF_CONDUCT.md
  17. compose.yaml
  18. CONTRIBUTING.md
  19. gen-flatbuffers.sh
  20. gen-protobuffers.sh
  21. LICENSE.txt
  22. NOTICE.txt
  23. Package.resolved
  24. Package.swift
  25. README.md
README.md

Apache Arrow Swift

Apache Arrow is a universal columnar format and multi-language toolbox for fast data interchange and in-memory analytics. It contains a set of technologies that enable data systems to efficiently store, process, and move data.

Installation

Swift Package Manager

Add Arrow as a dependency in your Package.swift:

dependencies: [
    .package(url: "https://github.com/apache/arrow-swift.git", from: "21.0.0")
]

Then add Arrow to your target's dependencies:

.target(
    name: "YourTarget",
    dependencies: ["Arrow"]
)

Xcode

  1. Go to File > Add Package Dependencies...
  2. Enter the repository URL: https://github.com/apache/arrow-swift.git
  3. Select your desired version rules and click Add Package

Getting Started

For API documentation and usage examples, see the documentation on Swift Package Index.

Getting involved

Even if you do not plan to contribute to Apache Arrow itself or Apache Arrow integrations in other projects, we'd be happy to have you involved:

We prefer to receive contributions in the form of GitHub pull requests. Please send pull requests against the github.com/apache/arrow-swift repository.

If you are looking for some ideas on what to contribute, check out the GitHub Issues for the Apache Arrow Swift project. Comment on the issue, GitHub Discussions and/or contact dev@arrow.apache.org with your questions and ideas.

If you‘d like to report a bug but don’t have time to fix it, you can still post it on GitHub issues.

License

Apache 2.0