Skip to content

release: v0.22.0 - #360

Merged
mmcky merged 2 commits into
mainfrom
release-v0.22.0
Nov 28, 2026
Merged

mmcky merged 2 commits into
mainfrom
release-v0.22.0

Conversation

@mmcky

@mmcky mmcky commented Nov 28, 2026 •

Copy link
Copy Markdown
Contributor

Cuts v0.22.0, a minor release: #357 and #345 add features, and nothing in it is marked ⚠️ BREAKING. It carries #357's deploy-release reusable workflow, #345's comment-key and toc-file, and #346's images, whose CHANGELOG entries are already under [Unreleased], and Dependabot's #348, #352 and #347, whose entries this PR writes. v0 is on v0.21.1, and moves to v0.22.0 only after the release gate and the staging below have passed it.

What's in it

Change PR
deploy-release, the first reusable workflow for lecture repositories, and its caller, templates/deploy-release.yml: on a release published for a publish-* tag it deploys that release's site to GitHub Pages, and on a dispatch with a tag it deploys that tag's release, which is the rollback. Its ### Added entry is already under [Unreleased] #357
comment-key and toc-file in preview-netlify, preview-cloudflare and preview-workers, for several sites on one pull request. Both are empty by default, which leaves the comment, its marker and its links as they were. Its ### Added entry is already under [Unreleased] #345
Chrome for Testing 158 in both images, and kaleido 1.5.2. Its ### Changed entry is already under [Unreleased]. :latest has carried it since 2026-11-19, so this release only records it #346
wrangler 4.166.0 in preview-cloudflare, preview-workers and deploy-cloudflare, up from 4.162.0; netlify-cli 27.20.1 in preview-netlify, up from 27.19.0. Neither raises its minimum Node, which stays at 22.12 for wrangler and 22.13 for netlify-cli. One entry for both #348, #352
Both images on the ubuntu:24.04 image of 2026-11-10, pinned by digest. :latest has carried it since 2026-11-20, so this release only records it #347

Also merged since v0.21.1, with no entry of its own: #344 (PLAN), #350 (CI and docs: the canary watcher reads the canary's scheduled ci.yml and publish.yml runs) and #351 (PyYAML 6.0.4 in scripts/requirements.txt, CI only).

Changes in this PR

File Change
CHANGELOG.md ## [0.22.0] - 2026-11-28 below an empty ## [Unreleased]. Under ### Changed, the entry for #348 and #352 first; then #346's, with one line added (both images rebuilt and smoke-tested, and :latest moved on 2026-11-19, before this release); then #347's. ### Added keeps #357's and #345's entries as they were
docs/dev/PLAN.md The release line: the latest release is v0.22.0, and @v0 is on v0.21.1 until the gate has passed it. The line counting the actions names the reusable workflow, deploy-release. The rows for lecture-jax, lecture-python-intro, lecture-python-advanced.myst, lecture-python-programming, lecture-python-programming.fr and continuous_time_mcs are on @v0, where PLAN said @v0.12.0, and the paragraph on their exact pins goes with them. QuantEcon/lectures' row names setup-environment too, which its site-build.yml runs on its full-image legs, intro and advanced, and counts the six sites it builds now. Two rollout lines that still named exact pins say @v0: publish-gh-pages' 8/8, and lecture-jax's previews

The date is today's in UTC.

