From 3aa7bb5eb6bf474e103c3d07f1bc69c7a2d58dc8 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Fri, 17 Jul 2026 00:15:27 +0800 Subject: [PATCH 1/5] fix(release): bump Rust crate documentation version --- ci/release.py | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/ci/release.py b/ci/release.py index 24dd645e56..aed655785a 100644 --- a/ci/release.py +++ b/ci/release.py @@ -668,6 +668,7 @@ def bump_rust_version(new_version): rust_version, _update_cargo_lock_version, ) + _bump_version("rust/fory/src", "lib.rs", rust_version, _update_rust_doc_version) def bump_kotlin_version(new_version): @@ -946,6 +947,14 @@ def _update_cargo_lock_version(lines, v: str): return lines +def _update_rust_doc_version(lines, v: str): + for index, line in enumerate(lines): + if re.match(r'^//!\s+fory\s*=\s*"', line): + lines[index] = re.sub(r'"[^"]+"', f'"{v}"', line, count=1) + break + return lines + + def _update_cmake_project_version(lines, v: str): cmake_version = _normalize_cmake_version(v) in_project = False From 03af9da51b595de99b529caf41db580d42830d03 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Fri, 17 Jul 2026 00:21:25 +0800 Subject: [PATCH 2/5] ci: use approved Rust toolchain action --- .github/workflows/release-rust.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-rust.yaml b/.github/workflows/release-rust.yaml index 9ce88548f8..398f2725fd 100644 --- a/.github/workflows/release-rust.yaml +++ b/.github/workflows/release-rust.yaml @@ -36,7 +36,7 @@ jobs: steps: - uses: actions/checkout@v5 - - uses: dtolnay/rust-toolchain@29eef336d9b2848a0b548edc03f92a220660cdb8 # stable + - uses: dtolnay/rust-toolchain@4be7066ada62dd38de10e7b70166bc74ed198c30 # stable - name: Bump rust version shell: bash From 1a1b6a4042b949f17299dc56ad0f41cbae1551e1 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Fri, 17 Jul 2026 00:25:55 +0800 Subject: [PATCH 3/5] ci: use Node 24 for npm publishing --- .github/workflows/release-javascript.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/release-javascript.yaml b/.github/workflows/release-javascript.yaml index f0c43db2eb..239ab81b6e 100644 --- a/.github/workflows/release-javascript.yaml +++ b/.github/workflows/release-javascript.yaml @@ -42,7 +42,7 @@ jobs: - uses: actions/setup-node@v4 with: - node-version: '20' + node-version: '24' registry-url: 'https://registry.npmjs.org' - name: Upgrade npm for trusted publishing From 964e7de817246ce5116c098ae642dfc08af638d7 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Fri, 17 Jul 2026 00:27:54 +0800 Subject: [PATCH 4/5] ci(python): pin PyArrow for manylinux2014 --- ci/deploy.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/ci/deploy.sh b/ci/deploy.sh index fbd5090a16..6e2e9a9535 100755 --- a/ci/deploy.sh +++ b/ci/deploy.sh @@ -150,7 +150,12 @@ build_pyfory() { } install_pyarrow() { - $PIP_CMD install pyarrow numpy + # Newer PyArrow and NumPy Linux wheels require manylinux_2_28. + if [[ ${PLAT:-} == manylinux2014_* ]]; then + $PIP_CMD install "pyarrow<21" "numpy<2.3" + else + $PIP_CMD install pyarrow numpy + fi } deploy_scala() { From 5a69be59cd5bf682e063c191c3eff97e6a922913 Mon Sep 17 00:00:00 2001 From: chaokunyang Date: Fri, 17 Jul 2026 00:50:04 +0800 Subject: [PATCH 5/5] fix(release): bump Android Fory JSON dependency --- ci/release.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ci/release.py b/ci/release.py index aed655785a..7f7f6b7bcc 100644 --- a/ci/release.py +++ b/ci/release.py @@ -817,7 +817,7 @@ def _update_pom_parent_version(lines, new_version): def _update_android_tests_dependency_version(lines, new_version): for index, line in enumerate(lines): lines[index] = re.sub( - r"(org\.apache\.fory:fory-(?:core|annotation-processor):)[^'`)\s]+", + r"(org\.apache\.fory:fory-(?:core|json|annotation-processor):)[^'`)\s]+", r"\g<1>" + new_version, line, )