Repository navigation
release: v0.22.0 - #360
Merged
Merged
release: v0.22.0#360
Conversation
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
…ctures row's six sites Co-Authored-By: Claude Opus 5.5 <[email protected]> Claude-Session: https://claude.ai/code/session_01WT8bMYECPyC5K5RvEg6uiq
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.
Cuts v0.22.0, a minor release: #357 and #345 add features, and nothing in it is marked⚠️ BREAKING. It carries #357's
deploy-releasereusable workflow, #345'scomment-keyandtoc-file, and #346's images, whose CHANGELOG entries are already under[Unreleased], and Dependabot's #348, #352 and #347, whose entries this PR writes.v0is 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
deploy-release, the first reusable workflow for lecture repositories, and its caller,templates/deploy-release.yml: on a release published for apublish-*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### Addedentry is already under[Unreleased]comment-keyandtoc-fileinpreview-netlify,preview-cloudflareandpreview-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### Addedentry is already under[Unreleased]### Changedentry is already under[Unreleased].:latesthas carried it since 2026-11-19, so this release only records itpreview-cloudflare,preview-workersanddeploy-cloudflare, up from 4.162.0; netlify-cli 27.20.1 inpreview-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 bothubuntu:24.04image of 2026-11-10, pinned by digest.:latesthas carried it since 2026-11-20, so this release only records itAlso 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.ymlandpublish.ymlruns) and #351 (PyYAML 6.0.4 inscripts/requirements.txt, CI only).Changes in this PR
CHANGELOG.md## [0.22.0] - 2026-11-28below 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:latestmoved on 2026-11-19, before this release); then #347's.### Addedkeeps #357's and #345's entries as they weredocs/dev/PLAN.md@v0is on v0.21.1 until the gate has passed it. The line counting the actions names the reusable workflow,deploy-release. The rows forlecture-jax,lecture-python-intro,lecture-python-advanced.myst,lecture-python-programming,lecture-python-programming.frandcontinuous_time_mcsare on@v0, where PLAN said@v0.12.0, and the paragraph on their exact pins goes with them. QuantEcon/lectures' row namessetup-environmenttoo, which itssite-build.ymlruns on its full-image legs,introandadvanced, and counts the six sites it builds now. Two rollout lines that still named exact pins say@v0:publish-gh-pages' 8/8, andlecture-jax's previewsThe date is today's in UTC.
What I checked
## [0.21.1]down is byte-identical tomain. Every PR merged since v0.21.1 has its entry, or is listed above. The lockfiles onmainpin wrangler 4.166.0 (engines>=22.12.0) in all three Cloudflare actions and netlify-cli 27.20.1 (>=22.13.0).lecture-jaxandlecture-python-programming.frcallpreview-netlify@v0(ci.yml) andpublish-gh-pages@v0(publish.yml);lecture-python-intro,lecture-python-advanced.myst,lecture-python-programmingandcontinuous_time_mcscallpublish-gh-pages@v0(publish.yml). No other workflow in them names this repository. QuantEcon/lectures'site-build.ymlrunssetup-environment@v0on the legs whosesite.ymlgives a container runner andenvironment: base, which areintroandadvanced, andbuild-lectures@v0on every leg.setup-environment,setup-latex,build-lectures,build-jupyter-cache,restore-jupyter-cache,publish-gh-pagesandrestore-gh-pages, are byte-identical to v0.21.1 at19fdc20, and none calls a script that has changed since.deploy-cloudflarechanges only in itspackage.jsonandpackage-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; 75quantecon/actionssteps and 20 complete workflows checked, clean under actionlint 1.7.12.actionlintfinds.github/workflows/clean, andscripts/lint-shell.py, with shellcheck 0.11.0, finds 74run:scripts in 11action.ymlfiles, 216 in 9 workflows, and 16scripts/*.shclean.IGNOREDcoversCHANGELOG.mdanddocs/. The evidence ismain's full harness at19fdc20, 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:
gate.ymlon the canary'smain, withcandidate=v0.22.0and 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.staged-v0.22.0in the canary with everyquantecon/actions/...step pinned@v0.22.0, inputs astemplates/has them (nocomment-key, notoc-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; eachpr-<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.deploy-releaseon the canary, which the gate doesn't reach and the harness checks only as a file: a caller on the canary'smain,templates/deploy-release.ymlwith itsuses:pinned@v0.22.0, merged on review; a release made by the canary'spublish.ymlon a newpublish-*tag, which starts nodeploy-releaserun; then a dispatch withtag=publish-check-310, the rollback path, and that new release published again, the release path. Each is checked by its upload job'scommitand 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'sgithub-pagesenvironment admits onlymainandpublish*tags. The post-move PR updates CONTRIBUTING to match. The runs are linked here.:latest. Monday's scheduled run 45098004558, onmainat06b493fwith:latestof 2026-11-20, ran this build path green on all 8 legs.deploy-cloudflareandpreview-workers, which the gate doesn't reach. Neither has an@v0consumer: the twodeploy-cloudflarecallers pinv0.12.0, andpreview-workershas 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", anddeploy-cloudflareon 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.v0has moved, which is asked for on its own: the canary'scache.yml, thenci.yml, on itsmain; itsdeploy-releasecaller moved to@v0and dispatched once more; then itspublish.yml, so the site ends on a marked build; then a post-move PR here for PLAN'sv0line, the canary drift check's workflow list, and TESTING's and CONTRIBUTING's lines on the reusable workflow. The move reaches the@v0callers ofpreview-netlifyon default inputs, and QuantEcon/lectures' site build, whosesetup-environmentandbuild-lecturesthis 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