- fix: correctly return static assets if base path is set (#12075)
- fix: copy
.eot
,.otf
,.ttf
,.woff
, andwoff2
font files when bundling (#12439)
- chore(deps): upgrade to esbuild 0.21 (#12415)
- Updated dependencies [
84298477a014ec471839adf7a4448d91bc7949e4
,5645614f497931f587b7cb8b3c885fce892a6a72
,84298477a014ec471839adf7a4448d91bc7949e4
]:- @sveltejs/[email protected]
-
chore: add keywords for discovery in npm search (#12330)
-
Updated dependencies [
25acb1d9fce998dccd8050b93cf4142c2b082611
,642c4a4aff4351b786fe6274aa2f0bf7d905faf9
,0a0e9aa897123ebec50af08e9385b2ca4fc5bb28
]:- @sveltejs/[email protected]
- chore(deps): upgrade esbuild (#12118)
- Updated dependencies [
bbab296f6fcc05af6b999182798bcdedabbaa4c9
]:- @sveltejs/[email protected]
- feat: support platform emulation configuration via the
platformProxy
adapter option (#12011)
- fix: add
workerd
to esbuild conditions (#12069)
- feat: emulate Cloudflare Workers bindings and incoming request properties in
event.platform
fordev
andpreview
(#11974)
- Updated dependencies [
4562275ed42964148df03c79434172024897c08c
]:- @sveltejs/[email protected]
-
feat: more helpful errors when using incompatible Node modules (#11673)
-
feat: support compatible node modules without prefixes (#11672)
-
feat: Add Node.js compatibility (#10544)
- Updated dependencies [
288f731c8a5b20cadb9e219f9583f3f16bf8c7b8
]:- @sveltejs/[email protected]
- chore: upgrade esbuild to 0.19.11 (#11632)
-
fix: serve static files in
_app
from function, if not already handled (#11593) -
Updated dependencies [
553e14c8320ad9c6ebb3c554c35f1482755c9555
,48576de0dc8b1fbbab7954113004540ea4e76935
]:- @sveltejs/[email protected]
-
chore: update primary branch from master to main (
47779436c5f6c4d50011d0ef8b2709a07c0fec5d
) -
Updated dependencies [
47779436c5f6c4d50011d0ef8b2709a07c0fec5d
,16961e8cd3fa6a7f382153b1ff056bc2aae9b31b
,197e01f95652f511160f38b37b9da73a124ecd48
,102e4a5ae5b29624302163faf5a20c94a64a5b2c
,f8e3d8b9728c9f1ab63389342c31d7246b6f9db6
]:- @sveltejs/[email protected]
- fix: declare the adapter plugin options as optional (#11246)
-
fix: correctly map prerendered pages when base path is set (#11245)
-
Updated dependencies [
bd383f576
,b6a0be712
,ded16305b
,15422d21d
]:- @sveltejs/[email protected]
-
fix: retain URL query string for trailing slash redirects to prerendered pages (#11142)
-
Updated dependencies [
a7f8bdcfa
,a4d91304e
]:- @sveltejs/[email protected]
- fix: correctly check url pathnames for trailing slashes (#10968)
- feat: add cloudflare's
request.cf
object to theevent.platform
property (#10873)
-
fix: mark
cloudflare:
packages as external (#10404) -
Updated dependencies [
0f0049810
,6f36aefe1
]:- @sveltejs/[email protected]
-
chore: upgrade to esbuild 0.18.11 (#10330)
-
Updated dependencies [
23d1df702
,486a971fe
]:- @sveltejs/[email protected]
-
fix: Copy .wasm files during build (#9940)
-
Updated dependencies [
50acb22ca
,2e6da9496
,a81106b3a
,a6338a0b1
,4a85b7f08
,26d2b7f8f
,bc70b4e63
,ab9f57721
]:- @sveltejs/[email protected]
- chore: update all dependencies with minor version bumps (#9761)
- feat: use
es2022
target (#9293)
- Updated dependencies [
2b647fd8
,fbe4fe76
,744dc81c
]:- @sveltejs/[email protected]
-
feat: expose
App.Platform
interface automatically (#8531) -
docs: move adapter docs to site (#8531)
-
fix: amend
App.Platform
(#8531)
- fix: publish missing files (#8532)
-
chore: remove superfluous main field from package.json (#8519)
-
Updated dependencies [
7e2d3405
]:- @sveltejs/[email protected]
- fix: don't load ambient worker types (#8483)
-
docs: add note about inability to access file system at runtime (#8441)
-
Updated dependencies [
9c01c32e
,b6ca02a6
,130abe43
,c4137536
,40464efa
,ce028470
]:- @sveltejs/[email protected]
- chore: update @cloudflare/kv-asset-handler (
30e1130e
) - 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)
- fix: revert platform change from browser to neutral (#8122)
- fix: set esbuild platform to neutral (#8083)
- update esbuild to ^0.16.3 (#7543)
- update dependencies (#7355)
- Use config.kit.paths.base prefix for static assets (#4448)
- Add config option to set custom
wrangler.toml
file name (#7104)
- Include ambient.d.ts files in adapter packages. (#6917)
- chore: bump esbuild (#6829)
- Update to esbuild 0.15 (#6740)
- feat: Moved hooks.js initialization from Server.respond into Server.init (#6179)
- expose caches on platform (#5887)
- Initialise
env
(#5663)
- breaking: remove writeStatic to align with Vite (#5618)
- Update dependencies (#5005)
- breaking: Don't pass arbitrary options to esbuild (#4639)
- Expose App interfaces (#5386)
- chore: upgrade TypeScript to 4.7.4 (#5414)
- Generate sourcemaps for server-side functions when bundling with esbuild (#5258)
- Simplify example wrangler.toml, and fix outdated README (#5187)
- 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: support Wrangler 2, drop Wrangler 1 (#4887)
- breaking: Remove try-catch around server.respond (#4738)
-
- Fix an issue related to prerendered pages incorrectly resolving in @sveltejs/adapter-cloudflare-workers (#4626)
-
Breaking: refactor implementation from "Service Worker" pattern to "Module Worker" used in adapter-cloudflare (#4276)
[build.upload] format = "modules" main = "./worker.mjs"
- Provide getClientAddress function (#4289)
- breaking: replace builder.prerender() with builder.writePrerendered() and builder.prerendered (#4192) (#4229)
- breaking: rename
app.render
toserver.respond
(#4034)
- revert change to Cloudflare ES target version (#3847)
- Fix Cloudflare adapter targets (#3827)
- update to Vite 2.8 and esbuild 0.14 (#3791)
- Breaking: change app.render signature to (request: Request) => Promise (#3384)
- Add immutable cache headers to generated assets (#3222)
- use path/posix to resolve relative paths for esmodules (#3212)
- Overhaul adapter API (#2931)
- Remove esbuild options (#2931)
- Update adapters to provide app.render with a url (#3133)
- update to esbuild 0.13.15 and other dependency updates (#2957)
- chore: upgrade
@cloudflare/kv-asset-handler
(#2650)
- update dependencies (#2574)
- update to vite 2.6.0 and esbuild 0.13 (#2522)
- chore: add links to repository and homepage to package.json (#2425)
- chore: export package.json from adapters (#2351)
- Support assigning multiple values to a header (#2313)
- Ensure the raw body is an Uint8Array before passing it to request handlers (#2215)
- d81de603: revert adapters automatically updating .gitignore (#1924)
- e9f78999: fix: include esbuild config in adapter type definition (#1954)
- e6995797: feat(adapters): expose esbuild configuration (#1914)
- 4720b67: Default body parsing to binary (#1890)
- 7faf52f: Update and consolidate checks for binary body types (#1687)
- 9f0c54a: Externalize app initialization to adapters (#1804)
- c51ab7d: Upgrade esbuild to ^0.12.5 (#1627)
- edc307d: Remove peerDependencies due to pnpm bug (#1621)
- 2636e68: Attempt to fix peerDependencies specification (#1620)
- 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]
- 71e293d: change toml parser to support dotted keys and other language features added after the TOML v0.4.0 spec (#1509)
- 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)
- 11e7840: Ensure rawBody is a string or Uint8Array (#1382)
- c6fde99: Convert to ESM (#1323)
- 9e67505: Add es2020 target to esbuild function to solve Unexpected character '#' error (#1287)
- 2e72a94: Add type declarations (#1230)
- b372d61: Generate required package.json (#1116)
- 1237eb3: Pass rawBody to SvelteKit, bundle worker with esbuild (#1109)
- 4325b39: Aligns request/response API of cloudflare-workers adapter with others (#946)
- e890031: Fix dev/prod deps (oops) (#749)