- add polyfill option (#8991)
- Updated dependencies [
74cfa8d5
,bfa2b6ec
]:- @sveltejs/[email protected]
-
fix: use
strictRequires: true
when bundling output (#8958) -
Updated dependencies [
0abb8ebf
,bef54f63
,51cd6e64
,930c8e4e
,ee8066fc
,49d2ec62
,eb943565
]:- @sveltejs/[email protected]
-
fix: make serve_prerendered middleware work with node http server (#8890)
-
Updated dependencies [
c7648f66
,63613bf1
,d1f7655e
]:- @sveltejs/[email protected]
- fix: correctly redirect trailing slashes for
adapter-node
(#8857)
-
docs: fix link in README (#8854)
-
Updated dependencies [
7cdb7a65
]:- @sveltejs/[email protected]
- docs: move adapter docs to site (#8531)
- fix: publish missing files (#8532)
-
chore: remove superfluous main field from package.json (#8519)
-
Updated dependencies [
7e2d3405
]:- @sveltejs/[email protected]
-
docs: add info about custom cleanup before server exits (#8455)
-
Updated dependencies [
9c01c32e
,b6ca02a6
,130abe43
,c4137536
,40464efa
,ce028470
]:- @sveltejs/[email protected]
- feat: add original request object as
event.platform.req
(#8171)
- Updated dependencies [
5426901a
]:- @sveltejs/[email protected]
- chore: update dependency @rollup/plugin-json to v6 (#8204)
- Note: plugin-json v6 fails your build for parse errors that only logged a warning with v5. We consider this a bugfix as only healthy input should result in a successful build.
- chore(deps): update dependency @rollup/plugin-commonjs to v24 (#8216)
- Updated dependencies [
fab0de4f
,89b8d94b
]:- @sveltejs/[email protected]
First major release, see below for the history of changes that lead up to this. Starting from now all releases follow semver and changes will be listed as Major/Minor/Patch
- breaking: remove warnings/errors about removed/changed APIs (#8019)
- Updated dependencies [
f42604a2
]:- @sveltejs/[email protected]
- chore: add peerDependencies, add more specific next version (#8141)
- update rollup to ^3.7.0 (#7543)
- Update docs with example of loading environment variables (#8020)
- docs: update reference to
getClientAddress()
(#7907)
- Update docs (#7744)
- update dependencies (#7355)
- fix: take into account deep exports for external packages (#7311)
- Use config.kit.paths.base prefix for static assets (#4448)
- chore: update dependency @rollup/plugin-json to v5 (#7204)
- Disable builtin modules warning (#7031)
- Redact error message if
getRequest
fails (#6936)
- Add missing Rollup dependency (#6927)
- Bundle with rollup instead of esbuild (#6896)
- chore: bump esbuild (#6829)
- Allow streaming when
BODY_SIZE_LIMIT
is set (#6702)
- Bundle non-production dependencies with esbuild (#6372)
- feat: Moved hooks.js initialization from Server.respond into Server.init (#6179)
- Move
compress
logic toBuilder
API (#5822)
- Initialise
env
(#5663)
- Set Vite's publicDir and correctly serve public assets earlier in pipeline (#5686)
- set Vite's
publicDir
option (#5648)
- breaking: remove writeStatic to align with Vite (#5618)
- breaking: remove compression middleware from adapter-node output server (#5506)
- Update dependencies (#5005)
- chore: upgrade TypeScript to 4.7.4 (#5414)
- Update dependencies (#5121)
- Update adapter entrypoint typings to be NodeNext/ESNext-compatible (#5111)
- only serve
_app/immutable
with immutable cache header, not_app/version.json
(#5051)
- Add types to pkg.exports (#5045)
- breaking: replace @sveltejs/kit/install-fetch with @sveltejs/kit/node/polyfills (#4934)
- breaking: rename
xForwardedForIndex
toXFF_DEPTH
and make it an environment variable (#4332) - breaking: Replace
options.env
withoptions.envPrefix
(#4360)
- Provide getClientAddress function (#4289)
- breaking: replace builder.prerender() with builder.writePrerendered() and builder.prerendered (#4192) (#4229)
- Rename
__fetch_polyfill
toinstallFetch
(#4111)
- breaking: rename
app.render
toserver.respond
(#4034)
precompress
option also compress wasm files (#3812)
- Bump version to trigger rebuild with set-cookie support (#3529)
- fix usage of
ORIGIN
environment variable (#3448)
- fix: rename
BASE
toORIGIN
and fix config handling (#3423)
- breaking: change app.render signature to (request: Request) => Promise (#3384)
- breaking: Remove protocol/host configuration options from Kit to adapter-node (#3384)
- Polyfill fetch before running any app code (#3400)
- Allow
__fetchPolyfill()
to run several times (#3377)
- chore: update dependency sirv to v2 (#3263)
- Don't cache non-hashed static assets in adapter-node (#3193)
- Only set cache-control: immutable when appropriate (#3196)
- fix: only add handlers for directories that exist (#3148)
- Overhaul adapter API (#2931)
- Update adapters to provide app.render with a url (#3133)
- Don't bundle final output (#2931)
- update to esbuild 0.13.15 and other dependency updates (#2957)
- breaking: drop Node 12 support (#2604)
- update dependencies (#2574)
- Don't crash when receiving malformed URLs (#2533)
- update to vite 2.6.0 and esbuild 0.13 (#2522)
- fix: regression where builds not using
entryPoint
stopped havingmiddlewares.js
external (#2484)
- fix: Correctly treat
middlewares.js
as external when usingentryPoint
option (#2482)
- update dependencies (#2447)
- chore: add links to repository and homepage to package.json (#2425)
- feat: add entryPoint option for custom servers (#2414)
- Clear output directory before adapting (#2388)
- chore: export package.json from adapters (#2351)
- feat: expose handler to allow use in custom server
- fix: provide default port only if path not provided (#2244)
- fix: bump polka and sirv again to address unicode handling bug
- fix: upgrade polka and sirv. fixes handling of URLs with unicode characters (#2191)
- fix: handle paths consistently between dev and various production adapters (#2171)
- [feat] allow node adapter to configure listen path (#2048)
- 94b34fa6: [breaking] standardize final output dir as /build (vs /.svelte-kit) (#2109)
- a12beb04: [fix] update broken file path (#2096)
- b3e7c8b3: [chore] update build output location (#2082)
- d81de603: revert adapters automatically updating .gitignore (#1924)
- e9f78999: fix: include esbuild config in adapter type definition (#1954)
- e6995797: feat(adapters): expose esbuild configuration (#1914)
- 2ac5781: Use esbuild inject API to insert shims (#1822)
- c639586: Check if '[out]/prerendered' exists, before precompressing (#1806)
- 9f0c54a: Externalize app initialization to adapters (#1804)
- aa5cf15: Fix regression caused by writing
env.js
to the wrong path (#1756)
- 1c8bdba: Allow the environment variables containing the host and port to serve on to be customised (#1754)
- 926481f: precompress assets and prerendered pages (html,js,json,css,svg,xml) (#1693)
- 318cdd7: Only cache files in config.kit.appDir (#1416)
- 9a7195b: Allow sirv to looks for precompiled gzip and brotli files by default (#1672)
- 53f3322: Fix build when using TypeScript and there is a
tsconfig.json
withtarget: 'es2019'
or earlier (#1675)
- 0b780a6: Bundle server-side app during adapt phase (#1648)
- edc307d: Remove peerDependencies due to pnpm bug (#1621)
- 2636e68: Attempt to fix peerDependencies specification (#1620)
- c3d36a3: ensure
content-length
limit respected; handlegetRawBody
error(s) (#1528) - bf77940: bump
polka
andsirv
dependency versions (#1548) - 028abd9: Pass validated svelte config to adapter adapt function (#1559)
- Updated dependencies [6372690]
- Updated dependencies [c3d36a3]
- Updated dependencies [bf77940]
- Updated dependencies [2172469]
- Updated dependencies [028abd9]
- @sveltejs/[email protected]
- dca4946: Make kit a peerDependency of the adapters (#1505)
- Updated dependencies [261ee1c]
- Updated dependencies [ec156c6]
- Updated dependencies [586785d]
- @sveltejs/[email protected]
- dad93fc: Fix workspace dependencies (#1434)
- 9b448a6: Rename @sveltejs/kit/http to @sveltejs/kit/node (#1391)
- 0e09581: Make host configurable via process.env.HOST (#1366)
- c6fde99: Convert to ESM (#1323)
- 2e72a94: Add type declarations (#1230)
- 1237eb3: Use getRawBody (#1109)
- 7a4b351: Use install-fetch helper (#1091)
- 8e61e84: Include missing entrypoint (#1071)
- 6e27880: Move server-side fetch to adapters instead of build step (#1066)
- feb2db7: Fix fatal error when trying to parse URLs of incoming requests (#802)
- ca33a35: Fix adapter-vercel query parsing and update adapter-node's (#774)
- 8024178: remove @sveltejs/app-utils (#600)
- 8805c6d: Pass adapters directly to svelte.config.cjs (#579)
- 9212aa5: Add options to adapter-node, and add adapter types (#531)
- f35a5cd: Change adapter signature (#505)
- c3cf3f3: Bump deps (#492)
- 222fe9d: Compress adapter-node responses (#367)
- Make adapter node work under esm
- ab2367d: Convert to ESM (#387)
- Fix adapters and convert to ES modules
- 13e8fa3: Make adapter-node work
- b3ac507: Add missing pkg.files
- Add svelte-kit start command
- Make paths and target configurable
- b475ed4: Overhaul adapter API - fixes #166 (#180)
- Updated dependencies [b475ed4]
- @sveltejs/[email protected]
- Updated dependencies [3bdf33b]
- @sveltejs/[email protected]
- 67eaeea: Move app-utils stuff into subpackages
- Updated dependencies [67eaeea]
- @sveltejs/[email protected]
- a163000: Parse body on incoming requests
- Updated dependencies [a163000]
- @sveltejs/[email protected]
- Use setup module
- Updated dependencies [undefined]
- Updated dependencies [undefined]
- Updated dependencies [undefined]
- @sveltejs/[email protected]
- Updated dependencies [undefined]
- Updated dependencies [96c06d8]
- @sveltejs/[email protected]
- 0320208: Rename 'server route' to 'endpoint'
- 026acd2: Accommodate missing build/prerendered directory
- 8b63057: Let sirv add must-revalidate
- Updated dependencies [0320208]
- Updated dependencies [5ca907c]
- @sveltejs/[email protected]
- Updated dependencies [undefined]
- @sveltejs/[email protected]
- 19323e9: Fix prerendering
- Updated dependencies [19323e9]
- @sveltejs/[email protected]
- Updated dependencies [90a98ae]
- @sveltejs/[email protected]
- Updated dependencies [undefined]
- @sveltejs/[email protected]
- various
- Updated dependencies [undefined]
- @sveltejs/[email protected]