Skip to content

Latest commit

 

History

History
545 lines (285 loc) · 17.9 KB

CHANGELOG.md

File metadata and controls

545 lines (285 loc) · 17.9 KB

@sveltejs/adapter-cloudflare

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