Releases: google/flatbuffers
Releases · google/flatbuffers
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
v22.11.22
What's Changed
- [TS] Add support for fixed length arrays on Typescript (#5864) (#7021) by @bulentv in #7581
- Update dart golden files by @le-michael in #7606
- Add check for presence of realpath to CMakeLists.txt to support more platforms by @AlexRamallo in #7603
- Add CreateSharedString to python builder by @le-michael in #7608
- python: object generation prefix and suffix by @inaryart in #7565
- Added option to not requires an EoF token when parsing JSON by @alexames in #7620
- Bump Rust version to 22.10.26 before publication by @CasperN in #7622
- Add missing #include for std::min/std::max uses, … by @rouault in #7624
- Fix current official name of macOS by @valeriyvan in #7627
- Fix: arduino platform build by @shuai132 in #7625
- Fix missing spaces in flatc help text by @musicinmybrain in #7612
- Fix help output for --gen-includes by @musicinmybrain in #7611
- Add support for parsing proto map fields by @le-michael in #7613
- [TS/Rust/Go/Dart] Fix handling of +/-inf defaults in codegen by @jkuszmaul in #7588
- Uses swift build command directly in the CI by @mustiikhalil in #7635
- Temporary fix for SLSA generators by @laurentsimon in #7636
- [CMake]: only warn when the working directory in a git worktree by @heitbaum in #7562
- Add comparison operator to python objects under --gen-compare option by @Alex-Ratcliffe in #7610
- [C++] Minireflect: Add option to indent when converting table to string by @shamilatesoglu in #7602
- Fixes #7345 to add the option to minify enums by @rishabhdeepsingh in #7566
- [swift] fix broken swift test build (#7633) by @mr-swifter in #7634
- Fix import problem in dart generated files. (fixes #7609). by @enum-class in #7621
- [Go] Fix GenNativeUnionUnPack for imported union type. by @Gh0u1L5 in #7579
- Put documentation to bfbs if it is not empty by @tira-misu in #7649
- Fix schema to binary test failure by @enum-class in #7650
- Add support for using array of scalar as key field in Cpp by @sunwen18 in #7623
- [C#] Fix collision of member if union name is "Value" by @tira-misu in #7648
- Fixed the BytesConsumed function, which was pointing slightly ahead. by @alexames in #7657
- updated method generation to be independent of renaming code by @TJKoury in #7642
- Fix go generator undefined Package name, also throwing exception by @enum-class in #7632
- Add key lookup support for tables in Go by @le-michael in #7644
- Add --go-module-name flag to support generating Go module compatible code by @le-michael in #7651
New Contributors
- @bulentv made their first contribution in #7581
- @le-michael made their first contribution in #7606
- @AlexRamallo made their first contribution in #7603
- @inaryart made their first contribution in #7565
- @valeriyvan made their first contribution in #7627
- @shuai132 made their first contribution in #7625
- @musicinmybrain made their first contribution in #7612
- @heitbaum made their first contribution in #7562
- @Alex-Ratcliffe made their first contribution in #7610
- @shamilatesoglu made their first contribution in #7602
- @rishabhdeepsingh made their first contribution in #7566
- @enum-class made their first contribution in #7621
- @Gh0u1L5 made their first contribution in #7579
- @sunwen18 made their first contribution in #7623
- @TJKoury made their first contribution in #7642
Full Changelog: v22.10.26...v22.11.22
v22.10.26
Fix for python #7576
What's Changed
- Create release.yml by @dbaileychess in #7605
- [Python] Fixed the issue with nested unions relying on InitFromBuf. by @joshua-smith8 in #7576
- FlatBuffers Version 22.10.26 by @dbaileychess in #7607
Full Changelog: v22.10.25...v22.10.26