Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: sveltejs/kit
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: @sveltejs/kit@2.5.10
Choose a base ref
...
head repository: sveltejs/kit
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: @sveltejs/kit@2.5.11
Choose a head ref

Commits on May 21, 2024

  1. fix: use correct type for '*?enhanced' imports (#12224)

    ranjan-purbey authored May 21, 2024
    Copy the full SHA
    cf99ac8 View commit details

Commits on May 23, 2024

  1. docs: more details for using import.meta.glob with enhanced-img (#12238)

    benmccann authored May 23, 2024
    Copy the full SHA
    966cabd View commit details

Commits on May 28, 2024

  1. fix: update default playwright test case for lib-project (#12261)

    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    K-Sato1995 and benmccann authored May 28, 2024
    Copy the full SHA
    afd227c View commit details
  2. chore: upgrade to pnpm 9 (#12267)

    benmccann authored May 28, 2024
    Copy the full SHA
    fb75c7e View commit details

Commits on May 29, 2024

  1. code comments

    benmccann committed May 29, 2024
    Copy the full SHA
    638ee26 View commit details
  2. fix build

    benmccann committed May 29, 2024
    Copy the full SHA
    685bb31 View commit details
  3. feat: upgrade eslint to v9 (#12268)

    benmccann authored May 29, 2024
    Copy the full SHA
    d47c2c5 View commit details
  4. Version Packages (#12245)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored May 29, 2024
    Copy the full SHA
    43fc061 View commit details
  5. chore(deps): upgrade to @vercel/nft version 0.27.1 (#12274)

    benmccann authored May 29, 2024
    Copy the full SHA
    362d135 View commit details
  6. chore: bump Node version in GitHub workflows

    benmccann committed May 29, 2024
    Copy the full SHA
    33cbbc2 View commit details
  7. Version Packages (#12275)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored May 29, 2024
    Copy the full SHA
    6c490ad View commit details
  8. chore: enable Vercel speed insights on site (#12273)

    privacy-compliant way to track performance metrics on our sites
    dummdidumm authored May 29, 2024
    Copy the full SHA
    c173b7a View commit details

Commits on May 30, 2024

  1. chore: overhaul ignore configs (#11938)

    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    hyunbinseo and benmccann authored May 30, 2024
    Copy the full SHA
    c63b340 View commit details
  2. docs: changelog reference the wrong pull request (#12279)

    sacrosanctic authored May 30, 2024
    Copy the full SHA
    c7c43d0 View commit details
  3. chore: expand tsconfig coverage (#12281)

    benmccann authored May 30, 2024
    Copy the full SHA
    1f18ac2 View commit details
  4. fix: crawl hrefs that start with config.prerender.origin (#12277)

    LorisSigrist authored May 30, 2024
    Copy the full SHA
    25acb1d View commit details

Commits on Jun 5, 2024

  1. chore: upgrade to pnpm 9.2.0 (#12299)

    benmccann authored Jun 5, 2024
    Copy the full SHA
    5621c7e View commit details
  2. chore(deps): update dependency @rollup/plugin-commonjs to v26 (#12300)

    benmccann authored Jun 5, 2024
    Copy the full SHA
    dc49c72 View commit details
  3. chore: replace -prefetch with -preload-code in tests (#12289)

    wackbyte authored Jun 5, 2024
    Copy the full SHA
    da4b0cd View commit details
  4. changeset

    benmccann committed Jun 5, 2024
    Copy the full SHA
    9aa59db View commit details
  5. fix: remove images from route-level config (#12280)

    * fix: add images to edge config types
    
    * relative paths
    
    * images config can only be specified at the project level
    
    * update changeset
    
    * live dangerously
    
    * downgrade changeset
    
    ---------
    
    Co-authored-by: Rich Harris <rich.harris@vercel.com>
    benmccann and Rich-Harris authored Jun 5, 2024
    Copy the full SHA
    7133648 View commit details
  6. chore: cleanup promise handling (#12297)

    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    Rich-Harris and benmccann authored Jun 5, 2024
    Copy the full SHA
    8967235 View commit details

Commits on Jun 6, 2024

  1. chore(site): upgrade to site-kit 6.0.0-next.64 (#12307)

    benmccann authored Jun 6, 2024
    Copy the full SHA
    51abc84 View commit details
  2. chore: reduce number of eslint global ignores (#12303)

    benmccann authored Jun 6, 2024
    Copy the full SHA
    6836275 View commit details
  3. docs: correct example of persist usage (#12302)

    Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
    nosovk and benmccann authored Jun 6, 2024
    Copy the full SHA
    e106e7b View commit details
  4. chore: upgrade to vitest 1.6.0 (#12308)

    benmccann authored Jun 6, 2024
    Copy the full SHA
    84f03cc View commit details

Commits on Jun 7, 2024

  1. fix(kit): handle whitespace in HTTP Accept header (#12292)

    According to [RFC 9110][1], in the HTTP Accept header, there can be OWS (optional whitespace, e.g. zero to unlimited SP (space) or HTAB (horizontal tab)) between the `;` and `,` characters.
    
    [1]: https://www.rfc-editor.org/rfc/rfc9110
    aloisklink authored Jun 7, 2024
    Copy the full SHA
    0a0e9aa View commit details
  2. chore: upgrade playwright to 1.44.1 (#12315)

    benmccann authored Jun 7, 2024
    Copy the full SHA
    be66e1e View commit details

Commits on Jun 9, 2024

  1. docs: change .eslintrc.js to eslint.config.js (#12317)

    BrunoMollo authored Jun 9, 2024
    Copy the full SHA
    bce1aad View commit details

Commits on Jun 10, 2024

  1. docs: Update web standards (#12318)

    leerob authored Jun 10, 2024
    Copy the full SHA
    d12d1ee View commit details

Commits on Jun 12, 2024

  1. chore(deps): update dependency marked to v13 (#12325)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 12, 2024
    Copy the full SHA
    aa2e70b View commit details
  2. Revert "chore(deps): update dependency marked to v13 (#12325)"

    This reverts commit aa2e70b.
    benmccann committed Jun 12, 2024
    Copy the full SHA
    31bf482 View commit details
  3. chore: update to @rollup/plugin-commonjs@26 (#12326)

    Conduitry authored Jun 12, 2024

    Verified

    This commit was signed with the committer’s verified signature.
    sfackler Steven Fackler
    Copy the full SHA
    b6202dd View commit details
  4. chore(deps): update dependency svelte-preprocess to v6 (#12327)

    Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
    renovate[bot] authored Jun 12, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    f67898d View commit details

Commits on Jun 13, 2024

  1. chore: add keywords for discovery in npm search (#12330)

    benmccann authored Jun 13, 2024

    Verified

    This commit was created on GitHub.com and signed with GitHub’s verified signature. The key has expired.
    Copy the full SHA
    642c4a4 View commit details
  2. Version Packages (#12278)

    Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
    github-actions[bot] and github-actions[bot] authored Jun 13, 2024

    Unverified

    The signing certificate or its chain could not be verified.
    Copy the full SHA
    124fa8a View commit details
Showing with 5,583 additions and 4,208 deletions.
  1. +0 −18 .eslintrc.json
  2. +1 −1 .github/workflows/audit.yml
  3. +1 −1 .github/workflows/release.yml
  4. +1 −1 documentation/docs/10-getting-started/30-project-structure.md
  5. +1 −1 documentation/docs/10-getting-started/40-web-standards.md
  6. +6 −3 documentation/docs/25-build-and-deploy/60-adapter-cloudflare.md
  7. +7 −4 documentation/docs/25-build-and-deploy/70-adapter-cloudflare-workers.md
  8. +16 −9 documentation/docs/40-best-practices/07-images.md
  9. +45 −0 eslint.config.js
  10. +7 −7 package.json
  11. +9 −0 packages/adapter-auto/CHANGELOG.md
  12. +2 −2 packages/adapter-auto/index.js
  13. +10 −1 packages/adapter-auto/package.json
  14. +9 −0 packages/adapter-cloudflare-workers/CHANGELOG.md
  15. +9 −1 packages/adapter-cloudflare-workers/package.json
  16. +9 −0 packages/adapter-cloudflare/CHANGELOG.md
  17. +9 −1 packages/adapter-cloudflare/package.json
  18. +11 −0 packages/adapter-netlify/CHANGELOG.md
  19. +2 −2 packages/adapter-netlify/index.js
  20. +11 −3 packages/adapter-netlify/package.json
  21. +1 −1 packages/adapter-netlify/src/edge.js
  22. +13 −0 packages/adapter-node/CHANGELOG.md
  23. +11 −3 packages/adapter-node/package.json
  24. +9 −0 packages/adapter-static/CHANGELOG.md
  25. +11 −2 packages/adapter-static/package.json
  26. +1 −1 packages/adapter-static/tsconfig.json
  27. +17 −0 packages/adapter-vercel/CHANGELOG.md
  28. +6 −6 packages/adapter-vercel/index.d.ts
  29. +14 −13 packages/adapter-vercel/index.js
  30. +11 −3 packages/adapter-vercel/package.json
  31. +1 −2 packages/adapter-vercel/tsconfig.json
  32. +9 −0 packages/amp/CHANGELOG.md
  33. +11 −1 packages/amp/package.json
  34. +12 −0 packages/amp/tsconfig.json
  35. +21 −1 packages/create-svelte/CHANGELOG.md
  36. +1 −0 packages/create-svelte/index.js
  37. +13 −3 packages/create-svelte/package.json
  38. +0 −31 packages/create-svelte/shared/+eslint+prettier+typescript/.eslintrc.cjs
  39. +33 −0 packages/create-svelte/shared/+eslint+prettier+typescript/eslint.config.js
  40. +0 −15 packages/create-svelte/shared/+eslint+prettier-typescript/.eslintrc.cjs
  41. +23 −0 packages/create-svelte/shared/+eslint+prettier-typescript/eslint.config.js
  42. +1 −1 packages/create-svelte/shared/+eslint+svelte5/package.json
  43. +0 −30 packages/create-svelte/shared/+eslint+typescript/.eslintrc.cjs
  44. +30 −0 packages/create-svelte/shared/+eslint+typescript/eslint.config.js
  45. +1 −2 packages/create-svelte/shared/+eslint+typescript/package.json
  46. +0 −15 packages/create-svelte/shared/+eslint-typescript/.eslintrc.cjs
  47. +20 −0 packages/create-svelte/shared/+eslint-typescript/eslint.config.js
  48. +0 −13 packages/create-svelte/shared/+eslint/.eslintignore
  49. +4 −3 packages/create-svelte/shared/+eslint/package.json
  50. +0 −6 packages/create-svelte/shared/+playwright+default/tests/test.ts
  51. +0 −6 packages/create-svelte/shared/+playwright+skeleton/tests/test.ts
  52. +0 −6 packages/create-svelte/shared/+playwright+skeletonlib/tests/test.ts
  53. +6 −0 packages/create-svelte/shared/+playwright/tests/test.ts
  54. +2 −2 packages/create-svelte/shared/+prettier/.prettierignore
  55. +14 −5 packages/create-svelte/templates/default/.gitignore
  56. +14 −3 packages/create-svelte/templates/skeleton/.gitignore
  57. +14 −3 packages/create-svelte/templates/skeletonlib/.gitignore
  58. +16 −0 packages/enhanced-img/CHANGELOG.md
  59. +12 −2 packages/enhanced-img/package.json
  60. +4 −4 packages/enhanced-img/src/index.js
  61. +1 −1 packages/enhanced-img/src/preprocessor.js
  62. +3 −1 packages/enhanced-img/types/ambient.d.ts
  63. +5 −2 packages/enhanced-img/types/index.d.ts
  64. +10 −0 packages/kit/CHANGELOG.md
  65. +5 −1 packages/kit/kit.vitest.config.js
  66. +11 −4 packages/kit/package.json
  67. +1 −1 packages/kit/postinstall.js
  68. +1 −1 packages/kit/src/cli.js
  69. +1 −1 packages/kit/src/core/config/options.js
  70. +2 −2 packages/kit/src/core/postbuild/fixtures/base/input.html
  71. +2 −2 packages/kit/src/core/postbuild/fixtures/basic-href/input.html
  72. +11 −1 packages/kit/src/core/postbuild/prerender.js
  73. +1 −1 packages/kit/src/core/postbuild/queue.spec.js
  74. +8 −10 packages/kit/src/core/sync/sync.js
  75. +2 −2 packages/kit/src/core/sync/write_types/index.js
  76. +13 −12 packages/kit/src/core/sync/write_types/index.spec.js
  77. +2 −2 packages/kit/src/exports/hooks/sequence.spec.js
  78. +4 −0 packages/kit/src/exports/node/index.js
  79. +2 −2 packages/kit/src/exports/vite/build/build_service_worker.js
  80. +4 −4 packages/kit/src/exports/vite/dev/index.js
  81. +8 −8 packages/kit/src/exports/vite/index.js
  82. +1 −1 packages/kit/src/runtime/app/stores.js
  83. +7 −15 packages/kit/src/runtime/client/client.js
  84. +1 −0 packages/kit/src/runtime/client/fetcher.js
  85. +1 −0 packages/kit/src/runtime/client/utils.js
  86. +1 −1 packages/kit/src/runtime/server/data/index.js
  87. +1 −1 packages/kit/src/runtime/server/page/index.js
  88. +3 −1 packages/kit/src/runtime/server/page/load_data.spec.js
  89. +1 −1 packages/kit/src/runtime/server/page/render.js
  90. +2 −0 packages/kit/src/runtime/server/page/respond_with_error.js
  91. +1 −1 packages/kit/src/runtime/server/respond.js
  92. +4 −3 packages/kit/src/types/internal.d.ts
  93. +1 −1 packages/kit/src/utils/fork.js
  94. +1 −1 packages/kit/src/utils/http.js
  95. +7 −0 packages/kit/src/utils/http.spec.js
  96. +1 −1 packages/kit/src/version.js
  97. +6 −1 packages/kit/test/apps/amp/playwright.config.js
  98. +1 −0 packages/kit/test/apps/basics/src/routes/errors/init-error-endpoint/+server.js
  99. +1 −1 packages/kit/test/apps/basics/src/routes/load/fetch-cache-control/load-data/+server.js
  100. +3 −0 packages/kit/test/apps/basics/src/routes/untrack/server/[x]/+page.server.js
  101. +3 −0 packages/kit/test/apps/basics/src/routes/untrack/universal/[x]/+page.js
  102. +1 −1 packages/kit/test/build-errors/package.json
  103. +1 −1 packages/kit/test/prerendering/basics/package.json
  104. +6 −0 packages/kit/test/prerendering/basics/src/routes/prerender-origin/+page.svelte
  105. +4 −0 packages/kit/test/prerendering/basics/src/routes/prerender-origin/[dynamic]/+page.svelte
  106. +1 −1 packages/kit/test/prerendering/basics/svelte.config.js
  107. +6 −1 packages/kit/test/prerendering/basics/test/tests.spec.js
  108. +1 −1 packages/kit/test/prerendering/options/package.json
  109. +1 −1 packages/kit/test/prerendering/paths-base/package.json
  110. +4 −4 packages/kit/test/utils.js
  111. +1 −1 packages/kit/tsconfig.json
  112. +4 −3 packages/kit/types/index.d.ts
  113. +6 −0 packages/migrate/CHANGELOG.md
  114. +4 −4 packages/migrate/migrations/self-closing-tags/index.js
  115. +9 −2 packages/migrate/package.json
  116. +1 −2 packages/migrate/tsconfig.json
  117. +6 −0 packages/package/CHANGELOG.md
  118. +11 −2 packages/package/package.json
  119. +1 −1 packages/package/src/index.js
  120. +1 −1 packages/package/src/typescript.js
  121. +1 −5 packages/package/test/watch/svelte.config.js
  122. +2 −2 packages/package/tsconfig.json
  123. +4,839 −3,848 pnpm-lock.yaml
  124. +3 −2 sites/kit.svelte.dev/package.json
  125. +3 −0 sites/kit.svelte.dev/src/routes/+layout.svelte
18 changes: 0 additions & 18 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion .github/workflows/audit.yml
Original file line number Diff line number Diff line change
@@ -19,7 +19,7 @@ jobs:
- uses: pnpm/action-setup@v4.0.0
- uses: actions/setup-node@v4
with:
node-version: '20.x'
node-version: '22.x'
cache: pnpm
- run: pnpm install --frozen-lockfile
# check prod dependencies as these would affect users
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
@@ -25,7 +25,7 @@ jobs:
- name: Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 16.x
node-version: 22.x
cache: pnpm

- run: pnpm install --frozen-lockfile
Original file line number Diff line number Diff line change
@@ -30,7 +30,7 @@ my-project/
└ vite.config.js
```

You'll also find common files like `.gitignore` and `.npmrc` (and `.prettierrc` and `.eslintrc.cjs` and so on, if you chose those options when running `npm create svelte@latest`).
You'll also find common files like `.gitignore` and `.npmrc` (and `.prettierrc` and `eslint.config.js` and so on, if you chose those options when running `npm create svelte@latest`).

## Project files

2 changes: 1 addition & 1 deletion documentation/docs/10-getting-started/40-web-standards.md
Original file line number Diff line number Diff line change
@@ -4,7 +4,7 @@ title: Web standards

Throughout this documentation, you'll see references to the standard [Web APIs](https://developer.mozilla.org/en-US/docs/Web/API) that SvelteKit builds on top of. Rather than reinventing the wheel, we _use the platform_, which means your existing web development skills are applicable to SvelteKit. Conversely, time spent learning SvelteKit will help you be a better web developer elsewhere.

These APIs are available in all modern browsers and in many non-browser environments like Cloudflare Workers, Deno and Vercel Edge Functions. During development, and in [adapters](adapters) for Node-based environments (including AWS Lambda), they're made available via polyfills where necessary (for now, that is — Node is rapidly adding support for more web standards).
These APIs are available in all modern browsers and in many non-browser environments like Cloudflare Workers, Deno, and Vercel Functions. During development, and in [adapters](adapters) for Node-based environments (including AWS Lambda), they're made available via polyfills where necessary (for now, that is — Node is rapidly adding support for more web standards).

In particular, you'll get comfortable with the following:

Original file line number Diff line number Diff line change
@@ -29,9 +29,12 @@ export default {
include: ['/*'],
exclude: ['<all>']
},
platformProxy: {
persist: './your-custom-path'
}
platformProxy: {
configPath: 'wrangler.toml',
environment: undefined,
experimentalJsonConfig: false,
persist: false
}
})
}
};
Original file line number Diff line number Diff line change
@@ -18,10 +18,13 @@ import adapter from '@sveltejs/adapter-cloudflare-workers';
export default {
kit: {
adapter: adapter({
config: '<your-wrangler-name>.toml',
platformProxy: {
persist: './your-custom-path'
}
config: 'wrangler.toml',
platformProxy: {
configPath: 'wrangler.toml',
environment: undefined,
experimentalJsonConfig: false,
persist: false
}
})
}
};
25 changes: 16 additions & 9 deletions documentation/docs/40-best-practices/07-images.md
Original file line number Diff line number Diff line change
@@ -78,20 +78,27 @@ You can also manually import an image asset and pass it to an `<enhanced:img>`.
import MyImage from './path/to/your/image.jpg?enhanced';
</script>
<enhanced:img src={MyImage} alt="Some alt text" />
<enhanced:img src={MyImage} alt="some alt text" />
```

You can also use [Vite's `import.meta.glob`](https://vitejs.dev/guide/features.html#glob-import). Note that you will have to specify `enhanced` via a [custom query](https://vitejs.dev/guide/features.html#custom-queries):

```js
const pictures = import.meta.glob(
'/path/to/assets/*.{avif,gif,heif,jpeg,jpg,png,tiff,webp}',
{
query: {
enhanced: true
```svelte
<script>
const imageModules = import.meta.glob(
'/path/to/assets/*.{avif,gif,heif,jpeg,jpg,png,tiff,webp,svg}',
{
eager: true,
query: {
enhanced: true
}
}
}
);
)
</script>
{#each Object.entries(imageModules) as [_path, module]}
<enhanced:img src={module.default} alt="some alt text" />
{/each}
```

### Intrinsic Dimensions
45 changes: 45 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,45 @@
import svelte_config from '@sveltejs/eslint-config';

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
...svelte_config,
{
rules: {
'no-undef': 'off'
}
},
{
ignores: [
'**/.svelte-kit',
'packages/adapter-static/test/apps/*/build',
'packages/adapter-cloudflare/files',
'packages/adapter-netlify/files',
'packages/adapter-node/files',
]
},
{
languageOptions: {
parserOptions: {
project: true
}
},
rules: {
'@typescript-eslint/await-thenable': 'error',
'@typescript-eslint/no-unused-expressions': 'off',
'@typescript-eslint/require-await': 'error',
},
ignores: [
'packages/adapter-node/rollup.config.js',
'packages/adapter-node/tests/smoke.spec.js',
'packages/adapter-static/test/apps/**/*',
'packages/create-svelte/shared/**/*',
'packages/create-svelte/templates/**/*',
'packages/kit/src/core/sync/create_manifest_data/test/samples/**/*',
'packages/kit/test/apps/**/*',
'packages/kit/test/build-errors/**/*',
'packages/kit/test/prerendering/**/*',
'packages/package/test/errors/**/*',
'packages/package/test/fixtures/**/*'
]
}
];
14 changes: 7 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
@@ -22,17 +22,17 @@
},
"devDependencies": {
"@changesets/cli": "^2.27.1",
"@sveltejs/eslint-config": "^6.0.4",
"@sveltejs/eslint-config": "^7.0.1",
"@svitejs/changesets-changelog-github-compact": "^1.1.0",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"eslint": "^8.56.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.1.0",
"eslint-plugin-svelte": "^2.35.1",
"eslint-plugin-svelte": "^2.36.0",
"eslint-plugin-unicorn": "^53.0.0",
"playwright": "^1.41.0"
"playwright": "^1.44.1",
"typescript-eslint": "^8.0.0-alpha.20"
},
"packageManager": "pnpm@8.15.7",
"packageManager": "pnpm@9.2.0",
"engines": {
"pnpm": "^8.0.0"
"pnpm": "^9.0.0"
}
}
9 changes: 9 additions & 0 deletions packages/adapter-auto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sveltejs/adapter-auto

## 3.2.2

### Patch Changes

- chore: add keywords for discovery in npm search ([#12330](https://github.com/sveltejs/kit/pull/12330))

- Updated dependencies [[`25acb1d9fce998dccd8050b93cf4142c2b082611`](https://github.com/sveltejs/kit/commit/25acb1d9fce998dccd8050b93cf4142c2b082611), [`642c4a4aff4351b786fe6274aa2f0bf7d905faf9`](https://github.com/sveltejs/kit/commit/642c4a4aff4351b786fe6274aa2f0bf7d905faf9), [`0a0e9aa897123ebec50af08e9385b2ca4fc5bb28`](https://github.com/sveltejs/kit/commit/0a0e9aa897123ebec50af08e9385b2ca4fc5bb28)]:
- @sveltejs/kit@2.5.11

## 3.2.1

### Patch Changes
4 changes: 2 additions & 2 deletions packages/adapter-auto/index.js
Original file line number Diff line number Diff line change
@@ -36,9 +36,9 @@ function detect_package_manager() {
}

/** @param {string} name */
async function import_from_cwd(name) {
function import_from_cwd(name) {
const cwd = pathToFileURL(process.cwd()).href;
const url = await resolve(name, cwd + '/x.js');
const url = resolve(name, cwd + '/x.js');

return import(url);
}
11 changes: 10 additions & 1 deletion packages/adapter-auto/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,16 @@
{
"name": "@sveltejs/adapter-auto",
"version": "3.2.1",
"version": "3.2.2",
"description": "Automatically chooses the SvelteKit adapter for your current environment, if possible.",
"keywords": [
"adapter",
"automatically",
"deploy",
"hosting",
"platform",
"svelte",
"sveltekit"
],
"repository": {
"type": "git",
"url": "https://github.com/sveltejs/kit",
9 changes: 9 additions & 0 deletions packages/adapter-cloudflare-workers/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sveltejs/adapter-cloudflare-workers

## 2.4.1

### Patch Changes

- chore: add keywords for discovery in npm search ([#12330](https://github.com/sveltejs/kit/pull/12330))

- Updated dependencies [[`25acb1d9fce998dccd8050b93cf4142c2b082611`](https://github.com/sveltejs/kit/commit/25acb1d9fce998dccd8050b93cf4142c2b082611), [`642c4a4aff4351b786fe6274aa2f0bf7d905faf9`](https://github.com/sveltejs/kit/commit/642c4a4aff4351b786fe6274aa2f0bf7d905faf9), [`0a0e9aa897123ebec50af08e9385b2ca4fc5bb28`](https://github.com/sveltejs/kit/commit/0a0e9aa897123ebec50af08e9385b2ca4fc5bb28)]:
- @sveltejs/kit@2.5.11

## 2.4.0

### Minor Changes
10 changes: 9 additions & 1 deletion packages/adapter-cloudflare-workers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"name": "@sveltejs/adapter-cloudflare-workers",
"version": "2.4.0",
"version": "2.4.1",
"description": "SvelteKit adapter that creates a Cloudflare Workers site using a function for dynamic server rendering",
"keywords": [
"adapter",
"cloudflare workers",
"deploy",
"hosting",
"svelte",
"sveltekit"
],
"repository": {
"type": "git",
"url": "https://github.com/sveltejs/kit",
9 changes: 9 additions & 0 deletions packages/adapter-cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,14 @@
# @sveltejs/adapter-cloudflare

## 4.4.1

### Patch Changes

- chore: add keywords for discovery in npm search ([#12330](https://github.com/sveltejs/kit/pull/12330))

- Updated dependencies [[`25acb1d9fce998dccd8050b93cf4142c2b082611`](https://github.com/sveltejs/kit/commit/25acb1d9fce998dccd8050b93cf4142c2b082611), [`642c4a4aff4351b786fe6274aa2f0bf7d905faf9`](https://github.com/sveltejs/kit/commit/642c4a4aff4351b786fe6274aa2f0bf7d905faf9), [`0a0e9aa897123ebec50af08e9385b2ca4fc5bb28`](https://github.com/sveltejs/kit/commit/0a0e9aa897123ebec50af08e9385b2ca4fc5bb28)]:
- @sveltejs/kit@2.5.11

## 4.4.0

### Minor Changes
10 changes: 9 additions & 1 deletion packages/adapter-cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"name": "@sveltejs/adapter-cloudflare",
"version": "4.4.0",
"version": "4.4.1",
"description": "Adapter for building SvelteKit applications on Cloudflare Pages with Workers integration",
"keywords": [
"adapter",
"cloudflare pages",
"deploy",
"hosting",
"svelte",
"sveltekit"
],
"repository": {
"type": "git",
"url": "https://github.com/sveltejs/kit",
11 changes: 11 additions & 0 deletions packages/adapter-netlify/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,16 @@
# @sveltejs/adapter-netlify

## 4.2.1

### Patch Changes

- chore: update to @rollup/plugin-commonjs@26 ([#12326](https://github.com/sveltejs/kit/pull/12326))

- chore: add keywords for discovery in npm search ([#12330](https://github.com/sveltejs/kit/pull/12330))

- Updated dependencies [[`25acb1d9fce998dccd8050b93cf4142c2b082611`](https://github.com/sveltejs/kit/commit/25acb1d9fce998dccd8050b93cf4142c2b082611), [`642c4a4aff4351b786fe6274aa2f0bf7d905faf9`](https://github.com/sveltejs/kit/commit/642c4a4aff4351b786fe6274aa2f0bf7d905faf9), [`0a0e9aa897123ebec50af08e9385b2ca4fc5bb28`](https://github.com/sveltejs/kit/commit/0a0e9aa897123ebec50af08e9385b2ca4fc5bb28)]:
- @sveltejs/kit@2.5.11

## 4.2.0

### Minor Changes
4 changes: 2 additions & 2 deletions packages/adapter-netlify/index.js
Original file line number Diff line number Diff line change
@@ -92,7 +92,7 @@ export default function ({ split = false, edge = edge_set_in_env_var } = {}) {

await generate_edge_functions({ builder });
} else {
await generate_lambda_functions({ builder, split, publish });
generate_lambda_functions({ builder, split, publish });
}
},

@@ -182,7 +182,7 @@ async function generate_edge_functions({ builder }) {
* @param { string } params.publish
* @param { boolean } params.split
*/
async function generate_lambda_functions({ builder, publish, split }) {
function generate_lambda_functions({ builder, publish, split }) {
builder.mkdirp('.netlify/functions-internal/.svelte-kit');

/** @type {string[]} */
14 changes: 11 additions & 3 deletions packages/adapter-netlify/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,15 @@
{
"name": "@sveltejs/adapter-netlify",
"version": "4.2.0",
"version": "4.2.1",
"description": "A SvelteKit adapter that creates a Netlify app",
"keywords": [
"adapter",
"deploy",
"hosting",
"netlify",
"svelte",
"sveltekit"
],
"repository": {
"type": "git",
"url": "https://github.com/sveltejs/kit",
@@ -39,7 +47,7 @@
},
"devDependencies": {
"@netlify/functions": "^2.4.1",
"@rollup/plugin-commonjs": "^25.0.7",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-json": "^6.1.0",
"@rollup/plugin-node-resolve": "^15.2.3",
"@sveltejs/kit": "workspace:^",
@@ -48,7 +56,7 @@
"@types/set-cookie-parser": "^2.4.7",
"rollup": "^4.14.2",
"typescript": "^5.3.3",
"vitest": "^1.5.0"
"vitest": "^1.6.0"
},
"peerDependencies": {
"@sveltejs/kit": "^2.4.0"
2 changes: 1 addition & 1 deletion packages/adapter-netlify/src/edge.js
Original file line number Diff line number Diff line change
@@ -47,7 +47,7 @@ function is_static_file(request) {

try {
file = decodeURIComponent(file);
} catch (err) {
} catch {
// ignore
}

Loading