Skip to content

Latest commit

 

History

History
704 lines (373 loc) · 22.7 KB

File metadata and controls

704 lines (373 loc) · 22.7 KB

@sveltejs/adapter-cloudflare-workers

2.5.6

Patch Changes

2.5.5

Patch Changes

2.5.4

Patch Changes

2.5.3

Patch Changes

2.5.2

Patch Changes

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

2.5.1

Patch Changes

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

2.5.0

Minor Changes

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

Patch Changes

2.4.1

Patch Changes

2.4.0

Minor Changes

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

Patch Changes

2.3.0

Minor Changes

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

2.2.1

Patch Changes

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

2.2.0

Minor Changes

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

Patch Changes

2.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

2.0.3

Patch Changes

  • chore: upgrade esbuild to 0.19.11 (#11632)

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

Major Changes

  • breaking: require SvelteKit 2 (#11316)

  • chore: upgrade esbuild (#11122)

Patch Changes

  • fix: declare the adapter plugin options as optional (#11246)

1.2.3

Patch Changes

1.2.2

Patch Changes

1.2.1

Patch Changes

  • fix: correctly check url pathnames for trailing slashes (#10968)

1.2.0

Minor Changes

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

1.1.4

Patch Changes

1.1.3

Patch Changes

1.1.2

Patch Changes

1.1.1

Patch Changes

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

1.1.0

Minor Changes

  • feat: use es2022 target (#9293)

Patch Changes

1.0.6

Patch Changes

  • feat: expose App.Platform interface automatically (#8531)

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

  • fix: amend App.Platform (#8531)

1.0.5

Patch Changes

  • fix: publish missing files (#8532)

1.0.4

Patch Changes

1.0.3

Patch Changes

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

1.0.2

Patch Changes

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.65

Patch Changes

1.0.0-next.64

Patch Changes

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

1.0.0-next.63

Patch Changes

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

1.0.0-next.62

Patch Changes

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

1.0.0-next.61

Patch Changes

  • update esbuild to ^0.16.3 (#7543)

1.0.0-next.60

Patch Changes

  • update dependencies (#7355)

1.0.0-next.59

Patch Changes

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

1.0.0-next.58

Patch Changes

  • Add config option to set custom wrangler.toml file name (#7104)

1.0.0-next.57

Patch Changes

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

1.0.0-next.56

Patch Changes

  • chore: bump esbuild (#6829)

1.0.0-next.55

Patch Changes

  • Update to esbuild 0.15 (#6740)

1.0.0-next.54

Patch Changes

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

1.0.0-next.53

Patch Changes

  • expose caches on platform (#5887)

1.0.0-next.52

Patch Changes

1.0.0-next.51

Patch Changes

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

1.0.0-next.50

Patch Changes

  • Update dependencies (#5005)

1.0.0-next.49

Patch Changes

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

1.0.0-next.48

Patch Changes

  • Expose App interfaces (#5386)

1.0.0-next.47

Patch Changes

  • chore: upgrade TypeScript to 4.7.4 (#5414)

1.0.0-next.46

Patch Changes

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

1.0.0-next.45

Patch Changes

  • Simplify example wrangler.toml, and fix outdated README (#5187)

1.0.0-next.44

Patch Changes

  • Update dependencies (#5121)

1.0.0-next.43

Patch Changes

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

1.0.0-next.42

Patch Changes

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

1.0.0-next.41

Patch Changes

  • Add types to pkg.exports (#5045)

1.0.0-next.40

Patch Changes

  • breaking: support Wrangler 2, drop Wrangler 1 (#4887)

1.0.0-next.39

Patch Changes

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

1.0.0-next.38

Patch Changes

    • Fix an issue related to prerendered pages incorrectly resolving in @sveltejs/adapter-cloudflare-workers (#4626)

1.0.0-next.37

Patch Changes

  • Breaking: refactor implementation from "Service Worker" pattern to "Module Worker" used in adapter-cloudflare (#4276)

    add the following to your wrangler.toml

    		[build.upload]
    		format = "modules"
    		main = "./worker.mjs"

1.0.0-next.36

Patch Changes

  • Provide getClientAddress function (#4289)

1.0.0-next.35

Patch Changes

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

1.0.0-next.34

Patch Changes

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

1.0.0-next.33

Patch Changes

  • revert change to Cloudflare ES target version (#3847)

1.0.0-next.32

Patch Changes

  • Fix Cloudflare adapter targets (#3827)

1.0.0-next.31

Patch Changes

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

1.0.0-next.30

Patch Changes

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

1.0.0-next.29

Patch Changes

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

1.0.0-next.28

Patch Changes

  • use path/posix to resolve relative paths for esmodules (#3212)

1.0.0-next.27

Patch Changes

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

1.0.0-next.26

Patch Changes

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

1.0.0-next.25

Patch Changes

  • chore: upgrade @cloudflare/kv-asset-handler (#2650)

1.0.0-next.24

Patch Changes

  • update dependencies (#2574)

1.0.0-next.23

Patch Changes

  • update to vite 2.6.0 and esbuild 0.13 (#2522)

1.0.0-next.22

Patch Changes

  • chore: add links to repository and homepage to package.json (#2425)

1.0.0-next.21

Patch Changes

  • chore: export package.json from adapters (#2351)

1.0.0-next.20

Patch Changes

  • Support assigning multiple values to a header (#2313)

1.0.0-next.19

Patch Changes

  • Ensure the raw body is an Uint8Array before passing it to request handlers (#2215)

1.0.0-next.18

Patch Changes

  • d81de603: revert adapters automatically updating .gitignore (#1924)

1.0.0-next.17

Patch Changes

  • e9f78999: fix: include esbuild config in adapter type definition (#1954)

1.0.0-next.16

Patch Changes

  • e6995797: feat(adapters): expose esbuild configuration (#1914)

1.0.0-next.15

Patch Changes

  • 4720b67: Default body parsing to binary (#1890)

1.0.0-next.14

Patch Changes

  • 7faf52f: Update and consolidate checks for binary body types (#1687)

1.0.0-next.13

Patch Changes

  • 9f0c54a: Externalize app initialization to adapters (#1804)

1.0.0-next.12

Patch Changes

  • c51ab7d: Upgrade esbuild to ^0.12.5 (#1627)

1.0.0-next.11

Patch Changes

  • edc307d: Remove peerDependencies due to pnpm bug (#1621)
  • 2636e68: Attempt to fix peerDependencies specification (#1620)

1.0.0-next.10

Patch Changes

  • 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]

1.0.0-next.9

Patch Changes

  • 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]

1.0.0-next.8

Patch Changes

  • dad93fc: Fix workspace dependencies (#1434)

1.0.0-next.7

Patch Changes

  • 11e7840: Ensure rawBody is a string or Uint8Array (#1382)

0.0.2-next.6

Patch Changes

  • c6fde99: Convert to ESM (#1323)

0.0.2-next.5

Patch Changes

  • 9e67505: Add es2020 target to esbuild function to solve Unexpected character '#' error (#1287)

0.0.2-next.4

Patch Changes

  • 2e72a94: Add type declarations (#1230)

0.0.2-next.3

Patch Changes

  • b372d61: Generate required package.json (#1116)

0.0.2-next.2

Patch Changes

  • 1237eb3: Pass rawBody to SvelteKit, bundle worker with esbuild (#1109)

0.0.2-next.1

Patch Changes

  • 4325b39: Aligns request/response API of cloudflare-workers adapter with others (#946)

0.0.2-next.0

Patch Changes

  • e890031: Fix dev/prod deps (oops) (#749)