Skip to content

fix: use default values as fallbacks#15680

Merged
dummdidumm merged 1 commit into
mainfrom
fix-default-values-fallback
Apr 9, 2026
Merged

fix: use default values as fallbacks#15680
dummdidumm merged 1 commit into
mainfrom
fix-default-values-fallback

Conversation

@paoloricciuti

Copy link
Copy Markdown
Member

Closes #15663

Before the input value was used as default and not as a fallback, I changed that.

@changeset-bot

changeset-bot Bot commented Apr 9, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 3eb3232

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@sveltejs/kit Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@svelte-docs-bot

Copy link
Copy Markdown

@dummdidumm dummdidumm merged commit ab8b2f1 into main Apr 9, 2026
29 checks passed
@dummdidumm dummdidumm deleted the fix-default-values-fallback branch April 9, 2026 11:37
@github-actions github-actions Bot mentioned this pull request Apr 9, 2026
elliott-with-the-longest-name-on-github pushed a commit that referenced this pull request Apr 9, 2026
This PR was opened by the [Changesets
release](https://github.com/changesets/action) GitHub action. When
you're ready to do a release, you can merge this and the packages will
be published to npm automatically. If you're not ready to do a release
yet, that's fine, whenever you add more changesets to main, this PR will
be updated.


# Releases
## @sveltejs/kit@2.57.1

### Patch Changes

- fix: better validation for `redirect` inputs
([`10d7b44`](10d7b44))


- fix: enforce `BODY_SIZE_LIMIT` on chunked requests
([`3202ed6`](3202ed6))


- fix: use default values as fallbacks
([#15680](#15680))


- fix: relax form typings for union types
([#15687](#15687))

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

field.as(type, default) breaks reactivity when value is updated via field.set()

2 participants