Skip to content

Commit 13fc75c

Browse files
FlatBuffers Version 23.5.8 (#7943)
1 parent e6e38a8 commit 13fc75c

File tree

180 files changed

+302
-259
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

180 files changed

+302
-259
lines changed

CHANGELOG.md

Lines changed: 43 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,49 @@ All major or breaking changes will be documented in this file, as well as any
44
new features that should be highlighted. Minor fixes or improvements are not
55
necessarily listed.
66

7+
## [23.5.8 (May 8 2023)](https://github.com/google/flatbuffers/releases/tag/v23.5.8)
8+
9+
* add key_field to compiled tests
10+
* Add golden language directory
11+
* Rework cmake flatc codegeneration (#7938)
12+
* remove defining generated files in test srcs
13+
* Add binary schema reflection (#7932)
14+
* Migrate from rules_nodejs to rules_js/rules_ts (take 2) (#7928)
15+
* `flat_buffers.dart`: mark const variable finals for internal Dart linters
16+
* fixed some windows warnings (#7929)
17+
* inject no long for FBS generation to remove logs in flattests (#7926)
18+
* Revert "Migrate from rules_nodejs to rules_js/rules_ts (#7923)" (#7927)
19+
* Migrate from rules_nodejs to rules_js/rules_ts (#7923)
20+
* Only generate @kotlin.ExperimentalUnsigned annotation on create*Vector methods having an unsigned array type parameter. (#7881)
21+
* additional check for absl::string_view availability (#7897)
22+
* Optionally generate Python type annotations (#7858)
23+
* Replace deprecated command with environment file (#7921)
24+
* drop glibc from runtime dependencies (#7906)
25+
* Make JSON supporting advanced union features (#7869)
26+
* Allow to use functions from `BuildFlatBuffers.cmake` from a flatbuffers installation installed with CMake. (#7912)
27+
* TS/JS: Use TypeError instead of Error when appropriate (#7910)
28+
* Go: make generated code more compliant to "go fmt" (#7907)
29+
* Support file_identifier in Go (#7904)
30+
* Optionally generate type prefixes and suffixes for python code (#7857)
31+
* Go: add test for FinishWithFileIdentifier (#7905)
32+
* Fix go_sample.sh (#7903)
33+
* [TS/JS] Upgrade dependencies (#7889)
34+
* Add a FileWriter interface (#7821)
35+
* TS/JS: Use minvalue from enum if not found (#7888)
36+
* [CS] Verifier (#7850)
37+
* README.md: PyPI case typo (#7880)
38+
* Update go documentation link to point to root module (#7879)
39+
* use Bool for flatbuffers bool instead of Byte (#7876)
40+
* fix using null string in vector (#7872)
41+
* Add `flatbuffers-64` branch to CI for pushes
42+
* 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)
43+
* Adding comment for code clarification (#7856)
44+
* ToCamelCase() when kLowerCamel now converts first char to lower. (#7838)
45+
* Fix help output for --java-checkerframework (#7854)
46+
* Update filename to README.md and improve formatting (#7855)
47+
* Update stale.yml
48+
* Updated remaining usages of LICENSE.txt
49+
750
## [23.3.3 (Mar 3 2023)](https://github.com/google/flatbuffers/releases/tag/v23.3.3)
851

952
* Refactoring of `flatc` generators to use an interface (#7797).

CMake/Version.cmake

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
set(VERSION_MAJOR 23)
2-
set(VERSION_MINOR 3)
3-
set(VERSION_PATCH 3)
2+
set(VERSION_MINOR 5)
3+
set(VERSION_PATCH 8)
44
set(VERSION_COMMIT 0)
55

66
if(EXISTS "${CMAKE_CURRENT_SOURCE_DIR}/.git")

FlatBuffers.podspec

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
Pod::Spec.new do |s|
22
s.name = 'FlatBuffers'
3-
s.version = '23.3.3'
3+
s.version = '23.5.8'
44
s.summary = 'FlatBuffers: Memory Efficient Serialization Library'
55

66
s.description = "FlatBuffers is a cross platform serialization library architected for

android/app/src/main/java/generated/com/fbs/app/Animal.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -57,7 +57,7 @@ class Animal : Table() {
5757
return if(o != 0) bb.getShort(o + bb_pos).toUShort() else 0u
5858
}
5959
companion object {
60-
fun validateVersion() = Constants.FLATBUFFERS_23_3_3()
60+
fun validateVersion() = Constants.FLATBUFFERS_23_5_8()
6161
fun getRootAsAnimal(_bb: ByteBuffer): Animal = getRootAsAnimal(_bb, Animal())
6262
fun getRootAsAnimal(_bb: ByteBuffer, obj: Animal): Animal {
6363
_bb.order(ByteOrder.LITTLE_ENDIAN)

dart/pubspec.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: flat_buffers
2-
version: 23.3.3
2+
version: 23.5.8
33
description: FlatBuffers reading and writing library for Dart. Based on original work by Konstantin Scheglov and Paul Berry of the Dart SDK team.
44
homepage: https://github.com/google/flatbuffers
55
documentation: https://google.github.io/flatbuffers/index.html

goldens/csharp/Galaxy.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public struct Galaxy : IFlatbufferObject
1010
{
1111
private Table __p;
1212
public ByteBuffer ByteBuffer { get { return __p.bb; } }
13-
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_23_3_3(); }
13+
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_23_5_8(); }
1414
public static Galaxy GetRootAsGalaxy(ByteBuffer _bb) { return GetRootAsGalaxy(_bb, new Galaxy()); }
1515
public static Galaxy GetRootAsGalaxy(ByteBuffer _bb, Galaxy obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
1616
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }

goldens/csharp/Universe.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ public struct Universe : IFlatbufferObject
1010
{
1111
private Table __p;
1212
public ByteBuffer ByteBuffer { get { return __p.bb; } }
13-
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_23_3_3(); }
13+
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_23_5_8(); }
1414
public static Universe GetRootAsUniverse(ByteBuffer _bb) { return GetRootAsUniverse(_bb, new Universe()); }
1515
public static Universe GetRootAsUniverse(ByteBuffer _bb, Universe obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
1616
public static bool VerifyUniverse(ByteBuffer _bb) {Google.FlatBuffers.Verifier verifier = new Google.FlatBuffers.Verifier(_bb); return verifier.VerifyBuffer("", false, UniverseVerify.Verify); }

goldens/java/Galaxy.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
@SuppressWarnings("unused")
2121
public final class Galaxy extends Table {
22-
public static void ValidateVersion() { Constants.FLATBUFFERS_23_3_3(); }
22+
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_8(); }
2323
public static Galaxy getRootAsGalaxy(ByteBuffer _bb) { return getRootAsGalaxy(_bb, new Galaxy()); }
2424
public static Galaxy getRootAsGalaxy(ByteBuffer _bb, Galaxy obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2525
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

goldens/java/Universe.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919

2020
@SuppressWarnings("unused")
2121
public final class Universe extends Table {
22-
public static void ValidateVersion() { Constants.FLATBUFFERS_23_3_3(); }
22+
public static void ValidateVersion() { Constants.FLATBUFFERS_23_5_8(); }
2323
public static Universe getRootAsUniverse(ByteBuffer _bb) { return getRootAsUniverse(_bb, new Universe()); }
2424
public static Universe getRootAsUniverse(ByteBuffer _bb, Universe obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2525
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

goldens/kotlin/Galaxy.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@ class Galaxy : Table() {
3232
return if(o != 0) bb.getLong(o + bb_pos) else 0L
3333
}
3434
companion object {
35-
fun validateVersion() = Constants.FLATBUFFERS_23_3_3()
35+
fun validateVersion() = Constants.FLATBUFFERS_23_5_8()
3636
fun getRootAsGalaxy(_bb: ByteBuffer): Galaxy = getRootAsGalaxy(_bb, Galaxy())
3737
fun getRootAsGalaxy(_bb: ByteBuffer, obj: Galaxy): Galaxy {
3838
_bb.order(ByteOrder.LITTLE_ENDIAN)

0 commit comments

Comments
 (0)