Releases: google/flatbuffers
v22.12.6
FlatBuffers Version 22.12.06 (#7702)
v22.12.06
What's Changed
- Rurel by @CasperN in #7663
build.yml
Update 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
v22.10.25
What's Changed
- Add support for metadata attributes for enum values (#7567) by @piotrdz in #7568
- Update documentation to mention enum value attributes by @piotrdz in #7570
- Turn on clippy for Rust and fix lints for non-generated code by @CasperN in #7575
- Fix #7580 by documenting union schema evolution rules by @CasperN in #7585
- #ifndef FLATBUFFERS_NO_FILE_TEST guard some test definitions by @battre in #7571
- Update Rust version by @CasperN in #7574
- Rust fix compilation for no_std targets #2 by @danlapid in #7553
- Fix LongEnum definitions by @battre in #7596
- Make type conversions explicit. by @battre in #7595
- [Nim] Bfbs Nim Generator by @danlapid in #7534
- [vector] Allow to iterate with mutables by @ArnaudD-FR in #7586
- FlatBuffers Version 22.10.25 by @dbaileychess in #7604
New Contributors
- @battre made their first contribution in #7571
- @danlapid made their first contribution in #7553
- @ArnaudD-FR made their first contribution in #7586
Full Changelog: v22.9.29...v22.10.25
v22.9.29
What's Changed
- Moves swift package to root of repository so it can be used directly … by @mustiikhalil in #7548
- Rust soundness fixes by @tustvold in #7518
- [TS] Make strict compliant and improve typings by @bjornharrtell in #7549
- FlatBuffers Version 22.9.29 by @dbaileychess in #7557
New Contributors
Full Changelog: v22.9.24...v22.9.29
v22.9.24
What's Changed
- Disable Android Build by @dbaileychess in #7494
- update android multidex setting by @dbaileychess in #7495
- Updates cocoapods version by @mustiikhalil in #7497
- [ISSUE-6268] returns NaN insteadof nan by @3axap4eHko in #7498
- [C#] Prepares for official Nuget release by @dbaileychess in #7496
- [CMake]: fix breaking find_package change (#7499) by @clanghans in #7502
- Fixes issue with cocoapods failing to be published because of docc by @mustiikhalil in #7505
- [Android] Remove maven dependency of flatbuffers and use source folder by @paulovap in #7503
- [Java][FlexBuffers] throwing exception for untyped fixed vectors by @paulovap in #7507
- Moves all of the swift test code into tests/swift by @mustiikhalil in #7509
- Install BuildFlatBuffers.cmake by @dbaileychess in #7519
- [Java][Flexbuffers] Add API to add nullables into the buffer. by @paulovap in #7521
- remove travis config by @dbaileychess in #7522
- prevent force_align attribute on enums by @dbaileychess in #7523
- enabled cpp17 tests in CI by @dbaileychess in #7524
- Replace
bash JavaTest.sh
withmvn test
by @nick-someone in #7500 - Bump junit from 4.13 to 4.13.1 in /java by @dependabot in #7526
- [TS/JS] Move TS tests to dedicated folder and deps upgrade by @bjornharrtell in #7508
- UnPackTo disable merge by default by @dbaileychess in #7527
- Fix conform by @hs3366677 in #7532
- [C++] Rare bad buffer content alignment if sizeof(T) != alignof(T) by @Naios in #7520
- Upgrade grpc to 1.49.0 and make sure it builds by @meteorcloudy in #7538
- [Python] Python fixed size array by @joshua-smith8 in #7529
- Emit internal enums when swift_implementation_only by @pauley-unsaturated in #7545
- FlatBuffers Version 22.9.24 by @dbaileychess in #7547
New Contributors
- @3axap4eHko made their first contribution in #7498
- @nick-someone made their first contribution in #7500
- @hs3366677 made their first contribution in #7532
- @Naios made their first contribution in #7520
- @meteorcloudy made their first contribution in #7538
- @joshua-smith8 made their first contribution in #7529
- @pauley-unsaturated made their first contribution in #7545
Full Changelog: v2.0.8...v22.9.24
v2.0.8
Bug fixing release for issues that arose in 2.0.7.
What's Changed
- Use schema include name for keep-prefix by @dbaileychess in #7469
- [Java] Shallow unused return value in Pack method by @dbaileychess in #7470
- Moved compiler warnings around by @dbaileychess in #7471
- CMake project version detection made more robust by @axelsommerfeldt in #7473
- Disable RTTI and rework use in idl_gen_ts.cpp by @dbaileychess in #7474
- Use type traits for specialization by @dbaileychess in #7475
- [C++] Fixed crash when copying table with empty shared strings by @sssooonnnggg in #7477
- Version number in file package.json updated to 2.0.7 by @axelsommerfeldt in #7476
- Include head in stl_emulation.h by @dbaileychess in #7480
- Fix typos by @dbaileychess in #7483
- Refactor test.cpp by @dbaileychess in #7487
- [C++] support
native_inline
attribute for vector of tables by @sssooonnnggg in #7479 - C++: Add option to skip verifying nested flatbuffers by @CasperN in #7489
- [TS/JS] Add rollup and config to generate iife flatbuffers bundle by @bjornharrtell in #7449
- Namer applied to Typescript generator by @CasperN in #7488
- Verifier Refinements by @dbaileychess in #7490
- FlatBuffers Version 2.0.8 by @dbaileychess in #7492
New Contributors
- @axelsommerfeldt made their first contribution in #7473
Full Changelog: v2.0.7...v2.0.8
v2.0.7
This is a minor release with lots of changes :)
I would like to get in the habit of releasing more often (at least for the flatc
and C++ libraries) and the first step is to reduce the amount of diffs between releases (especially patch/revision only updates).
See a high level change log notes in our new CHANGELOG.md document, with the following list auto generated by github release workflow:
What's Changed
- explicitly use windows-2019 to unblock ci by @dbaileychess in #7105
- Go optional scalars by @chriscraws in #7104
- Fix minor typo in WhitePaper.md by @meersuri in #7108
- [TS] Fix generation of reserved words in object api (#7106) by @tira-misu in #7115
- Add deps attribute to flatbuffer_cc_library by @jkuszmaul in #7107
- add the missing checkNullConditionnal code in the "GenObjApi" function by @anov21 in #7114
- remove auto generate code from cmakelists by @dbaileychess in #7119
- Trigger fuzzing CI only on relevant changes by @dbaileychess in #7120
- update proto tests with alaised enum by @dbaileychess in #7121
- Use target_compile_features to target C++11 by @dbaileychess in #7122
- Use ConvertCase instead of Make{Upper,Lower,Snake} implementations by @dbaileychess in #7127
- Replaced ToDasherCase with ConvertCase by @dbaileychess in #7131
- [Rust] Add length checks to arrays and vectors. by @CasperN in #7130
- Prevent name clash by @dbaileychess in #7133
- Fix 64-bit numeric enum values in typescript by @jkuszmaul in #7135
- [TS] Escape keywords in typescript object names by @jkuszmaul in #7137
- Implement a config based name manager and use it in Rust codegen by @CasperN in #7144
- Fix missing 'break' by @CasperN in #7151
- Apply Namer to Python code gen by @CasperN in #7146
- Apply Namer to Go code gen by @CasperN in #7150
- [TS] Add single-file ts codegen & bazel rule for typescript by @jkuszmaul in #7161
- Use DESCRIPTION only if CMake version >= 3.9 by @Paulchen-Panther in #7166
- Nameroverloads by @CasperN in #7164
- Namersw by @CasperN in #7167
- Make inclusion of header opt-out via macro by @davschne in #7168
- [Lua] Apply Namer to Lua by @dbaileychess in #7171
- Annotated Flatbuffer Binary by @dbaileychess in #7174
- Typo in flatc options (warning-as-errors instead of warnings-as-errors) by @stefan301 in #7180
- Move flatbuffer_ts_library to typescript.bzl by @jkuszmaul in #7183
- Adds no-includes flags to the swift code generator by @mustiikhalil in #7182
- Correctly parse lists of enums in Dart generated code by @insertjokehere in #7157
- VerifySizePrefixed (reflection::Schema) and GetAnySizePrefixedRoot added by @stefan301 in #7181
- [TS] Fix generation of struct members in object api by @tira-misu in #7148
- Handle root offset and root table vtable invalidation by @dbaileychess in #7177
- Fuzzed binary annotator by @dbaileychess in #7188
- Namerdart by @CasperN in #7187
- Annotated Binary Structured Comments by @dbaileychess in #7192
- [swift] Add bazel configuration for Swift by @keith in #7195
- [C#] Fix collision of field name and type name by @tira-misu in #7149
- Apply Namer to Java. by @CasperN in #7194
- Apply Namer prefix/suffix to other generators by @CasperN in #7197
- fixed padding in struct for annotated binary by @dbaileychess in #7199
- [C++] Static assert on Flatbuffers Version by @dbaileychess in #7203
- maximize parallel builds in CI by @dbaileychess in #7206
- Add overloads for C# ByteBuffer/FlatBufferBuilder to allow adding vector blocks from ArraySegments or IntPtr by @Jamie-Jameson in #7193
- Fix for [C++] flatc generates invalid Code in the default constructor for structs, when --cpp-field-case-style is used #7209 by @stefan301 in #7211
- [C++] generate sorted #include directives by @stefan301 in #7213
- code gen flexbuffer verifier by @dbaileychess in #7207
- [C++] stl_emulation span::count_ is not const anymore (#7226) by @avaliente-bc in #7227
- Started to migrate to target_compile_options by @dbaileychess in #7222
- Adds implementation flag for swift by @mustiikhalil in #7202
- Adds a way to verify/exposes Entities ids by @mustiikhalil in #7221
- Create cpp-linter.yml by @dbaileychess in #7208
- disable cpp-linter by @dbaileychess in #7229
- Remove call toascii by @dbaileychess in #7234
- [Kotlin] Update gradle to 7.4.1 and simplify config files. by @paulovap in #7231
- [Swift] Fixes a bug for create function by @mustiikhalil in #7228
- Allow CreateVectorOfStrings() to work with any string-type. by @hzeller in #7238
- [Java] Fix key lookup returning null clashing with default value by @paulovap in #7236
- [Kotlin] Fix key lookup returning null clashing with default value by @paulovap in #7237
- set workflows permissions to read-only by @dbaileychess in #7239
- Expand test to make sure {}-initializers are properly understood by template by @hzeller in #7242
- Make Java namespaces keep case by default by @CasperN in #7243
- Add parameter back to EndVector by @dbaileychess in #7246
- Java namer typo by @dbaileychess in #7249
- [optimization] Keep the underlying storage capacity when clearing the FlatBufferBuilder by @hassila in #7250
- Turn off Go modules temporary by @mustiikhalil in #7251
- Add test for nested buffer verifier by @dbaileychess in #7252
- Swift update performance benchmark infrastructure by @hassila in #7255
- Specialize CreateVector with std::initializer_list by @dbaileychess in #7254
- Handle +/-inf in protos by @dbaileychess in #7256
- [performance] [swift] Add systematic inlining by @hassila in #7253
- Added Swift to supported languages by @hassila in #7257
- fix include order by @dbaileychess in #7266
- Rust: fix a name conflict when building with "no_std" feature by @fjarri in #7268
- [swift] Make swift module public by @keith in #7274
- Make
flatc
generate Rust files not requiringstd
by @fjarri in #7273 - Namerkot by @CasperN in #7245
- Remove span ConstIterator/cbegin()/cend(). by @pkasting in #7295
- [swift] add 'has' property to check optional array presence in mes… by @mr-swifter in #7280
- Update Rust docs page by @bsilver8192 in #7296
- Add size check to fix out of bounds read risk by @bjornharrtell in #7304
- Add explicit return types to lobster generated code by @bartwe in #7312
- Use keep case for Rust union discriminant type. by @CasperN in #7321
- [Swift] Wasm...