From c89c857b609a18c2ff32bf2502a91ecfd11dec2d Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Mon, 20 Jul 2026 10:31:32 +0800 Subject: [PATCH 1/4] chore(release): bump versions after 1.4.0 --- 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 | 17 ++++-------- 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 +- .../grpc_tests/python/pyproject.toml | 2 +- integration_tests/grpc_tests/rust/Cargo.toml | 2 +- .../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 +- .../idl_tests/python/pyproject.toml | 2 +- integration_tests/idl_tests/rust/Cargo.lock | 8 +++--- integration_tests/idl_tests/rust/Cargo.toml | 2 +- .../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 | 17 ++++-------- 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 +- 80 files changed, 159 insertions(+), 158 deletions(-) diff --git a/MODULE.bazel b/MODULE.bazel index c96da3f5ea..a2ef7109aa 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 8dd49baac9..94386e15ea 100644 --- a/README.md +++ b/README.md @@ -6,7 +6,7 @@ [![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) [![X](https://img.shields.io/badge/@ApacheFory-follow-blue?logo=x&style=for-the-badge)](https://x.com/ApacheFory) [![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") -[![Crates.io](https://img.shields.io/badge/crates.io-v1.3.0-blue?logo=rust&style=for-the-badge)](https://crates.io/crates/fory) +[![Crates.io](https://img.shields.io/badge/crates.io-v1.4.0-blue?logo=rust&style=for-the-badge)](https://crates.io/crates/fory) [![PyPI](https://img.shields.io/pypi/v/pyfory.svg?logo=PyPI&style=for-the-badge)](https://pypi.org/project/pyfory/) [![npm](https://img.shields.io/npm/v/%40apache-fory%2Fcore?logo=npm&style=for-the-badge)](https://www.npmjs.com/package/@apache-fory/core) [![NuGet](https://img.shields.io/nuget/v/Apache.Fory?logo=nuget&style=for-the-badge)](https://www.nuget.org/packages/Apache.Fory) @@ -132,14 +132,14 @@ Maven: org.apache.fory fory-core - 1.3.0 + 1.4.0 ``` 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: org.apache.fory fory-kotlin - 1.3.0 + 1.4.0 ``` @@ -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 fc4effed06..ad26d2df13 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 0c2826763e..d3bf7a7777 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 a85c64a690..8b301aec2a 100644 --- a/benchmarks/java/pom.xml +++ b/benchmarks/java/pom.xml @@ -26,7 +26,7 @@ fory-parent org.apache.fory - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT benchmark diff --git a/benchmarks/java25/pom.xml b/benchmarks/java25/pom.xml index 3189f8fc68..decb58cace 100644 --- a/benchmarks/java25/pom.xml +++ b/benchmarks/java25/pom.xml @@ -26,7 +26,7 @@ org.apache.fory.benchmark java25-memory-access-benchmark - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT jar diff --git a/benchmarks/rust/Cargo.toml b/benchmarks/rust/Cargo.toml index 572f3ff09a..887d8d4e46 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 7f7f6b7bcc..a371c8954f 100644 --- a/ci/release.py +++ b/ci/release.py @@ -63,6 +63,7 @@ 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 fa03a075d6..c855e627a6 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 5809bda172..8d25435766 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 bd8091c5a6..5f07450e6f 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 812f6aeebc..36d6ad5408 100644 --- a/csharp/Directory.Build.props +++ b/csharp/Directory.Build.props @@ -1,6 +1,6 @@ - 1.4.0-dev + 1.5.0-dev Apache Software Foundation Apache Software Foundation Apache Fory for .NET provides high-performance cross-language serialization with source-generated serializers and schema evolution support. diff --git a/csharp/README.md b/csharp/README.md index bf969ee258..3b8e0dfc08 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 - + ``` diff --git a/dart/CHANGELOG.md b/dart/CHANGELOG.md index ac449a6d8c..da766f42b7 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 bf9bace998..14fbf769c9 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 ba07142fc1..26c1c2b917 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 ecca2ef79a..13e3dbb529 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 3b182a0d86..58e22565be 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 95848fd286..56b0fb4b95 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 184b48cc4c..f5a77692af 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 5f73481b61..17b38d75db 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 daf2c4fe65..e02273b710 100644 --- a/docs/guide/csharp/grpc-support.md +++ b/docs/guide/csharp/grpc-support.md @@ -39,7 +39,7 @@ Server project: ```xml - + ``` @@ -48,7 +48,7 @@ Client project: ```xml - + diff --git a/docs/guide/csharp/index.md b/docs/guide/csharp/index.md index e808d7bf1d..f2a41a25e8 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 - + ``` diff --git a/docs/guide/dart/grpc-support.md b/docs/guide/dart/grpc-support.md index c8eb6a3b4a..ee6bd8634c 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 19bd363d1a..bf62639e01 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 eb14921fd2..9a8cfc4322 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 org.apache.fory fory-core - 1.3.0 + 1.4.0 ``` ### 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 de53319132..1d807c6521 100644 --- a/docs/guide/java/json-support.md +++ b/docs/guide/java/json-support.md @@ -33,13 +33,7 @@ binary-only features. The module targets Java 8 bytecode. Record mapping requires Java 17 or 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 +41,17 @@ Maven: org.apache.fory fory-json - 1.4.0-SNAPSHOT + 1.4.0 ``` -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 8eff5555ec..6758be197f 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. org.apache.fory fory-kotlin - 1.3.0 + 1.4.0 ``` ### 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 8c2c226207..f45049d087 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 f2b3ea8149..daaf53d1ea 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 7129c6a67b..27a44e2153 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 94b000da6b..b3cf6361b1 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 ed7cd7da9f..56d1cdedc7 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 org.apache.fory fory-core - 1.3.0 + 1.4.0 ``` **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 578eb114de..bd40601328 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 a20b554ef2..b758f98ca5 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 578eb114de..bd40601328 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 f2d62d33cc..1159b23d5e 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 a35d697084..ae3e65903f 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 e619c4daab..07ba412615 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 eb49197af0..be5e1a11c5 100644 --- a/integration_tests/graalvm_tests/pom.xml +++ b/integration_tests/graalvm_tests/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT ../../java 4.0.0 diff --git a/integration_tests/grpc_tests/java/pom.xml b/integration_tests/grpc_tests/java/pom.xml index 375cbd821a..41db555a4e 100644 --- a/integration_tests/grpc_tests/java/pom.xml +++ b/integration_tests/grpc_tests/java/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT ../../../java 4.0.0 diff --git a/integration_tests/grpc_tests/kotlin/pom.xml b/integration_tests/grpc_tests/kotlin/pom.xml index d62e2238b2..1925467faf 100644 --- a/integration_tests/grpc_tests/kotlin/pom.xml +++ b/integration_tests/grpc_tests/kotlin/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-kotlin-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT ../../../kotlin/pom.xml diff --git a/integration_tests/grpc_tests/python/pyproject.toml b/integration_tests/grpc_tests/python/pyproject.toml index dc2b9baa00..747d60b9f4 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 876d9ba68f..abc9315cc4 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 315be71a0c..a3e9a797d4 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 b49f738f8c..6282dc2006 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 0ae2fa52c9..622339a8a4 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 f0a277b26b..298ffaaa8c 100644 --- a/integration_tests/idl_tests/java/pom.xml +++ b/integration_tests/idl_tests/java/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT ../../java 4.0.0 diff --git a/integration_tests/idl_tests/javascript/package.json b/integration_tests/idl_tests/javascript/package.json index edd5142a5e..e7d3fee240 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 6e6d58a271..7eae9846cd 100644 --- a/integration_tests/idl_tests/kotlin/pom.xml +++ b/integration_tests/idl_tests/kotlin/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-kotlin-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT ../../../kotlin/pom.xml diff --git a/integration_tests/idl_tests/python/pyproject.toml b/integration_tests/idl_tests/python/pyproject.toml index aab3d74915..3c49816706 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 01f0f03674..a746a3ceb5 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 2c2ea7ada2..1410a5525a 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 a4456c017f..3ff9893755 100644 --- a/integration_tests/jdk_compatibility_tests/pom.xml +++ b/integration_tests/jdk_compatibility_tests/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT ../../java 4.0.0 diff --git a/integration_tests/jpms_tests/pom.xml b/integration_tests/jpms_tests/pom.xml index 2d504c1639..61525dd9ac 100644 --- a/integration_tests/jpms_tests/pom.xml +++ b/integration_tests/jpms_tests/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT ../../java 4.0.0 diff --git a/java/README.md b/java/README.md index 1dfd6408ab..e7c41de149 100644 --- a/java/README.md +++ b/java/README.md @@ -61,21 +61,21 @@ Apache Fory™ Java provides blazingly-fast serialization for the Java ecosystem org.apache.fory fory-core - 1.3.0 + 1.4.0 org.apache.fory fory-format - 1.3.0 + 1.4.0 org.apache.fory fory-extensions - 1.3.0 + 1.4.0 ``` @@ -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 87b14e0bf7..7e50e2a4a7 100644 --- a/java/fory-annotation-processor/pom.xml +++ b/java/fory-annotation-processor/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/java/fory-core/pom.xml b/java/fory-core/pom.xml index 9f5001980f..3cc849fdba 100644 --- a/java/fory-core/pom.xml +++ b/java/fory-core/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/java/fory-extensions/pom.xml b/java/fory-extensions/pom.xml index b6ea580c07..996c29dd62 100644 --- a/java/fory-extensions/pom.xml +++ b/java/fory-extensions/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/java/fory-format/pom.xml b/java/fory-format/pom.xml index 34886797d7..3ae503ae90 100644 --- a/java/fory-format/pom.xml +++ b/java/fory-format/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/java/fory-json/README.md b/java/fory-json/README.md index 8380b75458..be8e7b7582 100644 --- a/java/fory-json/README.md +++ b/java/fory-json/README.md @@ -14,13 +14,7 @@ reference identity, circular graphs, or Fory's binary-only features. The module targets Java 8 bytecode. Record mapping requires Java 17 or 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 +22,17 @@ Maven: org.apache.fory fory-json - 1.4.0-SNAPSHOT + 1.4.0 ``` -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 69dac5e7e4..c58ba02dd9 100644 --- a/java/fory-json/pom.xml +++ b/java/fory-json/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/java/fory-latest-jdk-tests/pom.xml b/java/fory-latest-jdk-tests/pom.xml index 08a1e9baa8..18c8baecf1 100644 --- a/java/fory-latest-jdk-tests/pom.xml +++ b/java/fory-latest-jdk-tests/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 fory-latest-jdk-tests diff --git a/java/fory-test-core/pom.xml b/java/fory-test-core/pom.xml index 461f9bbce4..b60364ff8d 100644 --- a/java/fory-test-core/pom.xml +++ b/java/fory-test-core/pom.xml @@ -25,7 +25,7 @@ fory-parent org.apache.fory - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/java/fory-testsuite/pom.xml b/java/fory-testsuite/pom.xml index beac375682..d9fded7633 100644 --- a/java/fory-testsuite/pom.xml +++ b/java/fory-testsuite/pom.xml @@ -25,7 +25,7 @@ fory-parent org.apache.fory - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/java/pom.xml b/java/pom.xml index f75a9ae696..e02821acbd 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -33,7 +33,7 @@ org.apache.fory fory-parent pom - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT Fory Project Parent POM 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 75f4a543e4..e89b5b56bb 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 ed7229b9e7..aef8e27ea0 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 7590e53fa7..e0c7428b80 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 b0dd455ae9..0176df4170 100644 --- a/kotlin/fory-kotlin-ksp/pom.xml +++ b/kotlin/fory-kotlin-ksp/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-kotlin-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/kotlin/fory-kotlin-tests/pom.xml b/kotlin/fory-kotlin-tests/pom.xml index 71f3717549..f225defb46 100644 --- a/kotlin/fory-kotlin-tests/pom.xml +++ b/kotlin/fory-kotlin-tests/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-kotlin-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/kotlin/fory-kotlin/pom.xml b/kotlin/fory-kotlin/pom.xml index bfcb2a1731..ecb838d33d 100644 --- a/kotlin/fory-kotlin/pom.xml +++ b/kotlin/fory-kotlin/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-kotlin-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT 4.0.0 diff --git a/kotlin/pom.xml b/kotlin/pom.xml index 2ea96be8a1..9d223f960a 100644 --- a/kotlin/pom.xml +++ b/kotlin/pom.xml @@ -31,7 +31,7 @@ 4.0.0 org.apache.fory fory-kotlin-parent - 1.4.0-SNAPSHOT + 1.5.0-SNAPSHOT pom diff --git a/python/pyfory/__init__.py b/python/pyfory/__init__.py index b1f5b62d96..0d2d22dac6 100644 --- a/python/pyfory/__init__.py +++ b/python/pyfory/__init__.py @@ -135,7 +135,7 @@ ) 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 69d70a027c..386298ed2b 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 d453f64e07..f8a674ad8e 100644 --- a/rust/README.md +++ b/rust/README.md @@ -1,6 +1,6 @@ # Apache Fory™ Rust -[![Crates.io](https://img.shields.io/badge/crates.io-v1.3.0-blue?logo=rust)](https://crates.io/crates/fory) +[![Crates.io](https://img.shields.io/badge/crates.io-v1.4.0-blue?logo=rust)](https://crates.io/crates/fory) [![Documentation](https://docs.rs/fory/badge.svg)](https://docs.rs/fory) [![License](https://img.shields.io/badge/license-Apache%202.0-blue.svg)](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 550e6e3725..54d7f452cf 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 daffbc05a9..53fe8dc597 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 391f583490..024ea43e02 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 67fed18eed..a807c86a27 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( From 0de0243ac5afd6efee38cf48321ea039f9969b21 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Mon, 20 Jul 2026 10:43:36 +0800 Subject: [PATCH 2/4] ci: validate ASF action allowlist --- .github/workflows/asf-allowlist.yml | 37 +++++++++++++++++++++++++++++ .github/workflows/ci.yml | 2 +- .github/workflows/release-dart.yaml | 8 +++---- .github/workflows/release-rust.yaml | 4 ++-- 4 files changed, 44 insertions(+), 7 deletions(-) create mode 100644 .github/workflows/asf-allowlist.yml diff --git a/.github/workflows/asf-allowlist.yml b/.github/workflows/asf-allowlist.yml new file mode 100644 index 0000000000..821b3befc5 --- /dev/null +++ b/.github/workflows/asf-allowlist.yml @@ -0,0 +1,37 @@ +# Licensed to the Apache Software Foundation (ASF) under one +# or more contributor license agreements. See the NOTICE file +# distributed with this work for additional information +# regarding copyright ownership. The ASF licenses this file +# to you under the Apache License, Version 2.0 (the +# "License"); you may not use this file except in compliance +# with the License. You may obtain a copy of the License at +# +# http://www.apache.org/licenses/LICENSE-2.0 +# +# Unless required by applicable law or agreed to in writing, +# software distributed under the License is distributed on an +# "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY +# KIND, either express or implied. See the License for the +# specific language governing permissions and limitations +# under the License. + +name: ASF GitHub Actions Allowlist + +on: + push: + pull_request: + +permissions: + contents: read + +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 bb974a78e9..5567730619 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -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 1191d8544b..12159741d4 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 398f2725fd..c4fcd735a9 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 From 6ff04ab150420f0e98440d3a3b482f37d4e043c9 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Mon, 20 Jul 2026 10:45:33 +0800 Subject: [PATCH 3/4] ci: update sbt setup action pin --- .github/workflows/ci.yml | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 5567730619..52bee60ef2 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 From d4d452e83d01f965008efcc0fca4418ce83b77e4 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Mon, 20 Jul 2026 10:46:13 +0800 Subject: [PATCH 4/4] docs(java): clarify Fory JSON platform support --- docs/guide/java/json-support.md | 3 ++- java/fory-json/README.md | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/docs/guide/java/json-support.md b/docs/guide/java/json-support.md index 1d807c6521..518158eed9 100644 --- a/docs/guide/java/json-support.md +++ b/docs/guide/java/json-support.md @@ -31,7 +31,8 @@ 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 available from Maven Central. diff --git a/java/fory-json/README.md b/java/fory-json/README.md index be8e7b7582..2875e5e1e9 100644 --- a/java/fory-json/README.md +++ b/java/fory-json/README.md @@ -12,7 +12,8 @@ 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 available from Maven Central.