Skip to content

Update dependency @sveltejs/kit to ^2.21.1 #447

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Nov 23, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sveltejs/kit (source) ^2.8.0 -> ^2.21.1 age adoption passing confidence

Release Notes

sveltejs/kit (@​sveltejs/kit)

v2.21.1

Compare Source

Patch Changes
  • chore: clarify which functions handleFetch affects (#​13788)

  • fix: ensure $env and $app/environment are correctly set while analysing server nodes (#​13790)

v2.21.0

Compare Source

Minor Changes
  • feat: allow running client-side code at the top-level of universal pages/layouts when SSR is disabled and page options are only boolean or string literals (#​13684)
Patch Changes
  • chore: remove import-meta-resolve dependency (#​13629)

  • fix: remove component code from server nodes that are never used for SSR (#​13684)

v2.20.8

Compare Source

Patch Changes
  • fix: ensure that ssr and csr page options apply to error pages rendered as a result of a load function error on the server (#​13695)

v2.20.7

Compare Source

Patch Changes
  • fix: regression when serializing server data (#​13709)

v2.20.6

Compare Source

Patch Changes

v2.20.5

Compare Source

Patch Changes
  • allow HandleServerError hook to access getRequestEvent (#​13666)

  • fix: prevent Rollup warnings for undefined hooks (#​13687)

v2.20.4

Compare Source

Patch Changes
  • chore: remove internal class-replacement hack that isn't needed anymore (#​13664)

v2.20.3

Compare Source

Patch Changes
  • fix: only call afterNavigate once on app start when SSR is disabled (#​13593)

v2.20.2

Compare Source

Patch Changes
  • fix: allow non-prerendered API endpoint calls during reroute when prerendering (#​13616)

v2.20.1

Compare Source

Patch Changes
  • fix: avoid using top-level await (#​13607)

v2.20.0

Compare Source

Minor Changes
  • feat: add getRequestEvent to $app/server (#​13582)

v2.19.2

Compare Source

Patch Changes
  • fix: lazily load CSS for dynamically imported components (#​13564)

v2.19.1

Compare Source

Patch Changes
  • fix: allow reroute to point to prerendered route (#​13575)

v2.19.0

Compare Source

Minor Changes
Patch Changes

v2.18.0

Compare Source

Minor Changes
Patch Changes
  • fix: correct navigation history with hash router and ensure load functions are rerun on user changes to URL hash (#​13492)

  • fix: include universal load assets as server assets (#​13531)

  • fix: Include root layout and error nodes even when apps have only prerendered pages (#​13522)

  • fix: correctly preload data on mousedown/touchstart if code was preloaded on hover (#​13530)

v2.17.3

Compare Source

Patch Changes
  • fix: avoid simulated CORS errors with non-HTTP URLs (#​13493)

  • fix: correctly preload links on mousedown/touchstart (#​13486)

  • fix: load CSS when using server-side route resolution (#​13498)

  • fix: correctly find shared entry-point CSS files during inlining (#​13431)

v2.17.2

Compare Source

Patch Changes
  • fix: add promise return type to the enhance action callback (#​13420)

  • fix: change server-side route resolution endpoint (#​13461)

v2.17.1

Compare Source

Patch Changes
  • fix: make route resolution imports root-relative if paths.relative option is false (#​13412)

v2.17.0

Compare Source

Minor Changes
  • feat: validate values for cache-control and content-type headers in dev mode (#​13114)

  • feat: support server-side route resolution (#​13379)

Patch Changes
  • chore: don't error during development when using use:enhance with +server as some third party libraries make it possible to POST forms to it (#​13397)

  • fix: skip hooks for server fetch to prerendered routes (#​13377)

  • fix: ignore non-entry-point CSS files during inlining (#​13395)

  • fix: default server fetch to use prerendered paths (#​13377)

v2.16.1

Compare Source

Patch Changes
  • fix: avoid overwriting headers for sub-requests made while loading the error page (#​13341)

  • fix: correctly resolve index file entrypoints such as src/service-worker/index.js (#​13354)

  • fix: correctly handle relative anchors when using the hash router (#​13356)

v2.16.0

Compare Source

Minor Changes
  • feat: add ability to invalidate a custom identifier on goto() (#​13256)

  • feat: remove the postinstall script to support pnpm 10 (#​13304)

    NOTE: users should add "prepare": "svelte-kit sync" to their package.json in order to avoid the following warning upon first running Vite:

    ▲ [WARNING] Cannot find base config file "./.svelte-kit/tsconfig.json" [tsconfig.json]
    
        tsconfig.json:2:12:
          2 │   "extends": "./.svelte-kit/tsconfig.json",
            ╵              ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
    
  • feat: provide PageProps and LayoutProps types (#​13308)

Patch Changes
  • perf: shorten chunk file names (#​13003)

  • fix: strip internal data before passing URL to reroute (#​13092)

  • fix: support absolute URLs and reroutes with data-sveltekit-preload-code="viewport" (#​12217)

  • fix: use current window.fetch for server load fetch requests (#​13315)

  • fix: resolve symlinks when handling routes (#​12740)

  • fix: prevent infinite reload when using the hash router and previewing /index.html (#​13296)

  • fix: service worker base path in dev mode (#​12577)

  • chore: error during development when using use:enhance with +server (#​13197)

  • chore: add most common status codes to redirect() JS documentation (#​13301)

  • fix: correctly link to assets inlined by the inlineStyleThreshold option (#​13068)

  • fix: fall back to importing dynamic dependencies relative to SvelteKit package (#​12532)

  • fix: use arrow function types over bound funcs (#​12955)

  • fix: correctly navigate when hash router is enabled and the browser encodes extra hashes (#​13321)

v2.15.3

Compare Source

Patch Changes
  • fix: fix race-condition when not using SSR when pressing back before initial load (#​12925)

  • fix: remove ":$" from virtual module ids to allow dev server to work with proxies (#​12157)

  • fix: upgrade esm-env to remove warning when NODE_ENV is not set (#​13291)

  • fix: handle Redirect thrown from root layout load function when client-side navigating to a non-existent page (#​12005)

  • fix: make param matchers generated type import end with .js (#​13286)

v2.15.2

Compare Source

Patch Changes
  • fix: correctly notify page store subscribers (#​13205)

  • fix: prerender data when there is no server load but the trailingSlash option is set from the server (#​13262)

  • fix: correctly remove navigation callbacks when returning function in onNavigate (#​13241)

v2.15.1

Compare Source

Patch Changes
  • fix: add CSP hashes/nonces to inline styles when using bundleStrategy: 'inline' (#​13232)

  • fix: silence dev/prod warning during sync (#​13244)

v2.15.0

Compare Source

Minor Changes
  • feat: add bundleStrategy: 'inline' option (#​13193)

v2.14.1

Compare Source

Patch Changes
  • fix: do not mutate URL during reroute logic (#​13222)

v2.14.0

Compare Source

Minor Changes
  • feat: add hash-based routing option (#​13191)
Patch Changes
  • fix: create new URL when calling goto(...), to handle case where URL is mutated (#​13196)

v2.13.0

Compare Source

Minor Changes
  • feat: add bundleStrategy: 'split' | 'single' option (#​13173)

v2.12.2

Compare Source

Patch Changes
  • fix: correctly resolve no hooks file when a similarly named directory exists (#​13188)

  • fix: correctly resolve $app/state on the server with Vite 5 (#​13192)

v2.12.1

Compare Source

Patch Changes
  • fix: replace navigating.current.<x> with navigating.<x> (#​13174)

v2.12.0

Compare Source

Minor Changes
Patch Changes
  • chore: specify the route ID in the error message during development when making a form action request to a route without form actions (#​13167)

v2.11.1

Compare Source

Patch Changes
  • fix: adhere to Vite build.minify setting when building the service worker (#​13143)

v2.11.0

Compare Source

Minor Changes
  • feat: transport custom types across the server/client boundary (#​13149)
Patch Changes
  • fix: correctly resolve hooks file when a similarly named directory exists (#​13144)

v2.10.1

Compare Source

Patch Changes
  • fix: export init hook from get_hooks (#​13136)

v2.10.0

Compare Source

Minor Changes
  • feat: server and client init hook (#​13103)
Patch Changes
  • fix: prevent hooks exported from hooks.js from overwriting hooks from hooks.server.js (#​13104)

v2.9.1

Compare Source

Patch Changes
  • fix: correctly match route groups preceding optional parameters (#​13099)

v2.9.0

Compare Source

Minor Changes
Patch Changes
  • fix: transform link[rel='shortcut icon'] and link[rel='apple-touch-icon'] to be absolute to avoid console error when navigating (#​13077)

v2.8.5

Compare Source

Patch Changes
  • fix: don't hydrate when falling back to error page (#​13056)

v2.8.4

Compare Source

Patch Changes
  • fix: update inline css url generation for FOUC prevention in dev (#​13007)

v2.8.3

Compare Source

Patch Changes
  • fix: ensure error messages are escaped (#​13050)

  • fix: escape values included in dev 404 page (#​13039)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 2 times, most recently from f07bd63 to deb8840 Compare November 23, 2024 22:14
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.8.2 Update dependency @sveltejs/kit to ^2.8.3 Nov 25, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from deb8840 to 116f192 Compare November 25, 2024 08:25
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.8.3 Update dependency @sveltejs/kit to ^2.8.4 Nov 25, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 116f192 to 01d25af Compare November 25, 2024 22:09
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.8.4 Update dependency @sveltejs/kit to ^2.8.5 Nov 27, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 3 times, most recently from 6cdd4f1 to f9a7576 Compare November 29, 2024 18:41
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.8.5 Update dependency @sveltejs/kit to ^2.9.0 Nov 29, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from f9a7576 to 8cc7881 Compare December 4, 2024 13:31
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.9.0 Update dependency @sveltejs/kit to ^2.9.1 Dec 9, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 8cc7881 to c521341 Compare December 9, 2024 20:15
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.9.1 Update dependency @sveltejs/kit to ^2.10.0 Dec 10, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 2 times, most recently from 8b0e014 to 2f968f7 Compare December 10, 2024 18:13
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.10.0 Update dependency @sveltejs/kit to ^2.10.1 Dec 10, 2024
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.10.1 Update dependency @sveltejs/kit to ^2.11.0 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 2 times, most recently from c4e985e to b992db2 Compare December 12, 2024 22:50
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.11.0 Update dependency @sveltejs/kit to ^2.11.1 Dec 12, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from b992db2 to 8c5f1e4 Compare December 16, 2024 17:07
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.11.1 Update dependency @sveltejs/kit to ^2.12.0 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 8c5f1e4 to b480ffc Compare December 16, 2024 20:38
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.12.0 Update dependency @sveltejs/kit to ^2.12.1 Dec 16, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from b480ffc to 3b216e9 Compare December 19, 2024 05:44
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.12.1 Update dependency @sveltejs/kit to ^2.12.2 Dec 19, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 3b216e9 to dc95141 Compare December 19, 2024 17:10
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.12.2 Update dependency @sveltejs/kit to ^2.13.0 Dec 19, 2024
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 4 times, most recently from 9cfe956 to ea5e2d3 Compare April 4, 2025 17:25
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.20.3 Update dependency @sveltejs/kit to ^2.20.4 Apr 4, 2025
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from ea5e2d3 to 6d0e8e7 Compare April 9, 2025 20:06
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.20.4 Update dependency @sveltejs/kit to ^2.20.5 Apr 9, 2025
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 6d0e8e7 to 7d1c055 Compare April 10, 2025 17:29
Copy link
Contributor Author

renovate bot commented Apr 10, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: package-lock.json
npm warn Unknown env config "store". This will stop working in the next major version of npm.
npm warn Unknown project config "resolution-mode". This will stop working in the next major version of npm.
npm error code ERESOLVE
npm error ERESOLVE unable to resolve dependency tree
npm error
npm error While resolving: [email protected]
npm error Found: [email protected]
npm error node_modules/tailwindcss
npm error   dev tailwindcss@"^3.4.17" from the root project
npm error
npm error Could not resolve dependency:
npm error peer tailwindcss@"^4.0.0" from @skeletonlabs/[email protected]
npm error node_modules/@skeletonlabs/skeleton
npm error   dev @skeletonlabs/skeleton@"^3.1.2" from the root project
npm error
npm error Fix the upstream dependency conflict, or retry
npm error this command with --force or --legacy-peer-deps
npm error to accept an incorrect (and potentially broken) dependency resolution.
npm error
npm error
npm error For a full report see:
npm error /runner/cache/others/npm/_logs/2025-05-28T01_29_14_243Z-eresolve-report.txt
npm error A complete log of this run can be found in: /runner/cache/others/npm/_logs/2025-05-28T01_29_14_243Z-debug-0.log

@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 4 times, most recently from 0862132 to 26a0306 Compare April 14, 2025 22:29
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.20.5 Update dependency @sveltejs/kit to ^2.20.6 Apr 14, 2025
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 26a0306 to ca2362b Compare April 15, 2025 03:25
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.20.6 Update dependency @sveltejs/kit to ^2.20.7 Apr 15, 2025
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 2 times, most recently from c578f6a to 629ab75 Compare April 30, 2025 22:55
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.20.7 Update dependency @sveltejs/kit to ^2.20.8 Apr 30, 2025
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 629ab75 to 9ffd3a4 Compare May 12, 2025 23:41
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.20.8 Update dependency @sveltejs/kit to ^2.21.0 May 12, 2025
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 3 times, most recently from 5c3e155 to 27623eb Compare May 18, 2025 17:44
@renovate renovate bot changed the title Update dependency @sveltejs/kit to ^2.21.0 Update dependency @sveltejs/kit to ^2.21.1 May 18, 2025
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch 2 times, most recently from 2d48cd2 to 4f66ce5 Compare May 20, 2025 13:36
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 4f66ce5 to 1590ded Compare May 28, 2025 01:10
@renovate renovate bot force-pushed the renovate/sveltejs-kit-2.x branch from 1590ded to 427adfd Compare May 28, 2025 01:29
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants