Skip to content

chore: deprecate export const snapshot - #16687

Merged
Rich-Harris merged 3 commits into
version-3from
snapshot-deprecate
Aug 8, 2026
Merged

chore: deprecate export const snapshot#16687
Rich-Harris merged 3 commits into
version-3from
snapshot-deprecate

Conversation

@Nic-Polumeyv

Copy link
Copy Markdown
Contributor

Completes the deprecation half of #16670.

@pkg-svelte-dev

pkg-svelte-dev Bot commented Aug 8, 2026

Copy link
Copy Markdown

Install the latest version of @sveltejs/kit from 946b059:

pnpm add https://pkg.svelte.dev/@sveltejs/kit/c/946b059ada42a3d0887d31b8345d3e4f33176b58

Open in pkg.svelte.dev: https://pkg.svelte.dev/repos/kit/pr/16687

@changeset-bot

changeset-bot Bot commented Aug 8, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 946b059

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 Minor

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

Base automatically changed from snapshot-helper to version-3 August 8, 2026 16:24
@svelte-docs-bot

Copy link
Copy Markdown

Comment thread documentation/docs/30-advanced/65-snapshots.md Outdated
@Rich-Harris
Rich-Harris merged commit 946b059 into version-3 Aug 8, 2026
25 of 26 checks passed
@Rich-Harris
Rich-Harris deleted the snapshot-deprecate branch August 8, 2026 17:06
@Rich-Harris

Copy link
Copy Markdown
Member

good think the CLI gives us a way to bypass restrictions when github refuses to merge PRs that are part of a stack 🤷

Rich-Harris pushed a commit that referenced this pull request Aug 10, 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 version-3, this PR
will be updated.

⚠️⚠️⚠️⚠️⚠️⚠️

`version-3` is currently in **pre mode** so this branch has prereleases
rather than normal releases. If you want to exit prereleases, run
`changeset pre exit` on `version-3`.

⚠️⚠️⚠️⚠️⚠️⚠️

# Releases
## @sveltejs/kit@3.0.0-next.17

### Major Changes

- breaking: enhanced cross-page form actions now navigate to the action
page on success and failure, matching native form behavior
([#16684](#16684))

### Minor Changes

- chore: deprecate `export const snapshot` in favour of the `snapshot`
helper ([#16687](#16687))

- feat: add `snapshot` helper to `$app/navigation`
([#16685](#16685))
## @sveltejs/adapter-netlify@7.0.0-next.7

### Patch Changes

- fix: import the generated manifest via `pathToFileURL`, which handles
special characters in the project path
([#16649](#16649))
- Updated dependencies
[[`c66e589`](c66e589),
[`0bee0e8`](0bee0e8),
[`9703b94`](9703b94)]:
  - @sveltejs/kit@3.0.0-next.17

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.

3 participants