Skip to content

Release 4.3.0: production release + node24 CI fix - #76

Merged
theetherGit merged 6 commits into
mainfrom
dev
Jul 10, 2026
Merged

theetherGit merged 6 commits into
mainfrom
dev

Conversation

@theetherGit

Copy link
Copy Markdown
Collaborator

Merges dev into main to publish 4.3.0 to @latest.

What reaches main

  • release.yml: pin Node 24 and drop the broken npm i -g npm@latest self-upgrade (fixes Cannot find module 'sigstore' on npm publish --provenance).

Everything else (release automation, takumi v2, 4.3.0 version bump) is already on main — this PR's only content delta is the workflow fix. main was merged into dev first, so this merges cleanly with no conflicts.

On merge

Push to main with clean version 4.3.0 triggers the release workflow → publishes @latest via OIDC Trusted Publishing (no token). Requires the trusted publisher (repo + release.yml) configured on npmjs.com.

* feat(takumi): migrate to takumi-js v2 (2.0.1 stable)

takumi-js graduated from beta — 2.0.1 is now the `latest` tag. Bump the
pin across the library (dev + peer dep) and every example from
2.0.0-beta.14 to the stable release.

No source changes needed: the public API is unchanged between beta.14 and
2.0.1. Verified — lib typecheck 0 errors, vitest 10/10 (incl. takumi
render tests), all 8 examples build.

* release(package): next version .16

* docs: takumi v2 note; document Deno prerendered-image 404

- usage/takumi: note takumi-js is stable v2 (^2.0.1).
- runtime/deno: add Known Issue — prerendered image endpoints
  (`+server.ts` with prerender = true) are written to the static output
  but the Deno adapter only registers prerendered pages in its route
  manifest, not endpoint assets. Deno Deploy serves static from that
  manifest (not the filesystem), so the route 404s. Workaround: serve
  image endpoints dynamically on Deno.

* fix(deno): patch adapter to serve prerendered image endpoints

@deno/svelte-adapter@0.2.1 writes prerendered output to the static dir
via writePrerendered(), but only registers builder.prerendered.pages in
the deploy.json staticFiles manifest. Prerendered *endpoints* (e.g.
/png/prerendered.png) are written to disk but never registered, and
Deno Deploy serves static files from that manifest — so those routes
404.

Add a pnpm patch that also registers builder.prerendered.assets.
Verified: deploy.json now lists all three prerendered image routes, and
`deno run -A .deno-deploy/server.ts` serves /png/prerendered.png with
200 (valid 1200x630 PNG). Docs known-issue updated to point at the
patch.

Upstream fix should land in @deno/svelte-adapter; drop the patch when
it does.

* fix(repo): pin packageManager to pnpm@10

Vercel's builder defaulted to pnpm@9, which hashes patchedDependencies
differently than the pnpm@10-written lockfile, failing frozen install
with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH. Pin pnpm 10 via packageManager
so all hosts use the same version.

* docs(takumi): install from beta tag, next channel retired

v4.3 prerelease moved from the next tag to beta (4.3.0-next.16) and is
ready for test deployments.

* release(package): 4.3.0-beta.1

Retire the next prerelease channel; v4.3 ships from the beta tag now.
* feat(takumi): migrate to takumi-js v2 (2.0.1 stable)

takumi-js graduated from beta — 2.0.1 is now the `latest` tag. Bump the
pin across the library (dev + peer dep) and every example from
2.0.0-beta.14 to the stable release.

No source changes needed: the public API is unchanged between beta.14 and
2.0.1. Verified — lib typecheck 0 errors, vitest 10/10 (incl. takumi
render tests), all 8 examples build.

* release(package): next version .16

* docs: takumi v2 note; document Deno prerendered-image 404

- usage/takumi: note takumi-js is stable v2 (^2.0.1).
- runtime/deno: add Known Issue — prerendered image endpoints
  (`+server.ts` with prerender = true) are written to the static output
  but the Deno adapter only registers prerendered pages in its route
  manifest, not endpoint assets. Deno Deploy serves static from that
  manifest (not the filesystem), so the route 404s. Workaround: serve
  image endpoints dynamically on Deno.

* fix(deno): patch adapter to serve prerendered image endpoints

@deno/svelte-adapter@0.2.1 writes prerendered output to the static dir
via writePrerendered(), but only registers builder.prerendered.pages in
the deploy.json staticFiles manifest. Prerendered *endpoints* (e.g.
/png/prerendered.png) are written to disk but never registered, and
Deno Deploy serves static files from that manifest — so those routes
404.

Add a pnpm patch that also registers builder.prerendered.assets.
Verified: deploy.json now lists all three prerendered image routes, and
`deno run -A .deno-deploy/server.ts` serves /png/prerendered.png with
200 (valid 1200x630 PNG). Docs known-issue updated to point at the
patch.

Upstream fix should land in @deno/svelte-adapter; drop the patch when
it does.

* fix(repo): pin packageManager to pnpm@10

Vercel's builder defaulted to pnpm@9, which hashes patchedDependencies
differently than the pnpm@10-written lockfile, failing frozen install
with ERR_PNPM_LOCKFILE_CONFIG_MISMATCH. Pin pnpm 10 via packageManager
so all hosts use the same version.

* docs(takumi): install from beta tag, next channel retired

v4.3 prerelease moved from the next tag to beta (4.3.0-next.16) and is
ready for test deployments.

* release(package): 4.3.0-beta.1

Retire the next prerelease channel; v4.3 ships from the beta tag now.

* chore: format and lint

* chore(cloudflare): Dev deployment test

* chore(cloudflare): Dev deployment test

* chore(examples): cloudflare workers dev deployment
Add release workflow triggered on push to main/dev. Channel is derived
from branch + version:
  main + clean version   -> latest
  dev  + -beta.x         -> beta
  any  + -next.x         -> next
Skips when the version is already on npm, so no-bump merges are no-ops.

Publishing uses npm Trusted Publishing (OIDC) with provenance — no
NPM_TOKEN is stored in the repo. On publish, CI tags v<version> and
generates GitHub release notes via changelogithub.

Add `pnpm release` (bumpp) for version bumps and document the full
release flow in CONTRIBUTING.md. Contributor PRs now target dev.
`npm install -g npm@latest` self-upgrade leaves an inconsistent global
install (missing 'sigstore'), so `npm publish --provenance` crashed with
MODULE_NOT_FOUND. Node 24 already bundles npm >= 11.5.1 with OIDC Trusted
Publishing support, so pin Node 24 and remove the self-upgrade step.
@netlify

netlify Bot commented Jul 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for sveltekit-og-dev canceled.

Name Link
🔨 Latest commit 58c0dfa
🔍 Latest deploy log https://app.netlify.com/projects/sveltekit-og-dev/deploys/6a50efa61164bc000820943b

@cloudflare-workers-and-pages

Copy link
Copy Markdown

Deploying with  Cloudflare Workers  Cloudflare Workers

The latest updates on your project. Learn more about integrating Git with Workers.

Status Name Latest Commit Updated (UTC)
✅ Deployment successful!
View logs
sveltekit-og 58c0dfa Jul 10 2026, 01:05 PM

@vercel

vercel Bot commented Jul 10, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
sveltekit-og-vercel Ready Ready Preview, Comment Jul 10, 2026 1:12pm

@netlify

netlify Bot commented Jul 10, 2026 •

Copy link
Copy Markdown

✅ Deploy Preview for sveltekit-og canceled.

Name Link
🔨 Latest commit 58c0dfa
🔍 Latest deploy log https://app.netlify.com/projects/sveltekit-og/deploys/6a50efa6e1253b00078aeab8

@theetherGit theetherGit linked an issue Jul 10, 2026 that may be closed by this pull request
@theetherGit
theetherGit merged commit 180079a into main Jul 10, 2026
15 of 16 checks passed

This branch was successfully deployed

1 active deployment
Preview — 58c0dfac Deployed Jul 10, 2026 by vercel[bot]
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.

Release new version 4.3.0

1 participant