Skip to content

Conversation

@benmccann
Copy link
Member

@benmccann benmccann commented Dec 1, 2023

TODO:

  • Do we need to set NodeNext in the tsconfig.json of library projects or is doing it only inside the package command sufficient?

See the 2.0 milestone and issues tagged with breaking change for a list of what else will end up here

@changeset-bot
Copy link

changeset-bot bot commented Dec 1, 2023

🦋 Changeset detected

Latest commit: 234eab6

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

This PR includes changesets to release 11 packages
Name Type
@sveltejs/kit Major
@sveltejs/adapter-vercel Major
@sveltejs/adapter-node Major
create-svelte Minor
@sveltejs/adapter-cloudflare-workers Minor
@sveltejs/adapter-cloudflare Minor
@sveltejs/adapter-netlify Minor
@sveltejs/adapter-static Major
@sveltejs/adapter-auto Minor
@sveltejs/amp Minor
svelte-migrate 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

* docs: fix wording, note SvelteKit 1.x behavior

* oops

* tweaks

* tweak

---------

Co-authored-by: Rich Harris <[email protected]>
* add failing cross-platform server test

* this seems to fix it

---------

Co-authored-by: Rich Harris <[email protected]>
* shallow routing

* add types

* drive-by fix - bad merge

* warn on use of history.pushState and history.replaceState

* regenerate types

* make url the first argument, even though it's optional — this is more future-proof, as we may add options in future

* tests

* remove state from goto

* tidy up

* tidy up internal navigate API a bit

* more

* use current.url for invalidation, not location.href

* add docs

* copy-paste fail

* on second thoughts

* links

* link

* regenerate types

* update preloadData docs

* fix preloadData docs

* drive-by fix

* Apply suggestions from code review

Co-authored-by: Ignatius Bagus <[email protected]>

* tweaks

* changeset, breaking change docs

* code-golf

* this seems unnecessary

* mention preloadData

* use original replace state

* oops

* handle SPA case

* more involved example - show importing a +page.svelte and correctly handling a click event, and avoid

---------

Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Ben McCann <[email protected]>
Co-authored-by: Simon H <[email protected]>
Co-authored-by: Ignatius Bagus <[email protected]>
Co-authored-by: Simon Holthausen <[email protected]>
* chore: check range is valid

* level 0

---------

Co-authored-by: Rich Harris <[email protected]>
Co-authored-by: Simon Holthausen <[email protected]>
@Rich-Harris Rich-Harris merged commit c8a637d into master Dec 14, 2023
@Rich-Harris Rich-Harris deleted the version-2 branch December 14, 2023 16:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.