diff --git a/.agents/skills/fory-version-bump/SKILL.md b/.agents/skills/fory-version-bump/SKILL.md new file mode 100644 index 0000000000..f2ce914d61 --- /dev/null +++ b/.agents/skills/fory-version-bump/SKILL.md @@ -0,0 +1,160 @@ +--- +name: fory-version-bump +description: Bump Apache Fory release or post-release development versions across Java, Kotlin, Scala, Python, Rust, Go, C++, C#, Dart, JavaScript, Swift, integration tests, examples, and source docs. Use when preparing a release version, moving main to the next development version, switching install docs to a released version, or auditing Fory version consistency after release scripts run. +--- + +# Fory Version Bump + +## Mission + +Move Apache Fory versions consistently across package metadata, build files, integration tests, examples, lockfiles, and source documentation without mixing release install docs with next-development package versions. + +This skill is a guardrail, not a complete source of truth. Version surfaces change over time. After following the checklist, run an independent audit pass to find missed files, stale docs, generated lockfiles, and inconsistent ecosystem-specific version formats. + +## Load Context + +1. Read `AGENTS.md`, `tasks/lessons.md`, `.agents/docs-and-formatting.md`, and `.agents/ci-and-pr.md`. +2. Check `./.local/AGENTS.md` if it exists. +3. If touching language-specific build files beyond version strings, read the matching `.agents/languages/*.md`. +4. Inspect current dirty state before editing: + +```bash +git status --short --branch +``` + +## Decide Version Intent + +Separate these two targets before editing: + +- **Release/package version**: the version being released, for example `1.0.0`. +- **Next development version**: the version after release, for example `1.1.0-dev`. + +Common post-release split: + +- Active package/build metadata moves to next development version. +- User-facing install docs, examples, and package-manager snippets point at the released version. +- Website repository configuration is out of this repo; do not edit `fory-site` unless the current user explicitly asks for that repository too. + +## Ecosystem Version Forms + +Prefer `ci/release.py` normalization instead of hand-converting every ecosystem. + +For input `1.1.0-dev`, expected forms are: + +| Surface | Expected form | +| ----------------------------------------------- | ---------------- | +| Java, Kotlin, Scala, Maven integration projects | `1.1.0-SNAPSHOT` | +| Python and compiler packages | `1.1.0.dev0` | +| Rust packages and path dependency versions | `1.1.0-alpha.0` | +| Go module dependencies on Fory | `v1.1.0-alpha.0` | +| JavaScript package versions | `1.1.0-alpha.0` | +| Dart packages | `1.1.0-dev` | +| C# package metadata | `1.1.0-dev` | +| CMake project versions | `1.1.0` | +| Bazel module version | `1.1.0` | +| User install docs after a `1.0.0` release | `1.0.0` | + +Do not rewrite unrelated third-party dependency versions, benchmark numbers, old changelog sections, generated build outputs under ignored `bin/`, `obj/`, `target/`, or lockfile third-party package entries. + +## Primary Workflow + +1. Make or update the durable task file when the bump is broad. +2. Run the release helper for package/build metadata: + +```bash +python ci/release.py bump_version -l all -version +``` + +3. Audit release-helper gaps. Historically important surfaces include: + +- `MODULE.bazel` +- `javascript/package-lock.json` +- `integration_tests/idl_tests/kotlin/pom.xml` +- `integration_tests/idl_tests/dart/pubspec.yaml` +- `integration_tests/idl_tests/rust/Cargo.lock` +- Package-level changelogs, especially `dart/packages/fory/CHANGELOG.md` + +4. Update source docs and examples: + +- `README.md` +- Runtime README files such as `java/README.md`, `rust/README.md`, `scala/README.md`, `csharp/README.md`, `swift/README.md`, `dart/packages/fory/README.md` +- `docs/guide/**` +- `docs/compiler/**` when compiler examples include Fory package versions +- `examples/**` + +5. Keep the doc split clean: + +- Install snippets for released packages use the release version. +- Development build files use the next development version. +- Snapshot-only internal test docs may use the snapshot version when they describe local Maven consumption. +- Package publishing changelogs must mention the package version being published before the post-release development bump. Dart pub validates `CHANGELOG.md` for the current package version and can fail publication when the release version is missing. + +## Independent Audit Pass + +Always do a fresh audit after the mechanical bump. Do not assume the checklist above is complete. + +Recommended searches: + +```bash +rg -n '0\.(13|14|16|17|18)(\.0|-dev|-alpha\.0)?|v0\.17\.0' \ + README.md docs csharp/README.md swift/README.md scala/README.md \ + java/README.md rust/README.md dart/packages/fory/README.md examples \ + --glob '!docs/benchmarks/**' --glob '!**/target/**' --glob '!**/build/**' \ + --glob '!**/node_modules/**' + +rg -n '' \ + README.md docs csharp/README.md swift/README.md scala/README.md \ + java/README.md rust/README.md dart/packages/fory/README.md examples \ + --glob '!**/target/**' --glob '!**/build/**' --glob '!**/node_modules/**' + +rg -n '' \ + --glob '!tasks/**' --glob '!**/target/**' --glob '!**/build/**' \ + --glob '!**/bin/**' --glob '!**/obj/**' --glob '!**/node_modules/**' +``` + +Then inspect every hit. Expected false positives include third-party dependency versions, benchmark measurements, historical changelog sections, and tests whose data intentionally contains version-like values. + +## Verification Checklist + +- [ ] `git status --short --branch` reviewed before edits. +- [ ] Release and next-development target versions are written down. +- [ ] `ci/release.py bump_version` was run when applicable. +- [ ] Helper gaps were audited and patched. +- [ ] CMake/Bazel use numeric versions, not `.dev` suffixes. +- [ ] Maven/SBT/Kotlin versions use `-SNAPSHOT` for development. +- [ ] Python versions use PEP 440 form such as `.dev0`. +- [ ] Rust, Go, and JavaScript versions use semver prerelease form such as `-alpha.0`. +- [ ] Dart and C# development versions use `-dev`. +- [ ] User-facing install docs use the released version, not the next development version. +- [ ] Package-level `CHANGELOG.md` files mention the exact released package version before publishing. +- [ ] Post-release changelogs retain or add a top next-development section only after the released version section exists. +- [ ] `javascript/package-lock.json` is consistent with changed JS package versions. +- [ ] Rust lockfiles for touched integration tests are consistent with changed Rust package versions. +- [ ] Markdown files outside `tasks/` were formatted with Prettier. +- [ ] JSON package files parse successfully. +- [ ] POM files parse or Maven parent validates. +- [ ] CMake config validates when CMake project versions changed. +- [ ] Independent audit pass found no unexplained stale or inconsistent Fory version hits. +- [ ] Task files under `tasks/` were not staged. + +## Useful Validation Commands + +```bash +prettier --write +git diff --check +node -e 'const fs=require("fs"); for (const p of process.argv.slice(1)) JSON.parse(fs.readFileSync(p,"utf8"));' \ + javascript/package-lock.json javascript/packages/core/package.json javascript/packages/hps/package.json +mvn -q -f java/pom.xml -N validate +mvn -q -f kotlin/pom.xml -N validate +cmake -S cpp -B /tmp/fory-cmake-version-check -DFORY_BUILD_TESTS=OFF +cargo metadata --locked --format-version 1 +``` + +Run commands from the relevant working directory. For `cargo metadata`, use the specific Rust workspace or integration test directory whose lockfile changed. + +## Finish + +- Summarize exact version forms used by ecosystem. +- List audit searches and validation commands. +- Note any intentionally retained old version hits. +- Commit tracked code and documentation changes, excluding task scratch files. diff --git a/.agents/skills/fory-version-bump/agents/openai.yaml b/.agents/skills/fory-version-bump/agents/openai.yaml new file mode 100644 index 0000000000..71a915f06a --- /dev/null +++ b/.agents/skills/fory-version-bump/agents/openai.yaml @@ -0,0 +1,21 @@ +# 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. + +interface: + display_name: "Fory Version Bump" + short_description: "Bump Fory release and development versions across runtimes" + default_prompt: "Bump Apache Fory versions across package metadata, build files, integration tests, examples, and source docs, then run an independent audit for missed or inconsistent version surfaces." diff --git a/MODULE.bazel b/MODULE.bazel index 40e986476c..c869f6e5d6 100644 --- a/MODULE.bazel +++ b/MODULE.bazel @@ -17,7 +17,7 @@ module( name = "fory", - version = "0.18.0", + version = "1.1.0", ) # Platforms (needed for platform-specific build configurations) diff --git a/README.md b/README.md index 59296be0b5..bb318b713f 100644 --- a/README.md +++ b/README.md @@ -133,14 +133,14 @@ Maven: org.apache.fory fory-core - 0.17.0 + 1.0.0 ``` Gradle: ```gradle -implementation "org.apache.fory:fory-core:0.17.0" +implementation "org.apache.fory:fory-core:1.0.0" ``` **Scala** @@ -148,7 +148,7 @@ implementation "org.apache.fory:fory-core:0.17.0" sbt: ```scala -libraryDependencies += "org.apache.fory" %% "fory-scala" % "0.17.0" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.0.0" ``` **Kotlin** @@ -156,7 +156,7 @@ libraryDependencies += "org.apache.fory" %% "fory-scala" % "0.17.0" Gradle: ```kotlin -implementation("org.apache.fory:fory-kotlin:0.17.0") +implementation("org.apache.fory:fory-kotlin:1.0.0") ``` Maven: @@ -165,7 +165,7 @@ Maven: org.apache.fory fory-kotlin - 0.17.0 + 1.0.0 ``` @@ -187,7 +187,7 @@ pip install "pyfory[format]" ```toml [dependencies] -fory = "0.17" +fory = "1.0.0" ``` **C++** @@ -199,7 +199,7 @@ include(FetchContent) FetchContent_Declare( fory GIT_REPOSITORY https://github.com/apache/fory.git - GIT_TAG v0.17.0 + GIT_TAG v1.0.0 SOURCE_SUBDIR cpp ) FetchContent_MakeAvailable(fory) @@ -210,8 +210,8 @@ Bazel: ```bazel # MODULE.bazel -bazel_dep(name = "fory", version = "0.17.0") -git_override(module_name = "fory", remote = "https://github.com/apache/fory.git", commit = "v0.17.0") +bazel_dep(name = "fory", version = "1.0.0") +git_override(module_name = "fory", remote = "https://github.com/apache/fory.git", commit = "v1.0.0") # BUILD deps = ["@fory//cpp/fory/serialization:fory_serialization"] @@ -244,13 +244,13 @@ npm install @apache-fory/core @apache-fory/hps **C#** ```bash -dotnet add package Apache.Fory --version 0.17.0 +dotnet add package Apache.Fory --version 1.0.0 ``` **Dart** ```bash -dart pub add fory:^0.17.0 +dart pub add fory:^1.0.0 dart pub add dev:build_runner ``` @@ -260,7 +260,7 @@ Add Fory to `Package.swift`: ```swift dependencies: [ - .package(url: "https://github.com/apache/fory.git", exact: "0.17.0") + .package(url: "https://github.com/apache/fory.git", exact: "1.0.0") ], targets: [ .target( diff --git a/benchmarks/cpp/CMakeLists.txt b/benchmarks/cpp/CMakeLists.txt index b1659c08b3..453acefe0f 100644 --- a/benchmarks/cpp/CMakeLists.txt +++ b/benchmarks/cpp/CMakeLists.txt @@ -22,7 +22,7 @@ if(POLICY CMP0169) endif() project(fory_cpp_benchmark - VERSION 0.18.0 + VERSION 1.1.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 4a357acb21..cde9f3a877 100644 --- a/benchmarks/go/go.mod +++ b/benchmarks/go/go.mod @@ -20,7 +20,7 @@ module github.com/apache/fory/benchmarks/go go 1.24.0 require ( - github.com/apache/fory/go/fory v0.18.0-alpha.0 + github.com/apache/fory/go/fory v1.1.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 a326e9b1f1..bbd9149b6d 100644 --- a/benchmarks/java/pom.xml +++ b/benchmarks/java/pom.xml @@ -26,7 +26,7 @@ fory-parent org.apache.fory - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT benchmark diff --git a/benchmarks/rust/Cargo.toml b/benchmarks/rust/Cargo.toml index f32c7dec67..355429a9a8 100644 --- a/benchmarks/rust/Cargo.toml +++ b/benchmarks/rust/Cargo.toml @@ -17,7 +17,7 @@ [package] name = "fory-benchmarks" -version = "0.18.0-alpha.0" +version = "1.1.0-alpha.0" edition = "2021" [[bin]] diff --git a/compiler/fory_compiler/__init__.py b/compiler/fory_compiler/__init__.py index 8cb4557401..e1c442e51a 100644 --- a/compiler/fory_compiler/__init__.py +++ b/compiler/fory_compiler/__init__.py @@ -17,7 +17,7 @@ """Fory IDL compiler for Apache Fory.""" -__version__ = "0.18.0.dev0" +__version__ = "1.1.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 f3cb226d20..4725732de6 100644 --- a/compiler/pyproject.toml +++ b/compiler/pyproject.toml @@ -21,7 +21,7 @@ build-backend = "setuptools.build_meta" [project] name = "fory-compiler" -version = "0.18.0.dev0" +version = "1.1.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 43bb1d6e02..a2950ff05f 100644 --- a/cpp/CMakeLists.txt +++ b/cpp/CMakeLists.txt @@ -18,7 +18,7 @@ cmake_minimum_required(VERSION 3.16) project(fory - VERSION 0.18.0 + VERSION 1.1.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 6b235202b3..46978d4117 100644 --- a/csharp/Directory.Build.props +++ b/csharp/Directory.Build.props @@ -1,6 +1,6 @@ - 0.18.0-dev + 1.1.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 db4fbd406a..8b80b8f2b2 100644 --- a/csharp/README.md +++ b/csharp/README.md @@ -31,7 +31,7 @@ From NuGet, reference the single `Apache.Fory` package. It includes the runtime ```xml - + ``` diff --git a/dart/packages/fory-test/pubspec.yaml b/dart/packages/fory-test/pubspec.yaml index 5dd9c8a0fb..cba8d0e31e 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: 0.18.0-dev +version: 1.1.0-dev resolution: workspace @@ -25,7 +25,7 @@ environment: sdk: ^3.7.0 dependencies: - fory: 0.18.0-dev + fory: 1.1.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 bd2f133000..48fea8682c 100644 --- a/dart/packages/fory/CHANGELOG.md +++ b/dart/packages/fory/CHANGELOG.md @@ -1,8 +1,13 @@ -## 0.18.0-dev +## 1.1.0-dev - Refresh pub.dev package metadata and documentation links. - Update code generation dependencies for current stable Dart tooling. +## 1.0.0 + +- First stable Apache Fory Dart package release. +- Provide generated serializers, schema evolution support, and xlang object serialization for Dart applications. + ## 0.17.0-dev - Dart runtime implementation around `Fory`, `Buffer`, `WriteContext`, `ReadContext`, and `TypeResolver`. diff --git a/dart/packages/fory/README.md b/dart/packages/fory/README.md index 174261a983..8b7816be01 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: ^0.17.0 + fory: ^1.0.0 dev_dependencies: build_runner: ^2.4.13 diff --git a/dart/packages/fory/pubspec.yaml b/dart/packages/fory/pubspec.yaml index 4e1d88dc5d..aaf7be48db 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: 0.18.0-dev +version: 1.1.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 8ab2d9d087..448be8d6d1 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: 0.18.0-dev +version: 1.1.0-dev # repository: https://github.com/my_org/my_repo environment: @@ -25,7 +25,7 @@ environment: # Add regular dependencies here. dependencies: - fory: 0.18.0-dev + fory: 1.1.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 6fff34d0b3..7339a2e909 100644 --- a/docs/compiler/compiler-guide.md +++ b/docs/compiler/compiler-guide.md @@ -639,7 +639,7 @@ Add the Fory dependency to `pubspec.yaml`: ```yaml dependencies: - fory: ^0.1.0 + fory: ^1.0.0 dev_dependencies: build_runner: ^2.4.0 @@ -831,5 +831,5 @@ fory = "x.y.z" ```yaml dependencies: - fory: ^0.1.0 + fory: ^1.0.0 ``` diff --git a/docs/guide/cpp/index.md b/docs/guide/cpp/index.md index fba62ef411..9e628f89a1 100644 --- a/docs/guide/cpp/index.md +++ b/docs/guide/cpp/index.md @@ -62,7 +62,7 @@ include(FetchContent) FetchContent_Declare( fory GIT_REPOSITORY https://github.com/apache/fory.git - GIT_TAG v0.17.0 + GIT_TAG v1.0.0 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 = "0.17.0") +bazel_dep(name = "fory", version = "1.0.0") git_override( module_name = "fory", remote = "https://github.com/apache/fory.git", - commit = "v0.17.0", # Or use a specific commit hash for reproducibility + commit = "v1.0.0", # 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 = "0.17.0") +bazel_dep(name = "fory", version = "1.0.0") local_path_override( module_name = "fory", path = "/path/to/fory", diff --git a/docs/guide/csharp/index.md b/docs/guide/csharp/index.md index d2c18aa009..531b8958a2 100644 --- a/docs/guide/csharp/index.md +++ b/docs/guide/csharp/index.md @@ -43,7 +43,7 @@ Reference the single `Apache.Fory` package. It includes the runtime and the sour ```xml - + ``` diff --git a/docs/guide/dart/index.md b/docs/guide/dart/index.md index a92959bec7..c60016edbb 100644 --- a/docs/guide/dart/index.md +++ b/docs/guide/dart/index.md @@ -43,7 +43,7 @@ Add the dependency to your `pubspec.yaml`: ```yaml dependencies: - fory: ^0.17.0 + fory: ^1.0.0 dev_dependencies: build_runner: ^2.4.0 diff --git a/docs/guide/java/compression.md b/docs/guide/java/compression.md index d8df9160bd..3888777f00 100644 --- a/docs/guide/java/compression.md +++ b/docs/guide/java/compression.md @@ -84,7 +84,7 @@ CompressedArraySerializers.registerSerializers(fory); org.apache.fory fory-simd - 0.16.0 + 1.0.0 ``` diff --git a/docs/guide/kotlin/index.md b/docs/guide/kotlin/index.md index 784d103f60..139a71106d 100644 --- a/docs/guide/kotlin/index.md +++ b/docs/guide/kotlin/index.md @@ -52,14 +52,14 @@ See [Java Features](../java/index.md#features) for complete feature list. org.apache.fory fory-kotlin - 0.17.0 + 1.0.0 ``` ### Gradle ```kotlin -implementation("org.apache.fory:fory-kotlin:0.17.0") +implementation("org.apache.fory:fory-kotlin:1.0.0") ``` ## Quick Start diff --git a/docs/guide/rust/basic-serialization.md b/docs/guide/rust/basic-serialization.md index 12da159a67..7ae74db1cb 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 = "0.13", features = ["chrono"] } +fory = { version = "1.0.0", features = ["chrono"] } ``` ### Custom Types diff --git a/docs/guide/rust/index.md b/docs/guide/rust/index.md index dccd998644..e90aebce7e 100644 --- a/docs/guide/rust/index.md +++ b/docs/guide/rust/index.md @@ -47,7 +47,7 @@ Add Apache Fory™ to your `Cargo.toml`: ```toml [dependencies] -fory = "0.13" +fory = "1.0.0" ``` ### Basic Example diff --git a/docs/guide/scala/index.md b/docs/guide/scala/index.md index 0a77b168f6..668e3e38ac 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" % "0.17.0" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.0.0" ``` ## Quick Start diff --git a/docs/guide/xlang/getting-started.md b/docs/guide/xlang/getting-started.md index e21737606c..6fa858e747 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 - 0.17.0 + 1.0.0 ``` **Gradle:** ```gradle -implementation 'org.apache.fory:fory-core:0.17.0' +implementation 'org.apache.fory:fory-core:1.0.0' ``` ### Python @@ -57,7 +57,7 @@ go get github.com/apache/fory/go/fory ```toml [dependencies] -fory = "0.13" +fory = "1.0.0" ``` ### JavaScript diff --git a/examples/cpp/hello_row/MODULE.bazel.example b/examples/cpp/hello_row/MODULE.bazel.example index 4bca3d8294..4ce5268248 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 = "0.14.0") +bazel_dep(name = "fory", version = "1.0.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 = "0.14.0") +# bazel_dep(name = "fory", version = "1.0.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 e8189e9e44..4a6ffed2a3 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 = "0.17.0") +bazel_dep(name = "fory", version = "1.0.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 4bca3d8294..4ce5268248 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 = "0.14.0") +bazel_dep(name = "fory", version = "1.0.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 = "0.14.0") +# bazel_dep(name = "fory", version = "1.0.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 b844365912..2f74b9e7df 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 = "0.17.0") +bazel_dep(name = "fory", version = "1.0.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 3e33f2c29a..63da1020a6 100644 --- a/integration_tests/android_tests/README.md +++ b/integration_tests/android_tests/README.md @@ -4,8 +4,8 @@ This project runs Android API 26+ instrumented tests for Java `fory-core`. The instrumented tests run against the release build type so R8/minification covers the static generated serializer path. -The tests consume `org.apache.fory:fory-core:0.18.0-SNAPSHOT` and -`org.apache.fory:fory-annotation-processor:0.18.0-SNAPSHOT` from the local Maven +The tests consume `org.apache.fory:fory-core:1.1.0-SNAPSHOT` and +`org.apache.fory:fory-annotation-processor:1.1.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 df34878be5..bc68501032 100644 --- a/integration_tests/android_tests/build.gradle +++ b/integration_tests/android_tests/build.gradle @@ -58,11 +58,11 @@ android { } dependencies { - implementation('org.apache.fory:fory-core:0.18.0-SNAPSHOT') { + implementation('org.apache.fory:fory-core:1.1.0-SNAPSHOT') { exclude group: 'com.google.guava', module: 'guava' exclude group: 'org.codehaus.janino', module: 'janino' } - annotationProcessor 'org.apache.fory:fory-annotation-processor:0.18.0-SNAPSHOT' + annotationProcessor 'org.apache.fory:fory-annotation-processor:1.1.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 ff65dcece4..38d3e5b50f 100644 --- a/integration_tests/graalvm_tests/pom.xml +++ b/integration_tests/graalvm_tests/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT ../../java 4.0.0 diff --git a/integration_tests/idl_tests/cpp/CMakeLists.txt b/integration_tests/idl_tests/cpp/CMakeLists.txt index fd2793f804..e8ddcabced 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 0.18.0 + VERSION 1.1.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 dbc98b6f8d..e489603cb0 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: 0.17.0-dev +version: 1.1.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 d2fc7c79af..b7a3c2d5b1 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.24.0 -require github.com/apache/fory/go/fory v0.18.0-alpha.0 +require github.com/apache/fory/go/fory v1.1.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 5b289c9e99..415f089513 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 - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT ../../java 4.0.0 diff --git a/integration_tests/idl_tests/kotlin/pom.xml b/integration_tests/idl_tests/kotlin/pom.xml index bf550772b0..caa08e15d1 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 - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT ../../../kotlin/pom.xml diff --git a/integration_tests/idl_tests/python/pyproject.toml b/integration_tests/idl_tests/python/pyproject.toml index 68c93dc354..7796140b32 100644 --- a/integration_tests/idl_tests/python/pyproject.toml +++ b/integration_tests/idl_tests/python/pyproject.toml @@ -21,7 +21,7 @@ build-backend = "setuptools.build_meta" [project] name = "fory-idl-tests" -version = "0.18.0.dev0" +version = "1.1.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 0eb6a8bd74..2f48139c33 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 = "0.18.0-alpha.0" +version = "1.1.0-alpha.0" dependencies = [ "fory-core", "fory-derive", @@ -86,7 +86,7 @@ dependencies = [ [[package]] name = "fory-core" -version = "0.18.0-alpha.0" +version = "1.1.0-alpha.0" dependencies = [ "byteorder", "chrono", @@ -98,7 +98,7 @@ dependencies = [ [[package]] name = "fory-derive" -version = "0.18.0-alpha.0" +version = "1.1.0-alpha.0" dependencies = [ "fory-core", "proc-macro2", @@ -138,7 +138,7 @@ dependencies = [ [[package]] name = "idl_tests" -version = "0.18.0-alpha.0" +version = "1.1.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 d15105f2b7..1a246a6803 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 = "0.18.0-alpha.0" +version = "1.1.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 ae2f1b3549..b0d4c50797 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 - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT ../../java 4.0.0 diff --git a/integration_tests/jpms_tests/pom.xml b/integration_tests/jpms_tests/pom.xml index c985984b53..1d672155f7 100644 --- a/integration_tests/jpms_tests/pom.xml +++ b/integration_tests/jpms_tests/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT ../../java 4.0.0 diff --git a/java/README.md b/java/README.md index 800abe9061..a6faed4414 100644 --- a/java/README.md +++ b/java/README.md @@ -61,28 +61,28 @@ Apache Fory™ Java provides blazingly-fast serialization for the Java ecosystem org.apache.fory fory-core - 0.16.0 + 1.0.0 org.apache.fory fory-format - 0.16.0 + 1.0.0 org.apache.fory fory-extensions - 0.16.0 + 1.0.0 org.apache.fory fory-simd - 0.16.0 + 1.0.0 ``` @@ -90,11 +90,11 @@ Apache Fory™ Java provides blazingly-fast serialization for the Java ecosystem ```gradle dependencies { - implementation 'org.apache.fory:fory-core:0.16.0' + implementation 'org.apache.fory:fory-core:1.0.0' // Optional modules - implementation 'org.apache.fory:fory-format:0.16.0' - implementation 'org.apache.fory:fory-simd:0.16.0' - implementation 'org.apache.fory:fory-extensions:0.16.0' + implementation 'org.apache.fory:fory-format:1.0.0' + implementation 'org.apache.fory:fory-simd:1.0.0' + implementation 'org.apache.fory:fory-extensions:1.0.0' } ``` diff --git a/java/fory-annotation-processor/pom.xml b/java/fory-annotation-processor/pom.xml index e14f499bcb..a93aee6870 100644 --- a/java/fory-annotation-processor/pom.xml +++ b/java/fory-annotation-processor/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/java/fory-core/pom.xml b/java/fory-core/pom.xml index 5231c1dcb9..4176d74184 100644 --- a/java/fory-core/pom.xml +++ b/java/fory-core/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/java/fory-extensions/pom.xml b/java/fory-extensions/pom.xml index 9ece1d60ed..193cb00c78 100644 --- a/java/fory-extensions/pom.xml +++ b/java/fory-extensions/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/java/fory-format/pom.xml b/java/fory-format/pom.xml index fead56a653..01cdd773ec 100644 --- a/java/fory-format/pom.xml +++ b/java/fory-format/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/java/fory-graalvm-feature/pom.xml b/java/fory-graalvm-feature/pom.xml index f6b869c4c2..2c4926534c 100644 --- a/java/fory-graalvm-feature/pom.xml +++ b/java/fory-graalvm-feature/pom.xml @@ -25,7 +25,7 @@ fory-parent org.apache.fory - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT ../pom.xml 4.0.0 diff --git a/java/fory-latest-jdk-tests/pom.xml b/java/fory-latest-jdk-tests/pom.xml index af70803df8..ff0d3028db 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 - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 fory-latest-jdk-tests diff --git a/java/fory-simd/pom.xml b/java/fory-simd/pom.xml index b7889eade3..675e183748 100644 --- a/java/fory-simd/pom.xml +++ b/java/fory-simd/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/java/fory-test-core/pom.xml b/java/fory-test-core/pom.xml index 5769fc0d4e..f719b46c5b 100644 --- a/java/fory-test-core/pom.xml +++ b/java/fory-test-core/pom.xml @@ -25,7 +25,7 @@ fory-parent org.apache.fory - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/java/fory-testsuite/pom.xml b/java/fory-testsuite/pom.xml index 99f59f4390..7831d56dc9 100644 --- a/java/fory-testsuite/pom.xml +++ b/java/fory-testsuite/pom.xml @@ -25,7 +25,7 @@ fory-parent org.apache.fory - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/java/pom.xml b/java/pom.xml index 3fabe04bc3..4e1d14ae43 100644 --- a/java/pom.xml +++ b/java/pom.xml @@ -33,7 +33,7 @@ org.apache.fory fory-parent pom - 0.18.0-SNAPSHOT + 1.1.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 be8ab2e5d6..d359c934f2 100644 --- a/javascript/package-lock.json +++ b/javascript/package-lock.json @@ -6134,7 +6134,7 @@ }, "packages/core": { "name": "@apache-fory/core", - "version": "0.17.0-alpha.0", + "version": "1.1.0-alpha.0", "license": "Apache-2.0", "workspaces": [ "packages/hps" @@ -6167,7 +6167,7 @@ }, "packages/hps": { "name": "@apache-fory/hps", - "version": "0.17.0-alpha.0", + "version": "1.1.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 e4639128e3..b84b6d6ae8 100644 --- a/javascript/packages/core/package.json +++ b/javascript/packages/core/package.json @@ -1,6 +1,6 @@ { "name": "@apache-fory/core", - "version": "0.18.0-alpha.0", + "version": "1.1.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 f8acfa1d93..543362f786 100644 --- a/javascript/packages/hps/package.json +++ b/javascript/packages/hps/package.json @@ -1,6 +1,6 @@ { "name": "@apache-fory/hps", - "version": "0.18.0-alpha.0", + "version": "1.1.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 b3eefef573..0a957f68bd 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 - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/kotlin/fory-kotlin-tests/pom.xml b/kotlin/fory-kotlin-tests/pom.xml index f7b8bd7a07..f8e0409b8f 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 - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/kotlin/fory-kotlin/pom.xml b/kotlin/fory-kotlin/pom.xml index 090156a285..139cc6dc7e 100644 --- a/kotlin/fory-kotlin/pom.xml +++ b/kotlin/fory-kotlin/pom.xml @@ -25,7 +25,7 @@ org.apache.fory fory-kotlin-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT 4.0.0 diff --git a/kotlin/pom.xml b/kotlin/pom.xml index 016559be70..e8172278dc 100644 --- a/kotlin/pom.xml +++ b/kotlin/pom.xml @@ -31,7 +31,7 @@ 4.0.0 org.apache.fory fory-kotlin-parent - 0.18.0-SNAPSHOT + 1.1.0-SNAPSHOT pom diff --git a/python/pyfory/__init__.py b/python/pyfory/__init__.py index 5f420af08f..e970e3feff 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__ = "0.18.0.dev0" +__version__ = "1.1.0.dev0" __all__ = [ # Core classes diff --git a/rust/Cargo.toml b/rust/Cargo.toml index d7b3fd3b66..907df26b7a 100644 --- a/rust/Cargo.toml +++ b/rust/Cargo.toml @@ -30,7 +30,7 @@ exclude = [ resolver = "2" [workspace.package] -version = "0.18.0-alpha.0" +version = "1.1.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" @@ -42,5 +42,5 @@ keywords = ["serialization", "serde", "trait-object", "zero-copy", "schema-evolu categories = ["encoding"] [workspace.dependencies] -fory-core = { path = "fory-core", version = "0.18.0-alpha.0" } -fory-derive = { path = "fory-derive", version = "0.18.0-alpha.0" } +fory-core = { path = "fory-core", version = "1.1.0-alpha.0" } +fory-derive = { path = "fory-derive", version = "1.1.0-alpha.0" } diff --git a/rust/README.md b/rust/README.md index 0d35246b22..8155d806eb 100644 --- a/rust/README.md +++ b/rust/README.md @@ -33,7 +33,7 @@ Add Apache Fory™ to your `Cargo.toml`: ```toml [dependencies] -fory = "0.16" +fory = "1.0.0" ``` ### Basic Example diff --git a/scala/README.md b/scala/README.md index 4a696da242..9704f5026f 100644 --- a/scala/README.md +++ b/scala/README.md @@ -165,7 +165,7 @@ val fory = ForyScala.builder().withXlang(false) Add the dependency with sbt: ```sbt -libraryDependencies += "org.apache.fory" %% "fory-scala" % "0.17.0" +libraryDependencies += "org.apache.fory" %% "fory-scala" % "1.0.0" ``` ## Building diff --git a/scala/build.sbt b/scala/build.sbt index ebc18659a6..a51d0aa55f 100644 --- a/scala/build.sbt +++ b/scala/build.sbt @@ -16,7 +16,7 @@ * limitations under the License. */ -val foryVersion = "0.18.0-SNAPSHOT" +val foryVersion = "1.1.0-SNAPSHOT" val scala213Version = "2.13.15" ThisBuild / apacheSonatypeProjectProfile := "fory" version := foryVersion diff --git a/swift/README.md b/swift/README.md index 630143ae12..0abbc62048 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: "0.17.0") + .package(url: "https://github.com/apache/fory.git", from: "1.0.0") ], targets: [ .target(