This is an automated email from the ASF dual-hosted git repository.
chaokunyang pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/fory.git
The following commit(s) were added to refs/heads/main by this push:
new 668cbdc52 chore(release): bump versions for 1.4.0 (#3874)
668cbdc52 is described below
commit 668cbdc52f7739d2d54c80aac40ed07fa3ad1b87
Author: Shawn Yang <[email protected]>
AuthorDate: Mon Jul 20 08:24:13 2026 +0530
chore(release): bump versions for 1.4.0 (#3874)
## 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
---
.../workflows/asf-allowlist.yml | 30 ++++++++++++----------
.github/workflows/ci.yml | 8 +++---
.github/workflows/release-dart.yaml | 8 +++---
.github/workflows/release-rust.yaml | 4 +--
MODULE.bazel | 2 +-
README.md | 26 +++++++++----------
benchmarks/cpp/CMakeLists.txt | 2 +-
benchmarks/go/go.mod | 2 +-
benchmarks/java/pom.xml | 2 +-
benchmarks/java25/pom.xml | 2 +-
benchmarks/rust/Cargo.toml | 2 +-
ci/release.py | 13 +++++++---
compiler/fory_compiler/__init__.py | 2 +-
compiler/pyproject.toml | 2 +-
cpp/CMakeLists.txt | 2 +-
csharp/Directory.Build.props | 2 +-
csharp/README.md | 2 +-
dart/CHANGELOG.md | 8 ++++--
dart/packages/fory-test/pubspec.yaml | 4 +--
dart/packages/fory/CHANGELOG.md | 8 ++++--
dart/packages/fory/README.md | 2 +-
dart/packages/fory/pubspec.yaml | 2 +-
dart/pubspec.yaml | 4 +--
docs/compiler/compiler-guide.md | 4 +--
docs/guide/cpp/index.md | 8 +++---
docs/guide/csharp/grpc-support.md | 4 +--
docs/guide/csharp/index.md | 2 +-
docs/guide/dart/grpc-support.md | 2 +-
docs/guide/dart/index.md | 2 +-
docs/guide/java/index.md | 4 +--
docs/guide/java/json-support.md | 20 +++++----------
docs/guide/kotlin/index.md | 4 +--
docs/guide/rust/basic-serialization.md | 2 +-
docs/guide/rust/grpc-support.md | 2 +-
docs/guide/rust/index.md | 8 +++---
docs/guide/scala/index.md | 2 +-
docs/guide/xlang/getting-started.md | 16 ++++++------
examples/cpp/hello_row/MODULE.bazel.example | 4 +--
examples/cpp/hello_row/README.md | 2 +-
examples/cpp/hello_world/MODULE.bazel.example | 4 +--
examples/cpp/hello_world/README.md | 2 +-
integration_tests/android_tests/README.md | 6 ++---
integration_tests/android_tests/build.gradle | 6 ++---
integration_tests/graalvm_tests/pom.xml | 2 +-
integration_tests/grpc_tests/java/pom.xml | 2 +-
integration_tests/grpc_tests/kotlin/pom.xml | 2 +-
integration_tests/grpc_tests/python/pyproject.toml | 2 +-
integration_tests/grpc_tests/rust/Cargo.toml | 2 +-
integration_tests/idl_tests/cpp/CMakeLists.txt | 2 +-
integration_tests/idl_tests/dart/pubspec.yaml | 2 +-
integration_tests/idl_tests/go/go.mod | 2 +-
integration_tests/idl_tests/java/pom.xml | 2 +-
.../idl_tests/javascript/package.json | 2 +-
integration_tests/idl_tests/kotlin/pom.xml | 2 +-
integration_tests/idl_tests/python/pyproject.toml | 2 +-
integration_tests/idl_tests/rust/Cargo.lock | 8 +++---
integration_tests/idl_tests/rust/Cargo.toml | 2 +-
integration_tests/jdk_compatibility_tests/pom.xml | 2 +-
integration_tests/jpms_tests/pom.xml | 2 +-
java/README.md | 12 ++++-----
java/fory-annotation-processor/pom.xml | 2 +-
java/fory-core/pom.xml | 2 +-
java/fory-extensions/pom.xml | 2 +-
java/fory-format/pom.xml | 2 +-
java/fory-json/README.md | 20 +++++----------
java/fory-json/pom.xml | 2 +-
java/fory-latest-jdk-tests/pom.xml | 2 +-
java/fory-test-core/pom.xml | 2 +-
java/fory-testsuite/pom.xml | 2 +-
java/pom.xml | 2 +-
javascript/package-lock.json | 4 +--
javascript/packages/core/package.json | 2 +-
javascript/packages/hps/package.json | 2 +-
kotlin/fory-kotlin-ksp/pom.xml | 2 +-
kotlin/fory-kotlin-tests/pom.xml | 2 +-
kotlin/fory-kotlin/pom.xml | 2 +-
kotlin/pom.xml | 2 +-
python/pyfory/__init__.py | 2 +-
rust/Cargo.toml | 6 ++---
rust/README.md | 10 ++++----
rust/fory/src/lib.rs | 2 +-
scala/README.md | 2 +-
scala/build.sbt | 2 +-
swift/README.md | 2 +-
84 files changed, 190 insertions(+), 183 deletions(-)
diff --git a/dart/packages/fory-test/pubspec.yaml
b/.github/workflows/asf-allowlist.yml
similarity index 63%
copy from dart/packages/fory-test/pubspec.yaml
copy to .github/workflows/asf-allowlist.yml
index bf9bace99..821b3befc 100644
--- a/dart/packages/fory-test/pubspec.yaml
+++ b/.github/workflows/asf-allowlist.yml
@@ -15,19 +15,23 @@
# specific language governing permissions and limitations
# under the License.
-name: fory_test
-description: Apache Fory Dart consumer and integration tests
-version: 1.4.0-dev
+name: ASF GitHub Actions Allowlist
-resolution: workspace
+on:
+ push:
+ pull_request:
-environment:
- sdk: ^3.7.0
+permissions:
+ contents: read
-dependencies:
- fory: 1.4.0-dev
-
-dev_dependencies:
- build_runner: '>=2.7.0 <3.0.0'
- lints: ^6.1.0
- test: ^1.31.1
+jobs:
+ asf-allowlist-check:
+ runs-on: ubuntu-latest
+ steps:
+ - uses: actions/checkout@v5
+ with:
+ persist-credentials: false
+ - name: Check ASF GitHub Actions allowlist
+ uses:
apache/infrastructure-actions/allowlist-check@bddab88ea4e4874c2c159c18f3017b51ec278d03
+ with:
+ scan-glob: ".github/**/*.y*ml"
diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml
index bb974a78e..52bee60ef 100644
--- a/.github/workflows/ci.yml
+++ b/.github/workflows/ci.yml
@@ -668,7 +668,7 @@ jobs:
with:
java-version: 11
distribution: "temurin"
- - uses: sbt/setup-sbt@2e222825582620cc38d2a54e674f3c01b7c14f5d # v1.1.24
+ - uses: sbt/setup-sbt@9d56cf12e9b58d219605e1d8bfe69a8395fedde0 # v1.5.1
with:
disk-cache: false
- name: Install fory java
@@ -695,7 +695,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.11
- - uses: sbt/setup-sbt@2e222825582620cc38d2a54e674f3c01b7c14f5d # v1.1.24
+ - uses: sbt/setup-sbt@9d56cf12e9b58d219605e1d8bfe69a8395fedde0 # v1.5.1
with:
disk-cache: false
- name: Run Scala Xlang Test
@@ -723,7 +723,7 @@ jobs:
uses: actions/setup-python@v5
with:
python-version: 3.11
- - uses: sbt/setup-sbt@2e222825582620cc38d2a54e674f3c01b7c14f5d # v1.1.24
+ - uses: sbt/setup-sbt@9d56cf12e9b58d219605e1d8bfe69a8395fedde0 # v1.5.1
with:
disk-cache: false
- name: Install Fory Java
@@ -940,7 +940,7 @@ jobs:
python-version: 3.11
cache: "pip"
- name: Set up Dart
- uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c #
v1.7.1
+ uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260 #
v1.7.2
with:
sdk: stable
- name: Cache Maven local repository
diff --git a/.github/workflows/release-dart.yaml
b/.github/workflows/release-dart.yaml
index 1191d8544..12159741d 100644
--- a/.github/workflows/release-dart.yaml
+++ b/.github/workflows/release-dart.yaml
@@ -23,7 +23,7 @@ run-name: "Dart Release: ${{ github.ref_name }}"
on:
push:
- tags: ['v*']
+ tags: ["v*"]
permissions:
contents: read
@@ -45,8 +45,8 @@ jobs:
- uses: actions/setup-python@v6
with:
- python-version: '3.11'
- cache: 'pip'
+ python-version: "3.11"
+ cache: "pip"
- name: Bump Dart package versions for the release tag
shell: bash
@@ -80,7 +80,7 @@ jobs:
puts "Verified bumped Dart package versions for #{expected}"
RUBY
- - uses: dart-lang/setup-dart@e51d8e571e22473a2ddebf0ef8a2123f0ab2c02c #
v1.7.1
+ - uses: dart-lang/setup-dart@65eb853c7ba17dde3be364c3d2858773e7144260 #
v1.7.2
- name: Install Dart package dependencies
shell: bash
diff --git a/.github/workflows/release-rust.yaml
b/.github/workflows/release-rust.yaml
index 398f2725f..c4fcd735a 100644
--- a/.github/workflows/release-rust.yaml
+++ b/.github/workflows/release-rust.yaml
@@ -23,7 +23,7 @@ run-name: "Rust Release: ${{ github.ref_name }}"
on:
push:
- tags: ['v*']
+ tags: ["v*"]
permissions:
contents: read
@@ -36,7 +36,7 @@ jobs:
steps:
- uses: actions/checkout@v5
- - uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30
# stable
+ - uses: dtolnay/rust-toolchain@4cda84d5c5c54efe2404f9d843567869ab1699d4
# stable
- name: Bump rust version
shell: bash
diff --git a/MODULE.bazel b/MODULE.bazel
index c96da3f5e..a2ef7109a 100644
--- a/MODULE.bazel
+++ b/MODULE.bazel
@@ -17,7 +17,7 @@
module(
name = "fory",
- version = "1.4.0",
+ version = "1.5.0",
)
# Platforms (needed for platform-specific build configurations)
diff --git a/README.md b/README.md
index 8dd49baac..94386e15e 100644
--- a/README.md
+++ b/README.md
@@ -6,7 +6,7 @@
[](https://join.slack.com/t/fory-project/shared_invite/zt-36g0qouzm-kcQSvV_dtfbtBKHRwT5gsw)
[](https://x.com/ApacheFory)
[](https://search.maven.org/#search|gav|1|g:"org.apache.fory"%20AND%20a:"fory-core")
-[](https://crates.io/crates/fory)
+[](https://crates.io/crates/fory)
[](https://pypi.org/project/pyfory/)
[](https://www.npmjs.com/package/@apache-fory/core)
[](https://www.nuget.org/packages/Apache.Fory)
@@ -132,14 +132,14 @@ Maven:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
- <version>1.3.0</version>
+ <version>1.4.0</version>
</dependency>
```
Gradle:
```gradle
-implementation "org.apache.fory:fory-core:1.3.0"
+implementation "org.apache.fory:fory-core:1.4.0"
```
On JDK25+, open `java.lang.invoke` to Fory. Use `ALL-UNNAMED` when Fory is on
@@ -160,7 +160,7 @@ Use the Fory core module name when Fory is on the module
path:
sbt:
```scala
-libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.3.0"
+libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.4.0"
```
**Kotlin**
@@ -168,7 +168,7 @@ libraryDependencies += "org.apache.fory" %% "fory-scala" %
"1.3.0"
Gradle:
```kotlin
-implementation("org.apache.fory:fory-kotlin:1.3.0")
+implementation("org.apache.fory:fory-kotlin:1.4.0")
```
Maven:
@@ -177,7 +177,7 @@ Maven:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin</artifactId>
- <version>1.3.0</version>
+ <version>1.4.0</version>
</dependency>
```
@@ -199,7 +199,7 @@ pip install "pyfory[format]"
```toml
[dependencies]
-fory = "1.3.0"
+fory = "1.4.0"
```
**C++**
@@ -211,7 +211,7 @@ include(FetchContent)
FetchContent_Declare(
fory
GIT_REPOSITORY https://github.com/apache/fory.git
- GIT_TAG v1.3.0
+ GIT_TAG v1.4.0
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(fory)
@@ -222,8 +222,8 @@ Bazel:
```bazel
# MODULE.bazel
-bazel_dep(name = "fory", version = "1.3.0")
-git_override(module_name = "fory", remote =
"https://github.com/apache/fory.git", commit = "v1.3.0")
+bazel_dep(name = "fory", version = "1.4.0")
+git_override(module_name = "fory", remote =
"https://github.com/apache/fory.git", commit = "v1.4.0")
# BUILD
deps = ["@fory//cpp/fory/serialization:fory_serialization"]
@@ -256,13 +256,13 @@ npm install @apache-fory/core @apache-fory/hps
**C#**
```bash
-dotnet add package Apache.Fory --version 1.3.0
+dotnet add package Apache.Fory --version 1.4.0
```
**Dart**
```bash
-dart pub add fory:^1.3.0
+dart pub add fory:^1.4.0
dart pub add dev:build_runner
```
@@ -272,7 +272,7 @@ Add Fory to `Package.swift`:
```swift
dependencies: [
- .package(url: "https://github.com/apache/fory.git", exact: "1.3.0")
+ .package(url: "https://github.com/apache/fory.git", exact: "1.4.0")
],
targets: [
.target(
diff --git a/benchmarks/cpp/CMakeLists.txt b/benchmarks/cpp/CMakeLists.txt
index fc4effed0..ad26d2df1 100644
--- a/benchmarks/cpp/CMakeLists.txt
+++ b/benchmarks/cpp/CMakeLists.txt
@@ -22,7 +22,7 @@ if(POLICY CMP0169)
endif()
project(fory_cpp_benchmark
- VERSION 1.4.0
+ VERSION 1.5.0
DESCRIPTION "C++ Benchmark comparing Fory, Protobuf, and Msgpack
serialization"
LANGUAGES CXX
)
diff --git a/benchmarks/go/go.mod b/benchmarks/go/go.mod
index 0c2826763..d3bf7a777 100644
--- a/benchmarks/go/go.mod
+++ b/benchmarks/go/go.mod
@@ -20,7 +20,7 @@ module github.com/apache/fory/benchmarks/go
go 1.25.0
require (
- github.com/apache/fory/go/fory v1.4.0-alpha.0
+ github.com/apache/fory/go/fory v1.5.0-alpha.0
github.com/vmihailenco/msgpack/v5 v5.4.1
google.golang.org/protobuf v1.36.0
)
diff --git a/benchmarks/java/pom.xml b/benchmarks/java/pom.xml
index a85c64a69..8b301aec2 100644
--- a/benchmarks/java/pom.xml
+++ b/benchmarks/java/pom.xml
@@ -26,7 +26,7 @@
<parent>
<artifactId>fory-parent</artifactId>
<groupId>org.apache.fory</groupId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<artifactId>benchmark</artifactId>
diff --git a/benchmarks/java25/pom.xml b/benchmarks/java25/pom.xml
index 3189f8fc6..decb58cac 100644
--- a/benchmarks/java25/pom.xml
+++ b/benchmarks/java25/pom.xml
@@ -26,7 +26,7 @@
<groupId>org.apache.fory.benchmark</groupId>
<artifactId>java25-memory-access-benchmark</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<packaging>jar</packaging>
<properties>
diff --git a/benchmarks/rust/Cargo.toml b/benchmarks/rust/Cargo.toml
index 572f3ff09..887d8d4e4 100644
--- a/benchmarks/rust/Cargo.toml
+++ b/benchmarks/rust/Cargo.toml
@@ -17,7 +17,7 @@
[package]
name = "fory-benchmarks"
-version = "1.4.0-alpha.0"
+version = "1.5.0-alpha.0"
edition = "2021"
[[bin]]
diff --git a/ci/release.py b/ci/release.py
index 7f7f6b7bc..a371c8954 100644
--- a/ci/release.py
+++ b/ci/release.py
@@ -63,6 +63,7 @@ SCALA_RELEASE_CMDS = (
RELEASE_DOC_ROOTS = (
"README.md",
"java/README.md",
+ "java/fory-json/README.md",
"rust/README.md",
"scala/README.md",
"csharp/README.md",
@@ -531,7 +532,7 @@ def bump_version(**kwargs):
elif lang == "kotlin":
bump_kotlin_version(_normalize_java_version(new_version))
elif lang == "rust":
- bump_rust_version(new_version)
+ bump_rust_version(new_version, kwargs.get("release_version"))
elif lang == "python":
bump_python_version(new_version)
elif lang == "javascript":
@@ -641,8 +642,9 @@ def bump_python_version(new_version):
)
-def bump_rust_version(new_version):
+def bump_rust_version(new_version, release_version=None):
rust_version = _normalize_rust_version(new_version)
+ release_version = _resolve_release_doc_version(new_version,
release_version)
_bump_version("rust", "Cargo.toml", rust_version, _update_rust_version)
_bump_version(
"benchmarks/rust",
@@ -668,7 +670,12 @@ def bump_rust_version(new_version):
rust_version,
_update_cargo_lock_version,
)
- _bump_version("rust/fory/src", "lib.rs", rust_version,
_update_rust_doc_version)
+ _bump_version(
+ "rust/fory/src",
+ "lib.rs",
+ release_version or rust_version,
+ _update_rust_doc_version,
+ )
def bump_kotlin_version(new_version):
diff --git a/compiler/fory_compiler/__init__.py
b/compiler/fory_compiler/__init__.py
index fa03a075d..c855e627a 100644
--- a/compiler/fory_compiler/__init__.py
+++ b/compiler/fory_compiler/__init__.py
@@ -17,7 +17,7 @@
"""Fory IDL compiler for Apache Fory."""
-__version__ = "1.4.0.dev0"
+__version__ = "1.5.0.dev0"
from fory_compiler.ir.ast import Schema, Message, Enum, Field, EnumValue,
Import
from fory_compiler.frontend.fdl import FDLFrontend
diff --git a/compiler/pyproject.toml b/compiler/pyproject.toml
index 5809bda17..8d2543576 100644
--- a/compiler/pyproject.toml
+++ b/compiler/pyproject.toml
@@ -24,7 +24,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "fory-compiler"
-version = "1.4.0.dev0"
+version = "1.5.0.dev0"
description = "FDL (Fory Definition Language) compiler for Apache Fory
cross-language serialization"
readme = "README.md"
license = {text = "Apache-2.0"}
diff --git a/cpp/CMakeLists.txt b/cpp/CMakeLists.txt
index bd8091c5a..5f07450e6 100644
--- a/cpp/CMakeLists.txt
+++ b/cpp/CMakeLists.txt
@@ -18,7 +18,7 @@
cmake_minimum_required(VERSION 3.16)
project(fory
- VERSION 1.4.0
+ VERSION 1.5.0
DESCRIPTION "Apache Fory - A blazingly fast multi-language serialization
framework"
LANGUAGES CXX
)
diff --git a/csharp/Directory.Build.props b/csharp/Directory.Build.props
index 812f6aeeb..36d6ad540 100644
--- a/csharp/Directory.Build.props
+++ b/csharp/Directory.Build.props
@@ -1,6 +1,6 @@
<Project>
<PropertyGroup>
- <Version>1.4.0-dev</Version>
+ <Version>1.5.0-dev</Version>
<Authors>Apache Software Foundation</Authors>
<Company>Apache Software Foundation</Company>
<Description>Apache Fory for .NET provides high-performance cross-language
serialization with source-generated serializers and schema evolution
support.</Description>
diff --git a/csharp/README.md b/csharp/README.md
index bf969ee25..3b8e0dfc0 100644
--- a/csharp/README.md
+++ b/csharp/README.md
@@ -31,7 +31,7 @@ From NuGet, reference the single `Apache.Fory` package. It
includes the Fory lib
```xml
<ItemGroup>
- <PackageReference Include="Apache.Fory" Version="1.3.0" />
+ <PackageReference Include="Apache.Fory" Version="1.4.0" />
</ItemGroup>
```
diff --git a/dart/CHANGELOG.md b/dart/CHANGELOG.md
index ac449a6d8..da766f42b 100644
--- a/dart/CHANGELOG.md
+++ b/dart/CHANGELOG.md
@@ -1,6 +1,10 @@
-## 1.4.0-dev
+## 1.5.0-dev
-- Start the next Dart workspace development cycle after the 1.3.0 release.
+- Start the next Dart workspace development cycle after the 1.4.0 release.
+
+## 1.4.0
+
+- Align the Dart workspace version with the Apache Fory 1.4.0 release.
## 1.3.0
diff --git a/dart/packages/fory-test/pubspec.yaml
b/dart/packages/fory-test/pubspec.yaml
index bf9bace99..14fbf769c 100644
--- a/dart/packages/fory-test/pubspec.yaml
+++ b/dart/packages/fory-test/pubspec.yaml
@@ -17,7 +17,7 @@
name: fory_test
description: Apache Fory Dart consumer and integration tests
-version: 1.4.0-dev
+version: 1.5.0-dev
resolution: workspace
@@ -25,7 +25,7 @@ environment:
sdk: ^3.7.0
dependencies:
- fory: 1.4.0-dev
+ fory: 1.5.0-dev
dev_dependencies:
build_runner: '>=2.7.0 <3.0.0'
diff --git a/dart/packages/fory/CHANGELOG.md b/dart/packages/fory/CHANGELOG.md
index ba07142fc..26c1c2b91 100644
--- a/dart/packages/fory/CHANGELOG.md
+++ b/dart/packages/fory/CHANGELOG.md
@@ -1,6 +1,10 @@
-## 1.4.0-dev
+## 1.5.0-dev
-- Start the next development cycle after the 1.3.0 release.
+- Start the next development cycle after the 1.4.0 release.
+
+## 1.4.0
+
+- Release Apache Fory Dart 1.4.0.
## 1.3.0
diff --git a/dart/packages/fory/README.md b/dart/packages/fory/README.md
index ecca2ef79..13e3dbb52 100644
--- a/dart/packages/fory/README.md
+++ b/dart/packages/fory/README.md
@@ -23,7 +23,7 @@ Add `fory` to your package dependencies.
```yaml
dependencies:
- fory: ^1.3.0
+ fory: ^1.4.0
dev_dependencies:
build_runner: ^2.4.13
diff --git a/dart/packages/fory/pubspec.yaml b/dart/packages/fory/pubspec.yaml
index 3b182a0d8..58e22565b 100644
--- a/dart/packages/fory/pubspec.yaml
+++ b/dart/packages/fory/pubspec.yaml
@@ -17,7 +17,7 @@
name: fory
description: Cross-language Apache Fory runtime for Dart with generated
serializers, schema evolution, and custom type support.
-version: 1.4.0-dev
+version: 1.5.0-dev
homepage: https://github.com/apache/fory
repository: https://github.com/apache/fory/tree/main/dart/packages/fory
issue_tracker: https://github.com/apache/fory/issues
diff --git a/dart/pubspec.yaml b/dart/pubspec.yaml
index 95848fd28..56b0fb4b9 100644
--- a/dart/pubspec.yaml
+++ b/dart/pubspec.yaml
@@ -17,7 +17,7 @@
name: fory_dart
description: Apache Fory Dart workspace for the runtime package, generated
serializers, and integration tests.
-version: 1.4.0-dev
+version: 1.5.0-dev
# repository: https://github.com/my_org/my_repo
environment:
@@ -25,7 +25,7 @@ environment:
# Add regular dependencies here.
dependencies:
- fory: 1.4.0-dev
+ fory: 1.5.0-dev
build_runner: '>=2.7.0 <3.0.0'
dev_dependencies:
lints: ^6.1.0
diff --git a/docs/compiler/compiler-guide.md b/docs/compiler/compiler-guide.md
index 184b48cc4..f5a77692a 100644
--- a/docs/compiler/compiler-guide.md
+++ b/docs/compiler/compiler-guide.md
@@ -719,7 +719,7 @@ Add the Fory dependency to `pubspec.yaml`:
```yaml
dependencies:
- fory: ^1.3.0
+ fory: ^1.4.0
dev_dependencies:
build_runner: ^2.4.0
@@ -911,5 +911,5 @@ fory = "x.y.z"
```yaml
dependencies:
- fory: ^1.3.0
+ fory: ^1.4.0
```
diff --git a/docs/guide/cpp/index.md b/docs/guide/cpp/index.md
index 5f73481b6..17b38d75d 100644
--- a/docs/guide/cpp/index.md
+++ b/docs/guide/cpp/index.md
@@ -63,7 +63,7 @@ include(FetchContent)
FetchContent_Declare(
fory
GIT_REPOSITORY https://github.com/apache/fory.git
- GIT_TAG v1.3.0
+ GIT_TAG v1.4.0
SOURCE_SUBDIR cpp
)
FetchContent_MakeAvailable(fory)
@@ -93,11 +93,11 @@ module(
bazel_dep(name = "rules_cc", version = "0.1.1")
-bazel_dep(name = "fory", version = "1.3.0")
+bazel_dep(name = "fory", version = "1.4.0")
git_override(
module_name = "fory",
remote = "https://github.com/apache/fory.git",
- commit = "v1.3.0", # Or use a specific commit hash for reproducibility
+ commit = "v1.4.0", # Or use a specific commit hash for reproducibility
)
```
@@ -129,7 +129,7 @@ bazel run //:my_app
For local development, you can use `local_path_override` instead:
```bazel
-bazel_dep(name = "fory", version = "1.3.0")
+bazel_dep(name = "fory", version = "1.4.0")
local_path_override(
module_name = "fory",
path = "/path/to/fory",
diff --git a/docs/guide/csharp/grpc-support.md
b/docs/guide/csharp/grpc-support.md
index daf2c4fe6..e02273b71 100644
--- a/docs/guide/csharp/grpc-support.md
+++ b/docs/guide/csharp/grpc-support.md
@@ -39,7 +39,7 @@ Server project:
```xml
<ItemGroup>
- <PackageReference Include="Apache.Fory" Version="1.3.0" />
+ <PackageReference Include="Apache.Fory" Version="1.4.0" />
<PackageReference Include="Grpc.AspNetCore" Version="2.71.0" />
</ItemGroup>
```
@@ -48,7 +48,7 @@ Client project:
```xml
<ItemGroup>
- <PackageReference Include="Apache.Fory" Version="1.3.0" />
+ <PackageReference Include="Apache.Fory" Version="1.4.0" />
<PackageReference Include="Grpc.Core.Api" Version="2.71.0" />
<PackageReference Include="Grpc.Net.Client" Version="2.71.0" />
</ItemGroup>
diff --git a/docs/guide/csharp/index.md b/docs/guide/csharp/index.md
index e808d7bf1..f2a41a25e 100644
--- a/docs/guide/csharp/index.md
+++ b/docs/guide/csharp/index.md
@@ -44,7 +44,7 @@ Reference the single `Apache.Fory` package. It includes the
Fory library and the
```xml
<ItemGroup>
- <PackageReference Include="Apache.Fory" Version="1.3.0" />
+ <PackageReference Include="Apache.Fory" Version="1.4.0" />
</ItemGroup>
```
diff --git a/docs/guide/dart/grpc-support.md b/docs/guide/dart/grpc-support.md
index c8eb6a3b4..ee6bd8634 100644
--- a/docs/guide/dart/grpc-support.md
+++ b/docs/guide/dart/grpc-support.md
@@ -38,7 +38,7 @@ application that compiles or runs generated service
companions:
```yaml
dependencies:
- fory: ^1.3.0
+ fory: ^1.4.0
grpc: ^4.0.0
dev_dependencies:
diff --git a/docs/guide/dart/index.md b/docs/guide/dart/index.md
index 19bd363d1..bf62639e0 100644
--- a/docs/guide/dart/index.md
+++ b/docs/guide/dart/index.md
@@ -46,7 +46,7 @@ Add the dependency to your `pubspec.yaml`:
```yaml
dependencies:
- fory: ^1.3.0
+ fory: ^1.4.0
dev_dependencies:
build_runner: ^2.4.0
diff --git a/docs/guide/java/index.md b/docs/guide/java/index.md
index eb14921fd..9a8cfc432 100644
--- a/docs/guide/java/index.md
+++ b/docs/guide/java/index.md
@@ -61,14 +61,14 @@ not the native or xlang binary protocol and has its own
object-mapping annotatio
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
- <version>1.3.0</version>
+ <version>1.4.0</version>
</dependency>
```
### Gradle
```kotlin
-implementation("org.apache.fory:fory-core:1.3.0")
+implementation("org.apache.fory:fory-core:1.4.0")
```
### JDK25+
diff --git a/docs/guide/java/json-support.md b/docs/guide/java/json-support.md
index de5331913..518158eed 100644
--- a/docs/guide/java/json-support.md
+++ b/docs/guide/java/json-support.md
@@ -31,15 +31,10 @@ binary-only features.
## Requirements and installation
-The module targets Java 8 bytecode. Record mapping requires Java 17 or later.
+Fory JSON supports Java 8 and later on standard JDKs, GraalVM native images,
and Android. Java
+records are supported on Java 17 and later.
-Fory JSON is currently available from the source tree as `1.4.0-SNAPSHOT`.
Until a published Fory
-release contains the module, install it locally from the repository root:
-
-```bash
-cd java
-mvn -pl fory-json -am -DskipTests install
-```
+Fory JSON is available from Maven Central.
Maven:
@@ -47,18 +42,17 @@ Maven:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-json</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.4.0</version>
</dependency>
```
-Gradle, using `mavenLocal()` for the snapshot:
+Gradle:
```kotlin
-implementation("org.apache.fory:fory-json:1.4.0-SNAPSHOT")
+implementation("org.apache.fory:fory-json:1.4.0")
```
-Keep all Fory modules on the same version. Replace the snapshot with the
released version that
-contains `fory-json` after publication.
+Keep all Fory modules on the same version.
### JDK 25 and later
diff --git a/docs/guide/kotlin/index.md b/docs/guide/kotlin/index.md
index 8eff5555e..6758be197 100644
--- a/docs/guide/kotlin/index.md
+++ b/docs/guide/kotlin/index.md
@@ -53,14 +53,14 @@ See [Java Features](../java/index.md#features) for complete
feature list.
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin</artifactId>
- <version>1.3.0</version>
+ <version>1.4.0</version>
</dependency>
```
### Gradle
```kotlin
-implementation("org.apache.fory:fory-kotlin:1.3.0")
+implementation("org.apache.fory:fory-kotlin:1.4.0")
```
### JDK25+
diff --git a/docs/guide/rust/basic-serialization.md
b/docs/guide/rust/basic-serialization.md
index 8c2c22620..f45049d08 100644
--- a/docs/guide/rust/basic-serialization.md
+++ b/docs/guide/rust/basic-serialization.md
@@ -147,7 +147,7 @@ let later = timestamp.checked_add_duration(duration)?;
```toml
[dependencies]
-fory = { version = "1.3.0", features = ["chrono"] }
+fory = { version = "1.4.0", features = ["chrono"] }
```
### Custom Types
diff --git a/docs/guide/rust/grpc-support.md b/docs/guide/rust/grpc-support.md
index f2b3ea814..daaf53d1e 100644
--- a/docs/guide/rust/grpc-support.md
+++ b/docs/guide/rust/grpc-support.md
@@ -37,7 +37,7 @@ to build streaming responses or request streams.
```toml
[dependencies]
-fory = "1.3.0"
+fory = "1.4.0"
bytes = "1"
tonic = { version = "0.14", features = ["transport"] }
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
diff --git a/docs/guide/rust/index.md b/docs/guide/rust/index.md
index 7129c6a67..27a44e215 100644
--- a/docs/guide/rust/index.md
+++ b/docs/guide/rust/index.md
@@ -38,9 +38,9 @@ The Rust implementation provides versatile and
high-performance serialization wi
| Crate
| Description | Version
|
| ---------------------------------------------------------------------------
| --------------------------------------------------------- |
--------------------------------------------- |
-| [`fory`](https://github.com/apache/fory/blob/main/rust/fory)
| User-facing API, runtime types, and derive macros |
[1.3.0](https://crates.io/crates/fory) |
-| [`fory-core`](https://github.com/apache/fory/blob/main/rust/fory-core/)
| Lower-level runtime crate for advanced integrations |
[1.3.0](https://crates.io/crates/fory-core) |
-| [`fory-derive`](https://github.com/apache/fory/blob/main/rust/fory-derive/)
| Lower-level procedural macro crate for direct runtime use |
[1.3.0](https://crates.io/crates/fory-derive) |
+| [`fory`](https://github.com/apache/fory/blob/main/rust/fory)
| User-facing API, runtime types, and derive macros |
[1.4.0](https://crates.io/crates/fory) |
+| [`fory-core`](https://github.com/apache/fory/blob/main/rust/fory-core/)
| Lower-level runtime crate for advanced integrations |
[1.4.0](https://crates.io/crates/fory-core) |
+| [`fory-derive`](https://github.com/apache/fory/blob/main/rust/fory-derive/)
| Lower-level procedural macro crate for direct runtime use |
[1.4.0](https://crates.io/crates/fory-derive) |
Most applications should depend on `fory` only. It re-exports the derive
macros and the public runtime types needed by generated code. Use `fory-core`
@@ -53,7 +53,7 @@ Add Apache Fory™ to your `Cargo.toml`:
```toml
[dependencies]
-fory = "1.3.0"
+fory = "1.4.0"
```
### Basic Example
diff --git a/docs/guide/scala/index.md b/docs/guide/scala/index.md
index 94b000da6..b3cf6361b 100644
--- a/docs/guide/scala/index.md
+++ b/docs/guide/scala/index.md
@@ -49,7 +49,7 @@ See [Java Features](../java/index.md#features) for complete
feature list.
Add the dependency with sbt:
```sbt
-libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.3.0"
+libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.4.0"
```
### JDK25+
diff --git a/docs/guide/xlang/getting-started.md
b/docs/guide/xlang/getting-started.md
index ed7cd7da9..56d1cdedc 100644
--- a/docs/guide/xlang/getting-started.md
+++ b/docs/guide/xlang/getting-started.md
@@ -31,14 +31,14 @@ This guide covers installation and basic setup for
cross-language serialization
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
- <version>1.3.0</version>
+ <version>1.4.0</version>
</dependency>
```
**Gradle:**
```gradle
-implementation 'org.apache.fory:fory-core:1.3.0'
+implementation 'org.apache.fory:fory-core:1.4.0'
```
### Python
@@ -57,7 +57,7 @@ go get github.com/apache/fory/go/fory
```toml
[dependencies]
-fory = "1.3.0"
+fory = "1.4.0"
```
### JavaScript/TypeScript
@@ -75,13 +75,13 @@ npm install @apache-fory/core @apache-fory/hps
### C\#
```bash
-dotnet add package Apache.Fory --version 1.3.0
+dotnet add package Apache.Fory --version 1.4.0
```
### Dart
```bash
-dart pub add fory:^1.3.0
+dart pub add fory:^1.4.0
dart pub add dev:build_runner
```
@@ -91,20 +91,20 @@ Add Fory to `Package.swift`:
```swift
dependencies: [
- .package(url: "https://github.com/apache/fory.git", exact: "1.3.0")
+ .package(url: "https://github.com/apache/fory.git", exact: "1.4.0")
]
```
### Scala
```scala
-libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.3.0"
+libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.4.0"
```
### Kotlin
```kotlin
-implementation("org.apache.fory:fory-kotlin:1.3.0")
+implementation("org.apache.fory:fory-kotlin:1.4.0")
```
### C++
diff --git a/examples/cpp/hello_row/MODULE.bazel.example
b/examples/cpp/hello_row/MODULE.bazel.example
index 578eb114d..bd4060132 100644
--- a/examples/cpp/hello_row/MODULE.bazel.example
+++ b/examples/cpp/hello_row/MODULE.bazel.example
@@ -28,7 +28,7 @@ bazel_dep(name = "rules_cc", version = "0.1.1")
# Fory dependency
# Option 1: Use git_override to fetch from GitHub (recommended for external
projects)
-bazel_dep(name = "fory", version = "1.3.0")
+bazel_dep(name = "fory", version = "1.4.0")
git_override(
module_name = "fory",
remote = "https://github.com/apache/fory.git",
@@ -36,7 +36,7 @@ git_override(
)
# Option 2: Use local_path_override for local development
-# bazel_dep(name = "fory", version = "1.3.0")
+# bazel_dep(name = "fory", version = "1.4.0")
# local_path_override(
# module_name = "fory",
# path = "/path/to/fory",
diff --git a/examples/cpp/hello_row/README.md b/examples/cpp/hello_row/README.md
index a20b554ef..b758f98ca 100644
--- a/examples/cpp/hello_row/README.md
+++ b/examples/cpp/hello_row/README.md
@@ -77,7 +77,7 @@ For your own project using Fory as a dependency:
```bazel
# In your MODULE.bazel
-bazel_dep(name = "fory", version = "1.3.0")
+bazel_dep(name = "fory", version = "1.4.0")
git_override(
module_name = "fory",
remote = "https://github.com/apache/fory.git",
diff --git a/examples/cpp/hello_world/MODULE.bazel.example
b/examples/cpp/hello_world/MODULE.bazel.example
index 578eb114d..bd4060132 100644
--- a/examples/cpp/hello_world/MODULE.bazel.example
+++ b/examples/cpp/hello_world/MODULE.bazel.example
@@ -28,7 +28,7 @@ bazel_dep(name = "rules_cc", version = "0.1.1")
# Fory dependency
# Option 1: Use git_override to fetch from GitHub (recommended for external
projects)
-bazel_dep(name = "fory", version = "1.3.0")
+bazel_dep(name = "fory", version = "1.4.0")
git_override(
module_name = "fory",
remote = "https://github.com/apache/fory.git",
@@ -36,7 +36,7 @@ git_override(
)
# Option 2: Use local_path_override for local development
-# bazel_dep(name = "fory", version = "1.3.0")
+# bazel_dep(name = "fory", version = "1.4.0")
# local_path_override(
# module_name = "fory",
# path = "/path/to/fory",
diff --git a/examples/cpp/hello_world/README.md
b/examples/cpp/hello_world/README.md
index f2d62d33c..1159b23d5 100644
--- a/examples/cpp/hello_world/README.md
+++ b/examples/cpp/hello_world/README.md
@@ -70,7 +70,7 @@ For your own project using Fory as a dependency:
```bazel
# In your MODULE.bazel
-bazel_dep(name = "fory", version = "1.3.0")
+bazel_dep(name = "fory", version = "1.4.0")
git_override(
module_name = "fory",
remote = "https://github.com/apache/fory.git",
diff --git a/integration_tests/android_tests/README.md
b/integration_tests/android_tests/README.md
index a35d69708..ae3e65903 100644
--- a/integration_tests/android_tests/README.md
+++ b/integration_tests/android_tests/README.md
@@ -10,9 +10,9 @@ exact rules for unannotated ordinary classes. Mixin coverage
registers the source at runtime after R8 minification so broad application keep
rules cannot hide missing processor output.
-The tests consume `org.apache.fory:fory-core:1.4.0-SNAPSHOT`,
-`org.apache.fory:fory-json:1.4.0-SNAPSHOT`, and
-`org.apache.fory:fory-annotation-processor:1.4.0-SNAPSHOT` from the local Maven
+The tests consume `org.apache.fory:fory-core:1.5.0-SNAPSHOT`,
+`org.apache.fory:fory-json:1.5.0-SNAPSHOT`, and
+`org.apache.fory:fory-annotation-processor:1.5.0-SNAPSHOT` from the local Maven
repository, so install the Java artifacts before running Gradle:
```bash
diff --git a/integration_tests/android_tests/build.gradle
b/integration_tests/android_tests/build.gradle
index e619c4daa..07ba41261 100644
--- a/integration_tests/android_tests/build.gradle
+++ b/integration_tests/android_tests/build.gradle
@@ -89,12 +89,12 @@ android {
}
dependencies {
- implementation('org.apache.fory:fory-core:1.4.0-SNAPSHOT') {
+ implementation('org.apache.fory:fory-core:1.5.0-SNAPSHOT') {
exclude group: 'com.google.guava', module: 'guava'
exclude group: 'org.codehaus.janino', module: 'janino'
}
- implementation 'org.apache.fory:fory-json:1.4.0-SNAPSHOT'
- annotationProcessor
'org.apache.fory:fory-annotation-processor:1.4.0-SNAPSHOT'
+ implementation 'org.apache.fory:fory-json:1.5.0-SNAPSHOT'
+ annotationProcessor
'org.apache.fory:fory-annotation-processor:1.5.0-SNAPSHOT'
implementation 'com.google.guava:guava:32.1.2-android'
implementation 'org.slf4j:slf4j-api:2.0.12'
diff --git a/integration_tests/graalvm_tests/pom.xml
b/integration_tests/graalvm_tests/pom.xml
index eb49197af..be5e1a11c 100644
--- a/integration_tests/graalvm_tests/pom.xml
+++ b/integration_tests/graalvm_tests/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<relativePath>../../java</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/integration_tests/grpc_tests/java/pom.xml
b/integration_tests/grpc_tests/java/pom.xml
index 375cbd821..41db555a4 100644
--- a/integration_tests/grpc_tests/java/pom.xml
+++ b/integration_tests/grpc_tests/java/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<relativePath>../../../java</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/integration_tests/grpc_tests/kotlin/pom.xml
b/integration_tests/grpc_tests/kotlin/pom.xml
index d62e2238b..1925467fa 100644
--- a/integration_tests/grpc_tests/kotlin/pom.xml
+++ b/integration_tests/grpc_tests/kotlin/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<relativePath>../../../kotlin/pom.xml</relativePath>
</parent>
diff --git a/integration_tests/grpc_tests/python/pyproject.toml
b/integration_tests/grpc_tests/python/pyproject.toml
index dc2b9baa0..747d60b9f 100644
--- a/integration_tests/grpc_tests/python/pyproject.toml
+++ b/integration_tests/grpc_tests/python/pyproject.toml
@@ -24,7 +24,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "fory-grpc-tests"
-version = "1.4.0.dev0"
+version = "1.5.0.dev0"
description = "gRPC compiler integration tests for Apache Fory"
requires-python = ">=3.8"
license = {text = "Apache-2.0"}
diff --git a/integration_tests/grpc_tests/rust/Cargo.toml
b/integration_tests/grpc_tests/rust/Cargo.toml
index 876d9ba68..abc9315cc 100644
--- a/integration_tests/grpc_tests/rust/Cargo.toml
+++ b/integration_tests/grpc_tests/rust/Cargo.toml
@@ -23,7 +23,7 @@ members = [
resolver = "2"
[workspace.package]
-version = "1.4.0-alpha.0"
+version = "1.5.0-alpha.0"
edition = "2021"
license = "Apache-2.0"
diff --git a/integration_tests/idl_tests/cpp/CMakeLists.txt
b/integration_tests/idl_tests/cpp/CMakeLists.txt
index 315be71a0..a3e9a797d 100644
--- a/integration_tests/idl_tests/cpp/CMakeLists.txt
+++ b/integration_tests/idl_tests/cpp/CMakeLists.txt
@@ -18,7 +18,7 @@
cmake_minimum_required(VERSION 3.16)
project(fory_idl_tests
- VERSION 1.4.0
+ VERSION 1.5.0
DESCRIPTION "Fory IDL compiler integration tests"
LANGUAGES CXX
)
diff --git a/integration_tests/idl_tests/dart/pubspec.yaml
b/integration_tests/idl_tests/dart/pubspec.yaml
index b49f738f8..6282dc200 100644
--- a/integration_tests/idl_tests/dart/pubspec.yaml
+++ b/integration_tests/idl_tests/dart/pubspec.yaml
@@ -1,5 +1,5 @@
name: idl_dart_tests
-version: 1.4.0-dev
+version: 1.5.0-dev
publish_to: none
environment:
diff --git a/integration_tests/idl_tests/go/go.mod
b/integration_tests/idl_tests/go/go.mod
index 0ae2fa52c..622339a8a 100644
--- a/integration_tests/idl_tests/go/go.mod
+++ b/integration_tests/idl_tests/go/go.mod
@@ -19,7 +19,7 @@ module github.com/apache/fory/integration_tests/idl_tests/go
go 1.25.0
-require github.com/apache/fory/go/fory v1.4.0-alpha.0
+require github.com/apache/fory/go/fory v1.5.0-alpha.0
require github.com/spaolacci/murmur3 v1.1.0 // indirect
diff --git a/integration_tests/idl_tests/java/pom.xml
b/integration_tests/idl_tests/java/pom.xml
index f0a277b26..298ffaaa8 100644
--- a/integration_tests/idl_tests/java/pom.xml
+++ b/integration_tests/idl_tests/java/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<relativePath>../../java</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/integration_tests/idl_tests/javascript/package.json
b/integration_tests/idl_tests/javascript/package.json
index edd5142a5..e7d3fee24 100644
--- a/integration_tests/idl_tests/javascript/package.json
+++ b/integration_tests/idl_tests/javascript/package.json
@@ -1,6 +1,6 @@
{
"name": "fory-idl-tests",
- "version": "1.4.0-alpha.0",
+ "version": "1.5.0-alpha.0",
"description": "Fory IDL integration tests for JavaScript",
"main": "index.js",
"scripts": {
diff --git a/integration_tests/idl_tests/kotlin/pom.xml
b/integration_tests/idl_tests/kotlin/pom.xml
index 6e6d58a27..7eae9846c 100644
--- a/integration_tests/idl_tests/kotlin/pom.xml
+++ b/integration_tests/idl_tests/kotlin/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<relativePath>../../../kotlin/pom.xml</relativePath>
</parent>
diff --git a/integration_tests/idl_tests/python/pyproject.toml
b/integration_tests/idl_tests/python/pyproject.toml
index aab3d7491..3c4981670 100644
--- a/integration_tests/idl_tests/python/pyproject.toml
+++ b/integration_tests/idl_tests/python/pyproject.toml
@@ -24,7 +24,7 @@ build-backend = "setuptools.build_meta"
[project]
name = "fory-idl-tests"
-version = "1.4.0.dev0"
+version = "1.5.0.dev0"
description = "IDL compiler integration tests for Apache Fory"
readme = "README.md"
requires-python = ">=3.8"
diff --git a/integration_tests/idl_tests/rust/Cargo.lock
b/integration_tests/idl_tests/rust/Cargo.lock
index 01f0f0367..a746a3ceb 100644
--- a/integration_tests/idl_tests/rust/Cargo.lock
+++ b/integration_tests/idl_tests/rust/Cargo.lock
@@ -78,7 +78,7 @@ checksum =
"8591b0bcc8a98a64310a2fae1bb3e9b8564dd10e381e6e28010fde8e8e8568db"
[[package]]
name = "fory"
-version = "1.4.0-alpha.0"
+version = "1.5.0-alpha.0"
dependencies = [
"fory-core",
"fory-derive",
@@ -86,7 +86,7 @@ dependencies = [
[[package]]
name = "fory-core"
-version = "1.4.0-alpha.0"
+version = "1.5.0-alpha.0"
dependencies = [
"byteorder",
"chrono",
@@ -99,7 +99,7 @@ dependencies = [
[[package]]
name = "fory-derive"
-version = "1.4.0-alpha.0"
+version = "1.5.0-alpha.0"
dependencies = [
"fory-core",
"proc-macro-crate",
@@ -140,7 +140,7 @@ dependencies = [
[[package]]
name = "idl_tests"
-version = "1.4.0-alpha.0"
+version = "1.5.0-alpha.0"
dependencies = [
"chrono",
"fory",
diff --git a/integration_tests/idl_tests/rust/Cargo.toml
b/integration_tests/idl_tests/rust/Cargo.toml
index 2c2ea7ada..1410a5525 100644
--- a/integration_tests/idl_tests/rust/Cargo.toml
+++ b/integration_tests/idl_tests/rust/Cargo.toml
@@ -17,7 +17,7 @@
[package]
name = "idl_tests"
-version = "1.4.0-alpha.0"
+version = "1.5.0-alpha.0"
edition = "2021"
license = "Apache-2.0"
diff --git a/integration_tests/jdk_compatibility_tests/pom.xml
b/integration_tests/jdk_compatibility_tests/pom.xml
index a4456c017..3ff989375 100644
--- a/integration_tests/jdk_compatibility_tests/pom.xml
+++ b/integration_tests/jdk_compatibility_tests/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<relativePath>../../java</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/integration_tests/jpms_tests/pom.xml
b/integration_tests/jpms_tests/pom.xml
index 2d504c163..61525dd9a 100644
--- a/integration_tests/jpms_tests/pom.xml
+++ b/integration_tests/jpms_tests/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<relativePath>../../java</relativePath>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/java/README.md b/java/README.md
index 1dfd6408a..e7c41de14 100644
--- a/java/README.md
+++ b/java/README.md
@@ -61,21 +61,21 @@ Apache Fory™ Java provides blazingly-fast serialization for
the Java ecosystem
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-core</artifactId>
- <version>1.3.0</version>
+ <version>1.4.0</version>
</dependency>
<!-- Optional: Row format support -->
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-format</artifactId>
- <version>1.3.0</version>
+ <version>1.4.0</version>
</dependency>
<!-- Optional: Serializers for Protobuf data -->
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-extensions</artifactId>
- <version>1.3.0</version>
+ <version>1.4.0</version>
</dependency>
```
@@ -84,10 +84,10 @@ Apache Fory™ Java provides blazingly-fast serialization for
the Java ecosystem
```gradle
dependencies {
- implementation 'org.apache.fory:fory-core:1.3.0'
+ implementation 'org.apache.fory:fory-core:1.4.0'
// Optional modules
- implementation 'org.apache.fory:fory-format:1.3.0'
- implementation 'org.apache.fory:fory-extensions:1.3.0'
+ implementation 'org.apache.fory:fory-format:1.4.0'
+ implementation 'org.apache.fory:fory-extensions:1.4.0'
}
```
diff --git a/java/fory-annotation-processor/pom.xml
b/java/fory-annotation-processor/pom.xml
index 87b14e0bf..7e50e2a4a 100644
--- a/java/fory-annotation-processor/pom.xml
+++ b/java/fory-annotation-processor/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/java/fory-core/pom.xml b/java/fory-core/pom.xml
index 9f5001980..3cc849fdb 100644
--- a/java/fory-core/pom.xml
+++ b/java/fory-core/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/java/fory-extensions/pom.xml b/java/fory-extensions/pom.xml
index b6ea580c0..996c29dd6 100644
--- a/java/fory-extensions/pom.xml
+++ b/java/fory-extensions/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/java/fory-format/pom.xml b/java/fory-format/pom.xml
index 34886797d..3ae503ae9 100644
--- a/java/fory-format/pom.xml
+++ b/java/fory-format/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/java/fory-json/README.md b/java/fory-json/README.md
index 8380b7545..2875e5e1e 100644
--- a/java/fory-json/README.md
+++ b/java/fory-json/README.md
@@ -12,15 +12,10 @@ reference identity, circular graphs, or Fory's binary-only
features.
## Requirements and installation
-The module targets Java 8 bytecode. Record mapping requires Java 17 or later.
+Fory JSON supports Java 8 and later on standard JDKs, GraalVM native images,
and Android. Java
+records are supported on Java 17 and later.
-Fory JSON is currently available from the source tree as `1.4.0-SNAPSHOT`.
Until a published Fory
-release contains the module, install it into the local Maven repository from
the repository root:
-
-```bash
-cd java
-mvn -pl fory-json -am -DskipTests install
-```
+Fory JSON is available from Maven Central.
Maven:
@@ -28,18 +23,17 @@ Maven:
<dependency>
<groupId>org.apache.fory</groupId>
<artifactId>fory-json</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.4.0</version>
</dependency>
```
-Gradle, using `mavenLocal()` while consuming the snapshot:
+Gradle:
```kotlin
-implementation("org.apache.fory:fory-json:1.4.0-SNAPSHOT")
+implementation("org.apache.fory:fory-json:1.4.0")
```
-Use the same version for every Fory module in one application. After
`fory-json` is published,
-replace the snapshot with the released version that contains it.
+Use the same version for every Fory module in one application.
### JDK 25 and later
diff --git a/java/fory-json/pom.xml b/java/fory-json/pom.xml
index 69dac5e7e..c58ba02dd 100644
--- a/java/fory-json/pom.xml
+++ b/java/fory-json/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/java/fory-latest-jdk-tests/pom.xml
b/java/fory-latest-jdk-tests/pom.xml
index 08a1e9baa..18c8baecf 100644
--- a/java/fory-latest-jdk-tests/pom.xml
+++ b/java/fory-latest-jdk-tests/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
<artifactId>fory-latest-jdk-tests</artifactId>
diff --git a/java/fory-test-core/pom.xml b/java/fory-test-core/pom.xml
index 461f9bbce..b60364ff8 100644
--- a/java/fory-test-core/pom.xml
+++ b/java/fory-test-core/pom.xml
@@ -25,7 +25,7 @@
<parent>
<artifactId>fory-parent</artifactId>
<groupId>org.apache.fory</groupId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/java/fory-testsuite/pom.xml b/java/fory-testsuite/pom.xml
index beac37568..d9fded763 100644
--- a/java/fory-testsuite/pom.xml
+++ b/java/fory-testsuite/pom.xml
@@ -25,7 +25,7 @@
<parent>
<artifactId>fory-parent</artifactId>
<groupId>org.apache.fory</groupId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/java/pom.xml b/java/pom.xml
index f75a9ae69..e02821acb 100644
--- a/java/pom.xml
+++ b/java/pom.xml
@@ -33,7 +33,7 @@
<groupId>org.apache.fory</groupId>
<artifactId>fory-parent</artifactId>
<packaging>pom</packaging>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<name>Fory Project Parent POM</name>
<description>
Apache Fory™ is a blazingly fast multi-language serialization framework
powered by jit and zero-copy.
diff --git a/javascript/package-lock.json b/javascript/package-lock.json
index 75f4a543e..e89b5b56b 100644
--- a/javascript/package-lock.json
+++ b/javascript/package-lock.json
@@ -6729,7 +6729,7 @@
},
"packages/core": {
"name": "@apache-fory/core",
- "version": "1.4.0-alpha.0",
+ "version": "1.5.0-alpha.0",
"license": "Apache-2.0",
"workspaces": [
"packages/hps"
@@ -6766,7 +6766,7 @@
},
"packages/hps": {
"name": "@apache-fory/hps",
- "version": "1.4.0-alpha.0",
+ "version": "1.5.0-alpha.0",
"hasInstallScript": true,
"license": "Apache-2.0",
"dependencies": {
diff --git a/javascript/packages/core/package.json
b/javascript/packages/core/package.json
index ed7229b9e..aef8e27ea 100644
--- a/javascript/packages/core/package.json
+++ b/javascript/packages/core/package.json
@@ -1,6 +1,6 @@
{
"name": "@apache-fory/core",
- "version": "1.4.0-alpha.0",
+ "version": "1.5.0-alpha.0",
"description": "Apache Fory™ is a blazingly fast multi-language
serialization framework powered by jit and zero-copy",
"homepage": "https://fory.apache.org/docs/guide/javascript",
"main": "dist/index.js",
diff --git a/javascript/packages/hps/package.json
b/javascript/packages/hps/package.json
index 7590e53fa..e0c7428b8 100644
--- a/javascript/packages/hps/package.json
+++ b/javascript/packages/hps/package.json
@@ -1,6 +1,6 @@
{
"name": "@apache-fory/hps",
- "version": "1.4.0-alpha.0",
+ "version": "1.5.0-alpha.0",
"description": "Apache Fory™ nodejs high-performance suite",
"homepage": "https://fory.apache.org/docs/guide/javascript",
"main": "dist/index.js",
diff --git a/kotlin/fory-kotlin-ksp/pom.xml b/kotlin/fory-kotlin-ksp/pom.xml
index b0dd455ae..0176df417 100644
--- a/kotlin/fory-kotlin-ksp/pom.xml
+++ b/kotlin/fory-kotlin-ksp/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/kotlin/fory-kotlin-tests/pom.xml b/kotlin/fory-kotlin-tests/pom.xml
index 71f371754..f225defb4 100644
--- a/kotlin/fory-kotlin-tests/pom.xml
+++ b/kotlin/fory-kotlin-tests/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/kotlin/fory-kotlin/pom.xml b/kotlin/fory-kotlin/pom.xml
index bfcb2a173..ecb838d33 100644
--- a/kotlin/fory-kotlin/pom.xml
+++ b/kotlin/fory-kotlin/pom.xml
@@ -25,7 +25,7 @@
<parent>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
</parent>
<modelVersion>4.0.0</modelVersion>
diff --git a/kotlin/pom.xml b/kotlin/pom.xml
index 2ea96be8a..9d223f960 100644
--- a/kotlin/pom.xml
+++ b/kotlin/pom.xml
@@ -31,7 +31,7 @@
<modelVersion>4.0.0</modelVersion>
<groupId>org.apache.fory</groupId>
<artifactId>fory-kotlin-parent</artifactId>
- <version>1.4.0-SNAPSHOT</version>
+ <version>1.5.0-SNAPSHOT</version>
<packaging>pom</packaging>
<modules>
diff --git a/python/pyfory/__init__.py b/python/pyfory/__init__.py
index b1f5b62d9..0d2d22dac 100644
--- a/python/pyfory/__init__.py
+++ b/python/pyfory/__init__.py
@@ -135,7 +135,7 @@ from pyfory.type_util import ( # noqa: F401 # pylint:
disable=unused-import
)
from pyfory.policy import DeserializationPolicy # noqa: F401 # pylint:
disable=unused-import
-__version__ = "1.4.0.dev0"
+__version__ = "1.5.0.dev0"
__all__ = [
# Core classes
diff --git a/rust/Cargo.toml b/rust/Cargo.toml
index 69d70a027..386298ed2 100644
--- a/rust/Cargo.toml
+++ b/rust/Cargo.toml
@@ -32,7 +32,7 @@ exclude = [
resolver = "2"
[workspace.package]
-version = "1.4.0-alpha.0"
+version = "1.5.0-alpha.0"
rust-version = "1.70"
description = "Apache Fory: Blazingly fast multi-language serialization
framework with trait objects and reference support."
license = "Apache-2.0"
@@ -44,5 +44,5 @@ keywords = ["serialization", "serde", "trait-object",
"zero-copy", "schema-evolu
categories = ["encoding"]
[workspace.dependencies]
-fory-core = { path = "fory-core", version = "1.4.0-alpha.0" }
-fory-derive = { path = "fory-derive", version = "1.4.0-alpha.0" }
+fory-core = { path = "fory-core", version = "1.5.0-alpha.0" }
+fory-derive = { path = "fory-derive", version = "1.5.0-alpha.0" }
diff --git a/rust/README.md b/rust/README.md
index d453f64e0..f8a674ad8 100644
--- a/rust/README.md
+++ b/rust/README.md
@@ -1,6 +1,6 @@
# Apache Fory™ Rust
-[](https://crates.io/crates/fory)
+[](https://crates.io/crates/fory)
[](https://docs.rs/fory)
[](https://github.com/apache/fory/blob/main/LICENSE)
@@ -23,9 +23,9 @@ The Rust implementation provides versatile and
high-performance serialization wi
| Crate
| Description | Version
|
| ---------------------------------------------------------------------------
| --------------------------------------------------------- |
--------------------------------------------- |
-| [`fory`](https://github.com/apache/fory/blob/main/rust/fory)
| User-facing API, runtime types, and derive macros |
[1.3.0](https://crates.io/crates/fory) |
-| [`fory-core`](https://github.com/apache/fory/blob/main/rust/fory-core/)
| Lower-level runtime crate for advanced integrations |
[1.3.0](https://crates.io/crates/fory-core) |
-| [`fory-derive`](https://github.com/apache/fory/blob/main/rust/fory-derive/)
| Lower-level procedural macro crate for direct runtime use |
[1.3.0](https://crates.io/crates/fory-derive) |
+| [`fory`](https://github.com/apache/fory/blob/main/rust/fory)
| User-facing API, runtime types, and derive macros |
[1.4.0](https://crates.io/crates/fory) |
+| [`fory-core`](https://github.com/apache/fory/blob/main/rust/fory-core/)
| Lower-level runtime crate for advanced integrations |
[1.4.0](https://crates.io/crates/fory-core) |
+| [`fory-derive`](https://github.com/apache/fory/blob/main/rust/fory-derive/)
| Lower-level procedural macro crate for direct runtime use |
[1.4.0](https://crates.io/crates/fory-derive) |
Most applications should depend on `fory` only. It re-exports the derive
macros and the public runtime types needed by generated code. Use `fory-core`
@@ -38,7 +38,7 @@ Add Apache Fory™ to your `Cargo.toml`:
```toml
[dependencies]
-fory = "1.3.0"
+fory = "1.4.0"
```
### Basic Example
diff --git a/rust/fory/src/lib.rs b/rust/fory/src/lib.rs
index 550e6e372..54d7f452c 100644
--- a/rust/fory/src/lib.rs
+++ b/rust/fory/src/lib.rs
@@ -49,7 +49,7 @@
//!
//! ```toml
//! [dependencies]
-//! fory = "0.13"
+//! fory = "1.4.0"
//! ```
//!
//! ### Basic Example
diff --git a/scala/README.md b/scala/README.md
index daffbc05a..53fe8dc59 100644
--- a/scala/README.md
+++ b/scala/README.md
@@ -163,7 +163,7 @@ val fory = ForyScala.builder().withXlang(false)
Add the dependency with sbt:
```sbt
-libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.3.0"
+libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.4.0"
```
## Building
diff --git a/scala/build.sbt b/scala/build.sbt
index 391f58349..024ea43e0 100644
--- a/scala/build.sbt
+++ b/scala/build.sbt
@@ -16,7 +16,7 @@
* limitations under the License.
*/
-val foryVersion = "1.4.0-SNAPSHOT"
+val foryVersion = "1.5.0-SNAPSHOT"
val scala213Version = "2.13.15"
ThisBuild / apacheSonatypeProjectProfile := "fory"
version := foryVersion
diff --git a/swift/README.md b/swift/README.md
index 67fed18ee..a807c86a2 100644
--- a/swift/README.md
+++ b/swift/README.md
@@ -33,7 +33,7 @@ The Swift implementation provides high-performance object
graph serialization wi
```swift
dependencies: [
- .package(url: "https://github.com/apache/fory.git", from: "1.3.0")
+ .package(url: "https://github.com/apache/fory.git", from: "1.4.0")
],
targets: [
.target(
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]