Skip to content

Latest commit

 

History

History
910 lines (474 loc) · 34.8 KB

File metadata and controls

910 lines (474 loc) · 34.8 KB

@sveltejs/adapter-cloudflare

7.2.8

Patch Changes

7.2.7

Patch Changes

7.2.6

Patch Changes

  • fix: ensure manifest paths are relative when building worker (#15163)

  • Updated dependencies [46c1ebd, 2dd74c8, 8871b54]:

    • @sveltejs/kit@2.50.1

7.2.5

Patch Changes

  • fix: await init on every request to prevent race condition (#15161)

  • Updated dependencies [81cd545, d9ae9b0, 8ed8155]:

    • @sveltejs/kit@2.49.5

7.2.4

Patch Changes

  • chore: update "homepage" field in package.json (#14579)

7.2.3

Patch Changes

  • fix: improve the error message when read(...) fails (#14306)

7.2.2

Patch Changes

7.2.1

Patch Changes

  • fix: avoid erroring on builder properties that only exist on the latest version of SvelteKit (#14233)

  • Updated dependencies [f2db41c]:

    • @sveltejs/kit@2.31.1

7.2.0

Minor Changes

  • feat: add instrumentation.server.ts for tracing and observability setup (#13899)

Patch Changes

7.1.3

Patch Changes

  • chore: add .git to the end of package.json repository url (#14134)

  • Updated dependencies [c968aef]:

    • @sveltejs/kit@2.27.3

7.1.2

Patch Changes

  • fix: resolve the absolute path of the Wrangler config setting assets.directory in case the config file is in a different directory than the root project (#14036)

  • Updated dependencies [793ae28]:

    • @sveltejs/kit@2.27.0

7.1.1

Patch Changes

  • fix: support assets-only workers in wrangler validation (#14019)

  • Updated dependencies [fda0165]:

    • @sveltejs/kit@2.25.2

7.1.0

Minor Changes

  • feat: add support for read imported from $app/server (#13859)

Patch Changes

  • fix: include missing utils file (#14009)

  • fix: correctly warn users when assets key is missing (#13844)

  • Updated dependencies [e5ce8bb, cf88369]:

    • @sveltejs/kit@2.25.0

7.0.5

Patch Changes

  • fix: deprecate platform.context in favor of platform.ctx to align with Cloudflare's naming convention (#13856)

  • Updated dependencies [bcdaf21]:

    • @sveltejs/kit@2.22.3

7.0.4

Patch Changes

7.0.3

Patch Changes

  • chore(deps): upgrade @cloudflare/workers-types to 4.20250507.0 (#13773)

7.0.2

Patch Changes

7.0.1

Patch Changes

  • fix: correctly write the worker to the pages_build_output_dir path if set in the Wrangler configuration path (#13671)

  • fix: correctly resolve paths provided by the Wrangler config on Windows (#13671)

  • Updated dependencies [7fd7bcb7142e7d0d2dd64174fa1a94d56a45d643]:

    • @sveltejs/kit@2.20.4

7.0.0

Major Changes

  • feat: support specifically building for Cloudflare Workers Static Assets (#13634)

Patch Changes

6.0.1

Patch Changes

  • fix: revert writing server files to the cloudflare build directory (#13622)

6.0.0

Major Changes

  • fix: copy the _headers and _redirects files from the project root instead of the /static directory (#13227)

Patch Changes

  • fix: write server files to the cloudflare build directory (#13610)

5.1.0

Minor Changes

  • feat: support wrangler 4 (#13580)

Patch Changes

5.0.3

Patch Changes

5.0.2

Patch Changes

5.0.1

Patch Changes

5.0.0

Major Changes

  • feat: remove esbuild step (#13132)

Patch Changes

4.9.0

Minor Changes

  • feat: generate .assetsignore file for use with Cloudflare Workers Static Assets (#13109)

Patch Changes

4.8.0

Minor Changes

  • chore: upgrade esbuild to 0.24.0 (#12270)

Patch Changes

4.7.4

Patch Changes

4.7.3

Patch Changes

4.7.2

Patch Changes

4.7.1

Patch Changes

4.7.0

Minor Changes

  • feat: generate static _redirects for Cloudflare Pages (#12199)

Patch Changes

  • fix: correctly return static assets if base path is set (#12075)

4.6.1

Patch Changes

  • fix: copy .eot, .otf, .ttf, .woff, and woff2 font files when bundling (#12439)

4.6.0

Minor Changes

  • chore(deps): upgrade to esbuild 0.21 (#12415)

Patch Changes

4.5.0

Minor Changes

  • feat: validate that no _routes.json is present to avoid overwriting it (#12360)

Patch Changes

4.4.1

Patch Changes

4.4.0

Minor Changes

  • chore(deps): upgrade esbuild (#12118)

Patch Changes

4.3.0

Minor Changes

  • feat: support platform emulation configuration via the platformProxy adapter option (#12011)

4.2.1

Patch Changes

  • fix: add workerd to esbuild conditions (#12069)

4.2.0

Minor Changes

  • feat: emulate Cloudflare Workers bindings and incoming request properties in event.platform for dev and preview (#11974)

Patch Changes

4.1.0

Minor Changes

  • feat: more helpful errors when using incompatible Node modules (#11673)

  • feat: support compatible node modules without prefixes (#11672)

  • feat: Add Node.js compatibility (#10544)

Patch Changes

4.0.2

Patch Changes

  • chore(deps): update dependency worktop to v0.8.0-next.18 (#11618)

4.0.1

Patch Changes

  • chore: upgrade esbuild to 0.19.11 (#11632)

4.0.0

Major Changes

  • breaking: generate plaintext 404.html instead of SPA-style fallback page (#11596)

Patch Changes

3.0.2

Patch Changes

3.0.1

Patch Changes

3.0.0

Major Changes

  • breaking: require SvelteKit 2 (#11316)

  • chore: upgrade esbuild (#11122)

2.3.4

Patch Changes

  • fix: retain URL query string for trailing slash redirects to prerendered pages (#11142)

  • Updated dependencies [a7f8bdcfa, a4d91304e]:

    • @sveltejs/kit@1.27.7

2.3.3

Patch Changes

2.3.2

Patch Changes

2.3.1

Patch Changes

2.3.0

Minor Changes

  • feat: add cloudflare's request.cf object to the event.platform property (#9978)

Patch Changes

2.2.4

Patch Changes

  • fix: require explicit cache-control header for caching (#9885)

2.2.3

Patch Changes

2.2.2

Patch Changes

  • fix: respect response status code for caching in adapter-cloudflare (#9820)

2.2.1

Patch Changes

  • chore: update all dependencies with minor version bumps (#9761)

2.2.0

Minor Changes

  • feat: generate 404.html (#9294)

  • feat: use es2022 target (#9293)

Patch Changes

2.1.0

Minor Changes

  • feat: allow custom include and exclude rules in _routes.json (#9111)

2.0.2

Patch Changes

  • fix: exclude _headers and _redirects files from Cloudflare Pages static request list (#9042)

  • fix: remove redundant cloudflare worker static asset serving (#9040)

  • Updated dependencies [19c0e62a]:

    • @sveltejs/kit@1.5.7

2.0.1

Patch Changes

  • fix: correctly check URL pathname with Cloudflare adapter (#8733)

  • Updated dependencies [eba8fb09, c14f3aeb]:

    • @sveltejs/kit@1.3.6

2.0.0

Major Changes

  • breaking: append _headers instead of overwriting (#8693)

1.1.0

Minor Changes

  • feat: include as many static assets as possible in exclude list (#8422)

Patch Changes

1.0.4

Patch Changes

  • docs: move adapter docs to site (#8531)

1.0.3

Patch Changes

  • chore: remove superfluous main field from package.json (#8519)

  • Updated dependencies [7e2d3405]:

    • @sveltejs/kit@1.1.1

1.0.2

Patch Changes

  • fix: don't load ambient worker types (#8483)

1.0.1

Patch Changes

1.0.0

Major Changes

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

1.0.0-next.45

Patch Changes

  • breaking: remove warnings/errors about removed/changed APIs (#8019)
  • Updated dependencies [f42604a2]:
    • @sveltejs/kit@1.0.0-next.589

1.0.0-next.44

Patch Changes

  • chore: add peerDependencies, add more specific next version (#8141)

1.0.0-next.43

Patch Changes

  • fix: revert platform change from browser to neutral (#8122)

1.0.0-next.42

Patch Changes

  • fix: set esbuild platform to neutral (#8083)

1.0.0-next.41

Patch Changes

  • update esbuild to ^0.16.3 (#7543)

1.0.0-next.40

Patch Changes

  • update dependencies (#7355)

1.0.0-next.39

Patch Changes

  • Use config.kit.paths.base prefix for static assets (#4448)

1.0.0-next.38

Patch Changes

  • Ensure all excluded paths in _routes.json start with / (#6952)

1.0.0-next.37

Patch Changes

  • Support Cloudflare Pages _routes.json specification (#6530)

1.0.0-next.36

Patch Changes

  • Include ambient.d.ts files in adapter packages. (#6917)

1.0.0-next.35

Patch Changes

  • fix: return 404 instead of 200 for missing assets (#6879)

1.0.0-next.34

Patch Changes

  • chore: bump esbuild (#6829)

1.0.0-next.33

Patch Changes

  • Update to esbuild 0.15 (#6740)

1.0.0-next.32

Patch Changes

  • feat: Moved hooks.js initialization from Server.respond into Server.init (#6179)

1.0.0-next.31

Patch Changes

1.0.0-next.30

Patch Changes

  • breaking: remove writeStatic to align with Vite (#5618)

1.0.0-next.29

Patch Changes

  • Update dependencies (#5005)

1.0.0-next.28

Patch Changes

  • breaking: Don't pass arbitrary options to esbuild (#4639)

1.0.0-next.27

Patch Changes

  • Expose App interfaces (#5386)

1.0.0-next.26

Patch Changes

  • chore: upgrade TypeScript to 4.7.4 (#5414)

1.0.0-next.25

Patch Changes

  • Expose Cloudflare Worker Cache API through caches in Platform (#5081)

1.0.0-next.24

Patch Changes

  • Generate sourcemaps for server-side functions when bundling with esbuild (#5258)

1.0.0-next.23

Patch Changes

  • Update dependencies (#5121)

1.0.0-next.22

Patch Changes

  • Update adapter entrypoint typings to be NodeNext/ESNext-compatible (#5111)

1.0.0-next.21

Patch Changes

  • only serve _app/immutable with immutable cache header, not _app/version.json (#5051)

1.0.0-next.20

Patch Changes

  • Add types to pkg.exports (#5045)

1.0.0-next.19

Patch Changes

  • breaking: Remove try-catch around server.respond (#4738)

1.0.0-next.18

Patch Changes

  • chore: more restrictive cache lookup & save conditions (#4669)

1.0.0-next.17

Patch Changes

  • Check for Cache match sooner; use worktop for types & Cache operations (#4453)
  • Add cloudflare cache to store responses with a cache header. (#4412)

1.0.0-next.16

Patch Changes

  • Provide getClientAddress function (#4289)

1.0.0-next.15

Patch Changes

  • breaking: replace builder.prerender() with builder.writePrerendered() and builder.prerendered (#4192) (#4229)

1.0.0-next.14

Patch Changes

  • Bumping versions again (#4090)

1.0.0-next.13

Patch Changes

  • Attempt to force @next version bump (#4088)

1.0.0-next.12

Patch Changes

  • breaking: rename app.render to server.respond (#4034)

1.0.0-next.11

Patch Changes

  • Add context to event.platform object (#3868)

1.0.0-next.10

Patch Changes

  • update to Vite 2.8 and esbuild 0.14 (#3791)

1.0.0-next.9

Patch Changes

  • Pass env object to SvelteKit via platform (#3429)

1.0.0-next.8

Patch Changes

  • Breaking: change app.render signature to (request: Request) => Promise (#3384)

1.0.0-next.7

Patch Changes

  • Add immutable cache headers to generated assets (#3222)

1.0.0-next.6

Patch Changes

  • use posix to resolve relative path (#3214)

1.0.0-next.5

Patch Changes

  • Overhaul adapter API (#2931)
  • Remove esbuild options (#2931)
  • Update adapters to provide app.render with a url (#3133)

1.0.0-next.4

Patch Changes

  • Updated Cloudflare adapter to allow static files with spaces (eg. "Example File.pdf") to be accessed. (#3047)

1.0.0-next.3

Patch Changes

  • update to esbuild 0.13.15 and other dependency updates (#2957)

1.0.0-next.2

Patch Changes

  • Allow npm publish to succeed via publishConfig.access config (#2834)

1.0.0-next.1

Patch Changes

  • Add new adapter-cloudflare package for Cloudflare Pages with Workers integration (#2815)

1.0.0-next.0

  • Initial release