Skip to content

chore: pin FlatBuffers to 25.2.10. Generate matching bindings. - #93

Merged
kou merged 2 commits into
apache:mainfrom
willtemperley:main
Oct 12, 2025
Merged

chore: pin FlatBuffers to 25.2.10. Generate matching bindings.#93
kou merged 2 commits into
apache:mainfrom
willtemperley:main

Conversation

@willtemperley

@willtemperley willtemperley commented Oct 11, 2025

Copy link
Copy Markdown
Contributor

There is a mismatch between the FlatBuffers runtime which is 25.2.10 and the bindings which were generated with 23.1.4.

What's Changed

The files have been generated by FlatBuffers 25.2.10.

The API for message construction has been updated to match the new API. For example:

let message = org_apache_arrow_flatbuf_Message.getRootAsMessage(bb: dataBuffer)

becomes:

let message: org_apache_arrow_flatbuf_Message = getRoot(byteBuffer: &dataBuffer)

Closes #92

Comment thread Arrow/Package.swift Outdated
name: "Arrow",
platforms: [
.macOS(.v10_14)
.macOS(.v10_15)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this change intentional?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think I did that to fix a build error but it doesn't appear to be necessary. Reverted.

@kou kou left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

+1

@kou
kou merged commit 74fc502 into apache:main Oct 12, 2025
10 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.

Version mismatch between FlatBuffers generated code and library version

2 participants