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