What I checked

  • The CHANGELOG: the diff adds 12 lines and deletes none, and everything from ## [0.21.1] down is byte-identical to main. Every PR merged since v0.21.1 has its entry, or is listed above. The lockfiles on main pin wrangler 4.166.0 (engines >=22.12.0) in all three Cloudflare actions and netlify-cli 27.20.1 (>=22.13.0).
  • The consumers, read today from each repository's default-branch workflows: lecture-jax and lecture-python-programming.fr call preview-netlify@v0 (ci.yml) and publish-gh-pages@v0 (publish.yml); lecture-python-intro, lecture-python-advanced.myst, lecture-python-programming and continuous_time_mcs call publish-gh-pages@v0 (publish.yml). No other workflow in them names this repository. QuantEcon/lectures' site-build.yml runs setup-environment@v0 on the legs whose site.yml gives a container runner and environment: base, which are intro and advanced, and build-lectures@v0 on every leg.
  • The build actions, setup-environment, setup-latex, build-lectures, build-jupyter-cache, restore-jupyter-cache, publish-gh-pages and restore-gh-pages, are byte-identical to v0.21.1 at 19fdc20, and none calls a script that has changed since. deploy-cloudflare changes only in its package.json and package-lock.json (deps: bump the npm group across 4 directories with 2 updates #348, deps: bump the npm group across 4 directories with 2 updates #352).
  • generate-docs.py --check --check-examples --actionlint: 24 files current; 75 quantecon/actions steps and 20 complete workflows checked, clean under actionlint 1.7.12. actionlint finds .github/workflows/ clean, and scripts/lint-shell.py, with shellcheck 0.11.0, finds 74 run: scripts in 11 action.yml files, 216 in 9 workflows, and 16 scripts/*.sh clean.
  • The harness skips this PR's files, since the gate's IGNORED covers CHANGELOG.md and docs/. The evidence is main's full harness at 19fdc20, deps: bump pyyaml from 6.0.3 to 6.0.4 in /scripts in the pip group across 1 directory #351's merge commit, which comes after deps: bump the npm group across 4 directories with 2 updates #352's lockfile changes: dispatched run https://github.com/QuantEcon/actions/actions/runs/46131794415, green on its first attempt, with 70 jobs passed and 5 skipped.

Staging, after the tag

As CONTRIBUTING's Staged Releases says, apart from the departures in steps 3 and 5:

  1. The release gate: gate.yml on the canary's main, with candidate=v0.22.0 and the self-test off, outside Sunday 00:00 to 03:00 UTC. It must be green, with each site serving the marker for the release commit, and its log must show both preview deploys running the new CLIs, wrangler 4.166.0 and netlify-cli 27.20.1. The run is linked here.
  2. A canary PR for feat(preview-*): comment-key and toc-file, for several sites on one pull request (#336) #345's pull-request half, which the gate doesn't reach: a branch staged-v0.22.0 in the canary with every quantecon/actions/... step pinned @v0.22.0, inputs as templates/ has them (no comment-key, no toc-file), and a one-line change to one lecture. Checked by hand: each provider's placeholder comment lists the changed lecture, and its deploy then replaces that same comment, with its marker as before; each pr-<N> preview serves the build's marker and the changed lecture, by content; a second push updates the same two comments. The PR is closed unmerged with a results note, and linked here.
  3. deploy-release on the canary, which the gate doesn't reach and the harness checks only as a file: a caller on the canary's main, templates/deploy-release.yml with its uses: pinned @v0.22.0, merged on review; a release made by the canary's publish.yml on a new publish-* tag, which starts no deploy-release run; then a dispatch with tag=publish-check-310, the rollback path, and that new release published again, the release path. Each is checked by its upload job's commit and by the site serving, by content, a file whose bytes differ between the two releases. This departs from CONTRIBUTING, which stages on a canary branch: GitHub dispatches only a workflow that is on the default branch, and the canary's github-pages environment admits only main and publish* tags. The post-move PR updates CONTRIBUTING to match. The runs are linked here.
  4. No lecture matrix at the candidate: the build actions are unchanged, and feat(containers): a pinned Chrome for kaleido 1.5.2 in both images (#342) #346's and deps: bump the docker group across 2 directories with 1 update #347's images are already :latest. Monday's scheduled run 45098004558, on main at 06b493f with :latest of 2026-11-20, ran this build path green on all 8 legs.
  5. Nothing staged by hand for deploy-cloudflare and preview-workers, which the gate doesn't reach. Neither has an @v0 consumer: the two deploy-cloudflare callers pin v0.12.0, and preview-workers has none yet (preview-workers: the pilot checks for the first lecture repository that adopts it #299). The harness installs the pinned wrangler for both and runs it ("pinned CLIs install from their lockfiles and run", each action's "the pinned wrangler accepts the generated config", and deploy-cloudflare on Node 22.11 and 22.12), and covers feat(preview-*): comment-key and toc-file, for several sites on one pull request (#336) #345's keyed and toc paths in its fixtures, all green in the run above.
  6. Once v0 has moved, which is asked for on its own: the canary's cache.yml, then ci.yml, on its main; its deploy-release caller moved to @v0 and dispatched once more; then its publish.yml, so the site ends on a marked build; then a post-move PR here for PLAN's v0 line, the canary drift check's workflow list, and TESTING's and CONTRIBUTING's lines on the reusable workflow. The move reaches the @v0 callers of preview-netlify on default inputs, and QuantEcon/lectures' site build, whose setup-environment and build-lectures this release doesn't change. The runs are linked here.

Copilot: not requested (Matt, 2026-11-22).

🤖 Generated with Claude Code

https://claude.ai/code/session_01WT8bMYECPyC5K5RvEg6uiq

mmcky and others added 2 commits November 28, 2026 20:56
Cuts v0.22.0, a minor release: #357 and #345 add features, and nothing
in it is marked BREAKING. CHANGELOG gets the 0.22.0 section under an
empty Unreleased, with Changed entries for Dependabot's wrangler 4.166.0
and netlify-cli 27.20.1 pins (#348, #352) and the ubuntu:24.04 base of
2026-11-10 (#347), and a line in #346's entry recording its :latest
move. PLAN gets the release line (@v0 stays on v0.21.1 until the gate
passes v0.22.0), names deploy-release beside the actions, moves the six
consumers that pinned v0.12.0 to @v0 and drops the exact-pins
paragraph, and adds setup-environment to QuantEcon/lectures' row.
Docs only.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Claude-Session: https://claude.ai/code/session_01WT8bMYECPyC5K5RvEg6uiq
@mmcky
mmcky merged commit 3b70eda into main Nov 28, 2026
71 checks passed
@mmcky
mmcky deleted the release-v0.22.0 branch November 28, 2026 10:28
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.

1 participant