Skip to content

chore: bump development version to 2.0.0 - #4246

Merged
chaokunyang merged 2 commits into
apache:mainfrom
chaokunyang:bump-version-2.0.0-dev
Dec 2, 2026
Merged

chaokunyang merged 2 commits into
apache:mainfrom
chaokunyang:bump-version-2.0.0-dev

Conversation

@chaokunyang

@chaokunyang chaokunyang commented Dec 2, 2026 •

Copy link
Copy Markdown
Collaborator

Why?

Following the merge of the Fory 2.0 protocol and unregistered serialization implementation (#4245), development package and build versions across main should advance from the 1.8.0 development cycle to the 2.0.0 development cycle. Because Go Semantic Import Versioning requires a /v2 major-version module suffix for v2.x versions (including v2.0.0-alpha.0), the Go module path must also move to github.com/apache/fory/go/fory/v2.

What does this PR do?

Updates active development versions across all language runtimes, foryc, integration tests, and benchmarks from 1.8.0 to 2.0.0 development forms while keeping published user-facing install documentation on the released 1.7.8 version:

Ecosystem / Surface Development Version
Java, Kotlin, Scala, Maven integration tests & benchmarks, Android tests 2.0.0-SNAPSHOT
Python (pyfory) & fory-compiler 2.0.0.dev0
Rust workspace, crates & IDL Cargo.lock 2.0.0-alpha.0
Go module (github.com/apache/fory/go/fory/v2) & Go consumers (benchmarks/go, integration_tests/idl_tests/go, integration_tests/grpc_tests/go) v2.0.0-alpha.0
JavaScript packages & package-lock.json 2.0.0-alpha.0
Dart packages & changelogs (dart/CHANGELOG.md, dart/packages/fory/CHANGELOG.md) 2.0.0-dev
C# (csharp/Directory.Build.props) 2.0.0-dev
CMake (cpp, benchmarks/cpp, integration_tests/idl_tests/cpp) & Bazel (MODULE.bazel) 2.0.0
User-facing installation docs & READMEs Retained at 1.7.8

Go v2 module updates:

  • Update go/fory/go.mod module path to github.com/apache/fory/go/fory/v2 (major-branch layout) and update internal Go imports and package-path checks (optional, float16, bfloat16).
  • Update benchmarks/go, integration_tests/idl_tests/go, integration_tests/grpc_tests/go, and compiler Go code generation (compiler/fory_compiler/generators/go.py and tests) to import github.com/apache/fory/go/fory/v2.
  • Update ci/release.py so Go version bumps handle Go major-version /vN module paths in go.mod and release docs.

Intentionally retained 1.8.0 hits:

  • Third-party dependency versions (protostuff.version in benchmarks/java/pom.xml, kotlinx.coroutines.version in integration_tests/grpc_tests/kotlin/pom.xml).
  • JDK 8 version parsing strings (1.8.0_382, 1.8.0_462).
  • Historical benchmark provenance records in docs/benchmarks/json/{byte-array-formats,pretty-printing}.md.

Related issues

Follow-up to #4245.

Does this PR introduce any user-facing change?

  • Does this PR introduce any public API change? (go/fory Go module import path updated to github.com/apache/fory/go/fory/v2 for Fory 2.0)
  • Does this PR introduce any binary protocol compatibility change?

@chaokunyang
chaokunyang merged commit 218bebc into apache:main Dec 2, 2026
95 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants