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

Update Svelte #842

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

Update Svelte #842

wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 19, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sveltejs/kit (source) 2.15.1 -> 2.16.1 age adoption passing confidence
svelte (source) 5.18.0 -> 5.19.6 age adoption passing confidence

Release Notes

sveltejs/kit (@​sveltejs/kit)

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)

sveltejs/svelte (svelte)

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: omit unnecessary nullish coallescing in template expressions (#​15056)

  • fix: more efficient template effect grouping (#​15050)

  • fix: ensure untrack correctly retains the active reaction (#​15065)

  • fix: initialize files bind on hydration (#​15059)

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)


Configuration

📅 Schedule: Branch creation - "after 10pm,before 6:00am" in timezone Europe/Paris, Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants