This is an automated email from the ASF dual-hosted git repository. chaokunyang pushed a commit to branch release_fory_1.2.0 in repository https://gitbox.apache.org/repos/asf/fory-site.git
commit 1951f0bd21eaa896541330ea2dd3ded432e714f6 Author: 慕白 <[email protected]> AuthorDate: Tue Jun 16 21:45:21 2026 +0800 Update site references for Fory 1.2.0 --- 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/index.md | 2 +- docs/guide/java/index.md | 4 ++-- 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 ++++++++-------- docs/start/install.md | 32 ++++++++++++++++---------------- src/components/home/HomepageLanding.tsx | 18 +++++++++--------- src/pages/download/index.md | 10 +++++----- 15 files changed, 59 insertions(+), 59 deletions(-) diff --git a/docs/compiler/compiler-guide.md b/docs/compiler/compiler-guide.md index a89880bb20..85d5bace5f 100644 --- a/docs/compiler/compiler-guide.md +++ b/docs/compiler/compiler-guide.md @@ -707,7 +707,7 @@ Add the Fory dependency to `pubspec.yaml`: ```yaml dependencies: - fory: ^1.1.0 + fory: ^1.2.0 dev_dependencies: build_runner: ^2.4.0 @@ -899,5 +899,5 @@ fory = "x.y.z" ```yaml dependencies: - fory: ^1.1.0 + fory: ^1.2.0 ``` diff --git a/docs/guide/cpp/index.md b/docs/guide/cpp/index.md index 67f591949d..bc55650bb0 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.1.0 + GIT_TAG v1.2.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.1.0") +bazel_dep(name = "fory", version = "1.2.0") git_override( module_name = "fory", remote = "https://github.com/apache/fory.git", - commit = "v1.1.0", # Or use a specific commit hash for reproducibility + commit = "v1.2.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.1.0") +bazel_dep(name = "fory", version = "1.2.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 138b87b45a..485900d829 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.2.0-dev" /> + <PackageReference Include="Apache.Fory" Version="1.2.0" /> <PackageReference Include="Grpc.AspNetCore" Version="2.71.0" /> </ItemGroup> ``` @@ -48,7 +48,7 @@ Client project: ```xml <ItemGroup> - <PackageReference Include="Apache.Fory" Version="1.2.0-dev" /> + <PackageReference Include="Apache.Fory" Version="1.2.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 fee0e7fa9d..7e58692751 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.1.0" /> + <PackageReference Include="Apache.Fory" Version="1.2.0" /> </ItemGroup> ``` diff --git a/docs/guide/dart/index.md b/docs/guide/dart/index.md index b80bf01e58..6c467bbe1c 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.1.0 + fory: ^1.2.0 dev_dependencies: build_runner: ^2.4.0 diff --git a/docs/guide/java/index.md b/docs/guide/java/index.md index 580701f477..3e18de872f 100644 --- a/docs/guide/java/index.md +++ b/docs/guide/java/index.md @@ -58,14 +58,14 @@ Apache Fory™ provides blazingly fast Java object serialization with JIT compil <dependency> <groupId>org.apache.fory</groupId> <artifactId>fory-core</artifactId> - <version>1.1.0</version> + <version>1.2.0</version> </dependency> ``` ### Gradle ```kotlin -implementation("org.apache.fory:fory-core:1.1.0") +implementation("org.apache.fory:fory-core:1.2.0") ``` ### JDK25+ diff --git a/docs/guide/kotlin/index.md b/docs/guide/kotlin/index.md index 92aeb09bb1..7c8a36be0d 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.1.0</version> + <version>1.2.0</version> </dependency> ``` ### Gradle ```kotlin -implementation("org.apache.fory:fory-kotlin:1.1.0") +implementation("org.apache.fory:fory-kotlin:1.2.0") ``` ### JDK25+ diff --git a/docs/guide/rust/basic-serialization.md b/docs/guide/rust/basic-serialization.md index 11919a4760..4f55cb5864 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.1.0", features = ["chrono"] } +fory = { version = "1.2.0", features = ["chrono"] } ``` ### Custom Types diff --git a/docs/guide/rust/grpc-support.md b/docs/guide/rust/grpc-support.md index 3cb6f30117..ed636344a1 100644 --- a/docs/guide/rust/grpc-support.md +++ b/docs/guide/rust/grpc-support.md @@ -37,7 +37,7 @@ to build streaming responses. ```toml [dependencies] -fory = "1.1.0" +fory = "1.2.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 67de0b3bb0..bf5a405afa 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.1.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.1.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.1.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.2.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.2.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.2.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.1.0" +fory = "1.2.0" ``` ### Basic Example diff --git a/docs/guide/scala/index.md b/docs/guide/scala/index.md index 80cea5a40e..3d69867c24 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.1.0" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.2.0" ``` ### JDK25+ diff --git a/docs/guide/xlang/getting-started.md b/docs/guide/xlang/getting-started.md index d2aec856b6..c8d2a234ad 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.1.0</version> + <version>1.2.0</version> </dependency> ``` **Gradle:** ```gradle -implementation 'org.apache.fory:fory-core:1.1.0' +implementation 'org.apache.fory:fory-core:1.2.0' ``` ### Python @@ -57,7 +57,7 @@ go get github.com/apache/fory/go/fory ```toml [dependencies] -fory = "1.1.0" +fory = "1.2.0" ``` ### JavaScript/TypeScript @@ -75,13 +75,13 @@ npm install @apache-fory/core @apache-fory/hps ### C\# ```bash -dotnet add package Apache.Fory --version 1.1.0 +dotnet add package Apache.Fory --version 1.2.0 ``` ### Dart ```bash -dart pub add fory:^1.1.0 +dart pub add fory:^1.2.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.1.0") + .package(url: "https://github.com/apache/fory.git", exact: "1.2.0") ] ``` ### Scala ```scala -libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.1.0" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.2.0" ``` ### Kotlin ```kotlin -implementation("org.apache.fory:fory-kotlin:1.1.0") +implementation("org.apache.fory:fory-kotlin:1.2.0") ``` ### C++ diff --git a/docs/start/install.md b/docs/start/install.md index 5bad416f44..5f4149333e 100644 --- a/docs/start/install.md +++ b/docs/start/install.md @@ -16,14 +16,14 @@ Use Maven to add Apache Fory™: <dependency> <groupId>org.apache.fory</groupId> <artifactId>fory-core</artifactId> - <version>1.1.0</version> + <version>1.2.0</version> </dependency> <!-- Optional row format support --> <!-- <dependency> <groupId>org.apache.fory</groupId> <artifactId>fory-format</artifactId> - <version>1.1.0</version> + <version>1.2.0</version> </dependency> --> <!-- SIMD acceleration for array compression (Java 16+) --> @@ -31,7 +31,7 @@ Use Maven to add Apache Fory™: <dependency> <groupId>org.apache.fory</groupId> <artifactId>fory-simd</artifactId> - <version>1.1.0</version> + <version>1.2.0</version> </dependency> --> ``` @@ -44,7 +44,7 @@ Scala 2.13 with Maven: <dependency> <groupId>org.apache.fory</groupId> <artifactId>fory-scala_2.13</artifactId> - <version>1.1.0</version> + <version>1.2.0</version> </dependency> ``` @@ -54,20 +54,20 @@ Scala 3 with Maven: <dependency> <groupId>org.apache.fory</groupId> <artifactId>fory-scala_3</artifactId> - <version>1.1.0</version> + <version>1.2.0</version> </dependency> ``` Scala 2.13 with sbt: ```sbt -libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "1.1.0" +libraryDependencies += "org.apache.fory" % "fory-scala_2.13" % "1.2.0" ``` Scala 3 with sbt: ```sbt -libraryDependencies += "org.apache.fory" % "fory-scala_3" % "1.1.0" +libraryDependencies += "org.apache.fory" % "fory-scala_3" % "1.2.0" ``` ## Kotlin @@ -78,7 +78,7 @@ Add Apache Fory™ Kotlin with Maven: <dependency> <groupId>org.apache.fory</groupId> <artifactId>fory-kotlin</artifactId> - <version>1.1.0</version> + <version>1.2.0</version> </dependency> ``` @@ -86,7 +86,7 @@ Add Apache Fory™ Kotlin with Maven: ```bash python -m pip install --upgrade pip -pip install pyfory==1.1.0 +pip install pyfory==1.2.0 ``` ## Go @@ -94,7 +94,7 @@ pip install pyfory==1.1.0 Use the full Go module path `github.com/apache/fory/go/fory`: ```bash -go get github.com/apache/fory/go/[email protected] +go get github.com/apache/fory/go/[email protected] ``` If your Go proxy has not picked up the new submodule tag yet, retry later or use `GOPROXY=direct` temporarily. @@ -103,13 +103,13 @@ If your Go proxy has not picked up the new submodule tag yet, retry later or use ```toml [dependencies] -fory = "1.1.0" +fory = "1.2.0" ``` Or use `cargo add`: ```bash -cargo add [email protected] +cargo add [email protected] ``` ## JavaScript / TypeScript @@ -132,7 +132,7 @@ Add Apache Fory™ Dart to `pubspec.yaml`: ```yaml dependencies: - fory: ^1.1.0 + fory: ^1.2.0 dev_dependencies: build_runner: ^2.4.13 @@ -149,12 +149,12 @@ dart run build_runner build --delete-conflicting-outputs Install the `Apache.Fory` NuGet package. It includes both the runtime and the source generator for `[ForyObject]` types. ```bash -dotnet add package Apache.Fory --version 1.1.0 +dotnet add package Apache.Fory --version 1.2.0 ``` ```xml <ItemGroup> - <PackageReference Include="Apache.Fory" Version="1.1.0" /> + <PackageReference Include="Apache.Fory" Version="1.2.0" /> </ItemGroup> ``` @@ -164,7 +164,7 @@ Add Apache Fory™ from the GitHub repository with Swift Package Manager: ```swift dependencies: [ - .package(url: "https://github.com/apache/fory.git", exact: "1.1.0") + .package(url: "https://github.com/apache/fory.git", exact: "1.2.0") ], targets: [ .target( diff --git a/src/components/home/HomepageLanding.tsx b/src/components/home/HomepageLanding.tsx index 762b3c2895..7ddd8c60b1 100644 --- a/src/components/home/HomepageLanding.tsx +++ b/src/components/home/HomepageLanding.tsx @@ -138,7 +138,7 @@ const runtimeExamples: RuntimeExample[] = [ install: `<dependency> <groupId>org.apache.fory</groupId> <artifactId>fory-core</artifactId> - <version>1.1.0</version> + <version>1.2.0</version> </dependency>`, codeLanguage: "java", guide: "/docs/guide/java/", @@ -181,7 +181,7 @@ out = fory.deserialize(data)`, id: "rust", label: "Rust", installLanguage: "bash", - install: `cargo add [email protected]`, + install: `cargo add [email protected]`, codeLanguage: "rust", guide: "/docs/guide/rust/", summary: "Rust uses derive macros for type-safe structs and supports both xlang and native payloads.", @@ -229,7 +229,7 @@ _ = f.Deserialize(payload, &out)`, install: `FetchContent_Declare( fory GIT_REPOSITORY https://github.com/apache/fory.git - GIT_TAG v1.1.0 + GIT_TAG v1.2.0 SOURCE_SUBDIR cpp )`, codeLanguage: "cpp", @@ -276,7 +276,7 @@ const out = deserialize(payload);`, id: "csharp", label: "C#", installLanguage: "bash", - install: `dotnet add package Apache.Fory --version 1.1.0`, + install: `dotnet add package Apache.Fory --version 1.2.0`, codeLanguage: "csharp", guide: "/docs/guide/csharp/", summary: ".NET support uses source-generated serializers for Fory structs, enums, and unions.", @@ -299,7 +299,7 @@ Person out = fory.Deserialize<Person>(payload);`, id: "swift", label: "Swift", installLanguage: "swift", - install: `.package(url: "https://github.com/apache/fory.git", exact: "1.1.0")`, + install: `.package(url: "https://github.com/apache/fory.git", exact: "1.2.0")`, codeLanguage: "swift", guide: "/docs/guide/swift/", summary: "Swift uses @ForyStruct, @ForyEnum, and @ForyUnion macros for xlang-compatible models.", @@ -322,7 +322,7 @@ let out: Person = try fory.deserialize(payload)`, label: "Dart", installLanguage: "yaml", install: `dependencies: - fory: ^1.1.0 + fory: ^1.2.0 dev_dependencies: build_runner: ^2.4.13`, @@ -357,7 +357,7 @@ final out = fory.deserialize<Person>(payload);`, id: "scala", label: "Scala", installLanguage: "sbt", - install: `libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.1.0"`, + install: `libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.2.0"`, codeLanguage: "scala", guide: "/docs/guide/scala/", summary: "Scala builds on Fory Java with optimized serializers for case classes, collections, tuples, and Option.", @@ -377,8 +377,8 @@ val out = fory.deserialize(payload).asInstanceOf[Person]`, id: "kotlin", label: "Kotlin", installLanguage: "kotlin", - install: `implementation("org.apache.fory:fory-kotlin:1.1.0") -ksp("org.apache.fory:fory-kotlin-ksp:1.1.0")`, + install: `implementation("org.apache.fory:fory-kotlin:1.2.0") +ksp("org.apache.fory:fory-kotlin-ksp:1.2.0")`, codeLanguage: "kotlin", guide: "/docs/guide/kotlin/", summary: "Kotlin adds data-class support, Android guidance, and KSP static serializers for xlang/schema mode.", diff --git a/src/pages/download/index.md b/src/pages/download/index.md index 9a6748dac9..66b2b09901 100644 --- a/src/pages/download/index.md +++ b/src/pages/download/index.md @@ -9,11 +9,11 @@ For binary install, please see Apache Fory™ [install](/docs/start/install/) do ## The latest release -The latest source release is 1.1.0: +The latest source release is 1.2.0: | Version | Date | Source | Release Notes | | ------- | ---------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------------------- | -| 1.1.0 | 2026-05-31 | [source](https://www.apache.org/dyn/closer.lua/fory/1.1.0/apache-fory-1.1.0-src.tar.gz?action=download) [asc](https://downloads.apache.org/fory/1.1.0/apache-fory-1.1.0-src.tar.gz.asc) [sha512](https://downloads.apache.org/fory/1.1.0/apache-fory-1.1.0-src.tar.gz.sha512) | [release notes](https://github.com/apache/fory/releases/tag/v1.1.0) | +| 1.2.0 | 2026-06-16 | [source](https://www.apache.org/dyn/closer.lua/fory/1.2.0/apache-fory-1.2.0-src.tar.gz?action=download) [asc](https://downloads.apache.org/fory/1.2.0/apache-fory-1.2.0-src.tar.gz.asc) [sha512](https://downloads.apache.org/fory/1.2.0/apache-fory-1.2.0-src.tar.gz.sha512) | [release notes](https://github.com/apache/fory/releases/tag/v1.2.0) | ## All archived releases @@ -31,13 +31,13 @@ These files are named after the files they relate to but have `.sha512/.asc` ext To verify the SHA digests, you need the `.tar.gz` file and its associated `.tar.gz.sha512` file. An example command: ```bash -sha512sum --check apache-fory-1.1.0-src.tar.gz.sha512 +sha512sum --check apache-fory-1.2.0-src.tar.gz.sha512 ``` It should output something like: ```bash -apache-fory-1.1.0-src.tar.gz: OK +apache-fory-1.2.0-src.tar.gz: OK ``` ### Verifying Signatures @@ -54,7 +54,7 @@ gpg --import KEYS Then you can verify signature: ```bash -gpg --verify apache-fory-1.1.0-src.tar.gz.asc apache-fory-1.1.0-src.tar.gz +gpg --verify apache-fory-1.2.0-src.tar.gz.asc apache-fory-1.2.0-src.tar.gz ``` If something like the following appears, it means the signature is correct: --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
