Skip to content

chore(release): 1.0.0 - #150

Merged
lwshang merged 1 commit into
mainfrom
chore/release-1.0.0
Nov 18, 2026
Merged

lwshang merged 1 commit into
mainfrom
chore/release-1.0.0

Conversation

@raymondk

Copy link
Copy Markdown
Contributor

Stacked on #149. Prepares the 1.0.0 release of the certified-assets canister and its sync plugin.

What 1.0.0 changes

The version rule in wire-types/src/version.rs already covers it, no code change needed:

  • From now on a major bump is the breaking one. Minor and patch releases (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, only 2.0.0 is.
  • 0.4.x → 1.0.0 is itself a series switch. A 1.0.0 plugin that meets a 0.4.x canister 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.3 is #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 version 0.4.3 → 1.0.0
  • docs/overview.md: the example recipe version
  • README.md (Releasing), .claude/rules/project-stage.md, docs/governance.md, a wire-types doc comment: the breaking-vs-non-breaking rule restated for 1.x (they described the 0.x rule)

After merge

  1. make tag && git push origin v1.0.0: triggers the release workflow
  2. scripts/publish-recipe.sh v1.0.0 --push: refreshes the icp-cli-recipes PR with the release's own recipe.hbs
  3. After that merges, tag static-site-v1.0.0 in icp-cli-recipes

🤖 Generated with Claude Code

@raymondk
raymondk requested a review from a team as a code owner November 17, 2026 19:17
Copilot AI balanced review requested due to automatic review settings November 17, 2026 19:17

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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.3 to 1.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

@raymondk
raymondk force-pushed the chore/release-1.0.0 branch from 42899e3 to b6c1295 Compare November 17, 2026 21:24
Copilot AI balanced review requested due to automatic review settings November 17, 2026 21:25

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@raymondk
raymondk force-pushed the chore/release-1.0.0 branch from b6c1295 to 378bf20 Compare November 17, 2026 22:07
Copilot AI balanced review requested due to automatic review settings November 17, 2026 22:07

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🔵 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

@raymondk
raymondk added this pull request to stack #151 November 18, 2026 00:00
Base automatically changed from feat/upload-assets to main November 18, 2026 06:21
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]>
@lwshang
lwshang force-pushed the chore/release-1.0.0 branch from 378bf20 to cbefe62 Compare November 18, 2026 06:21

@lwshang lwshang left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM. Keeping the 0.4.x → 1.0.0 reinstall deliberately: 1.0 is a clean series start.

@lwshang
lwshang merged commit 0c2235f into main Nov 18, 2026
7 checks passed
@lwshang
lwshang deleted the chore/release-1.0.0 branch November 18, 2026 06:35
lwshang added a commit to dfinity/icp-cli-recipes that referenced this pull request Nov 18, 2026
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]>
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.

3 participants