Skip to content

Latest commit

 

History

History
1040 lines (553 loc) · 33.4 KB

CHANGELOG.md

File metadata and controls

1040 lines (553 loc) · 33.4 KB

@sveltejs/adapter-vercel

5.5.2

Patch Changes

5.5.1

Patch Changes

5.5.0

Minor Changes

  • chore: upgrade esbuild to 0.24.0 (#12270)

Patch Changes

5.4.8

Patch Changes

5.4.7

Patch Changes

5.4.6

Patch Changes

5.4.5

Patch Changes

5.4.4

Patch Changes

5.4.3

Patch Changes

5.4.2

Patch Changes

5.4.1

Patch Changes

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

5.4.0

Minor Changes

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

Patch Changes

5.3.2

Patch Changes

5.3.1

Patch Changes

  • chore(deps): upgrade to @vercel/nft version 0.27.1 (#12274)

5.3.0

Minor Changes

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

Patch Changes

5.2.0

Minor Changes

  • feat: add framework metadata in Vercel build output files (#11800)

  • feat: implement version skew protection (#11987)

5.1.1

Patch Changes

  • fix: handle optional and rest routes for incremental static regeneration (ISR) correctly (#11928)

5.1.0

Minor Changes

  • feat: allow compatible subset of Node.js built-in modules when targeting edge functions (#11675)

Patch Changes

5.0.0

Major Changes

  • breaking: update peer dependency on @sveltejs/kit (#11649)

Minor Changes

  • feat: support read from $app/server (#11649)

Patch Changes

4.0.5

Patch Changes

  • chore: upgrade esbuild to 0.19.11 (#11632)

4.0.4

Patch Changes

  • fix: update @vercel/nft to 0.26.1 (#11508)

4.0.3

Patch Changes

4.0.2

Patch Changes

  • fix: remove broken node 16 support (#11328)

4.0.1

Patch Changes

  • chore(deps): update @vercel/nft (#11281)

4.0.0

Major Changes

  • breaking: require SvelteKit 2 peer dependency (#11289)

  • chore: upgrade esbuild (#11122)

Minor Changes

  • feat: expose vercel image optimization config in adapter config (#8667)

3.1.0

Minor Changes

  • feat: add support for nodejs20.x (#11067)

3.0.3

Patch Changes

  • chore: upgrade to @vercel/nft version 0.23.0 (#10445)

  • Updated dependencies [0f0049810, 6f36aefe1]:

    • @sveltejs/kit@1.22.4

3.0.2

Patch Changes

3.0.1

Patch Changes

  • fix: stop incorrectly warning users that crons don't match paths (#10074)

  • Updated dependencies [d4de2049c]:

    • @sveltejs/kit@1.20.1

3.0.0

Major Changes

  • breaking: remove obsolete envVarsInUse option (#9942)

Patch Changes

2.4.3

Patch Changes

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

2.4.2

Patch Changes

2.4.1

Patch Changes

  • fix: create separate functions for ISR routes (#9504)

2.4.0

Minor Changes

  • feat: warn when prerender setting makes isr config useless (#9436)

Patch Changes

  • fix: don't show cron warning when everything's valid (#9436)

  • fix: allow to set isr to false to clear isr config in leafs (#9436)

2.3.2

Patch Changes

2.3.1

Patch Changes

2.3.0

Minor Changes

  • feat: provide access to request context via event.platform (#9280)

Patch Changes

2.2.1

Patch Changes

  • fix: add catch-all route for 404s (#9265)

2.2.0

Minor Changes

  • feat: validate that Vercel cron paths match an API path (#9145)

2.1.1

Patch Changes

  • fix: move catch-all-regex to the end (#9185)

  • fix: temporarily disable streaming when ISR is used (#9197)

2.1.0

Minor Changes

  • feat: enable experimental response streaming (#9144)

2.0.4

Patch Changes

  • fix: add leading / to isr routes (#9100)

2.0.3

Patch Changes

  • fix: get ISR working on Vercel (#9063)

2.0.2

Patch Changes

2.0.1

Patch Changes

  • chore: throw helpful migration error (#8915)

2.0.0

Major Changes

  • breaking: bump @sveltejs/kit peer dependency (#8740)

Minor Changes

  • feat: support route-level configuration options (#8740)

Patch Changes

1.0.6

Patch Changes

  • fix: add trailing slash -> no trailing slash redirect for prerendered pages (#8766)

  • Updated dependencies [438e4318]:

    • @sveltejs/kit@1.3.4

1.0.5

Patch Changes

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

1.0.4

Patch Changes

  • fix: publish missing files (#8532)

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

1.0.1

Patch Changes

  • fix: only apply immutable cache-control headers to immutable assets (#8332)

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

Patch Changes

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

1.0.0-next.87

Patch Changes

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

1.0.0-next.86

Patch Changes

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

1.0.0-next.85

Patch Changes

  • update esbuild to ^0.16.3 (#7543)

1.0.0-next.84

Patch Changes

  • fix: Write redirects for prerendered pages with trailing slashes (#7747)

1.0.0-next.83

Patch Changes

  • fix: handle root route for split config (#7741)

1.0.0-next.82

Patch Changes

  • Handle redirects inside SvelteKit (#7719)

1.0.0-next.81

Patch Changes

  • update dependencies (#7355)

1.0.0-next.80

Patch Changes

  • fix: don't fail on unknown error message (#7312)

1.0.0-next.79

Patch Changes

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

1.0.0-next.78

Patch Changes

  • Transfer server data as devalue-encoded JSON (#7177)

1.0.0-next.77

Patch Changes

  • Redact error message if getRequest fails (#6936)

1.0.0-next.76

Patch Changes

  • chore: bump esbuild (#6829)

1.0.0-next.75

Patch Changes

  • Ignore warnings when traced file fails to parse (#6810)

1.0.0-next.74

Patch Changes

  • Update to esbuild 0.15 (#6740)

1.0.0-next.73

Patch Changes

  • breaking: request creation cleanup (#6681)

1.0.0-next.72

Patch Changes

  • Fix global is not defined runtime error building with edge: true option (#6425)

1.0.0-next.71

Patch Changes

  • Use devalue to serialize server-only load return values (#6318)

1.0.0-next.70

Patch Changes

  • Don't use top-level-await, as it is not supported right now (#6360)

1.0.0-next.69

Patch Changes

  • Run server.init() for edge functions (#6327)

1.0.0-next.68

Patch Changes

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

1.0.0-next.67

Patch Changes

  • Use platform: 'browser' for esbuild in Vercel Edge Functions. (#6109)

1.0.0-next.66

Patch Changes

1.0.0-next.65

Patch Changes

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

1.0.0-next.64

Patch Changes

  • Don't remove .vercel/output directory (#5555)

1.0.0-next.63

Patch Changes

  • Print friendlier message if adapter-vercel fails to resolve dependencies (#5551)

1.0.0-next.62

Patch Changes

  • Update dependencies (#5005)

1.0.0-next.61

Patch Changes

  • Remove ENABLE_VC_BUILD check, use v3 build output API for all apps deployed to Vercel (#5514)

1.0.0-next.60

Patch Changes

  • chore: upgrade TypeScript to 4.7.4 (#5414)

1.0.0-next.59

Patch Changes

  • Add sourcemap generation for the generated functions (#5197)

1.0.0-next.58

Patch Changes

  • Update dependencies (#5121)

1.0.0-next.57

Patch Changes

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

1.0.0-next.56

Patch Changes

  • Use @vercel/nft to include dependencies in lambda without bundling with esbuild, when using v3 build output API (#4969)
  • only serve _app/immutable with immutable cache header, not _app/version.json (#5051)

1.0.0-next.55

Patch Changes

  • Add types to pkg.exports (#5045)

1.0.0-next.54

Patch Changes

  • breaking: replace @sveltejs/kit/install-fetch with @sveltejs/kit/node/polyfills (#4934)

1.0.0-next.53

Patch Changes

  • Revert to cjs mode when building for lambda (#4967)

1.0.0-next.52

Patch Changes

  • breaking: drop Node 14 support (#4922)
  • Use general purpose Edge Functions instead of piggybacking Middleware for Edge Deployment + fix split mode (#4883)

1.0.0-next.51

Patch Changes

  • Support for Node.js 16 (#4904)
  • The output of serverless now is ESM instead of CJS (#4904)

1.0.0-next.50

Patch Changes

  • Fix edge: true, split: true build error for root routes when deploying to Vercel (#4731)

1.0.0-next.49

Patch Changes

  • Remove unused target option from config.json (#4678)

1.0.0-next.48

Patch Changes

  • Support build output API, with edge functions and code-splitting (#4663)

1.0.0-next.47

Patch Changes

  • Provide getClientAddress function (#4289)

1.0.0-next.46

Patch Changes

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

1.0.0-next.45

Patch Changes

  • Rename __fetch_polyfill to installFetch (#4111)

1.0.0-next.44

Patch Changes

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

1.0.0-next.43

Patch Changes

  • Add prerendered routes to config (#3822)

1.0.0-next.42

Patch Changes

  • Clean URLs and handle trailingSlash configuration (#3820)

1.0.0-next.41

Patch Changes

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

1.0.0-next.40

Patch Changes

  • Expose external option (#3614)

1.0.0-next.39

Patch Changes

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

1.0.0-next.38

Patch Changes

  • Polyfill fetch before running any app code (#3400)

1.0.0-next.37

Patch Changes

  • Allow __fetchPolyfill() to run several times (#3377)

1.0.0-next.36

Patch Changes

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

1.0.0-next.35

Patch Changes

  • Use path.posix to resolve routes for esmodules (#3200)

1.0.0-next.34

Patch Changes

  • Revert to v1 filesystem API (#3149)

1.0.0-next.33

Patch Changes

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

1.0.0-next.32

Patch Changes

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

1.0.0-next.31

Patch Changes

  • update dependencies (#2574)

1.0.0-next.30

Patch Changes

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

1.0.0-next.29

Patch Changes

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

1.0.0-next.28

Patch Changes

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

1.0.0-next.27

Patch Changes

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

1.0.0-next.26

Patch Changes

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

1.0.0-next.25

Patch Changes

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

1.0.0-next.24

Patch Changes

  • 2ac5781: Use esbuild inject API to insert shims (#1822)

1.0.0-next.23

Patch Changes

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

1.0.0-next.22

Patch Changes

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

1.0.0-next.21

Patch Changes

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

1.0.0-next.20

Patch Changes

  • c3d36a3: ensure content-length limit respected; handle getRawBody error(s) (#1528)
  • 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/kit@1.0.0-next.110

1.0.0-next.19

Patch Changes

  • dca4946: Make kit a peerDependency of the adapters (#1505)
  • Updated dependencies [261ee1c]
  • Updated dependencies [ec156c6]
  • Updated dependencies [586785d]
    • @sveltejs/kit@1.0.0-next.109

1.0.0-next.18

Patch Changes

  • dad93fc: Fix workspace dependencies (#1434)
  • Updated dependencies [dad93fc]
  • Updated dependencies [37fc04f]
    • @sveltejs/kit@1.0.0-next.108

1.0.0-next.17

Patch Changes

  • 9b448a6: Rename @sveltejs/kit/http to @sveltejs/kit/node (#1391)
  • Updated dependencies [9b448a6]
    • @sveltejs/kit@1.0.0-next.104

1.0.0-next.16

Patch Changes

  • c6fde99: Convert to ESM (#1323)
  • Updated dependencies [694f5de]
  • Updated dependencies [0befffb]
  • Updated dependencies [c6fde99]
    • @sveltejs/kit@1.0.0-next.97

1.0.0-next.15

Patch Changes

  • 2e72a94: Add type declarations (#1230)
  • Updated dependencies [82955ec]
    • @sveltejs/kit@1.0.0-next.91

1.0.0-next.14

Patch Changes

  • 59f9277: fix body parsing (#1146)

1.0.0-next.13

Patch Changes

  • 1237eb3: Fix dependencies (#1109)
  • 1237eb3: Use getRawBody in adapter-vercel (#1109)
  • Updated dependencies [1237eb3]
  • Updated dependencies [1237eb3]
    • @sveltejs/kit@1.0.0-next.81

1.0.0-next.12

Patch Changes

  • 7a4b351: Bundle serverless functions with esbuild (#1091)

1.0.0-next.11

Patch Changes

  • 6e27880: Move server-side fetch to adapters instead of build step (#1066)

1.0.0-next.10

Patch Changes

  • feb2db7: Simplify parsing of URLS of incoming requests (#802)

1.0.0-next.9

Patch Changes

  • ca33a35: Fix adapter-vercel query parsing and update adapter-node's (#774)

1.0.0-next.8

Patch Changes

  • 8024178: remove @sveltejs/app-utils (#600)

1.0.0-next.7

Patch Changes

  • 17e82eb: Fix adapter-vercel imports (#588)

1.0.0-next.6

Patch Changes

  • 8805c6d: Pass adapters directly to svelte.config.cjs (#579)

1.0.0-next.5

Patch Changes

  • f35a5cd: Change adapter signature (#505)

1.0.0-next.4

Patch Changes

  • c3cf3f3: Bump deps (#492)
  • d742029: Fix mixed usage of CJS and ESM (#483)
  • Updated dependencies [c3cf3f3]
    • @sveltejs/app-utils@1.0.0-next.3

1.0.0-next.3

Patch Changes

  • 8123929: Fix adapter-vercel using the wrong directory (#450)
  • Updated dependencies [73dd998]
  • Updated dependencies [b800049]
    • @sveltejs/app-utils@1.0.0-next.2

1.0.0-next.2

Patch Changes

  • Fix adapters and convert to ES modules

1.0.0-next.1

Patch Changes

  • Update to new adapter API

0.0.3

Patch Changes

  • 67eaeea: Move app-utils stuff into subpackages

0.0.2

Patch Changes

  • Use setup

0.0.1

Patch Changes

  • 0320208: Rename 'server route' to 'endpoint'
  • 5ca907c: Use shared mkdirp helper