Skip to content
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

chore(deps): update svelte #867

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

chore(deps): update svelte #867

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 20, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sveltejs/kit (source) 2.15.2 -> 2.20.2 age adoption passing confidence
svelte (source) 5.17.3 -> 5.25.3 age adoption passing confidence
svelte-check 4.1.3 -> 4.1.5 age adoption passing confidence

Release Notes

sveltejs/kit (@​sveltejs/kit)

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)

sveltejs/svelte (svelte)

v5.25.3

Compare Source

Patch Changes
  • fix: prevent state runes from being called with spread (#​15585)

v5.25.2

Compare Source

Patch Changes
  • feat: migrate reassigned deriveds to $derived (#​15581)

v5.25.1

Compare Source

Patch Changes
  • fix: prevent dev server from throwing errors when attempting to retrieve the proxied value of an iframe's contentWindow (#​15577)

v5.25.0

Compare Source

Minor Changes

v5.24.1

Compare Source

Patch Changes
  • fix: use get in constructor for deriveds (#​15300)

  • fix: ensure toStore root effect is connected to correct parent effect (#​15574)

v5.24.0

Compare Source

Minor Changes
  • feat: allow state created in deriveds/effects to be written/read locally without self-invalidation (#​15553)
Patch Changes
  • fix: check if DOM prototypes are extensible (#​15569)

  • Keep inlined trailing JSDoc comments of properties when running svelte-migrate (#​15567)

  • fix: simplify set calls for proxyable values (#​15548)

  • fix: don't depend on deriveds created inside the current reaction (#​15564)

v5.23.2

Compare Source

Patch Changes
  • fix: don't hoist listeners that access non hoistable snippets (#​15534)

v5.23.1

Compare Source

Patch Changes
  • fix: invalidate parent effects when child effects update parent dependencies (#​15506)

  • fix: correctly match :has() selector during css pruning (#​15277)

  • fix: replace undefined with void 0 to avoid edge case (#​15511)

  • fix: allow global-like pseudo-selectors refinement (#​15313)

  • chore: don't distribute unused types definitions (#​15473)

  • fix: add files and group to HTMLInputAttributes in elements.d.ts (#​15492)

  • fix: throw rune_invalid_arguments_length when $state.raw() is used with more than 1 arg (#​15516)

v5.23.0

Compare Source

Minor Changes
  • fix: make values consistent between effects and their cleanup functions (#​15469)

v5.22.6

Compare Source

Patch Changes
  • fix: skip log_if_contains_state if only logging literals (#​15468)

  • fix: Add closedby property to HTMLDialogAttributes type (#​15458)

  • fix: null and warnings for local handlers (#​15460)

v5.22.5

Compare Source

Patch Changes
  • fix: memoize clsx calls (#​15456)

  • fix: respect svelte-ignore hydration_attribute_changed on elements with spread attributes (#​15443)

  • fix: always use setAttribute when setting style (#​15323)

  • fix: make style: directive and CSS handling more robust (#​15418)

v5.22.4

Compare Source

Patch Changes
  • fix: never deduplicate expressions in templates (#​15451)

v5.22.3

Compare Source

Patch Changes
  • fix: run effect roots in tree order (#​15446)

v5.22.2

Compare Source

Patch Changes
  • fix: correctly set is_updating before flushing root effects (#​15442)

v5.22.1

Compare Source

Patch Changes
  • chore: switch acorn-typescript plugin (#​15393)

v5.22.0

Compare Source

Minor Changes
  • feat: Add idPrefix option to render (#​15428)
Patch Changes
  • fix: make dialog element and role interactive (#​15429)

v5.21.0

Compare Source

Minor Changes
  • chore: Reduce hydration comment for {:else if} (#​15250)
Patch Changes
  • fix: disallow bind:group to snippet parameters (#​15401)

v5.20.5

Compare Source

Patch Changes
  • fix: allow double hyphen css selector names (#​15384)

  • fix: class:directive not working with $restProps #​15386 (#​15389)
    fix: spread add an useless cssHash on non-scoped element

  • fix: catch error on @​const tag in svelte:boundary in DEV mode (#​15369)

  • fix: allow for duplicate var declarations (#​15382)

  • fix : bug "$0 is not defined" on svelte:element with a function call on class (#​15396)

v5.20.4

Compare Source

Patch Changes
  • fix: update types and inline docs for flushSync (#​15348)

v5.20.3

Compare Source

Patch Changes
  • fix: allow @const inside #key (#​15377)

  • fix: remove unnecessary ?? '' on some expressions (#​15287)

  • fix: correctly override class attributes with class directives (#​15352)

v5.20.2

Compare Source

Patch Changes
  • chore: remove unused options.uid in render (#​15302)

  • fix: do not warn for binding_property_non_reactive if binding is a store in an each (#​15318)

  • fix: prevent writable store value from becoming a proxy when reassigning using $-prefix (#​15283)

  • fix: muted reactive without bind and select/autofocus attributes working with function calls (#​15326)

  • fix: ensure input elements and elements with dir attribute are marked as non-static (#​15259)

  • fix: fire delegated events on target even it was disabled in the meantime (#​15319)

v5.20.1

Compare Source

Patch Changes
  • fix: ensure AST analysis on svelte.js modules succeeds (#​15297)

  • fix: ignore typescript abstract methods (#​15267)

  • fix: correctly ssr component in svelte:head with $props.id() or css='injected' (#​15291)

v5.20.0

Compare Source

Minor Changes
  • feat: SSR-safe ID generation with $props.id() (#​15185)
Patch Changes
  • fix: take private and public into account for constant_assignment of derived state (#​15276)

  • fix: value/checked not correctly set using spread (#​15239)

  • chore: tweak effect self invalidation logic, run transition dispatches without reactive context (#​15275)

  • fix: use importNode to clone templates for Firefox (#​15272)

  • fix: recurse into $derived for ownership validation (#​15166)

v5.19.10

Compare Source

Patch Changes
  • fix: when re-connecting unowned deriveds, remove their unowned flag (#​15255)

  • fix: allow mutation of private derived state (#​15228)

v5.19.9

Compare Source

Patch Changes
  • fix: ensure unowned derived dependencies are not duplicated when reactions are skipped (#​15232)

  • fix: hydrate href that is part of spread attributes (#​15226)

v5.19.8

Compare Source

Patch Changes
  • fix: properly set value property of custom elements (#​15206)

  • fix: ensure custom element updates don't run in hydration mode (#​15217)

  • fix: ensure tracking returns true, even if in unowned (#​15214)

v5.19.7

Compare Source

Patch Changes
  • chore: remove unused code from signal logic (#​15195)

  • fix: encounter svelte:element in blocks as sibling during pruning css (#​15165)

v5.19.6

Compare Source

Patch Changes
  • fix: do not prune selectors like :global(.foo):has(.scoped) (#​15140)

  • fix: don't error on slot prop inside block inside other component (#​15148)

  • fix: ensure reactions are correctly attached for unowned deriveds (#​15158)

  • fix: silence a11y attribute warnings when spread attributes present (#​15150)

  • fix: prevent false-positive ownership validations due to hot reload (#​15154)

  • fix: widen ownership when calling setContext (#​15153)

v5.19.5

Compare Source

Patch Changes
  • fix: improve derived connection to ownership graph (#​15137)

  • fix: correctly look for sibling elements inside blocks and components when pruning CSS (#​15106)

v5.19.4

Compare Source

Patch Changes
  • fix: Add bind:focused property to HTMLAttributes type (#​15122)

  • fix: lazily connect derievds (in deriveds) to their parent (#​15129)

  • fix: disallow $state/$derived in const tags (#​15115)

v5.19.3

Compare Source

Patch Changes
  • fix: don't throw for undefined non delegated event handlers (#​15087)

  • fix: consistently set value to blank string when value attribute is undefined (#​15057)

  • fix: optimise || expressions in template (#​15092)

  • fix: correctly handle novalidate attribute casing (#​15083)

  • fix: expand boolean attribute support (#​15095)

  • fix: avoid double deriveds in component props (#​15089)

  • fix: add check for is attribute to correctly detect custom elements (#​15086)

v5.19.2

Compare Source

Patch Changes
  • fix: address regression with untrack (#​15079)

v5.19.1

Compare Source

Patch Changes
  • fix: when re-connecting unowned deriveds, remove their unowned flag (#​15255)

  • fix: allow mutation of private derived state (#​15228)

v5.19.0

Compare Source

Minor Changes
  • feat: Expose ClassValue from svelte/elements (#​15035)
Patch Changes
  • fix: create fewer deriveds for concatenated strings (#​15041)

  • fix: correctly parse leading comments in function binding (#​15020)

v5.18.0

Compare Source

Minor Changes
  • feat: allow <template> elements to contain any child (#​15007)
Patch Changes
  • fix: ensure resume effects are scheduled in topological order (#​15012)

  • fix: bump esrap (#​15015)

  • fix: remove listener on bind_current_time teardown (#​15013)

v5.17.5

Compare Source

Patch Changes
  • feat: allow const tag inside svelte:boundary (#​14993)

  • fix: ensure signal write invalidation within effects is consistent (#​14989)

v5.17.4

Compare Source

Patch Changes
  • fix: never consider inert boundary effects (#​14999)

  • fix: store access on component destroy (#​14968)

  • fix: correctly transform pre with no content (#​14973)

  • fix: wrap each block expression in derived to encapsulate effects (#​14967)

sveltejs/language-tools (svelte-check)

v4.1.5

Compare Source

  • fix: take other snippets into account when checking for hoistability (#​2668)
  • fix: disambiguate render in module script (#​2667)
  • fix: properly transform $props.id when $props is assigned to props (#​2694)
  • fix: handle booleanish popover (#​2702)
  • chore: bump vscode-html/css-language-service (#​2677)
  • fix: use referenced project's compiler option to get resolution mode (#​2676)

v4.1.4

Compare Source

  • fix: don't hoist types/snippets referencing stores or destructured variables (#​2661)

Configuration

📅 Schedule: Branch creation - "before 6am on monday" (UTC), Automerge - At any time (no schedule defined).

🚦 Automerge: Enabled.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


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

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

Sorry, something went wrong.

@renovate renovate bot enabled auto-merge (squash) January 20, 2025 02:07
Copy link

vercel bot commented Jan 20, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Updated (UTC)
cookbook ✅ Ready (Inspect) Visit Preview Mar 23, 2025 5:36pm

Copy link
Owner

@Tobi-mmt Tobi-mmt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

tests run forever. check that

@renovate renovate bot force-pushed the renovate/svelte branch from f6cd7bc to 5070ecf Compare March 6, 2025 02:47
@renovate renovate bot force-pushed the renovate/svelte branch from 5070ecf to c2a3381 Compare March 6, 2025 14:37
@renovate renovate bot force-pushed the renovate/svelte branch from c2a3381 to bfabff2 Compare March 7, 2025 17:55
@renovate renovate bot force-pushed the renovate/svelte branch from bfabff2 to 75455d6 Compare March 7, 2025 21:36
@renovate renovate bot force-pushed the renovate/svelte branch from 75455d6 to f5767f9 Compare March 11, 2025 19:19
@renovate renovate bot force-pushed the renovate/svelte branch from f5767f9 to a31e132 Compare March 14, 2025 21:52
@renovate renovate bot force-pushed the renovate/svelte branch from a31e132 to 4beade2 Compare March 15, 2025 17:49
@renovate renovate bot force-pushed the renovate/svelte branch from 4beade2 to 15c62fe Compare March 17, 2025 02:46
@renovate renovate bot force-pushed the renovate/svelte branch from 15c62fe to f81ad19 Compare March 17, 2025 18:10
@renovate renovate bot force-pushed the renovate/svelte branch from f81ad19 to c6547f7 Compare March 18, 2025 19:50
@renovate renovate bot force-pushed the renovate/svelte branch from c6547f7 to 865a985 Compare March 21, 2025 12:00
@renovate renovate bot force-pushed the renovate/svelte branch from 865a985 to 7497331 Compare March 21, 2025 16:39
@renovate renovate bot force-pushed the renovate/svelte branch from 7497331 to bae0a47 Compare March 21, 2025 23:16
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.

1 participant