Repository navigation
chore: prepare v0.21.0 release - #998
Merged
Merged
Conversation
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.
PsiACE
approved these changes
Nov 22, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Prepare the 0.21.0 release-candidate source: facade
0.21.0, the core and established-service lockstep4.0.0, the first public1.0.0provider crates, and the migration notes for theCryptoProviderand explicitContextchanges.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
reqsign0.21.0reqsign-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-tokio4.0.0reqsign-http-send-reqwest5.0.01.0.0reqsign-crypto-rustcrypto,reqsign-aliyun-drive, the B2 crate (facade featureb2),reqsign-baidu-netdisk,reqsign-cloudflare,reqsign-dropbox,reqsign-github,reqsign-koofr,reqsign-oauth2,reqsign-onedrive,reqsign-seafile,reqsign-upyun,reqsign-vercel,reqsign-yandex-disk1.0.0reqsign-crypto-boring1.0.0, bounds aligned to core4.0.0reqsign-core4.0.0 is breaking: cryptography resolves through theContext(aCryptoProviderbinding, a process-wide installation, orConfigInvalid), the publicjwtmodule and feature are gone, hash and MAC helpers take a provider and returnResult, andSigner::with_contextisolates 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 its1.0.0 -> 2.0.0 -> 3.0.0 -> 4.0.0history.reqsign-http-message-signaturesdebuts at4.0.0because it is on the lockstep line. The RustCrypto backend'srsa 0.10requirement raises the MSRV to 1.87.0.Publish plan inventory: 31 / 15 / 16
plan.pyreports 31 workspace packages: 16 already on crates.io and 15 unpublished names. The missing names arereqsign-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, andreqsign-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-boringis excluded from the root workspace (exclude = ["crypto/boring"]), so it is not inplan.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
CHANGELOG.mdwith the 0.21.0 notes, the crate-version table, and a separate section for changes carried over from the v0.20.9 candidate source.CryptoProviderresolution, bare-core context assembly,hash::*, Azure service SAS,default_signer(ctx, ...), andSigner::with_context.rsa 0.10, the first-release provider crates including Baidu Netdisk and the shared OAuth2 and crypto backend crates, and the OBS/TOSCredential::expires_atstruct-literal break. That expiry change is already in the v0.20.9 candidate source; the guide distinguishes it from the new 0.21 breaks.AGENTS.md, andrelease/SKILL.mdupdated. 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 -- --checkpython3 -m unittest discover -s .github/scripts/release_rust -p "test_*.py"(11 tests)python3 .github/scripts/release_rust/plan.pymatched the intended matrix; no planned version is already publishedcargo publish --workspace --dry-runpackaged all 31 packages with no upload, so the Release validation gate still works before the bootstrap; a single-packagecargo publish -p <crate> --dry-runwould fail on the unpublishedreqsign-core 4.0.0requirementcargo check -p reqsign --examples --all-featuresRUSTDOCFLAGS="-D warnings" cargo doc -p reqsign --no-deps --all-featuresnode website/scripts/validate-providers.mjsandpnpm buildhawkeye checkNo 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-netdiskis the crate for the Baidu Netdisk work.