Skip to content

Latest commit

 

History

History
936 lines (502 loc) · 26.4 KB

CHANGELOG.md

File metadata and controls

936 lines (502 loc) · 26.4 KB

@sveltejs/adapter-node

1.3.1

Patch Changes

1.3.0

Minor Changes

  • chore: remove build step for adapter node (#10041)

  • feat: load sourcemaps so that they can be merged to point to original sourcefiles (#10041)

Patch Changes

  • fix: do not crash server if specified ADDRESS_HEADER is missing from a request (#10285)

1.2.4

Patch Changes

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

1.2.3

Patch Changes

1.2.2

Patch Changes

1.2.1

Patch Changes

1.2.0

Minor Changes

  • add polyfill option (#8991)

Patch Changes

1.1.8

Patch Changes

1.1.7

Patch Changes

1.1.6

Patch Changes

  • fix: correctly redirect trailing slashes for adapter-node (#8857)

1.1.5

Patch Changes

1.1.4

Patch Changes

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

1.1.3

Patch Changes

  • fix: publish missing files (#8532)

1.1.2

Patch Changes

1.1.1

Patch Changes

1.1.0

Minor Changes

  • feat: add original request object as event.platform.req (#8171)

Patch Changes

1.0.1

Patch Changes

  • chore: update dependency @rollup/plugin-json to v6 (#8204)
    • Note: plugin-json v6 fails your build for parse errors that only logged a warning with v5. We consider this a bugfix as only healthy input should result in a successful build.
  • chore(deps): update dependency @rollup/plugin-commonjs to v24 (#8216)
  • Updated dependencies [fab0de4f, 89b8d94b]:

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

Patch Changes

1.0.0-next.105

Patch Changes

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

1.0.0-next.104

Patch Changes

  • update rollup to ^3.7.0 (#7543)

1.0.0-next.103

Patch Changes

  • Update docs with example of loading environment variables (#8020)

1.0.0-next.102

Patch Changes

  • docs: update reference to getClientAddress() (#7907)

1.0.0-next.101

Patch Changes

1.0.0-next.100

Patch Changes

  • update dependencies (#7355)

1.0.0-next.99

Patch Changes

  • fix: take into account deep exports for external packages (#7311)

1.0.0-next.98

Patch Changes

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

1.0.0-next.97

Patch Changes

  • chore: update dependency @rollup/plugin-json to v5 (#7204)

1.0.0-next.96

Patch Changes

  • Disable builtin modules warning (#7031)

1.0.0-next.95

Patch Changes

  • Redact error message if getRequest fails (#6936)

1.0.0-next.94

Patch Changes

  • Add missing Rollup dependency (#6927)

1.0.0-next.93

Patch Changes

  • Bundle with rollup instead of esbuild (#6896)

1.0.0-next.92

Patch Changes

  • chore: bump esbuild (#6829)

1.0.0-next.91

Patch Changes

  • Allow streaming when BODY_SIZE_LIMIT is set (#6702)

1.0.0-next.90

Patch Changes

  • Update to esbuild 0.15 (#6740)
  • Improve performance by compressing in parallel (#6710)

1.0.0-next.89

Patch Changes

  • breaking: request creation cleanup (#6681)
  • breaking: limit adapter-node request size (#6684)

1.0.0-next.88

Patch Changes

  • Bundle non-production dependencies with esbuild (#6372)

1.0.0-next.87

Patch Changes

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

1.0.0-next.86

Patch Changes

  • Move compress logic to Builder API (#5822)

1.0.0-next.85

Patch Changes

1.0.0-next.84

Patch Changes

  • Set Vite's publicDir and correctly serve public assets earlier in pipeline (#5686)

1.0.0-next.83

Patch Changes

  • set Vite's publicDir option (#5648)

1.0.0-next.82

Patch Changes

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

1.0.0-next.81

Patch Changes

  • breaking: remove compression middleware from adapter-node output server (#5506)

1.0.0-next.80

Patch Changes

  • Update dependencies (#5005)

1.0.0-next.79

Patch Changes

  • chore: upgrade TypeScript to 4.7.4 (#5414)

1.0.0-next.78

Patch Changes

  • Update dependencies (#5121)

1.0.0-next.77

Patch Changes

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

1.0.0-next.76

Patch Changes

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

1.0.0-next.75

Patch Changes

  • Add types to pkg.exports (#5045)

1.0.0-next.74

Patch Changes

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

1.0.0-next.73

Patch Changes

  • breaking: rename xForwardedForIndex to XFF_DEPTH and make it an environment variable (#4332)
  • breaking: Replace options.env with options.envPrefix (#4360)

1.0.0-next.72

Patch Changes

  • Provide getClientAddress function (#4289)

1.0.0-next.71

Patch Changes

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

1.0.0-next.70

Patch Changes

  • Rename __fetch_polyfill to installFetch (#4111)

1.0.0-next.69

Patch Changes

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

1.0.0-next.68

Patch Changes

  • precompress option also compress wasm files (#3812)

1.0.0-next.67

Patch Changes

  • Bump version to trigger rebuild with set-cookie support (#3529)

1.0.0-next.66

Patch Changes

  • fix usage of ORIGIN environment variable (#3448)

1.0.0-next.65

Patch Changes

  • fix: rename BASE to ORIGIN and fix config handling (#3423)

1.0.0-next.64

Patch Changes

  • breaking: change app.render signature to (request: Request) => Promise (#3384)
  • breaking: Remove protocol/host configuration options from Kit to adapter-node (#3384)

1.0.0-next.63

Patch Changes

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

1.0.0-next.62

Patch Changes

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

1.0.0-next.61

Patch Changes

  • chore: update dependency sirv to v2 (#3263)

1.0.0-next.60

Patch Changes

  • Don't cache non-hashed static assets in adapter-node (#3193)
  • Only set cache-control: immutable when appropriate (#3196)

1.0.0-next.59

Patch Changes

  • Fix types (#3181)
  • Check if directory exists, before compressing (#3179)

1.0.0-next.58

Patch Changes

  • fix: only add handlers for directories that exist (#3148)

1.0.0-next.57

Patch Changes

  • Overhaul adapter API (#2931)
  • Update adapters to provide app.render with a url (#3133)
  • Don't bundle final output (#2931)

1.0.0-next.56

Patch Changes

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

1.0.0-next.55

Patch Changes

  • breaking: drop Node 12 support (#2604)

1.0.0-next.54

Patch Changes

  • update dependencies (#2574)

1.0.0-next.53

Patch Changes

  • Don't crash when receiving malformed URLs (#2533)

1.0.0-next.52

Patch Changes

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

1.0.0-next.51

Patch Changes

  • fix: regression where builds not using entryPoint stopped having middlewares.js external (#2484)

1.0.0-next.50

Patch Changes

  • fix: Correctly treat middlewares.js as external when using entryPoint option (#2482)

1.0.0-next.49

Patch Changes

  • update dependencies (#2447)

1.0.0-next.48

Patch Changes

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

1.0.0-next.47

Patch Changes

  • feat: add entryPoint option for custom servers (#2414)

1.0.0-next.46

Patch Changes

  • Clear output directory before adapting (#2388)

1.0.0-next.45

Patch Changes

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

1.0.0-next.44

Patch Changes

  • feat: expose handler to allow use in custom server

1.0.0-next.43

Patch Changes

  • fix: provide default port only if path not provided (#2244)

1.0.0-next.42

Patch Changes

  • fix: bump polka and sirv again to address unicode handling bug

1.0.0-next.41

Patch Changes

  • fix: upgrade polka and sirv. fixes handling of URLs with unicode characters (#2191)

1.0.0-next.40

Patch Changes

  • fix: handle paths consistently between dev and various production adapters (#2171)
  • [feat] allow node adapter to configure listen path (#2048)

1.0.0-next.39

Patch Changes

  • 94b34fa6: [breaking] standardize final output dir as /build (vs /.svelte-kit) (#2109)

1.0.0-next.38

Patch Changes

  • a12beb04: [fix] update broken file path (#2096)

1.0.0-next.37

Patch Changes

  • b3e7c8b3: [chore] update build output location (#2082)

1.0.0-next.36

Patch Changes

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

1.0.0-next.35

Patch Changes

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

1.0.0-next.34

Patch Changes

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

1.0.0-next.33

Patch Changes

  • 463199c: Handle Uint8Array bodies from endpoints (#1875)
  • 0db0889: log both host and port (#1877)

1.0.0-next.32

Patch Changes

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

1.0.0-next.31

Patch Changes

  • c639586: Check if '[out]/prerendered' exists, before precompressing (#1806)

1.0.0-next.30

Patch Changes

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

1.0.0-next.29

Patch Changes

  • aa5cf15: Fix regression caused by writing env.js to the wrong path (#1756)

1.0.0-next.28

Patch Changes

  • 1c8bdba: Allow the environment variables containing the host and port to serve on to be customised (#1754)

1.0.0-next.27

Patch Changes

  • 926481f: precompress assets and prerendered pages (html,js,json,css,svg,xml) (#1693)
  • 318cdd7: Only cache files in config.kit.appDir (#1416)

1.0.0-next.26

Patch Changes

  • 9a7195b: Allow sirv to looks for precompiled gzip and brotli files by default (#1672)
  • 53f3322: Fix build when using TypeScript and there is a tsconfig.json with target: 'es2019' or earlier (#1675)

1.0.0-next.25

Patch Changes

  • 0b780a6: Bundle server-side app during adapt phase (#1648)

1.0.0-next.24

Patch Changes

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

1.0.0-next.23

Patch Changes

  • c3d36a3: ensure content-length limit respected; handle getRawBody error(s) (#1528)
  • bf77940: bump polka and sirv dependency versions (#1548)
  • 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.22

Patch Changes

  • dca4946: Make kit a peerDependency of the adapters (#1505)
  • Updated dependencies [261ee1c]
  • Updated dependencies [ec156c6]
  • Updated dependencies [586785d]

1.0.0-next.21

Patch Changes

  • dad93fc: Fix workspace dependencies (#1434)

1.0.0-next.20

Patch Changes

  • 9b448a6: Rename @sveltejs/kit/http to @sveltejs/kit/node (#1391)

1.0.0-next.19

Patch Changes

  • 0e09581: Make host configurable via process.env.HOST (#1366)

1.0.0-next.18

Patch Changes

  • c6fde99: Convert to ESM (#1323)

1.0.0-next.17

Patch Changes

  • 2e72a94: Add type declarations (#1230)

1.0.0-next.16

Patch Changes

  • 1237eb3: Use getRawBody (#1109)

1.0.0-next.15

Patch Changes

  • 7a4b351: Use install-fetch helper (#1091)

1.0.0-next.14

Patch Changes

  • 8e61e84: Include missing entrypoint (#1071)

1.0.0-next.13

Patch Changes

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

1.0.0-next.12

Patch Changes

  • feb2db7: Fix fatal error when trying to parse URLs of incoming requests (#802)

1.0.0-next.11

Patch Changes

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

1.0.0-next.10

Patch Changes

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

1.0.0-next.9

Patch Changes

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

1.0.0-next.8

Patch Changes

  • 9212aa5: Add options to adapter-node, and add adapter types (#531)

1.0.0-next.7

Patch Changes

  • f35a5cd: Change adapter signature (#505)

1.0.0-next.6

Patch Changes

  • c3cf3f3: Bump deps (#492)

1.0.0-next.5

Patch Changes

  • 222fe9d: Compress adapter-node responses (#367)

1.0.0-next.4

Patch Changes

  • Make adapter node work under esm

1.0.0-next.3

Patch Changes

  • ab2367d: Convert to ESM (#387)

1.0.0-next.2

Patch Changes

  • Fix adapters and convert to ES modules

1.0.0-next.1

Patch Changes

  • 13e8fa3: Make adapter-node work

0.0.18

Patch Changes

  • b3ac507: Add missing pkg.files

0.0.17

Patch Changes

  • Add svelte-kit start command

0.0.16

Patch Changes

  • Make paths and target configurable

0.0.15

Patch Changes

  • b475ed4: Overhaul adapter API - fixes #166 (#180)
  • Updated dependencies [b475ed4]

0.0.14

Patch Changes

0.0.13

Patch Changes

  • 67eaeea: Move app-utils stuff into subpackages
  • Updated dependencies [67eaeea]

0.0.12

Patch Changes

  • a163000: Parse body on incoming requests
  • Updated dependencies [a163000]

0.0.11

Patch Changes

  • Use setup module
  • Updated dependencies [undefined]
  • Updated dependencies [undefined]
  • Updated dependencies [undefined]

0.0.10

Patch Changes

  • Updated dependencies [undefined]
  • Updated dependencies [96c06d8]

0.0.9

Patch Changes

  • 0320208: Rename 'server route' to 'endpoint'
  • 026acd2: Accommodate missing build/prerendered directory
  • 8b63057: Let sirv add must-revalidate
  • Updated dependencies [0320208]
  • Updated dependencies [5ca907c]

0.0.8

Patch Changes

0.0.7

Patch Changes

0.0.6

Patch Changes

0.0.5

Patch Changes

0.0.4

Patch Changes