Skip to content

chore: prepare v0.21.0 release - #998

Merged
Xuanwo merged 1 commit into
mainfrom
xuanwo/prepare-reqsign-0210-rc
Nov 22, 2026
Merged

Xuanwo merged 1 commit into
mainfrom
xuanwo/prepare-reqsign-0210-rc

Conversation

@Xuanwo

@Xuanwo Xuanwo commented Nov 22, 2026 •

Copy link
Copy Markdown
Member

Prepare the 0.21.0 release-candidate source: facade 0.21.0, the core and established-service lockstep 4.0.0, the first public 1.0.0 provider crates, and the migration notes for the CryptoProvider and explicit Context changes.

This prepares 0.21.0 only and is independent of the v0.20.9 vote. No tag, registry write, or bootstrap reservation is included.

Version tracks

Track Crates Version
Facade reqsign 0.21.0
Core + established services (lockstep) reqsign-core, reqsign-aws-core, reqsign-aws-v4, reqsign-aws-v4a, reqsign-aliyun-oss, reqsign-azure-storage, reqsign-google, reqsign-huaweicloud-obs, reqsign-http-message-signatures, reqsign-openstack-keystone, reqsign-oracle, reqsign-tencent-cos, reqsign-volcengine-tos, reqsign-command-execute-tokio, reqsign-file-read-tokio 4.0.0
Reqwest adapter reqsign-http-send-reqwest 5.0.0
First release at 1.0.0 reqsign-crypto-rustcrypto, reqsign-aliyun-drive, the B2 crate (facade feature b2), reqsign-baidu-netdisk, reqsign-cloudflare, reqsign-dropbox, reqsign-github, reqsign-koofr, reqsign-oauth2, reqsign-onedrive, reqsign-seafile, reqsign-upyun, reqsign-vercel, reqsign-yandex-disk 1.0.0
Standalone backend, outside the workspace reqsign-crypto-boring 1.0.0, bounds aligned to core 4.0.0

reqsign-core 4.0.0 is breaking: cryptography resolves through the Context (a CryptoProvider binding, a process-wide installation, or ConfigInvalid), the public jwt module and feature are gone, hash and MAC helpers take a provider and return Result, and Signer::with_context isolates the credential cache. Every lockstep crate exposes core types and depends on core 4.0.0, so the family major moves together, as it did at v0.18.0 and v0.20.0. The reqwest adapter keeps its own line, one major ahead of core since v0.19.0, matching its 1.0.0 -> 2.0.0 -> 3.0.0 -> 4.0.0 history. reqsign-http-message-signatures debuts at 4.0.0 because it is on the lockstep line. The RustCrypto backend's rsa 0.10 requirement raises the MSRV to 1.87.0.

Publish plan inventory: 31 / 15 / 16

plan.py reports 31 workspace packages: 16 already on crates.io and 15 unpublished names. The missing names are reqsign-crypto-rustcrypto, reqsign-aliyun-drive, the B2 crate, reqsign-baidu-netdisk, reqsign-cloudflare, reqsign-dropbox, reqsign-github, reqsign-koofr, reqsign-oauth2, reqsign-onedrive, reqsign-seafile, reqsign-upyun, reqsign-vercel, reqsign-yandex-disk, and reqsign-http-message-signatures. All 15 need a Trusted Publishing reservation before the RC tag, and no planned version already exists on the registry.

reqsign-crypto-boring is excluded from the root workspace (exclude = ["crypto/boring"]), so it is not in plan.py, not packaged by the Release workflow, and not covered by the bootstrap. Its dependency bounds are aligned by hand, and publishing it needs a separate decision.

Migration notes

  • New CHANGELOG.md with the 0.21.0 notes, the crate-version table, and a separate section for changes carried over from the v0.20.9 candidate source.
  • New "Upgrading to Reqsign 0.21" guide with before/after examples for CryptoProvider resolution, bare-core context assembly, hash::*, Azure service SAS, default_signer(ctx, ...), and Signer::with_context.
  • The guide covers MSRV 1.87 and rsa 0.10, the first-release provider crates including Baidu Netdisk and the shared OAuth2 and crypto backend crates, and the OBS/TOS Credential::expires_at struct-literal break. That expiry change is already in the v0.20.9 candidate source; the guide distinguishes it from the new 0.21 breaks.
  • Versioning tracks, crate READMEs, AGENTS.md, and release/SKILL.md updated. The checklist now documents the preparation-to-release order, the pre-bootstrap dry-run scope, a read-only plan inventory, the workspace inclusion and exclusion, and the verified Trusted Publishing constraints.

