Releases: google/flatbuffers
Releases · google/flatbuffers
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.mdand 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.cmakefrom 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
FlatCOptionsby @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
v23.1.4
Happy New Year!
What's Changed
- [Rust] Restore public visibility of previously-public fields by @maxburke in #7700
- [FlexBuffers Dart] Fix a bug where a floating point number was cast to int and the value… by @mzaks in #7703
- fix clang format plus implicit cast error in flexbuffer by @enum-class in #7704
- [Go] Fix bug where
byteswasn't being imported when using --gen-onefile flag by @le-michael in #7706 - Add Ref.AsStringBytes to flatbuffers.flexbuffers Python API by @JunyoungLim in #7713
- Add CI job to build linux and run unit test on s390x by @sunwen18 in #7707
- [C++] Fix clang
-Wnewline-eofwarning by @mogemimi in #7711 - Add clang-tidy, fix some bugpron problems. by @enum-class in #7708
- Fix Rust codegen escaping field in tables. by @CasperN in #7659
- Add include guards around DoNotRequireEofTest by @engedy in #7728
- Add CI step to build with -DFLATBUFFERS_NO_FILE_TESTS. by @engedy in #7729
- [Go] Perform empty string check on string fields when packing objects by @le-michael in #7719
- Fixed test cases by @rishabhdeepsingh in #7732
- [TS] Fix getFullyQualifiedName codegen for typescript by @jkuszmaul in #7730
- Add link to building guide by @rishabhdeepsingh in #7733
- Fix "'flatbuffers::FieldDef* field' shadows a parameter" by @rgiese in #7740
- [Go] Add go.mod file by @le-michael in #7720
- Fix go.mod name by @le-michael in #7756
- FlatBuffers Version 23.1.4 by @dbaileychess in #7758
New Contributors
- @JunyoungLim made their first contribution in #7713
- @rgiese made their first contribution in #7740
Full Changelog: v22.12.06...v23.1.4
v22.12.6
FlatBuffers Version 22.12.06 (#7702)
v22.12.06
What's Changed
- Rurel by @CasperN in #7663
build.ymlUpdate dependencies by @dbaileychess in #7674build.yml: MacOs Build Inplace by @dbaileychess in #7677- Fix java import wild card by @enum-class in #7672
- Use FinshedBytes() in go-echo example instead of manually encoding offset by @le-michael in #7660
- chore: emit more reasonable error message when using incomplete type … by @sssooonnnggg in #7678
- Fix PHP byte validation and reenable builds by @lsl in #7670
- tests/reflection_test.h: add missing <stdint.h> include by @trofi in #7680
- Remove --gen-name-strings flag from cmake command for generating union_vector_generated.h by @le-michael in #7684
- Fix confrom failure for nullptr dereference. by @dbaileychess in #7688
- Add LICENSE.txt to python by @rishabhdeepsingh in #7692
- Refactor src/idl_gen_cpp.cpp by @rishabhdeepsingh in #7693
- Upgrade rules_go for Bazel 7.0 support by @jkuszmaul in #7691
- Fix "Download Doxygen" URL by @mickelsonmichael in #7699
- [C++] Update to address comparator failure in big endian by @sunwen18 in #7681
- fix: byte_width_ = 1U << static_cast(packed_type & 3) implicit-int-conversion fix. by @runhwguo in #7697
- FlatBuffers Version 22.12.06 by @dbaileychess in #7702
New Contributors
- @lsl made their first contribution in #7670
- @mickelsonmichael made their first contribution in #7699
- @runhwguo made their first contribution in #7697
Full Changelog: v22.11.23...v22.12.06
v22.11.23
We had transitory CI breakage in the v22.11.22 release that was marking that build as broken. This release is the same as that one with a new version.
What's Changed
- FlatBuffers Version 22.11.23 by @dbaileychess in #7662
Full Changelog: v22.11.22...v22.11.23