Skip to content

Commit

Permalink
fix: update flatbuffers version
Browse files Browse the repository at this point in the history
  • Loading branch information
patrick-zippenfenig committed Apr 10, 2024
1 parent 15229e2 commit 0aea002
Show file tree
Hide file tree
Showing 15 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions Package.resolved
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
"kind" : "remoteSourceControl",
"location" : "https://github.com/google/flatbuffers.git",
"state" : {
"revision" : "6ff9e90e7e399f3977e99a315856b57c8afe5b4d",
"version" : "24.3.7"
"revision" : "595bf0007ab1929570c7671f091313c8fc20644e",
"version" : "24.3.25"
}
}
],
Expand Down
2 changes: 1 addition & 1 deletion Package.swift
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ let package = Package(
targets: ["OpenMeteoSdk"]),
],
dependencies: [
.package(url: "https://github.com/google/flatbuffers.git", from: "24.3.7")
.package(url: "https://github.com/google/flatbuffers.git", from: "24.3.25")
],
targets: [
.target(
Expand Down
4 changes: 2 additions & 2 deletions build.gradle.kts
Original file line number Diff line number Diff line change
Expand Up @@ -29,12 +29,12 @@ repositories {
}

dependencies {
api("com.google.flatbuffers:flatbuffers-java:24.3.7")
api("com.google.flatbuffers:flatbuffers-java:24.3.25")
api("com.google.code.findbugs:jsr305:3.0.2")
constraints {
add("implementation", "com.google.flatbuffers:flatbuffers-java") {
version {
prefer("24.3.7")
prefer("24.3.25")
require("22.10.0")
}
}
Expand Down
2 changes: 1 addition & 1 deletion csharp/openmeteo_sdk/VariableWithValues.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public struct VariableWithValues : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_7(); }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static VariableWithValues GetRootAsVariableWithValues(ByteBuffer _bb) { return GetRootAsVariableWithValues(_bb, new VariableWithValues()); }
public static VariableWithValues GetRootAsVariableWithValues(ByteBuffer _bb, VariableWithValues obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
Expand Down
2 changes: 1 addition & 1 deletion csharp/openmeteo_sdk/VariablesWithTime.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public struct VariablesWithTime : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_7(); }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static VariablesWithTime GetRootAsVariablesWithTime(ByteBuffer _bb) { return GetRootAsVariablesWithTime(_bb, new VariablesWithTime()); }
public static VariablesWithTime GetRootAsVariablesWithTime(ByteBuffer _bb, VariablesWithTime obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public void __init(int _i, ByteBuffer _bb) { __p = new Table(_i, _bb); }
Expand Down
2 changes: 1 addition & 1 deletion csharp/openmeteo_sdk/WeatherApiResponse.cs
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ public struct WeatherApiResponse : IFlatbufferObject
{
private Table __p;
public ByteBuffer ByteBuffer { get { return __p.bb; } }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_7(); }
public static void ValidateVersion() { FlatBufferConstants.FLATBUFFERS_24_3_25(); }
public static WeatherApiResponse GetRootAsWeatherApiResponse(ByteBuffer _bb) { return GetRootAsWeatherApiResponse(_bb, new WeatherApiResponse()); }
public static WeatherApiResponse GetRootAsWeatherApiResponse(ByteBuffer _bb, WeatherApiResponse obj) { return (obj.__assign(_bb.GetInt(_bb.Position) + _bb.Position, _bb)); }
public static bool VerifyWeatherApiResponse(ByteBuffer _bb) {Google.FlatBuffers.Verifier verifier = new Google.FlatBuffers.Verifier(_bb); return verifier.VerifyBuffer("", false, WeatherApiResponseVerify.Verify); }
Expand Down
2 changes: 1 addition & 1 deletion java/com/openmeteo/sdk/VariableWithValues.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@SuppressWarnings("unused")
public final class VariableWithValues extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_7(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static VariableWithValues getRootAsVariableWithValues(ByteBuffer _bb) { return getRootAsVariableWithValues(_bb, new VariableWithValues()); }
public static VariableWithValues getRootAsVariableWithValues(ByteBuffer _bb, VariableWithValues obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
2 changes: 1 addition & 1 deletion java/com/openmeteo/sdk/VariablesWithTime.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@SuppressWarnings("unused")
public final class VariablesWithTime extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_7(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static VariablesWithTime getRootAsVariablesWithTime(ByteBuffer _bb) { return getRootAsVariablesWithTime(_bb, new VariablesWithTime()); }
public static VariablesWithTime getRootAsVariablesWithTime(ByteBuffer _bb, VariablesWithTime obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
2 changes: 1 addition & 1 deletion java/com/openmeteo/sdk/WeatherApiResponse.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@

@SuppressWarnings("unused")
public final class WeatherApiResponse extends Table {
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_7(); }
public static void ValidateVersion() { Constants.FLATBUFFERS_24_3_25(); }
public static WeatherApiResponse getRootAsWeatherApiResponse(ByteBuffer _bb) { return getRootAsWeatherApiResponse(_bb, new WeatherApiResponse()); }
public static WeatherApiResponse getRootAsWeatherApiResponse(ByteBuffer _bb, WeatherApiResponse obj) { _bb.order(ByteOrder.LITTLE_ENDIAN); return (obj.__assign(_bb.getInt(_bb.position()) + _bb.position(), _bb)); }
public void __init(int _i, ByteBuffer _bb) { __reset(_i, _bb); }
Expand Down
2 changes: 1 addition & 1 deletion kotlin/com/openmeteo/sdk/VariableWithValues.kt
Original file line number Diff line number Diff line change
Expand Up @@ -107,7 +107,7 @@ class VariableWithValues : Table() {
return if(o != 0) bb.getShort(o + bb_pos) else 0
}
companion object {
fun validateVersion() = Constants.FLATBUFFERS_24_3_7()
fun validateVersion() = Constants.FLATBUFFERS_24_3_25()
fun getRootAsVariableWithValues(_bb: ByteBuffer): VariableWithValues = getRootAsVariableWithValues(_bb, VariableWithValues())
fun getRootAsVariableWithValues(_bb: ByteBuffer, obj: VariableWithValues): VariableWithValues {
_bb.order(ByteOrder.LITTLE_ENDIAN)
Expand Down
2 changes: 1 addition & 1 deletion kotlin/com/openmeteo/sdk/VariablesWithTime.kt
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ class VariablesWithTime : Table() {
val o = __offset(10); return if (o != 0) __vector_len(o) else 0
}
companion object {
fun validateVersion() = Constants.FLATBUFFERS_24_3_7()
fun validateVersion() = Constants.FLATBUFFERS_24_3_25()
fun getRootAsVariablesWithTime(_bb: ByteBuffer): VariablesWithTime = getRootAsVariablesWithTime(_bb, VariablesWithTime())
fun getRootAsVariablesWithTime(_bb: ByteBuffer, obj: VariablesWithTime): VariablesWithTime {
_bb.order(ByteOrder.LITTLE_ENDIAN)
Expand Down
2 changes: 1 addition & 1 deletion kotlin/com/openmeteo/sdk/WeatherApiResponse.kt
Original file line number Diff line number Diff line change
Expand Up @@ -131,7 +131,7 @@ class WeatherApiResponse : Table() {
}
}
companion object {
fun validateVersion() = Constants.FLATBUFFERS_24_3_7()
fun validateVersion() = Constants.FLATBUFFERS_24_3_25()
fun getRootAsWeatherApiResponse(_bb: ByteBuffer): WeatherApiResponse = getRootAsWeatherApiResponse(_bb, WeatherApiResponse())
fun getRootAsWeatherApiResponse(_bb: ByteBuffer, obj: WeatherApiResponse): WeatherApiResponse {
_bb.order(ByteOrder.LITTLE_ENDIAN)
Expand Down
8 changes: 4 additions & 4 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,6 @@
"typescript": "^5.2.2"
},
"dependencies": {
"flatbuffers": "^24.3.7"
"flatbuffers": "^24.3.25"
}
}
6 changes: 3 additions & 3 deletions swift/Sources/OpenMeteoSdk/weather_api_generated.swift
Original file line number Diff line number Diff line change
Expand Up @@ -270,7 +270,7 @@ public enum openmeteo_sdk_Aggregation: UInt8, Enum, Verifiable {

public struct openmeteo_sdk_VariableWithValues: FlatBufferObject, Verifiable {

static func validateVersion() { FlatBuffersVersion_24_3_7() }
static func validateVersion() { FlatBuffersVersion_24_3_25() }
public var __buffer: ByteBuffer! { return _accessor.bb }
private var _accessor: Table

Expand Down Expand Up @@ -377,7 +377,7 @@ public struct openmeteo_sdk_VariableWithValues: FlatBufferObject, Verifiable {

public struct openmeteo_sdk_VariablesWithTime: FlatBufferObject, Verifiable {

static func validateVersion() { FlatBuffersVersion_24_3_7() }
static func validateVersion() { FlatBuffersVersion_24_3_25() }
public var __buffer: ByteBuffer! { return _accessor.bb }
private var _accessor: Table

Expand Down Expand Up @@ -432,7 +432,7 @@ public struct openmeteo_sdk_VariablesWithTime: FlatBufferObject, Verifiable {

public struct openmeteo_sdk_WeatherApiResponse: FlatBufferObject, Verifiable {

static func validateVersion() { FlatBuffersVersion_24_3_7() }
static func validateVersion() { FlatBuffersVersion_24_3_25() }
public var __buffer: ByteBuffer! { return _accessor.bb }
private var _accessor: Table

Expand Down

0 comments on commit 0aea002

Please sign in to comment.