Skip to content

Conversation

@dependabot
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jun 26, 2023

Bumps svelte from 3.59.2 to 4.0.0.

Release notes

Sourced from svelte's releases.

[email protected]

Major Changes

  • breaking: Minimum supported Node version is now Node 16 (#8566)

  • breaking: Minimum supported webpack version is now webpack 5 (#8515)

  • breaking: Bundlers must specify the browser condition when building a frontend bundle for the browser (#8516)

  • breaking: Minimum supported vite-plugin-svelte version is now 2.4.1. SvelteKit users can upgrade to 1.20.0 or newer to ensure a compatible version (#8516)

  • breaking: Minimum supported rollup-plugin-svelte version is now 7.1.5 (198dbcf)

  • breaking: Minimum supported svelte-loader is now 3.1.8 (198dbcf)

  • breaking: Minimum supported TypeScript version is now TypeScript 5 (it will likely work with lower versions, but we make no guarantees about that) (#8488)

  • breaking: Remove svelte/register hook, CJS runtime version and CJS compiler output (#8613)

  • breaking: Stricter types for createEventDispatcher (see PR for migration instructions) (#7224)

  • breaking: Stricter types for Action and ActionReturn (see PR for migration instructions) (#7442)

  • breaking: Stricter types for onMount - now throws a type error when returning a function asynchronously to catch potential mistakes around callback functions (see PR for migration instructions) (#8136)

  • breaking: Overhaul and drastically improve creating custom elements with Svelte (see PR for list of changes and migration instructions) (#8457(https://github. com/feat: custom elements rework sveltejs/svelte#8457))

  • breaking: Deprecate SvelteComponentTyped in favor of SvelteComponent (#8512)

  • breaking: Make transitions local by default to prevent confusion around page navigations (#6686)

  • breaking: Error on falsy values instead of stores passed to derived (#7947)

  • breaking: Custom store implementers now need to pass an update function additionally to the set function (#6750(https://github.com/sveltejs/svelte/pull/ 6750))

  • breaking: Do not expose default slot bindings to named slots and vice versa (#6049)

  • breaking: Change order in which preprocessors are applied (#8618)

  • breaking: The runtime now makes use of classList.toggle(name, boolean) which does not work in very old browsers (#8629(https://github.com/sveltejs/svelte/ pull/8629))

  • breaking: apply inert to outroing elements (#8628)

  • breaking: use CustomEvent constructor instead of deprecated createEvent method (#8775)

Minor Changes

... (truncated)

Changelog

Sourced from svelte's changelog.

4.0.0

Major Changes

  • breaking: Minimum supported Node version is now Node 16 (#8566)

  • breaking: Minimum supported webpack version is now webpack 5 (#8515)

  • breaking: Bundlers must specify the browser condition when building a frontend bundle for the browser (#8516)

  • breaking: Minimum supported vite-plugin-svelte version is now 2.4.1. SvelteKit users can upgrade to 1.20.0 or newer to ensure a compatible version (#8516)

  • breaking: Minimum supported rollup-plugin-svelte version is now 7.1.5 (198dbcf)

  • breaking: Minimum supported svelte-loader is now 3.1.8 (198dbcf)

  • breaking: Minimum supported TypeScript version is now TypeScript 5 (it will likely work with lower versions, but we make no guarantees about that) (#8488)

  • breaking: Remove svelte/register hook, CJS runtime version and CJS compiler output (#8613)

  • breaking: Stricter types for createEventDispatcher (see PR for migration instructions) (#7224)

  • breaking: Stricter types for Action and ActionReturn (see PR for migration instructions) (#7442)

  • breaking: Stricter types for onMount - now throws a type error when returning a function asynchronously to catch potential mistakes around callback functions (see PR for migration instructions) (#8136)

  • breaking: Overhaul and drastically improve creating custom elements with Svelte (see PR for list of changes and migration instructions) (#8457)

  • breaking: Deprecate SvelteComponentTyped in favor of SvelteComponent (#8512)

  • breaking: Make transitions local by default to prevent confusion around page navigations (#6686)

  • breaking: Error on falsy values instead of stores passed to derived (#7947)

  • breaking: Custom store implementers now need to pass an update function additionally to the set function (#6750)

  • breaking: Do not expose default slot bindings to named slots and vice versa (#6049)

  • breaking: Change order in which preprocessors are applied (#8618)

  • breaking: The runtime now makes use of classList.toggle(name, boolean) which does not work in very old browsers (#8629)

  • breaking: apply inert to outroing elements (#8628)

  • breaking: use CustomEvent constructor instead of deprecated createEvent method (#8775)

Minor Changes

... (truncated)

Commits

Dependabot compatibility score

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

@dependabot dependabot bot added the dependencies Pull requests that update a dependency file label Jun 26, 2023
@yanick yanick force-pushed the dependabot/npm_and_yarn/svelte-4.0.0 branch from c614e13 to e84be13 Compare June 28, 2023 17:50
@yanick yanick merged commit 1eb8476 into main Jun 28, 2023
@dependabot dependabot bot deleted the dependabot/npm_and_yarn/svelte-4.0.0 branch June 28, 2023 17:53
@github-actions
Copy link

github-actions bot commented Jul 2, 2023

🎉 This PR is included in version 4.0.3 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file released

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants