2022-08-23 04:42:15 +00:00
|
|
|
# Flatbuffers Change Log
|
|
|
|
|
|
|
|
All major or breaking changes will be documented in this file, as well as any
|
|
|
|
new features that should be highlighted. Minor fixes or improvements are not
|
|
|
|
necessarily listed.
|
|
|
|
|
2023-01-21 20:46:57 +00:00
|
|
|
## [23.1.21 (Jan 21 2023)](https://github.com/google/flatbuffers/releases/tag/v23.1.20)
|
|
|
|
|
|
|
|
* Reworked entry points for Typescript/Javascript and compatibility for single
|
|
|
|
file build (#7510)
|
|
|
|
|
2023-01-21 20:03:17 +00:00
|
|
|
## [23.1.20 (Jan 20 2023)](https://github.com/google/flatbuffers/releases/tag/v23.1.20)
|
|
|
|
|
2023-01-21 20:46:57 +00:00
|
|
|
* Removed go.mod files after some versioning issues were being report (#7780).
|
2023-01-21 20:03:17 +00:00
|
|
|
|
2023-01-04 23:22:46 +00:00
|
|
|
## [23.1.4 (Jan 4 2023)](https://github.com/google/flatbuffers/releases/tag/v23.1.4)
|
|
|
|
|
|
|
|
* Major release! Just kidding, we are continuing the
|
|
|
|
[versioning scheme](https://github.com/google/flatbuffers/wiki/Versioning) of
|
|
|
|
using a date to signify releases. This results in the first release of the new
|
|
|
|
year to bump the tradition major version field.
|
|
|
|
|
|
|
|
* Go minimum version is now 1.19 (#7720) with the addition of Go modules.
|
|
|
|
|
|
|
|
* Added CI support for Big Endian regression testing (#7707).
|
|
|
|
|
|
|
|
* Fixed `getFullyQualifiedName` in typescript to return name delimited by '.'
|
|
|
|
instead of '_' (#7730).
|
|
|
|
|
|
|
|
* Fixed the versioning scheme to not include leading zeros which are not
|
|
|
|
consistently handled by every package manager. Only the last release
|
|
|
|
(12.12.06) should have suffered from this.
|
|
|
|
|
|
|
|
## [22.12.06 (Dec 06 2022)](https://github.com/google/flatbuffers/releases/tag/v22.12.06)
|
2022-12-07 06:54:49 +00:00
|
|
|
|
|
|
|
* Bug fixing release, no major changes.
|
|
|
|
|
2023-01-04 23:22:46 +00:00
|
|
|
## [22.10.25 (Oct 25 2022)](https://github.com/google/flatbuffers/releases/tag/v22.10.25)
|
2022-10-26 07:03:49 +00:00
|
|
|
|
|
|
|
* Added Nim language support with generator and runtime libraries (#7534).
|
|
|
|
|
2023-01-04 23:22:46 +00:00
|
|
|
## [22.9.29 (Sept 29 2022)](https://github.com/google/flatbuffers/releases/tag/v22.9.29)
|
2022-09-30 05:12:07 +00:00
|
|
|
|
|
|
|
* Rust soundness fixes to avoid the crate from bing labelled unsafe (#7518).
|
|
|
|
|
2023-01-04 23:22:46 +00:00
|
|
|
## [22.9.24 (Sept 24 2022)](https://github.com/google/flatbuffers/releases/tag/v22.9.24)
|
2022-09-27 18:55:25 +00:00
|
|
|
|
|
|
|
* 20 Major releases in a row? Nope, we switched to a new
|
|
|
|
[versioning scheme](https://github.com/google/flatbuffers/wiki/Versioning)
|
|
|
|
that is based on date.
|
|
|
|
|
|
|
|
* Python supports fixed size arrays now (#7529).
|
|
|
|
|
|
|
|
* Behavior change in how C++ object API uses `UnPackTo`. The original intent of
|
|
|
|
this was to reduce allocations by reusing an existing object to pack data
|
|
|
|
into. At some point, this logic started to merge the states of the two objects
|
|
|
|
instead of clearing the state of the packee. This change goes back to the
|
|
|
|
original intention, the packed object is cleared when getting data packed into
|
|
|
|
it (#7527).
|
|
|
|
|
|
|
|
* Fixed a bug in C++ alignment that was using `sizeof()` instead of the intended
|
|
|
|
`AlignOf()` for structs (#7520).
|
|
|
|
|
|
|
|
* C# has an
|
2022-10-26 07:03:49 +00:00
|
|
|
[official Nuget package](https://www.nuget.org/packages/Google.FlatBuffers)
|
|
|
|
now (#7496).
|
2022-09-27 18:55:25 +00:00
|
|
|
|
2022-08-30 03:43:36 +00:00
|
|
|
## 2.0.8 (Aug 29 2022)
|
|
|
|
|
|
|
|
* Fix for `--keep-prefix` the was generating the wrong include statements for
|
2022-09-27 18:55:25 +00:00
|
|
|
C++ (#7469). The bug was introduced in 2.0.7.
|
2022-08-30 03:43:36 +00:00
|
|
|
|
|
|
|
* Added the `Verifier::Options` option struct to allow specifying runtime
|
2022-09-27 18:55:25 +00:00
|
|
|
configuration settings for the verifier (#7489). This allows to skip verifying
|
|
|
|
nested flatbuffers, a on-by-default change that was introduced in 2.0.7. This
|
|
|
|
deprecates the existing `Verifier` constructor, which may be removed in a
|
|
|
|
future version.
|
2022-08-30 03:43:36 +00:00
|
|
|
|
|
|
|
* Refactor of `tests/test.cpp` that lead to ~10% speedup in compilation of the
|
2022-09-27 18:55:25 +00:00
|
|
|
entire project (#7487).
|
2022-08-30 03:43:36 +00:00
|
|
|
|
2022-08-23 04:42:15 +00:00
|
|
|
## 2.0.7 (Aug 22 2022)
|
|
|
|
|
|
|
|
* This is the first version with an explicit change log, so all the previous
|
2022-09-27 18:55:25 +00:00
|
|
|
features will not be listed.
|
2022-08-23 04:42:15 +00:00
|
|
|
|
|
|
|
* Verifier now checks that buffers are at least the minimum size required to be
|
2022-09-27 18:55:25 +00:00
|
|
|
a flatbuffers (12 bytes). This includes nested flatbuffers, which previously
|
|
|
|
could be declared valid at size 0.
|
2022-08-23 04:42:15 +00:00
|
|
|
|
|
|
|
* Annotated binaries. Given a flatbuffer binary and a schema (or binary schema)
|
2022-09-27 18:55:25 +00:00
|
|
|
one can generate an annotated flatbuffer (.afb) to describe each byte in the
|
|
|
|
binary with schema metadata and value.
|
2022-08-23 04:42:15 +00:00
|
|
|
|
2022-09-27 18:55:25 +00:00
|
|
|
* First binary schema generator (Lua) to generate Lua code via a .bfbs file.
|
|
|
|
This is mostly an implementation detail of flatc internals, but will be slowly
|
2023-01-04 23:22:46 +00:00
|
|
|
applied to the other language generators.
|