Skip to content

Commit 285df3a

Browse files
authored
chore(release): bump versions for 1.7.0 (#3991)
## Why? ## What does this PR do? ## Related issues ## AI Contribution Checklist - [ ] Substantial AI assistance was used in this PR: `yes` / `no` - [ ] If `yes`, I included a completed [AI Contribution Checklist](https://github.com/apache/fory/blob/main/AI_POLICY.md#9-contributor-checklist-for-ai-assisted-prs) in this PR description and the required `AI Usage Disclosure`. - [ ] If `yes`, my PR description includes the required `ai_review` summary and screenshot evidence or equivalent persisted links of the final clean AI review results from both fresh reviewers described in `AI_POLICY.md`, the Fory-guided reviewer and the independent general reviewer, on the current PR diff or current HEAD after the latest code changes. ## Does this PR introduce any user-facing change? - [ ] Does this PR introduce any public API change? - [ ] Does this PR introduce any binary protocol compatibility change? ## Benchmark
1 parent cf996a1 commit 285df3a

102 files changed

Lines changed: 190 additions & 167 deletions

File tree

Some content is hidden

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

MODULE.bazel

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

1818
module(
1919
name = "fory",
20-
version = "1.7.0",
20+
version = "1.8.0",
2121
)
2222

2323
# Platforms (needed for platform-specific build configurations)

README.md

Lines changed: 15 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
[![Slack Channel](https://img.shields.io/badge/slack-join-3f0e40?logo=slack&style=for-the-badge)](https://join.slack.com/t/fory-project/shared_invite/zt-36g0qouzm-kcQSvV_dtfbtBKHRwT5gsw)
77
[![X](https://img.shields.io/badge/@ApacheFory-follow-blue?logo=x&style=for-the-badge)](https://x.com/ApacheFory)
88
[![Maven Version](https://img.shields.io/maven-central/v/org.apache.fory/fory-core?style=for-the-badge)](https://search.maven.org/#search|gav|1|g:"org.apache.fory"%20AND%20a:"fory-core")
9-
[![Crates.io](https://img.shields.io/badge/crates.io-v1.6.1-blue?logo=rust&style=for-the-badge)](https://crates.io/crates/fory)
9+
[![Crates.io](https://img.shields.io/badge/crates.io-v1.7.0-blue?logo=rust&style=for-the-badge)](https://crates.io/crates/fory)
1010
[![PyPI](https://img.shields.io/pypi/v/pyfory.svg?logo=PyPI&style=for-the-badge)](https://pypi.org/project/pyfory/)
1111
[![npm](https://img.shields.io/npm/v/%40apache-fory%2Fcore?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@apache-fory/core)
1212
[![NuGet](https://img.shields.io/nuget/v/Apache.Fory?logo=nuget&style=for-the-badge)](https://www.nuget.org/packages/Apache.Fory)
@@ -150,14 +150,14 @@ Maven:
150150
<dependency>
151151
<groupId>org.apache.fory</groupId>
152152
<artifactId>fory-core</artifactId>
153-
<version>1.6.1</version>
153+
<version>1.7.0</version>
154154
</dependency>
155155
```
156156

157157
Gradle:
158158

159159
```gradle
160-
implementation "org.apache.fory:fory-core:1.6.1"
160+
implementation "org.apache.fory:fory-core:1.7.0"
161161
```
162162

163163
On JDK25+, opening `java.lang.invoke` to Fory core is also recommended. It avoids the
@@ -179,15 +179,15 @@ Use the Fory core module name when Fory is on the module path:
179179
sbt:
180180

181181
```scala
182-
libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.6.1"
182+
libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.0"
183183
```
184184

185185
**Kotlin**
186186

187187
Gradle:
188188

189189
```kotlin
190-
implementation("org.apache.fory:fory-kotlin:1.6.1")
190+
implementation("org.apache.fory:fory-kotlin:1.7.0")
191191
```
192192

193193
Maven:
@@ -196,7 +196,7 @@ Maven:
196196
<dependency>
197197
<groupId>org.apache.fory</groupId>
198198
<artifactId>fory-kotlin</artifactId>
199-
<version>1.6.1</version>
199+
<version>1.7.0</version>
200200
</dependency>
201201
```
202202

@@ -218,7 +218,7 @@ pip install "pyfory[format]"
218218

219219
```toml
220220
[dependencies]
221-
fory = "1.6.1"
221+
fory = "1.7.0"
222222
```
223223

224224
**C++**
@@ -230,7 +230,7 @@ include(FetchContent)
230230
FetchContent_Declare(
231231
fory
232232
GIT_REPOSITORY https://github.com/apache/fory.git
233-
GIT_TAG v1.6.1
233+
GIT_TAG v1.7.0
234234
SOURCE_SUBDIR cpp
235235
)
236236
FetchContent_MakeAvailable(fory)
@@ -241,8 +241,8 @@ Bazel:
241241

242242
```bazel
243243
# MODULE.bazel
244-
bazel_dep(name = "fory", version = "1.6.1")
245-
git_override(module_name = "fory", remote = "https://github.com/apache/fory.git", commit = "v1.6.1")
244+
bazel_dep(name = "fory", version = "1.7.0")
245+
git_override(module_name = "fory", remote = "https://github.com/apache/fory.git", commit = "v1.7.0")
246246

247247
# BUILD
248248
deps = ["@fory//cpp/fory/serialization:fory_serialization"]
@@ -275,13 +275,13 @@ npm install @apache-fory/core @apache-fory/hps
275275
**C#**
276276

277277
```bash
278-
dotnet add package Apache.Fory --version 1.6.1
278+
dotnet add package Apache.Fory --version 1.7.0
279279
```
280280

281281
**Dart**
282282

283283
```bash
284-
dart pub add fory:^1.6.1
284+
dart pub add fory:^1.7.0
285285
dart pub add dev:build_runner
286286
```
287287

@@ -291,7 +291,7 @@ Add Fory to `Package.swift`:
291291

292292
```swift
293293
dependencies: [
294-
.package(url: "https://github.com/apache/fory.git", exact: "1.6.1")
294+
.package(url: "https://github.com/apache/fory.git", exact: "1.7.0")
295295
],
296296
targets: [
297297
.target(
@@ -841,14 +841,14 @@ Add Fory JSON to your project:
841841
<dependency>
842842
<groupId>org.apache.fory</groupId>
843843
<artifactId>fory-json</artifactId>
844-
<version>1.6.1</version>
844+
<version>1.7.0</version>
845845
</dependency>
846846
```
847847
848848
**Gradle**
849849
850850
```gradle
851-
implementation "org.apache.fory:fory-json:1.6.1"
851+
implementation "org.apache.fory:fory-json:1.7.0"
852852
```
853853
854854
Keep all Fory modules in the same application on the same version.

benchmarks/cpp/CMakeLists.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ if(POLICY CMP0169)
2222
endif()
2323

2424
project(fory_cpp_benchmark
25-
VERSION 1.7.0
25+
VERSION 1.8.0
2626
DESCRIPTION "C++ Benchmark comparing Fory, Protobuf, and Msgpack serialization"
2727
LANGUAGES CXX
2828
)

benchmarks/go/go.mod

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ module github.com/apache/fory/benchmarks/go
2020
go 1.25.0
2121

2222
require (
23-
github.com/apache/fory/go/fory v1.7.0-alpha.0
23+
github.com/apache/fory/go/fory v1.8.0-alpha.0
2424
github.com/vmihailenco/msgpack/v5 v5.4.1
2525
google.golang.org/protobuf v1.36.0
2626
)

benchmarks/java/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@
2626
<parent>
2727
<artifactId>fory-parent</artifactId>
2828
<groupId>org.apache.fory</groupId>
29-
<version>1.7.0-SNAPSHOT</version>
29+
<version>1.8.0-SNAPSHOT</version>
3030
</parent>
3131

3232
<artifactId>benchmark</artifactId>

benchmarks/java25/pom.xml

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

2727
<groupId>org.apache.fory.benchmark</groupId>
2828
<artifactId>java25-memory-access-benchmark</artifactId>
29-
<version>1.7.0-SNAPSHOT</version>
29+
<version>1.8.0-SNAPSHOT</version>
3030
<packaging>jar</packaging>
3131

3232
<properties>

benchmarks/kotlin/gradle.properties

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
# specific language governing permissions and limitations
1616
# under the License.
1717

18-
foryVersion=1.7.0-SNAPSHOT
18+
foryVersion=1.8.0-SNAPSHOT
1919
kotlinVersion=2.3.20
2020
kspVersion=2.3.8
2121
kotlinxSerializationVersion=1.11.0

benchmarks/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,5 +20,5 @@ members = ["local", "xlang"]
2020
resolver = "2"
2121

2222
[workspace.package]
23-
version = "1.7.0-alpha.0"
23+
version = "1.8.0-alpha.0"
2424
edition = "2021"

benchmarks/scala/build.sbt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ lazy val root = (project in file("."))
2626
name := "fory-scala-json-benchmarks",
2727
resolvers += Resolver.mavenLocal,
2828
libraryDependencies ++= Seq(
29-
"org.apache.fory" %% "fory-json-scala" % "1.7.0-SNAPSHOT",
29+
"org.apache.fory" %% "fory-json-scala" % "1.8.0-SNAPSHOT",
3030
"com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-core" % "2.40.1",
3131
"com.github.plokhotnyuk.jsoniter-scala" %% "jsoniter-scala-macros" % "2.40.1" % Provided,
3232
"com.fasterxml.jackson.module" %% "jackson-module-scala" % "2.22.1",

ci/release.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1060,6 +1060,12 @@ def bump_version(**kwargs):
10601060
_normalize_java_version(new_version),
10611061
_update_scala_version,
10621062
)
1063+
_bump_version(
1064+
"benchmarks/scala",
1065+
"build.sbt",
1066+
_normalize_java_version(new_version),
1067+
_update_scala_benchmark_version,
1068+
)
10631069
elif lang == "kotlin":
10641070
bump_kotlin_version(_normalize_java_version(new_version))
10651071
elif lang == "rust":
@@ -1414,6 +1420,15 @@ def _update_scala_version(lines, v):
14141420
return lines
14151421

14161422

1423+
def _update_scala_benchmark_version(lines, v):
1424+
v = _normalize_java_version(v)
1425+
for index, line in enumerate(lines):
1426+
if '"org.apache.fory" %% "fory-json-scala"' in line:
1427+
lines[index] = re.sub(VERSION_PATTERN, v, line)
1428+
return lines
1429+
raise ValueError("No Fory dependency found in Scala benchmark build")
1430+
1431+
14171432
def _update_kotlin_version(lines, v):
14181433
v = _normalize_java_version(v)
14191434
return _update_pom_version(lines, v, "<artifactId>fory-kotlin-parent</artifactId>")

0 commit comments

Comments
 (0)