Releases: google/flatbuffers
Releases · google/flatbuffers
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
.pyi
stub files when--python-typing
is 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
.afb
files 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
ForceVectorAlignment64
and 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
v23.5.8
What's Changed
- Update filename to
README.md
and improve formatting by @SmashedFrenzy16 in #7855 - Fix help output for --java-checkerframework by @musicinmybrain in #7854
- ToCamelCase() when kLowerCamel now converts first char to lower. by @paulovap in #7838
- Adding comment for code clarification by @SmashedFrenzy16 in #7856
- made changes to the rust docs so they would compile. by @jeffsmith82 in #7871
- fix using null string in vector by @phenixxy in #7872
- Use Bool for flatbuffers 'bool' instead of Byte in swift by @blindspotbounty in #7876
- Update go documentation link to point to root module by @le-michael in #7879
- README.md: PyPI case typo by @crisman in #7880
- [CS] Verifier by @tira-misu in #7850
- [TS/JS] Use minvalue from enum if not found by @bjornharrtell in #7888
- Add a FileWriter interface by @Kn99HN in #7821
- [TS/JS] Upgrade dependencies by @bjornharrtell in #7889
- Fix go_sample.sh by @jdemeyer in #7903
- Go: add test for FinishWithFileIdentifier by @jdemeyer in #7905
- Optionally generate type prefixes and suffixes for python code by @maxburke in #7857
- Support file_identifier in Go by @jdemeyer in #7904
- Go: make generated code more compliant to "go fmt" by @jdemeyer in #7907
- TS/JS: Use TypeError instead of Error when appropriate by @jmillan in #7910
- Allow to use functions from
BuildFlatBuffers.cmake
from a flatbuffe… by @KerstinKeller in #7912 - Make JSON supporting advanced union features by @admo in #7869
- drop glibc from runtime dependencies by @faucct in #7906
- Replace deprecated command with environment file by @jongwooo in #7921
- Optionally generate Python type annotations by @maxburke in #7858
- additional check for absl::string_view availability by @ocpalo in #7897
- Only generate @kotlin.ExperimentalUnsigned annotation on create*Vector methods having an unsigned array type parameter. by @aaronriekenberg in #7881
- Migrate from rules_nodejs to rules_js/rules_ts by @philsc in #7923
- Revert "Migrate from rules_nodejs to rules_js/rules_ts" by @dbaileychess in #7927
- inject no long for FBS generation to remove logs in flattests by @dbaileychess in #7926
- fixed some windows warnings by @dbaileychess in #7929
- Migrate from rules_nodejs to rules_js/rules_ts (take 2) by @philsc in #7928
- Add binary schema reflection by @dbaileychess in #7932
- Rework cmake flatc codegeneration by @dbaileychess in #7938
- Add #!/usr/bin/bash to release.sh by @rishabhdeepsingh in #7942
- FlatBuffers Version 23.5.8 by @rishabhdeepsingh in #7943
New Contributors
- @SmashedFrenzy16 made their first contribution in #7855
- @jeffsmith82 made their first contribution in #7871
- @phenixxy made their first contribution in #7872
- @blindspotbounty made their first contribution in #7876
- @crisman made their first contribution in #7880
- @jdemeyer made their first contribution in #7903
- @KerstinKeller made their first contribution in #7912
- @faucct made their first contribution in #7906
- @jongwooo made their first contribution in #7921
- @ocpalo made their first contribution in #7897
- @philsc made their first contribution in #7923
Full Changelog: v23.3.3...v23.5.8
v23.3.3
What's Changed
- [C++] Enable using struct and array of struct as key by @sunwen18 in #7741
- Refactor languages to use CodeGenerator interface. by @Kn99HN in #7797
- Clean up extra white spaces by @sunwen18 in #7800
- Code generator refactor bug fix by @Kn99HN in #7802
- Refactor usage message by @Kn99HN in #7803
- Support cmake 3.8 and higher only by @ilya-lavrenov in #7801
- Rename LICENSE.txt to LICENSE by @CodeMaster7000 in #7808
- Fix std::span autodetection by @codewiz in #7805
- Final refactor for bfsb_generator* and text generator by @Kn99HN in #7806
- Parsing from proto should keep field ID. (fixes #7645) by @enum-class in #7655
- Fixed vtable duplication for binary annotator by @dbaileychess in #7809
- explicitly declare enum values by @dbaileychess in #7811
- use switch statements for BASE_TYPE_ lookups by @dbaileychess in #7813
- Simplify and fix TypeScript compilation output by @bjornharrtell in #7815
- [Annotated Buffers] Improve efficiency by @dbaileychess in #7820
- Sample adjusted for Python3 by @chrismue in #7819
- Only use absl headers if C++14 is available. by @rouault in #7824
- Move defined table from gen_cpp to idl.h by @enum-class in #7823
- Editorconfig: als configure to trim whitespaces end EOL. by @hzeller in #7833
- Add Code Generator for idl_gen_fbs to parse .proto files by @Kn99HN in #7832
- [CS] Naming collision if field has same name as table and used as key by @tira-misu in #7842
- [cmake] Added GENERATE_ to flatbuffers_generate_headers by @CedricSchmeits in #7845
- Add a --java-package-prefix option to flatc by @chuckatkins in #7848
- [Android][Kotlin] fixed build after decomission of jcenter and gradle update by @paulovap in #7840
- TS/JS: Export object based classes on entry by @jmillan in #7822
- Update pom.xml to allow LICENSE verification by @CodeMaster7000 in #7849
- Add Java reflection bindings to the distribution by @chuckatkins in #7851
- FlatBuffers Version 23.3.3 by @dbaileychess in #7852
New Contributors
- @Kn99HN made their first contribution in #7797
- @ilya-lavrenov made their first contribution in #7801
- @CodeMaster7000 made their first contribution in #7808
- @codewiz made their first contribution in #7805
- @chrismue made their first contribution in #7819
- @CedricSchmeits made their first contribution in #7845
- @chuckatkins made their first contribution in #7848
Full Changelog: v23.1.21...v23.3.3
v23.1.21
What's Changed
- [TS/JS] Entry point per namespace and reworked 1.x compatible single file build by @bjornharrtell in #7510
- FlatBuffers Version 23.1.21 by @dbaileychess in #7796
Full Changelog: v23.1.20...v23.1.21
v23.1.20
What's Changed
- Add pointer reference to sibling union field on FieldDef by @paulovap in #7755
- Expand wildcard imports in the generated Kotlin files. by @anton-bobukh in #7757
- Fix operator==() generated for field of fixed sized array by @enum-class in #7749
- [Kotlin] Improve field nullability based on (required) by @flqw in #7658
- [Swift] Clean up by @mustiikhalil in #7744
- Ensure that empty modules can build in TypeScript isolatedModules mode by @maxburke in #7726
- [C++] Add Command-Line Flag to Suppress MIN and MAX Enums by @jalitriver in #7705
- Annotated Binaries emit field names instead of type names by @dbaileychess in #7763
- emit global scoped ::flatbuffers in c++ by @dbaileychess in #7764
- Fix [C#] Object API - Invalid Property Name used in UnPackTo for unio… by @stefan301 in #7751
- [TS] Add option for removing typescript import flag using --ts-no-import-ext by @ink-su in #7748
- Minor improvement by @enum-class in #7766
- Refactor FlatC to receive
FlatCOptions
by @dbaileychess in #7770 - Defined CodeGenerator Interface and implement C++ by @dbaileychess in #7771
- Fix a typo in a Python test name by @musicinmybrain in #7774
- Use full project version as SOVERSION for the shared library by @mgorny in #7777
- [Kotlin] Control the generation of reflection with --reflect-names by @anton-bobukh in #7775
- Fix Python host-endianness dependencies by @musicinmybrain in #7773
- [TS]: builder, Fix requiredField(). Verity that the field is present in the vtable (#7739) by @jmillan in #7752
- Stop using deprecated imp package in Python tests by @musicinmybrain in #7769
- Fix some identity/equality confusion in Python tests by @musicinmybrain in #7768
- Fix binary output different in different platform by @enum-class in #7718
- Remove go.mod to resolve ambiguous import issue by @le-michael in #7783
- Use CMAKE_CURRENT_SOURCE_DIR in benchmark cpp path by @liuq19 in #7781
- Flatbuffers Version 23.1.20 by @le-michael in #7794
New Contributors
- @anton-bobukh made their first contribution in #7757
- @flqw made their first contribution in #7658
- @jalitriver made their first contribution in #7705
- @ink-su made their first contribution in #7748
- @mgorny made their first contribution in #7777
- @jmillan made their first contribution in #7752
- @liuq19 made their first contribution in #7781
Full Changelog: v23.1.4...v23.1.20