Svelte 5.56.4

5.56.4
Fixed 4
  • Include wrapping parentheses in {@const} declarator end position
  • Always unset reactivity context after restoring it
  • Don't notify searchParams subscribers when the URL changes without affecting the search string
  • Strip ? from optional parameters in <script lang="ts"> so generated JavaScript is valid
Patch Changes
  • fix: include wrapping parentheses in {@const} declarator end position (#18436)

  • fix: always unset reactivity context after restoring it (#18453)

  • fix: don't notify searchParams subscribers when the URL changes without affecting the search string (#18425)

  • fix: strip ? from optional parameters in <script lang="ts"> so generated JavaScript is valid (#18448)

View original

Upgraded? How did it go?

Discussion