From a238b46f0ce3343da40d967d7544382706836f97 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" <41898282+github-actions[bot]@users.noreply.github.com> Date: Thu, 1 Oct 2026 07:31:58 +0000 Subject: [PATCH] Version Packages (beta) --- .changeset/{ => pre}/sveltekit-3-migration.md | 0 CHANGELOG.md | 12 ++++++++++++ package.json | 2 +- 3 files changed, 13 insertions(+), 1 deletion(-) rename .changeset/{ => pre}/sveltekit-3-migration.md (100%) diff --git a/.changeset/sveltekit-3-migration.md b/.changeset/pre/sveltekit-3-migration.md similarity index 100% rename from .changeset/sveltekit-3-migration.md rename to .changeset/pre/sveltekit-3-migration.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 20feb33..cc9aec0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,17 @@ # kit-on-lambda +## 0.9.0-beta.0 + +### Minor Changes + +- e1001b4: Migrate the adapter to SvelteKit 3 (beta). This release targets SvelteKit 3 only and drops SvelteKit 2 support. + + - Bump the `@sveltejs/kit` peer dependency to `^3.0.0`. + - Replace the removed `builder.generateManifest` + `"SERVER"`/`"MANIFEST"` string-substitution flow with `builder.generateServerInstance(...)`. The emitted server module exports a `server` object (from `create_server`), so the node and bun handler/stream entries now `import { server } from "SERVER"` and call `server.init(...)` / `server.respond(...)` directly instead of constructing the deprecated `Server` class. + - Read `paths.base` from the flattened `builder.config.paths.base` (`builder.config.kit` was removed). + - Replace the deprecated `builder.mkdirp` / `builder.rimraf` with `node:fs`. + - Update server instrumentation to the new flow: call `builder.createInstrumentationInitializer(...)`, include the initializer in the bundle, then pass its path to `builder.instrument(...)`. + ## 0.8.4 ### Patch Changes diff --git a/package.json b/package.json index d4be24e..0eb9753 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "kit-on-lambda", - "version": "0.8.4", + "version": "0.9.0-beta.0", "description": "SvelteKit adapter for AWS Lambda for Node.js and Bun runtimes", "keywords": [ "adapter",