From 72fdca0972471649f9cce88df51a9174f95e649b Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Sat, 14 Nov 2026 03:53:33 +0800 Subject: [PATCH 1/2] chore: update release references to 1.7.8 --- README.md | 30 +++++++++---------- csharp/README.md | 2 +- dart/CHANGELOG.md | 6 +++- dart/packages/fory/CHANGELOG.md | 6 +++- dart/packages/fory/README.md | 2 +- docs/compiler/build-integration.md | 2 +- docs/compiler/cli.md | 2 +- docs/grpc/csharp.md | 4 +-- docs/grpc/dart.md | 2 +- docs/grpc/rust.md | 2 +- docs/json/getting-started.md | 6 ++-- docs/json/kotlin.md | 4 +-- docs/json/scala.md | 2 +- docs/object-serialization/cpp/index.md | 8 ++--- docs/object-serialization/csharp/index.md | 2 +- docs/object-serialization/dart/index.md | 2 +- docs/object-serialization/java/index.md | 4 +-- docs/object-serialization/kotlin/index.md | 4 +-- .../rust/basic-serialization.md | 2 +- docs/object-serialization/rust/index.md | 8 ++--- docs/object-serialization/scala/index.md | 2 +- docs/row-format/java.md | 4 +-- docs/start/cpp.md | 2 +- docs/start/csharp.md | 2 +- docs/start/dart.md | 2 +- docs/start/go.md | 2 +- docs/start/java.md | 6 ++-- docs/start/javascript.md | 4 +-- docs/start/kotlin.md | 4 +-- docs/start/python.md | 2 +- docs/start/rust.md | 2 +- docs/start/scala.md | 2 +- docs/start/swift.md | 2 +- 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 +- java/README.md | 16 +++++----- java/fory-json/README.md | 4 +-- kotlin/fory-json-kotlin-ksp/README.md | 4 +-- kotlin/fory-json-kotlin/README.md | 4 +-- rust/README.md | 10 +++---- scala/fory-json-scala/README.md | 2 +- scala/fory-scala/README.md | 2 +- swift/README.md | 2 +- 45 files changed, 100 insertions(+), 92 deletions(-) diff --git a/README.md b/README.md index 22dc0110d8..e6eb77d724 100644 --- a/README.md +++ b/README.md @@ -25,7 +25,7 @@ under the License. [![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.7.7-blue?logo=rust&style=for-the-badge)](https://crates.io/crates/fory) +[![Crates.io](https://img.shields.io/badge/crates.io-v1.7.8-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) @@ -169,14 +169,14 @@ Maven: org.apache.fory fory-core - 1.7.7 + 1.7.8 ``` Gradle: ```gradle -implementation "org.apache.fory:fory-core:1.7.7" +implementation "org.apache.fory:fory-core:1.7.8" ``` On JDK25+, opening `java.lang.invoke` to Fory core is also recommended. It avoids the @@ -198,7 +198,7 @@ Use the Fory core module name when Fory is on the module path: sbt: ```scala -libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.7" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.8" ``` **Kotlin** @@ -206,7 +206,7 @@ libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.7" Gradle: ```kotlin -implementation("org.apache.fory:fory-kotlin:1.7.7") +implementation("org.apache.fory:fory-kotlin:1.7.8") ``` Maven: @@ -215,7 +215,7 @@ Maven: org.apache.fory fory-kotlin - 1.7.7 + 1.7.8 ``` @@ -237,7 +237,7 @@ pip install "pyfory[format]" ```toml [dependencies] -fory = "1.7.7" +fory = "1.7.8" ``` **C++** @@ -249,7 +249,7 @@ include(FetchContent) FetchContent_Declare( fory GIT_REPOSITORY https://github.com/apache/fory.git - GIT_TAG v1.7.7 + GIT_TAG v1.7.8 SOURCE_SUBDIR cpp ) FetchContent_MakeAvailable(fory) @@ -260,8 +260,8 @@ Bazel: ```bazel # MODULE.bazel -bazel_dep(name = "fory", version = "1.7.7") -git_override(module_name = "fory", remote = "https://github.com/apache/fory.git", commit = "v1.7.7") +bazel_dep(name = "fory", version = "1.7.8") +git_override(module_name = "fory", remote = "https://github.com/apache/fory.git", commit = "v1.7.8") # BUILD deps = ["@fory//cpp/fory/serialization:fory_serialization"] @@ -294,13 +294,13 @@ npm install @apache-fory/core @apache-fory/hps **C#** ```bash -dotnet add package Apache.Fory --version 1.7.7 +dotnet add package Apache.Fory --version 1.7.8 ``` **Dart** ```bash -dart pub add fory:^1.7.7 +dart pub add fory:^1.7.8 dart pub add dev:build_runner ``` @@ -310,7 +310,7 @@ Add Fory to `Package.swift`: ```swift dependencies: [ - .package(url: "https://github.com/apache/fory.git", exact: "1.7.7") + .package(url: "https://github.com/apache/fory.git", exact: "1.7.8") ], targets: [ .target( @@ -881,14 +881,14 @@ Add Fory JSON to your project: org.apache.fory fory-json - 1.7.7 + 1.7.8 ``` **Gradle** ```gradle -implementation "org.apache.fory:fory-json:1.7.7" +implementation "org.apache.fory:fory-json:1.7.8" ``` Keep all Fory modules in the same application on the same version. diff --git a/csharp/README.md b/csharp/README.md index 933e48e0c9..32a4864827 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -51,7 +51,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 2cfbc34e42..2487d17e9c 100644 --- a/dart/CHANGELOG.md +++ b/dart/CHANGELOG.md @@ -19,7 +19,11 @@ under the License. ## 1.8.0-dev -- Continue Dart workspace development after the 1.7.7 release. +- Continue Dart workspace development after the 1.7.8 release. + +## 1.7.8 + +- Align the Dart workspace version with the Apache Fory 1.7.8 release. ## 1.7.7 diff --git a/dart/packages/fory/CHANGELOG.md b/dart/packages/fory/CHANGELOG.md index 733c1bf438..749b402d1b 100644 --- a/dart/packages/fory/CHANGELOG.md +++ b/dart/packages/fory/CHANGELOG.md @@ -19,7 +19,11 @@ under the License. ## 1.8.0-dev -- Continue development after the 1.7.7 release. +- Continue development after the 1.7.8 release. + +## 1.7.8 + +- Release Apache Fory Dart 1.7.8. ## 1.7.7 diff --git a/dart/packages/fory/README.md b/dart/packages/fory/README.md index 4515a6ef22..4d04760796 100644 --- a/dart/packages/fory/README.md +++ b/dart/packages/fory/README.md @@ -44,7 +44,7 @@ Add `fory` to your package dependencies. ```yaml dependencies: - fory: ^1.7.7 + fory: ^1.7.8 dev_dependencies: build_runner: ^2.4.13 diff --git a/docs/compiler/build-integration.md b/docs/compiler/build-integration.md index 56dbdd39e0..055781a3b9 100644 --- a/docs/compiler/build-integration.md +++ b/docs/compiler/build-integration.md @@ -211,7 +211,7 @@ Add the Fory dependency to `pubspec.yaml`: ```yaml dependencies: - fory: ^1.7.7 + fory: ^1.7.8 dev_dependencies: build_runner: ^2.4.0 diff --git a/docs/compiler/cli.md b/docs/compiler/cli.md index 70c135f130..536e37570c 100644 --- a/docs/compiler/cli.md +++ b/docs/compiler/cli.md @@ -689,5 +689,5 @@ fory = "x.y.z" ```yaml dependencies: - fory: ^1.7.7 + fory: ^1.7.8 ``` diff --git a/docs/grpc/csharp.md b/docs/grpc/csharp.md index 00121bce10..6fe9f91f02 100644 --- a/docs/grpc/csharp.md +++ b/docs/grpc/csharp.md @@ -39,7 +39,7 @@ Server project: ```xml - + ``` @@ -48,7 +48,7 @@ Client project: ```xml - + diff --git a/docs/grpc/dart.md b/docs/grpc/dart.md index 8a94a64980..1bcbdf2fa8 100644 --- a/docs/grpc/dart.md +++ b/docs/grpc/dart.md @@ -38,7 +38,7 @@ application that compiles or runs generated service companions: ```yaml dependencies: - fory: ^1.7.7 + fory: ^1.7.8 grpc: ^4.0.0 dev_dependencies: diff --git a/docs/grpc/rust.md b/docs/grpc/rust.md index 7f67b7ca53..29bdeab770 100644 --- a/docs/grpc/rust.md +++ b/docs/grpc/rust.md @@ -37,7 +37,7 @@ to build streaming responses or request streams. ```toml [dependencies] -fory = "1.7.7" +fory = "1.7.8" bytes = "1" tonic = { version = "0.14", features = ["transport"] } tokio = { version = "1", features = ["macros", "rt-multi-thread"] } diff --git a/docs/json/getting-started.md b/docs/json/getting-started.md index 72b2dc4cd4..71c0f4585b 100644 --- a/docs/json/getting-started.md +++ b/docs/json/getting-started.md @@ -43,7 +43,7 @@ Maven: org.apache.fory fory-json - 1.7.7 + 1.7.8 ``` @@ -57,7 +57,7 @@ repositories { mavenCentral() } -implementation("org.apache.fory:fory-json:1.7.7") +implementation("org.apache.fory:fory-json:1.7.8") ``` ### Kotlin @@ -66,7 +66,7 @@ Kotlin/JVM applications add the optional Kotlin JSON runtime and use its single ```kotlin title="build.gradle.kts" dependencies { - implementation("org.apache.fory:fory-json-kotlin:1.7.7") + implementation("org.apache.fory:fory-json-kotlin:1.7.8") } ``` diff --git a/docs/json/kotlin.md b/docs/json/kotlin.md index efabbc4d7d..9e1bf2aad2 100644 --- a/docs/json/kotlin.md +++ b/docs/json/kotlin.md @@ -41,7 +41,7 @@ repositories { } dependencies { - implementation("org.apache.fory:fory-json-kotlin:1.7.7") + implementation("org.apache.fory:fory-json-kotlin:1.7.8") } ``` @@ -54,7 +54,7 @@ plugins { } dependencies { - ksp("org.apache.fory:fory-json-kotlin-ksp:1.7.7") + ksp("org.apache.fory:fory-json-kotlin-ksp:1.7.8") } ``` diff --git a/docs/json/scala.md b/docs/json/scala.md index 2fc1509cb9..918e204734 100644 --- a/docs/json/scala.md +++ b/docs/json/scala.md @@ -25,7 +25,7 @@ module works on the ordinary JVM and GraalVM Native Image. Android is not suppor ## Setup ```sbt -libraryDependencies += "org.apache.fory" %% "fory-json-scala" % "1.7.7" +libraryDependencies += "org.apache.fory" %% "fory-json-scala" % "1.7.8" ``` `ForyJsonScala.builder()` installs the Scala module and returns the standard Fory JSON builder: diff --git a/docs/object-serialization/cpp/index.md b/docs/object-serialization/cpp/index.md index 4a3a8d08c2..3b8fabcda4 100644 --- a/docs/object-serialization/cpp/index.md +++ b/docs/object-serialization/cpp/index.md @@ -62,7 +62,7 @@ include(FetchContent) FetchContent_Declare( fory GIT_REPOSITORY https://github.com/apache/fory.git - GIT_TAG v1.7.7 + GIT_TAG v1.7.8 SOURCE_SUBDIR cpp ) FetchContent_MakeAvailable(fory) @@ -92,11 +92,11 @@ module( bazel_dep(name = "rules_cc", version = "0.1.1") -bazel_dep(name = "fory", version = "1.7.7") +bazel_dep(name = "fory", version = "1.7.8") git_override( module_name = "fory", remote = "https://github.com/apache/fory.git", - commit = "v1.7.7", # Or use a specific commit hash for reproducibility + commit = "v1.7.8", # Or use a specific commit hash for reproducibility ) ``` @@ -128,7 +128,7 @@ bazel run //:my_app For local development, you can use `local_path_override` instead: ```bazel -bazel_dep(name = "fory", version = "1.7.7") +bazel_dep(name = "fory", version = "1.7.8") local_path_override( module_name = "fory", path = "/path/to/fory", diff --git a/docs/object-serialization/csharp/index.md b/docs/object-serialization/csharp/index.md index cae6940335..785349a186 100644 --- a/docs/object-serialization/csharp/index.md +++ b/docs/object-serialization/csharp/index.md @@ -46,7 +46,7 @@ Reference the single `Apache.Fory` package. It includes the Fory library and the ```xml - + ``` diff --git a/docs/object-serialization/dart/index.md b/docs/object-serialization/dart/index.md index 072ac42620..2e1882fa99 100644 --- a/docs/object-serialization/dart/index.md +++ b/docs/object-serialization/dart/index.md @@ -47,7 +47,7 @@ Add the dependency to your `pubspec.yaml`: ```yaml dependencies: - fory: ^1.7.7 + fory: ^1.7.8 dev_dependencies: build_runner: ^2.4.0 diff --git a/docs/object-serialization/java/index.md b/docs/object-serialization/java/index.md index 41a0134364..776c42de70 100644 --- a/docs/object-serialization/java/index.md +++ b/docs/object-serialization/java/index.md @@ -63,7 +63,7 @@ or later. org.apache.fory fory-core - 1.7.7 + 1.7.8 ``` @@ -71,7 +71,7 @@ or later. ```kotlin // Binary object serialization -implementation("org.apache.fory:fory-core:1.7.7") +implementation("org.apache.fory:fory-core:1.7.8") ``` #### JDK 25 and Later diff --git a/docs/object-serialization/kotlin/index.md b/docs/object-serialization/kotlin/index.md index 894ae92503..72980aa063 100644 --- a/docs/object-serialization/kotlin/index.md +++ b/docs/object-serialization/kotlin/index.md @@ -53,14 +53,14 @@ See [Java Features](../java/index.md#features) for complete feature list. org.apache.fory fory-kotlin - 1.7.7 + 1.7.8 ``` ### Gradle ```kotlin -implementation("org.apache.fory:fory-kotlin:1.7.7") +implementation("org.apache.fory:fory-kotlin:1.7.8") ``` ### JDK25+ diff --git a/docs/object-serialization/rust/basic-serialization.md b/docs/object-serialization/rust/basic-serialization.md index 61fba502e4..e50802f704 100644 --- a/docs/object-serialization/rust/basic-serialization.md +++ b/docs/object-serialization/rust/basic-serialization.md @@ -182,7 +182,7 @@ let later = timestamp.checked_add_duration(duration)?; ```toml [dependencies] -fory = { version = "1.7.7", features = ["chrono"] } +fory = { version = "1.7.8", features = ["chrono"] } ``` ### Custom Types diff --git a/docs/object-serialization/rust/index.md b/docs/object-serialization/rust/index.md index 37632e3511..a79843a7b0 100644 --- a/docs/object-serialization/rust/index.md +++ b/docs/object-serialization/rust/index.md @@ -37,9 +37,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, public Fory types, and derive macros | [1.7.7](https://crates.io/crates/fory) | -| [`fory-core`](https://github.com/apache/fory/blob/main/rust/fory-core/) | Lower-level core crate for advanced integrations | [1.7.7](https://crates.io/crates/fory-core) | -| [`fory-derive`](https://github.com/apache/fory/blob/main/rust/fory-derive/) | Procedural macro crate for direct derive-macro use | [1.7.7](https://crates.io/crates/fory-derive) | +| [`fory`](https://github.com/apache/fory/blob/main/rust/fory) | User-facing API, public Fory types, and derive macros | [1.7.8](https://crates.io/crates/fory) | +| [`fory-core`](https://github.com/apache/fory/blob/main/rust/fory-core/) | Lower-level core crate for advanced integrations | [1.7.8](https://crates.io/crates/fory-core) | +| [`fory-derive`](https://github.com/apache/fory/blob/main/rust/fory-derive/) | Procedural macro crate for direct derive-macro use | [1.7.8](https://crates.io/crates/fory-derive) | Most applications should depend on `fory` only. It re-exports the derive macros and the public Fory types needed by generated code. Use `fory-core` @@ -52,7 +52,7 @@ Add Apache Fory™ to your `Cargo.toml`: ```toml [dependencies] -fory = "1.7.7" +fory = "1.7.8" ``` ### Basic Example diff --git a/docs/object-serialization/scala/index.md b/docs/object-serialization/scala/index.md index 2aecbbf8e9..2a75a0e762 100644 --- a/docs/object-serialization/scala/index.md +++ b/docs/object-serialization/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.7.7" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.8" ``` ### JDK25+ diff --git a/docs/row-format/java.md b/docs/row-format/java.md index cb9f57560d..0363ceea66 100644 --- a/docs/row-format/java.md +++ b/docs/row-format/java.md @@ -43,14 +43,14 @@ For Maven: org.apache.fory fory-format - 1.7.7 + 1.7.8 ``` For Gradle: ```kotlin -implementation("org.apache.fory:fory-format:1.7.7") +implementation("org.apache.fory:fory-format:1.7.8") ``` ## Basic Usage diff --git a/docs/start/cpp.md b/docs/start/cpp.md index 4dc8d7c3d3..e62f328ff0 100644 --- a/docs/start/cpp.md +++ b/docs/start/cpp.md @@ -45,7 +45,7 @@ include(FetchContent) FetchContent_Declare( fory GIT_REPOSITORY https://github.com/apache/fory.git - GIT_TAG v1.7.7 + GIT_TAG v1.7.8 SOURCE_SUBDIR cpp ) FetchContent_MakeAvailable(fory) diff --git a/docs/start/csharp.md b/docs/start/csharp.md index b0b3734434..83bed24151 100644 --- a/docs/start/csharp.md +++ b/docs/start/csharp.md @@ -36,7 +36,7 @@ Create a console project and add the released package: ```bash dotnet new console -n ForyExample cd ForyExample -dotnet add package Apache.Fory --version 1.7.7 +dotnet add package Apache.Fory --version 1.7.8 ``` Replace `Program.cs` with: diff --git a/docs/start/dart.md b/docs/start/dart.md index 34a5ae1feb..2ec0f288c1 100644 --- a/docs/start/dart.md +++ b/docs/start/dart.md @@ -36,7 +36,7 @@ Add Fory and the generator to `pubspec.yaml`: ```yaml dependencies: - fory: 1.7.7 + fory: 1.7.8 dev_dependencies: build_runner: ^2.4.0 diff --git a/docs/start/go.md b/docs/start/go.md index d9deb503b6..d7fcc5e221 100644 --- a/docs/start/go.md +++ b/docs/start/go.md @@ -38,7 +38,7 @@ Create a module and install the released Fory module: mkdir fory-example cd fory-example go mod init example.com/fory-example -go get github.com/apache/fory/go/fory@v1.7.7 +go get github.com/apache/fory/go/fory@v1.7.8 ``` If a Go proxy has not picked up a new submodule tag yet, retry later or use diff --git a/docs/start/java.md b/docs/start/java.md index 8912b9d064..dd0b3e1ebe 100644 --- a/docs/start/java.md +++ b/docs/start/java.md @@ -44,14 +44,14 @@ Maven: org.apache.fory fory-core - 1.7.7 + 1.7.8 ``` Gradle: ```kotlin -implementation("org.apache.fory:fory-core:1.7.7") +implementation("org.apache.fory:fory-core:1.7.8") ``` Run this complete xlang round trip: @@ -97,7 +97,7 @@ Fory JSON maps Java objects to standard JSON text and UTF-8 bytes. Add `fory-json` instead of `fory-core` when the application only needs JSON: ```kotlin -implementation("org.apache.fory:fory-json:1.7.7") +implementation("org.apache.fory:fory-json:1.7.8") ``` Add the import to `ForyExample.java`: diff --git a/docs/start/javascript.md b/docs/start/javascript.md index b1b926d8de..1829d06f62 100644 --- a/docs/start/javascript.md +++ b/docs/start/javascript.md @@ -36,7 +36,7 @@ npm --version Install the core package: ```bash -npm install @apache-fory/core@1.7.7 +npm install @apache-fory/core@1.7.8 ``` Define a schema and run an xlang round trip: @@ -72,7 +72,7 @@ JavaScript uses xlang mode. Continue with For the optional Node.js string fast path, install the matching package version: ```bash -npm install @apache-fory/core@1.7.7 @apache-fory/hps@1.7.7 +npm install @apache-fory/core@1.7.8 @apache-fory/hps@1.7.8 ``` ## Other Capabilities diff --git a/docs/start/kotlin.md b/docs/start/kotlin.md index 1ad5c966b5..2b94791d0c 100644 --- a/docs/start/kotlin.md +++ b/docs/start/kotlin.md @@ -44,7 +44,7 @@ repositories { } dependencies { - implementation("org.apache.fory:fory-kotlin:1.7.7") + implementation("org.apache.fory:fory-kotlin:1.7.8") } ``` @@ -88,7 +88,7 @@ module when interoperating with ordinary JSON APIs, browsers, logs, or other JSO ```kotlin title="build.gradle.kts" dependencies { - implementation("org.apache.fory:fory-json-kotlin:1.7.7") + implementation("org.apache.fory:fory-json-kotlin:1.7.8") } ``` diff --git a/docs/start/python.md b/docs/start/python.md index 3c78c88275..99c5f000b0 100644 --- a/docs/start/python.md +++ b/docs/start/python.md @@ -35,7 +35,7 @@ python -m pip --version Install the released package: ```bash -python -m pip install pyfory==1.7.7 +python -m pip install pyfory==1.7.8 ``` Run an xlang round trip: diff --git a/docs/start/rust.md b/docs/start/rust.md index 85c2ff62eb..12b93d65aa 100644 --- a/docs/start/rust.md +++ b/docs/start/rust.md @@ -36,7 +36,7 @@ Add the public crate: ```toml title="Cargo.toml" [dependencies] -fory = "1.7.7" +fory = "1.7.8" ``` ```rust diff --git a/docs/start/scala.md b/docs/start/scala.md index 5e785a0f50..2d6e2f2fd2 100644 --- a/docs/start/scala.md +++ b/docs/start/scala.md @@ -37,7 +37,7 @@ Add the Fory Scala library to `build.sbt`: ```sbt ThisBuild / scalaVersion := "3.3.1" -libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.7" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.8" ``` Create `src/main/scala/ScalaExample.scala`: diff --git a/docs/start/swift.md b/docs/start/swift.md index 97885c8868..240164d86a 100644 --- a/docs/start/swift.md +++ b/docs/start/swift.md @@ -42,7 +42,7 @@ Add the released package and depend on its `Fory` library in the generated `Pack ```swift title="Package.swift" dependencies: [ - .package(url: "https://github.com/apache/fory.git", exact: "1.7.7") + .package(url: "https://github.com/apache/fory.git", exact: "1.7.8") ], targets: [ .executableTarget( diff --git a/examples/cpp/hello_row/MODULE.bazel.example b/examples/cpp/hello_row/MODULE.bazel.example index f21845f2ae..8a033ccf20 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.7.7") +bazel_dep(name = "fory", version = "1.7.8") 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.7.7") +# bazel_dep(name = "fory", version = "1.7.8") # 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 7ed3f26810..3fe133aaaa 100644 --- a/examples/cpp/hello_row/README.md +++ b/examples/cpp/hello_row/README.md @@ -96,7 +96,7 @@ For your own project using Fory as a dependency: ```bazel # In your MODULE.bazel -bazel_dep(name = "fory", version = "1.7.7") +bazel_dep(name = "fory", version = "1.7.8") 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 f21845f2ae..8a033ccf20 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.7.7") +bazel_dep(name = "fory", version = "1.7.8") 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.7.7") +# bazel_dep(name = "fory", version = "1.7.8") # 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 3190cba317..f6109b3cb0 100644 --- a/examples/cpp/hello_world/README.md +++ b/examples/cpp/hello_world/README.md @@ -89,7 +89,7 @@ For your own project using Fory as a dependency: ```bazel # In your MODULE.bazel -bazel_dep(name = "fory", version = "1.7.7") +bazel_dep(name = "fory", version = "1.7.8") git_override( module_name = "fory", remote = "https://github.com/apache/fory.git", diff --git a/java/README.md b/java/README.md index 5f1cf90ddf..1cb06be7d4 100644 --- a/java/README.md +++ b/java/README.md @@ -114,28 +114,28 @@ aligned. `fory-json` includes `fory-core` transitively. org.apache.fory fory-core - 1.7.7 + 1.7.8 org.apache.fory fory-format - 1.7.7 + 1.7.8 org.apache.fory fory-json - 1.7.7 + 1.7.8 org.apache.fory fory-extensions - 1.7.7 + 1.7.8 ``` @@ -144,13 +144,13 @@ aligned. `fory-json` includes `fory-core` transitively. ```gradle dependencies { // Binary object serialization - implementation 'org.apache.fory:fory-core:1.7.7' + implementation 'org.apache.fory:fory-core:1.7.8' // Row format - implementation 'org.apache.fory:fory-format:1.7.7' + implementation 'org.apache.fory:fory-format:1.7.8' // JSON serialization - implementation 'org.apache.fory:fory-json:1.7.7' + implementation 'org.apache.fory:fory-json:1.7.8' // Optional: Protobuf serializers and metadata compression - implementation 'org.apache.fory:fory-extensions:1.7.7' + implementation 'org.apache.fory:fory-extensions:1.7.8' } ``` diff --git a/java/fory-json/README.md b/java/fory-json/README.md index b325d7ab7a..5bc53fc06d 100644 --- a/java/fory-json/README.md +++ b/java/fory-json/README.md @@ -61,14 +61,14 @@ Maven: org.apache.fory fory-json - 1.7.7 + 1.7.8 ``` Gradle: ```kotlin -implementation("org.apache.fory:fory-json:1.7.7") +implementation("org.apache.fory:fory-json:1.7.8") ``` On JDK 25 and later, opening `java.lang.invoke` to Fory core is also recommended. It avoids diff --git a/kotlin/fory-json-kotlin-ksp/README.md b/kotlin/fory-json-kotlin-ksp/README.md index 607f8aa6b3..f66bef8879 100644 --- a/kotlin/fory-json-kotlin-ksp/README.md +++ b/kotlin/fory-json-kotlin-ksp/README.md @@ -38,8 +38,8 @@ repositories { } dependencies { - implementation("org.apache.fory:fory-json-kotlin:1.7.7") - ksp("org.apache.fory:fory-json-kotlin-ksp:1.7.7") + implementation("org.apache.fory:fory-json-kotlin:1.7.8") + ksp("org.apache.fory:fory-json-kotlin-ksp:1.7.8") } ``` diff --git a/kotlin/fory-json-kotlin/README.md b/kotlin/fory-json-kotlin/README.md index ff35759208..bd91f8a7ca 100644 --- a/kotlin/fory-json-kotlin/README.md +++ b/kotlin/fory-json-kotlin/README.md @@ -40,7 +40,7 @@ repositories { } dependencies { - implementation("org.apache.fory:fory-json-kotlin:1.7.7") + implementation("org.apache.fory:fory-json-kotlin:1.7.8") } ``` @@ -55,7 +55,7 @@ plugins { } dependencies { - ksp("org.apache.fory:fory-json-kotlin-ksp:1.7.7") + ksp("org.apache.fory:fory-json-kotlin-ksp:1.7.8") } ``` diff --git a/rust/README.md b/rust/README.md index 7b3f9bb232..fda1752e94 100644 --- a/rust/README.md +++ b/rust/README.md @@ -19,7 +19,7 @@ under the License. # Apache Fory™ Rust -[![Crates.io](https://img.shields.io/badge/crates.io-v1.7.7-blue?logo=rust)](https://crates.io/crates/fory) +[![Crates.io](https://img.shields.io/badge/crates.io-v1.7.8-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) @@ -42,9 +42,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.7.7](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.7.7](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.7.7](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.7.8](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.7.8](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.7.8](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` @@ -57,7 +57,7 @@ Add Apache Fory™ to your `Cargo.toml`: ```toml [dependencies] -fory = "1.7.7" +fory = "1.7.8" ``` ### Basic Example diff --git a/scala/fory-json-scala/README.md b/scala/fory-json-scala/README.md index bc6d718986..7a3fb303b3 100644 --- a/scala/fory-json-scala/README.md +++ b/scala/fory-json-scala/README.md @@ -26,7 +26,7 @@ Native Image. Add the Scala artifact that matches the application Scala version: ```sbt -libraryDependencies += "org.apache.fory" %% "fory-json-scala" % "1.7.7" +libraryDependencies += "org.apache.fory" %% "fory-json-scala" % "1.7.8" ``` Create and reuse one Scala-aware Fory JSON instance: diff --git a/scala/fory-scala/README.md b/scala/fory-scala/README.md index 576890f33b..2e48c8ecf9 100644 --- a/scala/fory-scala/README.md +++ b/scala/fory-scala/README.md @@ -182,7 +182,7 @@ val fory = ForyScala.builder().withXlang(false) Add the dependency with sbt: ```sbt -libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.7" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.7.8" ``` ## Additional Notes diff --git a/swift/README.md b/swift/README.md index 6788ca974c..f6218da714 100644 --- a/swift/README.md +++ b/swift/README.md @@ -53,7 +53,7 @@ The Swift implementation provides high-performance object graph serialization wi ```swift dependencies: [ - .package(url: "https://github.com/apache/fory.git", from: "1.7.7") + .package(url: "https://github.com/apache/fory.git", from: "1.7.8") ], targets: [ .target( From fef56cc321f68b985ce63d6219ef5631311a0003 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Sat, 14 Nov 2026 09:03:22 +0800 Subject: [PATCH 2/2] fix(ci): use widgets import in Flutter smoke app --- .github/workflows/ci.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index c83f87ddca..5dc8ff3341 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -2101,7 +2101,7 @@ jobs: } EOF cat <<'EOF' | sed 's/^ //' > "$FLUTTER_SMOKE_DIR/lib/main.dart" - import 'package:flutter/material.dart'; + import 'package:flutter/widgets.dart'; import 'person.dart';