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 support by @mustiikhalil in #7328
- Started implementation for private flags in rust by @mustiikhalil in #7269
- Implement optional scalars for Python by @calebzulawski in #7318
- Move reflection_ts_fbs into a separate directory by @liuliu in #7342
- Implement optional scalars for JSON by @calebzulawski in #7322
- [Go] Replace deprecated package io/ioutil by @cia-rana in #7281
- [TS] fix ts import path issue by @sssooonnnggg in #7298
- [Kotlin] Remove download benchmark files dependency by @paulovap in #7314
- [golang] Create missing namespace directory structure (#7324) by @tsturm in #7325
- [TS] Don't generate self-imports with --ts-flat-file by @jkuszmaul in #7340
- Revert "Move reflection_ts_fbs into a separate directory" by @dbaileychess in #7349
- Revert "Implement optional scalars for JSON" by @dbaileychess in #7351
- Only include direct included files by @dbaileychess in #7348
- Reenable optional json by @calebzulawski in #7352
- Bump Newtonsoft.Json from 12.0.3 to 13.0.1 in /tests/FlatBuffers.Test by @dependabot in #7363
- [Dart] Implement putBool to fix errors when serializing structs with bools by @insertjokehere in #7359
- Fix references to LICENSE file by @Hixie in #7377
- Updated Newtonsoft.Json to 13.0.1 by @dbaileychess in #7393
- cpp_generator: comment out unused parameter to avoid warnings by @yshalabi in #7381
- fix(#7360): grpc used deprecated functions by @godcong in #7361
keep-prefix
keeps relative pathing by @dbaileychess in #7394- Compilation issue msys2 by @chronoxor in #7403
- Add missing const by @atkurtul in #7401
- [TS] fix incorrect reverse order when writting array of structs by @sssooonnnggg in #7271
- [TS/Bazel] Minor improvements to typescript.bzl by @jkuszmaul in #7300
- Fix Clang-Cl compile on Windows by @06393993 in #7308
- grpc/compiler: Respect filename suffix and extension during code generation by @amaneureka in #7343
- Fix error msg format when generate GRPC failed by @SF-Zhou in #7350
- (#7323) Rename CMake files according to project name by @clanghans in #7378
- Revert "grpc/compiler: Respect filename suffix and extension during code generation" by @dbaileychess in #7406
- Revert "Compilation issue msys2" by @dbaileychess in #7407
- Compilation issue msys2 #7399 by @chronoxor in #7409
- [TS] Use TextEncoder and TextDecoder by @bjornharrtell in #7400
- Add FLATBUFFERS_STRICT_MODE by @dbaileychess in #7408
- Add tests for flatc by @dbaileychess in #7405
- Rebased: grpc/compiler: Respect filename suffix and extension during code generation by @amaneureka in #7414
- Moved TypeScriptTests to python script by @dbaileychess in #7411
- [golang] Add support for text parsing with json struct tags by @aburdulescu in #7353
- Remove stringop-overflow from error by @dbaileychess in #7422
- [golang] Perform keyword escaping after case conversion by @aburdulescu in #7421
- [C++] Vector of Tables equality by @dbaileychess in #7415
- [C++] avoid zero-as-null-pointer warning by @sssooonnnggg in #7423
- Issue#6959 :Updated Automatically generated rust files. by @YashasviChaurasia in #7425
- [C++] Make template parameter in stl_emulation.h more explicit to avoid conflicts with cpprestsdk U macro by @marcelkrueger in #7424
- [C++] Set StructDef::has_key property when deserializing from binary … by @sssooonnnggg in #7428
- Remove auto including locale functions by @dbaileychess in #7430
- Update gitingore to reflect name change by @dbaileychess in #7431
- Update TypeScriptTest.py to work better cross platform by @dbaileychess in #7436
- Add flatc python tests to CI by @dbaileychess in #7437
- Fix FlexBuffers JS/TS bug by @mzaks in #7434
- Add checks to verifier by @dbaileychess in #7438
- [TypeScript] Fix namespaceless schema generation by @dbaileychess in #7432
- make_span overloads for pointer to vector (#7374) by @stefan301 in #7435
- Define minimum buffer size by @dbaileychess in #7440
- [C#] Rework how sorted vectors are looked up by @dbaileychess in #7441
- Stop using __has_trivial_copy on recent clang versions. by @MirkoBonadei in #7443
- [Kotlin] Make sure namespace path exist for code generation by @paulovap in #7357
- Partial support for --ts-flat-files and --gen-all by @dbaileychess in #7446
- Add some extra warnings, tested on GCC 9.4.0 by @paulharris in #7212
- Wrap types in namespace for --ts-flat-files and --gen-all by @dbaileychess in #7451
- [WIP] speedup by @paulovap in #7452
- Generate SLSA signatures for Released zip files by @laurentsimon in #7450
- Change to GetTypeName by @dbaileychess in #7453
- Group anonymous namespaces by @paulharris in #7455
- Remove old GRPC bash script and convert to python3 by @dbaileychess in #7454
- [C++] Disabling unpackto optimization by @dbaileychess in #7459
- update grpc version by @Wyverald in #7457
- Reworked keep prefix by @dbaileychess in #7456
New Contributors
- @chriscraws made their first contribution in #7104
- @meersuri made their first contribution in #7108
- @anov21 made their first contribution in #7114
- @Paulchen-Panther made their first contribution in #7166
- @davschne made their first contribution in #7168
- @insertjokehere made their first contribution in #7157
- @keith made their first contribution in #7195
- @Jamie-Jameson made their first contribution in #7193
- @avaliente-bc made their first contribution in #7227
- @hzeller made their first contribution in #7238
- @hassila made their first contribution in #7250
- @fjarri made their first contribution in #7268
- @mr-swifter made their first contribution in #7280
- @bsilver8192 made their first contribution in #7296
- @bartwe made their first contribution in #7312
- @calebzulawski made their first contribution in #7318
- @cia-rana made their first contribution in #7281
- @sssooonnnggg made their first contribution in #7298
- @Hixie made their first contribution in #7377
- @yshalabi made their first contribution in #7381
- @atkurtul made their first contribution in #7401
- @06393993 made their first contribution in #7308
- @amaneureka made their first contribution in #7343
- @SF-Zhou made their first contribution in #7350
- @clanghans made their first contribution in #7378
- @aburdulescu made their first contribution in #7353
- @YashasviChaurasia made their first contribution in #7425
- @marcelkrueger made their first contribution in #7424
- @MirkoBonadei made their first contribution in #7443
- @laurentsimon made their first contribution in #7450
- @Wyverald made their first contribution in #7457
Full Changelog: v2.0.6...v2.0.7