Validation

  • cargo fmt --all -- --check
  • python3 -m unittest discover -s .github/scripts/release_rust -p "test_*.py" (11 tests)
  • python3 .github/scripts/release_rust/plan.py matched the intended matrix; no planned version is already published
  • cargo publish --workspace --dry-run packaged all 31 packages with no upload, so the Release validation gate still works before the bootstrap; a single-package cargo publish -p <crate> --dry-run would fail on the unpublished reqsign-core 4.0.0 requirement
  • cargo check -p reqsign --examples --all-features
  • RUSTDOCFLAGS="-D warnings" cargo doc -p reqsign --no-deps --all-features
  • node website/scripts/validate-providers.mjs and pnpm build
  • hawkeye check

No Rust source, CLI behavior, or release workflow changed. Registry reservation, the RC tag, the vote, and publishing remain separate, later authorizations.

Refs #685 and apache/opendal#8516: the first-published provider crates support that migration, and reqsign-baidu-netdisk is the crate for the Baidu Netdisk work.

Bump the facade to 0.21.0 and move the core lockstep line to 4.0.0 for the
breaking CryptoProvider and explicit Context changes. `reqsign-core` 4.0.0
resolves cryptography through the `Context`, removes the public `jwt` module
and feature, changes hash and MAC helpers to take a provider and return
`Result`, and isolates `Signer::with_context` credential caches. Every
established service crate, `reqsign-aws-core`,
`reqsign-http-message-signatures`, and the two Tokio context crates move with
it, because they expose core types and depend on core 4.0.0.
`reqsign-http-send-reqwest` follows to 5.0.0, keeping its own line one major
ahead of core as at v0.20.0.

Provider and shared crates stay on their first-release `1.0.0` lines:
`reqsign-crypto-rustcrypto`, `reqsign-crypto-boring`, `reqsign-aliyun-drive`,
`reqsign-baidu-netdisk`, `reqsign-cloudflare`, `reqsign-dropbox`,
`reqsign-github`, `reqsign-koofr`, `reqsign-oauth2`, `reqsign-onedrive`,
`reqsign-seafile`, `reqsign-upyun`, `reqsign-vercel`,
`reqsign-yandex-disk`, and the B2 crate. The publish plan is 31 workspace
packages: 15 unpublished names plus 16 published crates. The 15 names need a
bootstrap reservation before the RC tag. `reqsign-crypto-boring` stays outside
the root workspace and the plan, so it needs a separate publication decision.

Add `CHANGELOG.md` and an upgrade guide that separates changes already in the
v0.20.9 candidate source (OBS/TOS credential expiry) from the new 0.21 breaks.
Update the versioning tracks, crate READMEs, `AGENTS.md`, and the release
checklist with the pre-bootstrap dry-run scope, the read-only plan inventory,
and the verified Trusted Publishing constraints.

Validation:

- `cargo fmt --all -- --check`.
- Release helper tests: 11 passed. `plan.py` matches the intended version
  matrix exactly and no planned version already exists on crates.io.
- `cargo publish --workspace --dry-run` packages all 31 packages with no
  upload, and the root workspace requirements equal every manifest version.
- `cargo check -p reqsign --examples --all-features` and
  `RUSTDOCFLAGS="-D warnings" cargo doc -p reqsign --no-deps --all-features`.
- `node website/scripts/validate-providers.mjs` and `pnpm build` with the new
  guide page and sidebar entry.
- `hawkeye check`.

Remaining release blockers are outside this preparation: crates.io name
reservation, the RC tag, the vote, and the formal publish.
@Xuanwo
Xuanwo merged commit 412036d into main Nov 22, 2026
56 of 67 checks passed
@Xuanwo
Xuanwo deleted the xuanwo/prepare-reqsign-0210-rc branch November 22, 2026 17:17
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