Repository navigation
chore(release): 1.0.0 - #150
Conversation
There was a problem hiding this comment.
🔵 Needs a closer look
Maintainer confirmation is needed before tagging because the 0.4.x→1.0.0 switch directs production users to reinstall, discarding access-protection tokens and preserved-only files despite no stable-state changes.
No open issues 🎉
What changed in this PR
Prepares the certified-assets canister and sync plugin for release 1.0.0, updating their shared version and documenting the existing compatibility rules for 1.x.
Changes:
- Bumps all workspace crates from
0.4.3to1.0.0. - Clarifies that minor and patch releases preserve stable state, while major releases require reinstalling—including the transition from
0.4.x. - Updates the example recipe version to
v1.0.0.
| File | Description |
|---|---|
| README.md | Updates release guidance for 1.x compatibility rules. |
| docs/overview.md | Uses v1.0.0 in the recipe version example. |
| docs/governance.md | Updates breaking-release guidance for governed canisters. |
| crates/wire-types/src/lib.rs | Updates a doc comment’s breaking-release example; no logic change. |
| Cargo.toml | Sets the shared workspace version to 1.0.0. |
| Cargo.lock | Aligns workspace package versions with 1.0.0. |
| .claude/rules/project-stage.md | Updates project guidance for minor, patch, and major releases. |
Review effort: Balanced
42899e3 to
b6c1295
Compare
There was a problem hiding this comment.
🔵 Needs a closer look
The release/migration decision needs confirmation before tagging because the version bump directs existing 0.4.x deployments to reinstall, irreversibly discarding access tokens and preserved assets without a stable-state incompatibility requiring it.
No open issues 🎉
Review effort: Balanced
b6c1295 to
378bf20
Compare
There was a problem hiding this comment.
🔵 Needs a closer look
Release-owner confirmation is needed before tagging because the 0.4.x → 1.0.0 switch directs production users to reinstall, losing tokens and preserved files despite no stable-state schema change.
No open issues 🎉
Review effort: Balanced
Bumps the workspace version to 1.0.0 and updates the places that describe the versioning rule, which from 1.0.0 on makes a major bump the breaking one and minor/patch bumps in-place upgrades. Co-Authored-By: Claude Fable 5.2 <[email protected]>
378bf20 to
cbefe62
Compare
lwshang
left a comment
There was a problem hiding this comment.
LGTM. Keeping the 0.4.x → 1.0.0 reinstall deliberately: 1.0 is a clean series start.
Publishes the `static-site` recipe at v1.0.0, pinning the canister and sync-plugin wasm from dfinity/certified-assets's v1.0.0 release. ## Draft: do not merge yet The v1.0.0 release of certified-assets does not exist yet. It is prepared by dfinity/certified-assets#149 and dfinity/certified-assets#150, and is cut by tagging `v1.0.0` once they merge. Until then: - The two release URLs in `recipe.hbs` return 404. - The two `sha256` values come from a local `make recipe-release` on the #150 branch, not from the release CI. They are placeholders: the released wasm may hash differently. ## Before marking ready Replace `recipes/static-site/recipe.hbs` with the asset attached to the release, verbatim, and confirm the two match: https://github.com/dfinity/certified-assets/releases/download/v1.0.0/recipe.hbs After merge, tag `static-site-v1.0.0` in this repo to cut the recipe release. 🤖 Generated with [Claude Code](https://claude.com/claude-code) --------- Co-authored-by: Claude Fable 5.2 <[email protected]> Co-authored-by: Linwei Shang <[email protected]>
Stacked on #149. Prepares the
1.0.0release of the certified-assets canister and its sync plugin.What 1.0.0 changes
The version rule in
wire-types/src/version.rsalready covers it, no code change needed:1.0.0 → 1.1.0,1.0.0 → 1.0.1) must both upgrade in place and recover stable state. Before this, a minor bump was the escape hatch for state-shape changes; after it, only2.0.0is.0.4.x → 1.0.0is itself a series switch. A1.0.0plugin that meets a0.4.xcanister tells the user to reinstall, which wipes state not re-derived from the project (access-protection tokens, files kept by_preserve).Worth deciding before tagging: the only change since
v0.4.3is #149, which is additive and touches no stable state, so nothing in this release actually needs the reinstall. It is the version number alone that makes the plugin ask for one. If there are stable-state shapes or legacy fields you want gone, this is the last release where dropping them is free.Changes
Cargo.toml/Cargo.lock: workspace version0.4.3→1.0.0docs/overview.md: the example recipe versionREADME.md(Releasing),.claude/rules/project-stage.md,docs/governance.md, awire-typesdoc comment: the breaking-vs-non-breaking rule restated for1.x(they described the0.xrule)After merge
make tag && git push origin v1.0.0: triggers the release workflowscripts/publish-recipe.sh v1.0.0 --push: refreshes theicp-cli-recipesPR with the release's ownrecipe.hbsstatic-site-v1.0.0inicp-cli-recipes🤖 Generated with Claude Code