-
chore(deps): update dependency @rollup/plugin-node-resolve to v16 (#13164)
-
Updated dependencies [
19823dd716568140011eaa86110bb8868f0e2513
,5d30191d13a596bda50e27e54522c10f3f6461e3
]:- @sveltejs/[email protected]
-
chore: append http on listening address (#13146)
-
Updated dependencies [
11a9f66922199ee5925cc71c0efc513376753754
,3d9e03a8a55a539b02c76d44df4874e4642bbd17
]:- @sveltejs/[email protected]
-
docs: update URLs for new svelte.dev site (#12857)
-
Updated dependencies [
dcbe4222a194c5f90cfc0fc020cf065f7a4e4c46
,4cdbf76fbbf0c0ce7f574ef69c8daddcf954d39d
,3a9b78f04786898ca93f6d4b75ab18d26bc45192
,723eb8b31e6a22c82f730c30e485386c8676b746
,8ec471c875345b751344e67580ff1b772ef2735b
]:- @sveltejs/[email protected]
- chore: upgrade @rollup/plugin-commonjs to 28.0.1 (#12817)
-
chore: upgrade to sirv 3.0 (#12796)
-
Updated dependencies [
dbc9c9486f962af7dbd9123d12d8a6829700d00f
,96642d234d1f5e961e919da725a1f6188e8aba2c
]:- @sveltejs/[email protected]
- fix: use
node:
imports to support Deno (#12785)
-
chore: upgrade rollup plugins (#12706)
-
Updated dependencies [
a233f53f28fcb4c3ea63d2faf156fba09a18456c
,5b40b04608023a3fcb6c601a5f2d36485ce07196
]:- @sveltejs/[email protected]
- chore: upgrade polka to 1.0.0-next.28 (#12693)
-
fix: import
node:process
instead of using globals (#12641) -
Updated dependencies [
e798ef718f163bed4f93e1918bd8294f765376ad
]:- @sveltejs/[email protected]
-
chore: configure provenance in a simpler manner (#12570)
-
Updated dependencies [
087a43d391fc38b8c008fb39a804dc6988974101
]:- @sveltejs/[email protected]
-
chore: package provenance (#12567)
-
Updated dependencies [
4930a8443caa53bcecee7b690cd28e429b1c8a20
]:- @sveltejs/[email protected]
- feat: add unit suffixes to the
BODY_SIZE_LIMIT
environment variable (#11680)
- Updated dependencies [
121836fcbf6c615fd18c79a12203613ddbe49acf
]:- @sveltejs/[email protected]
-
fix: do not create more than one shutdown timeout (#12359)
-
Updated dependencies [
835ebf6ce9979203992cca30f434b3785afae818
]:- @sveltejs/[email protected]
- feat: add shutdown event (#12153)
- fix: close keep-alive connections as soon as possible during graceful shutdown rather than accepting new requests (#12153)
-
chore: update to @rollup/plugin-commonjs@26 (#12326)
-
chore(deps): update dependency @rollup/plugin-commonjs to v26 (
9aa59db67080248eb22fd227e7a491102b011c47
) -
chore: add keywords for discovery in npm search (#12330)
-
Updated dependencies [
25acb1d9fce998dccd8050b93cf4142c2b082611
,642c4a4aff4351b786fe6274aa2f0bf7d905faf9
,0a0e9aa897123ebec50af08e9385b2ca4fc5bb28
]:- @sveltejs/[email protected]
- fix: regression preventing built application from starting (#11960)
-
breaking: add graceful shutdown (#11653)
-
breaking: change default value of
precompress
option to true to serve precompressed assets by default (#11945)
- feat: add systemd socket activation (#11653)
- Updated dependencies [
873a09eac86817d1cbb53bf3f9c8842d7346d20d
,30c78f223a4f9e6c4547d087338a8b8cc477ba55
]:- @sveltejs/[email protected]
-
fix: return 400 response if request construction fails (#11713)
-
Updated dependencies [
f56781fa47a0f958b228e4a51bb3cbf173854f12
]:- @sveltejs/[email protected]
- breaking: update peer dependency on
@sveltejs/kit
(#11649)
- feat: support
read
from$app/server
(#11649)
- Updated dependencies [
288f731c8a5b20cadb9e219f9583f3f16bf8c7b8
]:- @sveltejs/[email protected]
- fix: return 400 response if request construction fails
- fix: return 400 response if request construction fails
- chore: upgrade rollup to 4.9.5 (#11632)
- breaking: allow any numeric value for
BODY_SIZE_LIMIT
, and interpret literally. UseInfinity
rather than0
for unrestricted body sizes (#11589)
- fix: return 400 response if request construction fails
- fix: correctly handle BODY_SIZE_LIMIT=0 (#11574)
- feat: add
PORT_HEADER
env var for reverse proxies with non-standard ports (#11249)
- Updated dependencies [
9556abae4ba28c02ba468735beb9eb868876a9a1
,8468af597c6240f7a3687ef1ed3873990b944f8c
]:- @sveltejs/[email protected]
-
fix: upgrade
sirv
andmrmime
to modernize javascript mime type (#11419) -
Updated dependencies [
b999cfdea24e72043505e032ed9d621590896263
,2a091dcbbdf7d2a70a38316638e16761bd1b9b59
]:- @sveltejs/[email protected]
-
chore: update primary branch from master to main (
47779436c5f6c4d50011d0ef8b2709a07c0fec5d
) -
Updated dependencies [
47779436c5f6c4d50011d0ef8b2709a07c0fec5d
,16961e8cd3fa6a7f382153b1ff056bc2aae9b31b
,197e01f95652f511160f38b37b9da73a124ecd48
,102e4a5ae5b29624302163faf5a20c94a64a5b2c
,f8e3d8b9728c9f1ab63389342c31d7246b6f9db6
]:- @sveltejs/[email protected]
-
breaking: require SvelteKit 2 peer dependency (#11289)
-
breaking: remove polyfill option. fetch APIs will now always come from the platform being used. File and crypto APIs will be polyfilled if not available (#11172)
-
chore: upgrade rollup (#11122)
-
fix: build output stuck on top level await (#10314)
-
Updated dependencies [
c1ad5b2f8
,67a0d869b
,4d7f38fa1
,42c9b935e
,42c9b935e
]:- @sveltejs/[email protected]
-
chore: remove build step for adapter node (#10041)
-
feat: load sourcemaps so that they can be merged to point to original sourcefiles (#10041)
- fix: do not crash server if specified
ADDRESS_HEADER
is missing from a request (#10285)
- chore: update all dependencies with minor version bumps (#9761)
-
fix: only send cache header when static resource is 200 (#9394)
-
Updated dependencies [
385bd49e
,29ffc785
,d257d37d
,c45c35e7
,75e2c6f7
,1c085780
]:- @sveltejs/[email protected]
-
fix: add
BODY_SIZE_LIMIT
to the list of recognized env variables (#9326) -
Updated dependencies [
b575287d
,8114c658
,620f5605
,6a91e887
,1c32723a
,0f863bbc
,78b4a1bb
,66b2f4ef
,5dada256
,a71b5e69
,daad7e48
,18d330b1
,18d7e81a
]:- @sveltejs/[email protected]
-
fix: use
node
export condition when bundling (#9276) -
Updated dependencies [
1e2c8269
]:- @sveltejs/[email protected]
- 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]