Skip to content

Commit df287ee

Browse files
committed
FlatBuffers Version 25.1.21
1 parent 0d7bf7e commit df287ee

File tree

184 files changed

+298
-293
lines changed

Some content is hidden

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

184 files changed

+298
-293
lines changed

CHANGELOG.md

+5
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ 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+
## [25.1.21] (January 21 2025)(https://github.com/google/flatbuffers/releases/tag/v25.1.21)
8+
9+
* Rust Full Reflection (#8102)
10+
* Mostly documentation updates hosted at https://flatbuffers.dev
11+
712
## [24.3.25] (March 25 2024)(https://github.com/google/flatbuffers/releases/tag/v24.3.25)
813

914
* Fixed license metadata parsing (#8253)

CMake/Version.cmake

+3-3
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
1-
set(VERSION_MAJOR 24)
2-
set(VERSION_MINOR 12)
3-
set(VERSION_PATCH 23)
1+
set(VERSION_MAJOR 25)
2+
set(VERSION_MINOR 1)
3+
set(VERSION_PATCH 21)
44
set(VERSION_COMMIT 0)
55

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

FlatBuffers.podspec

+1-1
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 = '24.12.23'
3+
s.version = '25.1.21'
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

+1-1
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_24_12_23()
60+
fun validateVersion() = Constants.FLATBUFFERS_25_1_21()
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

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
name: flat_buffers
2-
version: 24.12.23
2+
version: 25.1.21
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/cpp/basic_generated.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
// Ensure the included flatbuffers.h is the same version as when this file was
1010
// generated, otherwise it may not be compatible.
11-
static_assert(FLATBUFFERS_VERSION_MAJOR == 24 &&
12-
FLATBUFFERS_VERSION_MINOR == 12 &&
13-
FLATBUFFERS_VERSION_REVISION == 23,
11+
static_assert(FLATBUFFERS_VERSION_MAJOR == 25 &&
12+
FLATBUFFERS_VERSION_MINOR == 1 &&
13+
FLATBUFFERS_VERSION_REVISION == 21,
1414
"Non-compatible flatbuffers version included");
1515

1616
namespace flatbuffers {

goldens/csharp/flatbuffers/goldens/Galaxy.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct Galaxy : IFlatbufferObject
1313
{
1414
private Table __p;
1515
public ByteBuffer ByteBuffer { get { return __p.bb; } }
16-
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_12_23(); }
16+
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_25_1_21(); }
1717
public static Galaxy GetRootAsGalaxy(ByteBuffer _bb) { return GetRootAsGalaxy(_bb, new Galaxy()); }
1818
public static Galaxy GetRootAsGalaxy(ByteBuffer _bb, Galaxy obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
1919
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }

goldens/csharp/flatbuffers/goldens/Universe.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ public struct Universe : IFlatbufferObject
1313
{
1414
private Table __p;
1515
public ByteBuffer ByteBuffer { get { return __p.bb; } }
16-
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_12_23(); }
16+
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_25_1_21(); }
1717
public static Universe GetRootAsUniverse(ByteBuffer _bb) { return GetRootAsUniverse(_bb, new Universe()); }
1818
public static Universe GetRootAsUniverse(ByteBuffer _bb, Universe obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
1919
public static bool VerifyUniverse(ByteBuffer _bb) {Google.FlatBuffers.Verifier verifier = new Google.FlatBuffers.Verifier(_bb); return verifier.VerifyBuffer("", false, UniverseVerify.Verify); }

goldens/java/flatbuffers/goldens/Galaxy.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class Galaxy extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static Galaxy getRootAsGalaxy(ByteBuffer _bb) { return getRootAsGalaxy(_bb, new Galaxy()); }
2626
public static Galaxy getRootAsGalaxy(ByteBuffer _bb, Galaxy obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

goldens/java/flatbuffers/goldens/Universe.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class Universe extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static Universe getRootAsUniverse(ByteBuffer _bb) { return getRootAsUniverse(_bb, new Universe()); }
2626
public static Universe getRootAsUniverse(ByteBuffer _bb, Universe obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

goldens/kotlin/flatbuffers/goldens/Galaxy.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ class Galaxy : Table() {
3434
return if(o != 0) bb.getLong(o + bb_pos) else 0L
3535
}
3636
companion object {
37-
fun validateVersion() = Constants.FLATBUFFERS_24_12_23()
37+
fun validateVersion() = Constants.FLATBUFFERS_25_1_21()
3838
fun getRootAsGalaxy(_bb: ByteBuffer): Galaxy = getRootAsGalaxy(_bb, Galaxy())
3939
fun getRootAsGalaxy(_bb: ByteBuffer, obj: Galaxy): Galaxy {
4040
_bb.order(ByteOrder.LITTLE_ENDIAN)

goldens/kotlin/flatbuffers/goldens/Universe.kt

+1-1
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ class Universe : Table() {
4747
val o = __offset(6); return if (o != 0) __vector_len(o) else 0
4848
}
4949
companion object {
50-
fun validateVersion() = Constants.FLATBUFFERS_24_12_23()
50+
fun validateVersion() = Constants.FLATBUFFERS_25_1_21()
5151
fun getRootAsUniverse(_bb: ByteBuffer): Universe = getRootAsUniverse(_bb, Universe())
5252
fun getRootAsUniverse(_bb: ByteBuffer, obj: Universe): Universe {
5353
_bb.order(ByteOrder.LITTLE_ENDIAN)

goldens/swift/basic_generated.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import FlatBuffers
66

77
public struct flatbuffers_goldens_Galaxy: FlatBufferObject, Verifiable {
88

9-
static func validateVersion() { FlatBuffersVersion_24_12_23() }
9+
static func validateVersion() { FlatBuffersVersion_25_1_21() }
1010
public var __buffer: ByteBuffer! { return _accessor.bb }
1111
private var _accessor: Table
1212

@@ -41,7 +41,7 @@ public struct flatbuffers_goldens_Galaxy: FlatBufferObject, Verifiable {
4141

4242
public struct flatbuffers_goldens_Universe: FlatBufferObject, Verifiable {
4343

44-
static func validateVersion() { FlatBuffersVersion_24_12_23() }
44+
static func validateVersion() { FlatBuffersVersion_25_1_21() }
4545
public var __buffer: ByteBuffer! { return _accessor.bb }
4646
private var _accessor: Table
4747

grpc/examples/swift/Greeter/Sources/Model/greeter_generated.swift

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ import FlatBuffers
66

77
public struct models_HelloReply: FlatBufferObject, Verifiable {
88

9-
static func validateVersion() { FlatBuffersVersion_24_12_23() }
9+
static func validateVersion() { FlatBuffersVersion_25_1_21() }
1010
public var __buffer: ByteBuffer! { return _accessor.bb }
1111
private var _accessor: Table
1212

@@ -53,7 +53,7 @@ extension models_HelloReply: Encodable {
5353

5454
public struct models_HelloRequest: FlatBufferObject, Verifiable {
5555

56-
static func validateVersion() { FlatBuffersVersion_24_12_23() }
56+
static func validateVersion() { FlatBuffersVersion_25_1_21() }
5757
public var __buffer: ByteBuffer! { return _accessor.bb }
5858
private var _accessor: Table
5959

include/flatbuffers/base.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -139,9 +139,9 @@
139139
#endif
140140
#endif // !defined(FLATBUFFERS_LITTLEENDIAN)
141141

142-
#define FLATBUFFERS_VERSION_MAJOR 24
143-
#define FLATBUFFERS_VERSION_MINOR 12
144-
#define FLATBUFFERS_VERSION_REVISION 23
142+
#define FLATBUFFERS_VERSION_MAJOR 25
143+
#define FLATBUFFERS_VERSION_MINOR 1
144+
#define FLATBUFFERS_VERSION_REVISION 21
145145
#define FLATBUFFERS_STRING_EXPAND(X) #X
146146
#define FLATBUFFERS_STRING(X) FLATBUFFERS_STRING_EXPAND(X)
147147
namespace flatbuffers {

include/flatbuffers/reflection_generated.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
// Ensure the included flatbuffers.h is the same version as when this file was
1010
// generated, otherwise it may not be compatible.
11-
static_assert(FLATBUFFERS_VERSION_MAJOR == 24 &&
12-
FLATBUFFERS_VERSION_MINOR == 12 &&
13-
FLATBUFFERS_VERSION_REVISION == 23,
11+
static_assert(FLATBUFFERS_VERSION_MAJOR == 25 &&
12+
FLATBUFFERS_VERSION_MINOR == 1 &&
13+
FLATBUFFERS_VERSION_REVISION == 21,
1414
"Non-compatible flatbuffers version included");
1515

1616
namespace reflection {

java/pom.xml

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<modelVersion>4.0.0</modelVersion>
44
<groupId>com.google.flatbuffers</groupId>
55
<artifactId>flatbuffers-java</artifactId>
6-
<version>24.12.23</version>
6+
<version>25.1.21</version>
77
<packaging>bundle</packaging>
88
<name>FlatBuffers Java API</name>
99
<description>

java/src/main/java/com/google/flatbuffers/Constants.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ public class Constants {
4646
Changes to the Java implementation need to be sure to change
4747
the version here and in the code generator on every possible
4848
incompatible change */
49-
public static void FLATBUFFERS_24_12_23() {}
49+
public static void FLATBUFFERS_25_1_21() {}
5050
}
5151

5252
/// @endcond

java/src/main/java/com/google/flatbuffers/reflection/Enum.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class Enum extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static Enum getRootAsEnum(ByteBuffer _bb) { return getRootAsEnum(_bb, new Enum()); }
2626
public static Enum getRootAsEnum(ByteBuffer _bb, Enum obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

java/src/main/java/com/google/flatbuffers/reflection/EnumVal.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class EnumVal extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static EnumVal getRootAsEnumVal(ByteBuffer _bb) { return getRootAsEnumVal(_bb, new EnumVal()); }
2626
public static EnumVal getRootAsEnumVal(ByteBuffer _bb, EnumVal obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

java/src/main/java/com/google/flatbuffers/reflection/Field.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class Field extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static Field getRootAsField(ByteBuffer _bb) { return getRootAsField(_bb, new Field()); }
2626
public static Field getRootAsField(ByteBuffer _bb, Field obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

java/src/main/java/com/google/flatbuffers/reflection/KeyValue.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class KeyValue extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static KeyValue getRootAsKeyValue(ByteBuffer _bb) { return getRootAsKeyValue(_bb, new KeyValue()); }
2626
public static KeyValue getRootAsKeyValue(ByteBuffer _bb, KeyValue obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

java/src/main/java/com/google/flatbuffers/reflection/Object.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class Object extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static Object getRootAsObject(ByteBuffer _bb) { return getRootAsObject(_bb, new Object()); }
2626
public static Object getRootAsObject(ByteBuffer _bb, Object obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

java/src/main/java/com/google/flatbuffers/reflection/RPCCall.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class RPCCall extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static RPCCall getRootAsRPCCall(ByteBuffer _bb) { return getRootAsRPCCall(_bb, new RPCCall()); }
2626
public static RPCCall getRootAsRPCCall(ByteBuffer _bb, RPCCall obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

java/src/main/java/com/google/flatbuffers/reflection/Schema.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class Schema extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static Schema getRootAsSchema(ByteBuffer _bb) { return getRootAsSchema(_bb, new Schema()); }
2626
public static Schema getRootAsSchema(ByteBuffer _bb, Schema obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public static boolean SchemaBufferHasIdentifier(ByteBuffer _bb) { return __has_identifier(_bb, "BFBS"); }

java/src/main/java/com/google/flatbuffers/reflection/SchemaFile.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
*/
2727
@SuppressWarnings("unused")
2828
public final class SchemaFile extends Table {
29-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
29+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
3030
public static SchemaFile getRootAsSchemaFile(ByteBuffer _bb) { return getRootAsSchemaFile(_bb, new SchemaFile()); }
3131
public static SchemaFile getRootAsSchemaFile(ByteBuffer _bb, SchemaFile obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
3232
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

java/src/main/java/com/google/flatbuffers/reflection/Service.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class Service extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static Service getRootAsService(ByteBuffer _bb) { return getRootAsService(_bb, new Service()); }
2626
public static Service getRootAsService(ByteBuffer _bb, Service obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

java/src/main/java/com/google/flatbuffers/reflection/Type.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121

2222
@SuppressWarnings("unused")
2323
public final class Type extends Table {
24-
public static void ValidateVersion() { Constants.FLATBUFFERS_24_12_23(); }
24+
public static void ValidateVersion() { Constants.FLATBUFFERS_25_1_21(); }
2525
public static Type getRootAsType(ByteBuffer _bb) { return getRootAsType(_bb, new Type()); }
2626
public static Type getRootAsType(ByteBuffer _bb, Type obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
2727
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }

net/FlatBuffers/FlatBufferConstants.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,6 @@ the runtime and generated code are modified in sync.
3232
Changes to the C# implementation need to be sure to change
3333
the version here and in the code generator on every possible
3434
incompatible change */
35-
public static void FLATBUFFERS_24_12_23() {}
35+
public static void FLATBUFFERS_25_1_21() {}
3636
}
3737
}

net/FlatBuffers/Google.FlatBuffers.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
<PropertyGroup>
44
<TargetFrameworks>netstandard2.0;netstandard2.1;net6.0;net8.0</TargetFrameworks>
55
<Description>A cross-platform memory efficient serialization library</Description>
6-
<PackageVersion>24.12.23</PackageVersion>
6+
<PackageVersion>25.1.21</PackageVersion>
77
<Authors>Google LLC</Authors>
88
<PackageProjectUrl>https://github.com/google/flatbuffers</PackageProjectUrl>
99
<RepositoryUrl>https://github.com/google/flatbuffers</RepositoryUrl>

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "flatbuffers",
3-
"version": "24.12.23",
3+
"version": "25.1.21",
44
"description": "Memory Efficient Serialization Library",
55
"files": [
66
"js/**/*.js",

python/flatbuffers/_version.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,4 +14,4 @@
1414

1515
# Placeholder, to be updated during the release process
1616
# by the setup.py
17-
__version__ = u"24.12.23"
17+
__version__ = u"25.1.21"

python/setup.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
setup(
1818
name='flatbuffers',
19-
version='24.12.23',
19+
version='25.1.21',
2020
license='Apache 2.0',
2121
author='Derek Bailey',
2222
author_email='[email protected]',

rust/flatbuffers/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flatbuffers"
3-
version = "24.12.23"
3+
version = "25.1.21"
44
edition = "2018"
55
authors = ["Robert Winslow <[email protected]>", "FlatBuffers Maintainers"]
66
license = "Apache-2.0"

rust/flexbuffers/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "flexbuffers"
3-
version = "24.12.23"
3+
version = "25.1.21"
44
authors = ["Casper Neo <[email protected]>", "FlatBuffers Maintainers"]
55
edition = "2018"
66
license = "Apache-2.0"

samples/monster_generated.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,9 @@
88

99
// Ensure the included flatbuffers.h is the same version as when this file was
1010
// generated, otherwise it may not be compatible.
11-
static_assert(FLATBUFFERS_VERSION_MAJOR == 24 &&
12-
FLATBUFFERS_VERSION_MINOR == 12 &&
13-
FLATBUFFERS_VERSION_REVISION == 23,
11+
static_assert(FLATBUFFERS_VERSION_MAJOR == 25 &&
12+
FLATBUFFERS_VERSION_MINOR == 1 &&
13+
FLATBUFFERS_VERSION_REVISION == 21,
1414
"Non-compatible flatbuffers version included");
1515

1616
namespace MyGame {

samples/monster_generated.swift

+4-4
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,7 @@ public enum MyGame_Sample_Equipment: UInt8, UnionEnum {
3636

3737
public struct MyGame_Sample_Vec3: NativeStruct, Verifiable, FlatbuffersInitializable {
3838

39-
static func validateVersion() { FlatBuffersVersion_24_12_23() }
39+
static func validateVersion() { FlatBuffersVersion_25_1_21() }
4040

4141
private var _x: Float32
4242
private var _y: Float32
@@ -72,7 +72,7 @@ public struct MyGame_Sample_Vec3: NativeStruct, Verifiable, FlatbuffersInitializ
7272

7373
public struct MyGame_Sample_Vec3_Mutable: FlatBufferObject {
7474

75-
static func validateVersion() { FlatBuffersVersion_24_12_23() }
75+
static func validateVersion() { FlatBuffersVersion_25_1_21() }
7676
public var __buffer: ByteBuffer! { return _accessor.bb }
7777
private var _accessor: Struct
7878

@@ -88,7 +88,7 @@ public struct MyGame_Sample_Vec3_Mutable: FlatBufferObject {
8888

8989
public struct MyGame_Sample_Monster: FlatBufferObject, Verifiable {
9090

91-
static func validateVersion() { FlatBuffersVersion_24_12_23() }
91+
static func validateVersion() { FlatBuffersVersion_25_1_21() }
9292
public var __buffer: ByteBuffer! { return _accessor.bb }
9393
private var _accessor: Table
9494

@@ -200,7 +200,7 @@ public struct MyGame_Sample_Monster: FlatBufferObject, Verifiable {
200200

201201
public struct MyGame_Sample_Weapon: FlatBufferObject, Verifiable {
202202

203-
static func validateVersion() { FlatBuffersVersion_24_12_23() }
203+
static func validateVersion() { FlatBuffersVersion_25_1_21() }
204204
public var __buffer: ByteBuffer! { return _accessor.bb }
205205
private var _accessor: Table
206206

src/idl_gen_csharp.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ class CSharpGenerator : public BaseGenerator {
850850
// Force compile time error if not using the same version runtime.
851851
code += " public static void ValidateVersion() {";
852852
code += " FlatBufferConstants.";
853-
code += "FLATBUFFERS_24_12_23(); ";
853+
code += "FLATBUFFERS_25_1_21(); ";
854854
code += "}\n";
855855

856856
// Generate a special accessor for the table that when used as the root

0 commit comments

Comments
 (0)