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-site.git
commit ca95ed454cbeb5c10451c9654f058ff2028233c3 Author: chaokunyang <[email protected]> AuthorDate: Mon Jul 20 02:54:26 2026 +0000 π synced local 'docs/guide/' with remote 'docs/guide/' --- 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 ++++++++-------- 13 files changed, 35 insertions(+), 41 deletions(-) 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 <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 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 <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 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 <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 de53319132..518158eed9 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 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. <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 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 <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++ --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
