From a62193c113b5816efbc592e211664aa900efb206 Mon Sep 17 00:00:00 2001 From: Matt McKay Date: Fri, 4 Sep 2026 13:59:39 +1000 Subject: [PATCH] chore(release): prepare v2.4.0 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Move the [Unreleased] entries under ## [2.4.0] - 2026-09-04 with a headline blockquote, add the compare link, re-point the [Unreleased] compare base at v2.4.0, and bump package.json (npm version 2.4.0 --no-git-tag-version). template.yml is stamped by release.yml at build time. Minor rather than patch: #155 adds the site footer part and back-to-top styling alongside its fixes. The release carries three commits that have been on main since 2026-09-03: - #151 completes the static-build asset fix that v2.3.1 began. #139 covered the stylesheets in _assets/, but Remix also emits route and shared-chunk CSS, and four such files shipped in 2.3.1 still pointing --jp-icon-plotly at an absolute /myst_assets_folder/ URL. A production build now emits zero absolute asset URLs and all 78 references resolve. - #155 brings lecture content typography into line with the Sphinx builds and fixes inline code rendering wrapped in literal backticks — a regression that reached every code span on every page. - #161 bumps fast-uri 3.1.5 to 3.1.7. Co-Authored-By: Claude Opus 5 (1M context) --- CHANGELOG.md | 16 +++++++++++++++- package-lock.json | 4 ++-- package.json | 2 +- 3 files changed, 18 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 498cd8cbc..6d2ecabe4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -20,6 +20,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ## [Unreleased] +## [2.4.0] - 2026-09-04 + +> Headline: lecture content now matches the typography of the existing Sphinx +> builds, and inline code stops rendering wrapped in literal backticks — a +> regression that reached every code span on every page, caused by a +> `tailwind.config.js` spread of an upstream export that is a function, not an +> object. The static-build asset fix from 2.3.1 is completed: four route and +> shared-chunk stylesheets it did not cover still shipped absolute +> `/myst_assets_folder/…` URLs, and a production build now emits zero of them +> with all 78 references resolving. The site footer and back-to-top button are +> styled to match the Sphinx builds. + + ### Added - The site footer part (`site.parts.footer`) and the back-to-top button are styled to match the Sphinx lecture builds, with every value measured off @@ -346,7 +359,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Initial version of the QuantEcon MyST theme: Remix + `@myst-theme` book theme with QuantEcon branding, toolbar (home, search, fullscreen, font scaling, dark mode, downloads, Colab/JupyterHub launch, edit-on-GitHub), content-driven site footer, and bundled brand assets. -[Unreleased]: https://github.com/QuantEcon/quantecon-theme.mystmd/compare/v2.3.1...HEAD +[Unreleased]: https://github.com/QuantEcon/quantecon-theme.mystmd/compare/v2.4.0...HEAD +[2.4.0]: https://github.com/QuantEcon/quantecon-theme.mystmd/compare/v2.3.1...v2.4.0 [2.3.1]: https://github.com/QuantEcon/quantecon-theme.mystmd/compare/v2.3.0...v2.3.1 [2.3.0]: https://github.com/QuantEcon/quantecon-theme.mystmd/compare/v2.2.0...v2.3.0 [2.2.0]: https://github.com/QuantEcon/quantecon-theme.mystmd/compare/v2.1.0...v2.2.0 diff --git a/package-lock.json b/package-lock.json index 1c3d182dd..b91e8088b 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "@quantecon/lecture-theme", - "version": "2.3.1", + "version": "2.4.0", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "@quantecon/lecture-theme", - "version": "2.3.1", + "version": "2.4.0", "hasInstallScript": true, "dependencies": { "@fontsource-variable/source-sans-3": "^5.3.0", diff --git a/package.json b/package.json index 1065a5b1c..7f1f73a17 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@quantecon/lecture-theme", - "version": "2.3.1", + "version": "2.4.0", "private": true, "sideEffects": false, "scripts": {