SvelteKit 2.59.0

2.59.0
Added 2
  • Support `query.batch` in `requested(...)`
  • Experimental `query.live` function
Changed 1
  • On the server, make the promise returned from `refresh` represent adding the refresh to the map, not the time it takes to run the remote function
Fixed 6
  • Unwrap `Promise` in `RemoteCommand` output type
  • Empty call to `.updates()` on a command/form invocation means 'don't update anything'
  • `form.fields.foo.as('checkbox', default_value)` now works
  • Remote forms with default values defined by `field.as('text', defaultValue)` now correctly reset to the provided default values once submitted
  • Make sure queries always get started correctly
  • Allow plain functions as overrides in `updates`
Minor Changes
  • feat: support query.batch in requested(...) (#15751)

  • breaking: on the server, make the promise returned from refresh represent adding the refresh to the map, not the time it takes to run the remote function (#15705)

  • feat: experimental query.live function (#15705)

Patch Changes
  • fix: unwrap Promise in RemoteCommand output type (#15771)

  • fix: empty call to .updates() on a command/form invocation means "don't update anything" (#15705)

  • fix: form.fields.foo.as('checkbox', default_value) now works (#15752)

  • fix: remote forms with default values defined by field.as('text', defaultValue) now correctly reset to the provided default values once submitted (#15753)

  • fix: make sure queries always get started correctly (#15705)

  • fix: allow plain functions as overrides in updates (#15705)

View original

Upgraded? How did it go?

Discussion