Skip to content

fix: invalidate preload cache when invalidateAll is true - #14420

Merged
Rich-Harris merged 1 commit into
sveltejs:mainfrom
LeeWxx:fix/preload-invalidation-after-form-submit
Sep 12, 2025
Merged

Rich-Harris merged 1 commit into
sveltejs:mainfrom
LeeWxx:fix/preload-invalidation-after-form-submit

Conversation

@LeeWxx

@LeeWxx LeeWxx commented Sep 12, 2025 •

Copy link
Copy Markdown
Contributor

Fixes #14386


Please don't delete this checklist! Before submitting the PR, please make sure you do the following:

Tests

  • Run the tests with pnpm test and lint the project with pnpm lint and pnpm check

Changesets

  • If your PR makes a change that should be noted in one or more packages' changelogs, generate a changeset by running pnpm changeset and following the prompts. Changesets that add features should be minor and those that fix bugs should be patch. Please prefix changeset messages with feat:, fix:, or chore:.

Edits

  • Please ensure that 'Allow edits from maintainers' is checked. PRs without this option may be closed.

@changeset-bot

changeset-bot Bot commented Sep 12, 2025

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: c63e4bd

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

@Rich-Harris Rich-Harris left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

thank you!

@Rich-Harris
Rich-Harris merged commit 6feaab1 into sveltejs:main Sep 12, 2025
@github-actions github-actions Bot mentioned this pull request Sep 12, 2025
Copilot AI pushed a commit to Stadly/kit that referenced this pull request Mar 6, 2026
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.

Preloading leads to stale data after form submission

2 participants