• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1# Flatbuffers Change Log
2
3All major or breaking changes will be documented in this file, as well as any
4new features that should be highlighted. Minor fixes or improvements are not
5necessarily listed.
6
7## [24.3.25] (March 25 2024)(https://github.com/google/flatbuffers/releases/tag/v24.3.25)
8
9* Fixed license metadata parsing (#8253)
10* [C++] Allow string_view in `LookUpByKey` in addition to null-terminated c-style strings (#8203)
11
12## [24.3.7] (March 7 2024)(https://github.com/google/flatbuffers/releases/tag/v24.3.7)
13
14* Just to fix some of the CI build issues from the 24.3.6 release.
15
16## [24.3.6] (March 6 2024)(https://github.com/google/flatbuffers/releases/tag/v24.3.6)
17
18* Fix typescript object API to allow 0 values for null-default scalars (#7864)
19
20## [23.5.26 (May 26 2023)](https://github.com/google/flatbuffers/releases/tag/v23.5.26)
21
22* Mostly bug fixing for 64-bit support
23* Adds support for specifying underling type of unions in C++ and TS/JS (#7954)
24
25## [23.5.9 (May 9 2023)](https://github.com/google/flatbuffers/releases/tag/v23.5.9)
26
27* 64-bit support for C++ (#7935)
28
29## [23.5.8 (May 8 2023)](https://github.com/google/flatbuffers/releases/tag/v23.5.8)
30
31* add key_field to compiled tests
32* Add golden language directory
33* Rework cmake flatc codegeneration (#7938)
34* remove defining generated files in test srcs
35* Add binary schema reflection (#7932)
36* Migrate from rules_nodejs to rules_js/rules_ts (take 2) (#7928)
37* `flat_buffers.dart`: mark const variable finals for internal Dart linters
38* fixed some windows warnings (#7929)
39* inject no long for FBS generation to remove logs in flattests (#7926)
40* Revert "Migrate from rules_nodejs to rules_js/rules_ts (#7923)" (#7927)
41* Migrate from rules_nodejs to rules_js/rules_ts (#7923)
42* Only generate @kotlin.ExperimentalUnsigned annotation on create*Vector methods having an unsigned array type parameter. (#7881)
43* additional check for absl::string_view availability (#7897)
44* Optionally generate Python type annotations (#7858)
45* Replace deprecated command with environment file (#7921)
46* drop glibc from runtime dependencies (#7906)
47* Make JSON supporting advanced union features (#7869)
48* Allow to use functions from `BuildFlatBuffers.cmake` from a flatbuffers installation installed with CMake. (#7912)
49* TS/JS: Use TypeError instead of Error when appropriate (#7910)
50* Go: make generated code more compliant to "go fmt" (#7907)
51* Support file_identifier in Go (#7904)
52* Optionally generate type prefixes and suffixes for python code (#7857)
53* Go: add test for FinishWithFileIdentifier (#7905)
54* Fix go_sample.sh (#7903)
55* [TS/JS] Upgrade dependencies (#7889)
56* Add a FileWriter interface (#7821)
57* TS/JS: Use minvalue from enum if not found (#7888)
58* [CS] Verifier (#7850)
59* README.md: PyPI case typo (#7880)
60* Update go documentation link to point to root module (#7879)
61* use Bool for flatbuffers bool instead of Byte (#7876)
62* fix using null string in vector (#7872)
63* Add `flatbuffers-64` branch to CI for pushes
64* made changes to the rust docs so they would compile. new_with_capacity is deprecated should use with_capacity, get_root_as_monster should be root_as_monster (#7871)
65* Adding comment for code clarification (#7856)
66* ToCamelCase() when kLowerCamel now converts first char to lower. (#7838)
67* Fix help output for --java-checkerframework (#7854)
68* Update filename to README.md and improve formatting (#7855)
69* Update stale.yml
70* Updated remaining usages of LICENSE.txt
71
72## [23.3.3 (Mar 3 2023)](https://github.com/google/flatbuffers/releases/tag/v23.3.3)
73
74* Refactoring of `flatc` generators to use an interface (#7797).
75
76* Removed legacy cmake support and set min to 3.8 (#7801).
77
78## [23.1.21 (Jan 21 2023)](https://github.com/google/flatbuffers/releases/tag/v23.1.20)
79
80* Reworked entry points for Typescript/Javascript and compatibility for single
81  file build (#7510)
82
83## [23.1.20 (Jan 20 2023)](https://github.com/google/flatbuffers/releases/tag/v23.1.20)
84
85* Removed go.mod files after some versioning issues were being report (#7780).
86
87## [23.1.4 (Jan 4 2023)](https://github.com/google/flatbuffers/releases/tag/v23.1.4)
88
89* Major release! Just kidding, we are continuing the
90  [versioning scheme](https://github.com/google/flatbuffers/wiki/Versioning) of
91  using a date to signify releases. This results in the first release of the new
92  year to bump the tradition major version field.
93
94* Go minimum version is now 1.19 (#7720) with the addition of Go modules.
95
96* Added CI support for Big Endian regression testing (#7707).
97
98* Fixed `getFullyQualifiedName` in typescript to return name delimited by '.'
99  instead of '_' (#7730).
100
101* Fixed the versioning scheme to not include leading zeros which are not
102  consistently handled by every package manager. Only the last release
103  (12.12.06) should have suffered from this.
104
105## [22.12.06 (Dec 06 2022)](https://github.com/google/flatbuffers/releases/tag/v22.12.06)
106
107* Bug fixing release, no major changes.
108
109## [22.10.25 (Oct 25 2022)](https://github.com/google/flatbuffers/releases/tag/v22.10.25)
110
111* Added Nim language support with generator and runtime libraries (#7534).
112
113## [22.9.29 (Sept 29 2022)](https://github.com/google/flatbuffers/releases/tag/v22.9.29)
114
115* Rust soundness fixes to avoid the crate from bing labelled unsafe (#7518).
116
117## [22.9.24 (Sept 24 2022)](https://github.com/google/flatbuffers/releases/tag/v22.9.24)
118
119* 20 Major releases in a row? Nope, we switched to a new
120  [versioning scheme](https://github.com/google/flatbuffers/wiki/Versioning)
121  that is based on date.
122
123* Python supports fixed size arrays now (#7529).
124
125* Behavior change in how C++ object API uses `UnPackTo`. The original intent of
126  this was to reduce allocations by reusing an existing object to pack data
127  into. At some point, this logic started to merge the states of the two objects
128  instead of clearing the state of the packee. This change goes back to the
129  original intention, the packed object is cleared when getting data packed into
130  it (#7527).
131
132* Fixed a bug in C++ alignment that was using `sizeof()` instead of the intended
133  `AlignOf()` for structs (#7520).
134
135* C# has an
136  [official Nuget package](https://www.nuget.org/packages/Google.FlatBuffers)
137  now (#7496).
138
139## 2.0.8 (Aug 29 2022)
140
141* Fix for `--keep-prefix` the was generating the wrong include statements for
142  C++ (#7469). The bug was introduced in 2.0.7.
143
144* Added the `Verifier::Options` option struct to allow specifying runtime
145  configuration settings for the verifier (#7489). This allows to skip verifying
146  nested flatbuffers, a on-by-default change that was introduced in 2.0.7. This
147  deprecates the existing `Verifier` constructor, which may be removed in a
148  future version.
149
150* Refactor of `tests/test.cpp` that lead to ~10% speedup in compilation of the
151  entire project (#7487).
152
153## 2.0.7 (Aug 22 2022)
154
155* This is the first version with an explicit change log, so all the previous
156  features will not be listed.
157
158* Verifier now checks that buffers are at least the minimum size required to be
159  a flatbuffers (12 bytes). This includes nested flatbuffers, which previously
160  could be declared valid at size 0.
161
162* Annotated binaries. Given a flatbuffer binary and a schema (or binary schema)
163  one can generate an annotated flatbuffer (.afb) to describe each byte in the
164  binary with schema metadata and value.
165
166* First binary schema generator (Lua) to generate Lua code via a .bfbs file.
167  This is mostly an implementation detail of flatc internals, but will be slowly
168  applied to the other language generators.
169