Releases: google/flatbuffers
Releases · google/flatbuffers
FlatBuffers Version 25.9.23
What's Changed
- [Swift] Adds new API to reduce memory copying within swift by @mustiikhalil in #8484
- [C++] Fixes access to union members when generating code with options "--cpp-field-case-style upper" and "--gen-object-api" by @Ailuridae in #8447
- [C++] Fix dereference operator of VectorIterator to structures by @admo in #8425
- [TS] Enum value default null by @bjornharrtell in #8619
- [Swift] Flexbuffers native swift port by @mustiikhalil in #8577
- [TS] Upgrade deps by @bjornharrtell in #8620
- Avoid outputting Python files for already generated types by @akb825 in #8500
- Bugfix: grpc python code generation location and file suffix by @fliiiix in #8359
- Decode bytes to strings in Python Object API by @sethraymond in #8551
- [Swift] Adds windows support by @mustiikhalil in #8622
- [TS] Fix relative paths for exports by @trumully in #8517
- [CI] Moves swift actions to use next by @mustiikhalil in #8632
- Bugfix/new decode flag by @fliiiix in #8634
- Use correct default type for str by @fliiiix in #8623
- Fixed typo in quick_start.md by @Dylan-Gallagher in #8592
- Fix typo in code comment by @fliiiix in #8549
- Update README logo path by @gio3k in #8602
- [Python] Avoid include own type by @fliiiix in #8625
- [Swift] Fixes inlining & module importing by @mustiikhalil in #8637
- Fix Enum type definition by @fliiiix in #8624
- Fix JavaScript typo in mkdocs.yml by @luksab in #8515
- [Python] Avoid double flatbuffers include in pyi files by @fliiiix in #8626
- doc: PHP fread typo by @rogeriolino in #8566
- [Swift] Allows keepingCapacity for the underlying memory by @mustiikhalil in #8643
- [Python] Enhance object API
__init__with typed keyword arguments by @crackcomm in #8615 - Fix start page: Backwards and Forwards Compatibility by @fliiiix in #8645
- Support Rust edition 2024 by @aleb in #8638
- Bugfix eq for numpy data types by @fliiiix in #8646
- [Swift] Moves capacity from storage to struct by @mustiikhalil in #8650
- [Swift] Fixes load from misaligned raw pointer by @mustiikhalil in #8649
- Fix native_type non-native_inline fields, add tests by @souryavarenya in #8655
- Remove stray required in docs by @fliiiix in #8663
- Doc fix verifier example code for cpp by @fliiiix in #8664
- docs: fix broken link in readme by @Nugine in #8656
- Fix small typo in word JavaScript (JavasScript -> JavaScript) by @isaiahpettingill in #8530
- Add Rust reflection documentation by @candysonya in #8536
- CMakeLists: include(CheckSymbolExists) so check_symbol_exists() will work by @vzjc in #8580
- Fix: Actually call ValidateOptions by @thejtshow in #8665
- Update TS codegen - change
getFullyQualifiedNamereturn type from string to string literal by @rametta in #8421 - [CI] Fixes swift tests on windows by @mustiikhalil in #8685
- fix(go/grpc): avoid panic on short FlatBuffers input by @thevilledev in #8684
- Bugfix: grpc supress incorrect warning by @fliiiix in #8669
- gRPC callbackService support added by @shankeleven in #8666
- [C#] Fix union verifier by @TorsteinTenstadNorsonic in #8593
- Add bounds checking to a C# method where it was missing by @CurtHagenlocher in #8673
- [C#] Improve Span<> utilization by @bigjt-dev in #8588
- [C#] Added ToSizedArrayPadded(int padLeft, int padRight) to ByteBuffers to avoid unnecessary copying. by @petersvp in #8658
- fix(idl_gen_ts): bool to number conversion in mutable API (#8676) by @nurbo in #8677
- [Swift] Fixes windows CI by @mustiikhalil in #8702
- Use the Google Style for clang-format without exceptions by @dbaileychess in #8706
- bulk code format fix by @dbaileychess in #8707
- Bump the npm_and_yarn group across 1 directory with 2 updates by @dependabot[bot] in #8704
- FlatBuffers Version 25.9.23 by @dbaileychess in #8708
New Contributors
- @Ailuridae made their first contribution in #8447
- @sethraymond made their first contribution in #8551
- @trumully made their first contribution in #8517
- @Dylan-Gallagher made their first contribution in #8592
- @gio3k made their first contribution in #8602
- @luksab made their first contribution in #8515
- @rogeriolino made their first contribution in #8566
- @crackcomm made their first contribution in #8615
- @aleb made their first contribution in #8638
- @souryavarenya made their first contribution in #8655
- @Nugine made their first contribution in #8656
- @isaiahpettingill made their first contribution in #8530
- @vzjc made their first contribution in #8580
- @thejtshow made their first contribution in #8665
- @rametta made their first contribution in #8421
- @thevilledev made their first contribution in #8684
- @shankeleven made their first contribution in #8666
- @TorsteinTenstadNorsonic made their first contribution in #8593
- @bigjt-dev made their first contribution in #8588
- @petersvp made their first contribution in #8658
- @nurbo made their first contribution in #8677
Full Changelog: v25.2.10...v25.9.23
v25.2.10
What's Changed
- Rust reflection: simplify dependencies, fix Android build compatibility by @dextero in #8512
- [Swift] Adds swift 6 to the build matrix & bumps swift to 5.9 by @mustiikhalil in #8414
- Upgrade dependencies by @mering in #8516
New Contributors
Full Changelog: v25.1.24...v25.2.10
v25.1.24
What's Changed
- Also use rules_bazel_bazel_integration_test dependency with Bzlmod by @mering in #8498
- Add bazel ci by @dbaileychess in #8497
- Fix Bzlmod by @mering in #8503
- Fix Bazel ts support by @mering in #8499
- Improve Bazel CI by @mering in #8502
- Fix npm bzlmod by @mering in #8506
- Add support for Bazel 7 and 8 in Bazel CI by @mering in #8505
- Test external modules explicitly in CI by @mering in #8507
- Bump the versions of all aspect Bazel dependencies by @sbarfurth in #8508
- Remove Bazel WORKSPACE setup. by @mering in #8509
- Add Bazel instructions to docs by @mering in #8510
- [C++] Avoid adding semicolon after a statement by @tzik in #8488
New Contributors
- @sbarfurth made their first contribution in #8508
Full Changelog: v25.1.21...v25.1.24
v25.1.21
What's Changed
- Add new Docs source files by @dbaileychess in #8461
docs.ymlAdd workflow for updating docs by @dbaileychess in #8462- docs.yml enable for pushes to main branch by @dbaileychess in #8463
contributions.mdAdd doc about how to contribute to flatbuffers by @dbaileychess in #8464- CNAME: add custom domain by @dbaileychess in #8465
- [Swift] Bug fix for verifier where its being copied by @mustiikhalil in #8451
flatc.mdAdd more documentation by @dbaileychess in #8467quick_start.md: Add quick start guide by @dbaileychess in #8469- Add Annotating Docs by @dbaileychess in #8470
mkdocs.ymladd footer and other info by @dbaileychess in #8471schema.mdFixed some warnings by @dbaileychess in #8472- Fix crash for TypeScript enum in substruct by @fergushenderson in #8430
- fix typo in tutorial by @shynur in #8476
- A couple of small updates to the docs by @srinarasi in #8477
- Add imports for bazel by @dbaileychess in #8486
- Rust full reflection by @candysonya in #8102
- Fix a minor typo in flatc --help output by @musicinmybrain in #8468
- Add missing headers to runtime_cc target by @mering in #8492
- Use Label() to resolve repo name by @mering in #8493
- Use rules_bazel_integration_test to download Bazel binary by @mering in #8495
- Add support for Bzlmod by @mering in #8494
New Contributors
- @shynur made their first contribution in #8476
- @srinarasi made their first contribution in #8477
- @candysonya made their first contribution in #8102
- @mering made their first contribution in #8492
Full Changelog: v24.12.23...v25.1.21
v24.12.23
What's Changed
- Avoid ODR violations with flatbuffers::Verifier. by @fergushenderson in #8274
- Improve error handling on Object API name collision. by @mbeards in #8275
- [Kotlin] Add workflow to release kotlin multiplatform version by @paulovap in #8014
- Remove npm/rules_js dependency for C++ only use cases by @philsc in #7990
- [Python] Fix various codegen problems by @anton-bobukh in #8292
- [gRPC] Add new options to control the gRPC code generation by @anton-bobukh in #8298
- Update build.yml to ubuntu-24.04 by @dbaileychess in #8319
- Trying to fix bazel on macOS and Xcode 14.3 by @mustiikhalil in #8304
- Update build.yml by @dbaileychess in #8321
- Add missing opertors to VectorIterator by @Icantjuddle in #8309
- [.NET] Add netstandard2.0 as target by @bjornharrtell in #8295
- [Kotlin] Update to kotlin 1.9.10 by @paulovap in #8307
- dart: Fix incorrect write in Float64 write method by @NotTsunami in #8290
- Added automatic publishing to crates.io on publish by @rdelfin in #8263
- Update release.sh by @dbaileychess in #8322
- Fix operator== for flatbuffers::optional by @mikudehuane in #8223
- [C++] Make code compile with -Wfloat-equal by @fliiiix in #8221
- [C++] Allow using FLATBUFFERS_MIN_BUFFER_SIZE in other namespaces by @dominiklohmann in #8229
- [Python] Generate
.pyistub files when--python-typingis on. by @anton-bobukh in #8312 - [Swift] Sets Swift minimum support to 5.8 by @mustiikhalil in #8228
- [C++] Update the validator to skip structs in namespaces other than the current one. by @anton-bobukh in #8324
- [BinaryAnnotator] Add more options that control the generation of
.afbfiles by @anton-bobukh in #8323 - [Python] Render enums as Python IntEnum by @fliiiix in #8145
- [gRPC] Update the code generator for Python to produce typed handlers by @anton-bobukh in #8326
- Add parentheses in FLATBUFFERS_MAX_BUFFER_SIZE, FLATBUFFERS_MAX_64_BUFFER_SIZE to avoid preprocessor definition collision by @mspanc in #8377
- Add "empty()" to vector by @alphalex-google in #8369
- Remove unused comment and fix typo. by @lamtrinhdev in #8366
- Upgrade Rust dependencies by @gschulze in #8372
- [jumbo] Add begin()/end() to DetachedBuffer. by @pkasting in #8370
- Add a unit test for odd-sized small structs (for #8117) by @nolen777 in #8363
- Update libs.versions.toml by @mikhsol in #8387
- docs: update README.md by @eltociear in #8383
- Use actions/upload-artifact@v4 on CI by @aardappel in #8410
- Attempt to fix Rust CI by @aardappel in #8411
- [Swift] Fixes spelling mistake in the word position by @mustiikhalil in #8330
- [Swift] Addresses a bug where verifier skips capacity when verifying ID on buffers by @mustiikhalil in #8413
- [Swift] Updates CocoaPods author info & fixes bug with versioning not working as expected by @mustiikhalil in #8328
- Update grpc-core version by @mikhsol in #8412
- FlexBuffers: support "natural utf8" output in ToString by @aardappel in #8426
- use ALIGN for Push::alignment in struct types by @bkietz in #8398
- Removes 'size' and 'alignment' as Rust keywords by @csmulhern in #8139
- dart: use enhanced enums by @vaind in #8313
- [Swift] Improves vectors performance & arrays within lib by @mustiikhalil in #8415
- FlatBuffers Version 24.12.23 by @dbaileychess in #8459
New Contributors
- @fergushenderson made their first contribution in #8274
- @Icantjuddle made their first contribution in #8309
- @NotTsunami made their first contribution in #8290
- @rdelfin made their first contribution in #8263
- @mikudehuane made their first contribution in #8223
- @dominiklohmann made their first contribution in #8229
- @mspanc made their first contribution in #8377
- @alphalex-google made their first contribution in #8369
- @lamtrinhdev made their first contribution in #8366
- @gschulze made their first contribution in #8372
- @nolen777 made their first contribution in #8363
- @mikhsol made their first contribution in #8387
- @eltociear made their first contribution in #8383
- @bkietz made their first contribution in #8398
- @csmulhern made their first contribution in #8139
Full Changelog: v24.3.25...v24.12.23
v24.3.25
What's Changed
- Fix License by @p0fi in #8253
- Fix handling non null-terminated string_views in LookupByKey by @mpawlowski-eyeo in #8203
New Contributors
- @p0fi made their first contribution in #8253
- @mpawlowski-eyeo made their first contribution in #8203
Full Changelog: v24.3.7...v24.3.25
v24.3.7
What's Changed
- Add Kotlin multiplatform support by @paulovap in #7969
- Add
ForceVectorAlignment64and test by @dbaileychess in #7977 - [Kotlin] Add java source on benchmark module instead of using version… by @paulovap in #7978
- Small optimization on "deserialization" and fix on benchmarks again by @paulovap in #7982
- [Bazel] Fix gen_reflections for flatbuffers_ts_library by @jkuszmaul in #7981
- various fixes by @dbaileychess in #7986
- Make eslint less pedantic by @OptoCloud in #8012
- Optional omission of Typescript entrypoint by @maxburke in #8057
- Upgrade the bazel-related dependencies by @philsc in #8078
- Fix BUILD.bazel style violations by @philsc in #8081
- [TS] Allows object API to set 0 for a null-default scalar. by @jviel-beta in #7864
- Fully qualify the offset type in FLATBUFFERS_VTABLE_UNDERLYING_TYPE by @anton-bobukh in #8094
- [bazel] Update Platforms by @sgowroji in #8083
- Bump google.golang.org/grpc from 1.39.0-dev to 1.53.0 in /grpc/examples/go/greeter/server by @dependabot in #8027
- Upgrade rules_go by @comius in #8092
- Bump google.golang.org/grpc from 1.35.0 to 1.53.0 in /grpc/examples/go/greeter/client by @dependabot in #8026
- Bump google.golang.org/grpc from 1.35.0 to 1.53.0 in /grpc/examples/go/greeter/models by @dependabot in #8025
- Fix nim workflow by @le-michael in #8098
- [Swift] Overall Improvements by @mustiikhalil in #8061
- Fix misalignment of small structs in a Vector (C++) by @bexcite in #7883
- Add constexpr for bitmask operators by @xaphier in #8037
- C++ strict conversion fixes for flatbuffer_builder.h (#8062) by @greenrobot in #8065
- Fix compiling idl_gen_php.cpp against certain STLs by @reshilkin in #8067
- Fix compiling idl_parser.cpp against certain STLs by @reshilkin in #8066
- corrected a typo by @sthd in #8063
- Return function to namespace by @reshilkin in #8068
- TS: Add missing generated files by @bjornharrtell in #8075
- Add const qualifier to non-mutated FlatbufferBuilder parameter by @Lukasdoe in #8101
- Fix verification for C# unions by @CurtHagenlocher in #7970
- [Rust] Add the Allocator trait for the builder API by @adsnaider in #8106
- update flatbuffers java to be Android API level 23 compatible by @turbotoribio in #8158
- Fix CI builds by @dbaileychess in #8161
- chore: Dart 23.5.26 release by @vaind in #8160
- Fix: detect c++ standard on MSVC for span by @assorted in #8155
- Update Compiler.md docs by @fliiiix in #8153
- Remove msvc pragma warning disable C4351 as it is undocumented by @Lukasdoe in #8124
- Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /grpc/examples/go/greeter/models by @dependabot in #8130
- Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /grpc/examples/go/greeter/server by @dependabot in #8132
- Bump google.golang.org/grpc from 1.53.0 to 1.56.3 in /grpc/examples/go/greeter/client by @dependabot in #8131
- Add help text to cmake git describe error message by @Lukasdoe in #8123
- Fix spelling mistake in FlatBufferBuilder.cs doc comments by @peter-dye in #8120
- Allow CreateString invocation with std::string_view by @reshilkin in #8069
- Update build.yml by @dbaileychess in #8162
- [Swift] Fixes forward offset verifiable objects within arrays & fixes failing tests by @mustiikhalil in #8135
- Bump word-wrap from 1.2.3 to 1.2.4 by @dependabot in #8042
- Add argument to FlatBufferToString for quotes around field names by @alresin in #8090
- Update build.yml by @dbaileychess in #8163
- [GO] compiles to much files by @tira-misu in #8118
- Update testReadFromOtherLanguages test to also run on macOS by @mustiikhalil in #8044
- Add absolute file names option to BFBS by @jamescourtney in #8055
- [Swift] Push contiguous bytes by @wtholliday in #8157
- Fix typo in CMakeLists.txt by @DoppelDe in #8167
- [Swift] Add allowReadingUnalignedBuffers to most ByteBuffer init methods by @abandy in #8134
- [Swift] Migrating benchmarks to a newer lib. by @mustiikhalil in #8168
- Fix cmake build for old versions by @fliiiix in #8173
- copy languages for conformance parser by @blindspotbounty in #8174
- Fix python type annotation output when not enabled by @akb825 in #7983
- [TS/JS] Upgrade dependencies by @bjornharrtell in #7996
- Introduce convenient implicit operator string_view by @georgthegreat in #8181
- [Python] Add clear method for builder reuse by @razvanalex in #8186
- [TS/JS] Create byte vectors by @razvanalex in #8185
- Target .NET Standard 2.1, .NET 6, .NET 8 only by @bjornharrtell in #8184
New Contributors
- @jviel-beta made their first contribution in #7864
- @sgowroji made their first contribution in #8083
- @bexcite made their first contribution in #7883
- @xaphier made their first contribution in #8037
- @reshilkin made their first contribution in #8067
- @sthd made their first contribution in #8063
- @Lukasdoe made their first contribution in #8101
- @CurtHagenlocher made their first contribution in #7970
- @adsnaider made their first contribution in #8106
- @turbotoribio made their first contribution in #8158
- @assorted made their first contribution in #8155
- @fliiiix made their first contribution in #8153
- @peter-dye made their first contribution in #8120
- @alresin made their first contribution in #8090
- @jamescourtney made their first contribution in #8055
- @wtholliday made their first contribution in #8157
- @DoppelDe made their first contribution in #8167
- @abandy made their first contribution in #8134
- @akb825 made their first contribution in #7983
- @georgthegreat made their first contribution in #8181
- @razvanalex made their first contribution in #8186
Full Changelog: v23.5.26...v24.3.7
v24.3.6
FlatBuffers Version v24.3.6
v23.5.26
Mostly a bug fixing release.
What's Changed
- TS/JS: Upgrade package.json dependencies by @bjornharrtell in #7933
- fix out-of-source builds with cmake by @dbaileychess in #7946
- removed extern code generation declarations preferring direct includes by @dbaileychess in #7948
- fixed bfbs gen to pass extra options by @dbaileychess in #7949
- Fix //tests/ts:bazel_repository_test by @philsc in #7952
- Change SizedPrefixed verifier to be <= provided size by @dbaileychess in #7957
- fix(TS): fixed incorrect function name when importing unionTo functions by @sssooonnnggg in #7958
- remove flatbuffers tests from android by @dbaileychess in #7959
- feat(C++): Support underlying_type for union by @sssooonnnggg in #7954
- feat: Support union underlying type for TS/JS by @sssooonnnggg in #7961
- README.md: SemVer case typo by @crisman in #7962
- chore: fixed broken script: RustTest.bat by @sssooonnnggg in #7963
- Switch to using alias instead of a typedef for FlatBufferBuilder by @dbaileychess in #7966
- fix(rust): fixed rust namer isses, resolve #7865 and ##7782 by @sssooonnnggg in #7964
- Fix python tests by @yan12125 in #7960
- switch back to having T explicitly defined in CreateVector by @dbaileychess in #7967
- don't emit flatbuffers include in bfbs generated output by @dbaileychess in #7968
- Update java pom.xml file to allow java 8 compatibility by @swimar in #7894
- FlatBuffers Version 23.5.26 by @dbaileychess in #7976
New Contributors
Full Changelog: v23.5.9...v23.5.26
v23.5.9
This adds support for larger buffers > 2 GiB by adding a 64-bit offsets for vectors and strings. This is only for C++ at the moment.
See the 64-bit tests for usage and examples.
What's Changed
- FlatBuffers 64 for C++ by @dbaileychess in #7935
- FlatBuffers Version 23.5.9 by @dbaileychess in #7945
Full Changelog: v23.5.8...v23.5.9