Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency @sveltejs/vite-plugin-svelte to v5 (dev) - autoclosed #12131

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jan 2, 2025

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@sveltejs/vite-plugin-svelte (source) ^1.0.1 -> ^5.0.0 age adoption passing confidence

Release Notes

sveltejs/vite-plugin-svelte (@​sveltejs/vite-plugin-svelte)

v5.0.3

Compare Source

Patch Changes
  • fix errorhandling to work with errors that don't have a code property (#​1054)

v5.0.2

Compare Source

Patch Changes
  • adapt internal handling of warning and error code property to changes in svelte5 (#​1044)

v5.0.1

Compare Source

Patch Changes
  • Fix peer dependencies warning (#​1038)

v5.0.0

Compare Source

Major Changes
  • Handle Vite 6 breaking change and remove Vite 5 handling (#​1020)

  • Support Vite 6 (#​1026)

Minor Changes
  • Add esm-env to ssr.noExternal by default to resolve its conditions with Vite (#​1020)

  • Support ?inline query on Svelte style virtual modules (#​1024)

Patch Changes

v4.0.4

Compare Source

Patch Changes
  • fix errorhandling to work with errors that don't have a code property (1a91581)

v4.0.3

Compare Source

Patch Changes
  • adapt internal handling of warning and error code property to changes in svelte5 (#​1046)

v4.0.2

Compare Source

Patch Changes
  • Allow script tags to span multiple lines (5309d7b)

v4.0.1

Compare Source

Patch Changes
  • removed references to compiler options no longer available in svelte5 (#​1010)

v4.0.0

Compare Source

Major Changes
  • only prebundle files with default filenames (.svelte for components, .svelte.(js|ts) for modules) (#​901)

  • remove support for Svelte 4 (#​892)

  • breaking(types): some types that have been unintentionally public are now private (#​934)

  • disable script preprocessing in vitePreprocess() by default because Svelte 5 supports lang=ts out of the box (#​892)

  • replaced svelte-hmr with Svelte 5 compiler hmr integration (#​892)

Minor Changes
  • allow infix notation for svelte modules (#​901)

    Previously, only suffix notation .svelte.js was allowed, now you can also use .svelte.test.js or .svelte.stories.js.
    This helps when writing testcases or other auxillary code where you may want to use runes too.

  • feat(config): dynamically extract list of svelte exports from peer dependency so that new exports work automatically" (#​941)

  • feat(warnings): change default loglevel of warnings originating from files in node_modules to debug. To see them call DEBUG:vite-plugin-svelte:node-modules-onwarn pnpm build. (#​989)

Patch Changes
  • fix: make defaultHandler a required argument for onwarn in plugin options (#​895)

  • prebundle with dev: true by default (#​901)

  • fix(dev): compile with hmr: false for prebundled deps as hmr does not work with that (#​950)

  • fix: ensure svelte modules correctly run in DEV mode (#​906)

  • ensure consistent use of compileOptions.hmr also for prebundling (#​956)

  • fix(optimizeDeps): avoid to optimise server only entrypoints of svelte that are never used on the client (#​941)

  • update peer on workspace packages to avoid packages bumping each other (#​916)

  • export PluginOptions interface (#​976)

  • Remove log about experimental status of Svelte 5. Note that breaking changes can still occur while vite-plugin-svelte 4 is in prerelease mode (#​894)

  • fix: ensure vite config is only resolved once during lazy init of vitePreprocess (#​912)

  • fix(vitePreprocess): default to build config so that svelte-check does not trigger dev-only plugins (#​931)

  • fix: only apply infix filter to basename (#​920)

  • fix: disable hmr when vite config server.hmr is false (#​913)

  • fix(dev): make sure custom cssHash is applied consistently even for prebundled components to avoid hash mismatches during hydration (#​950)

  • Updated dependencies [22baa25, 49324db, e9f048c, 213fedd]:

v3.1.2

Compare Source

Patch Changes
  • add warning for svelte5 users to update to vite-plugin-svelte@4 (#​964)

v3.1.1

Compare Source

Patch Changes
  • fix: ensure vite config is only resolved once during lazy init of vitePreprocess (#​917)

  • fix: disable hmr when vite config server.hmr is false (#​917)

v3.1.0

Compare Source

Minor Changes
  • feat(svelte5): enable hmr option in dev (#​836)
Patch Changes

v3.0.2

Compare Source

Patch Changes
  • fix(compile): correctly determine script lang in files where a comment precedes the script tag (#​844)

v3.0.1

Compare Source

Patch Changes
  • fix: improve checking of script and style in .svelte code to work with new generic= attribute (#​799)

  • Fix optional parameter types (#​797)

  • Update log level for HMR updates where the output is functionally equivalent to the previous version to "debug" (#​806)

v3.0.0

Compare Source

Major Changes
  • breaking: update minimum supported node version to node18 (#​744)

  • breaking: update supported vite version to vite 5 (#​743)

  • breaking: remove support for svelte 3 (#​746)

  • Preprocess style tags by default with vitePreprocess (#​756)

  • breaking: remove package.json export (#​751)

  • breaking(types): emit types with dts-buddy to include type map (#​751)

  • breaking(debug): remove 'vite:' and add suffixes to debug namespace (#​749)

  • breaking(types): rename SvelteOptions to SvelteConfig (#​751)

  • breaking: prefer svelte exports condition over package.json svelte field (#​747)

Minor Changes
  • feat(preprocess): add warnings in case preprocess dependencies contain anomalies (#​767)

  • Add experimental support for svelte5 (#​787)

Patch Changes

v2.5.3

Compare Source

Patch Changes
  • fix: handle closing tags in attributes when detecting script language (#​796)

v2.5.2

Compare Source

Patch Changes
  • fix compileModule call for optimizing libraries (#​788)

v2.5.1

Compare Source

Patch Changes
  • feat: support Svelte 5 compiler API (#​785)

v2.5.0

Compare Source

Minor Changes
  • feat: add experimental support for Svelte 5 (#​782)

v2.4.6

Compare Source

Patch Changes
  • fix(prebundleSvelteLibraries): don't try to append missing sourcemap (#​737)

v2.4.5

Compare Source

Patch Changes

v2.4.4

Compare Source

Patch Changes
  • fix links in error handling (console and vite overlay) (#​700)

v2.4.3

Compare Source

Patch Changes
  • add svelte/internal/disclose-version to vite config optimizeDeps.include by default (#​692)

v2.4.2

Compare Source

Patch Changes

v2.4.1

Compare Source

Patch Changes

v2.4.0

Compare Source

Minor Changes
  • refactor: release vite-plugin-svelte as unbundled javascript with jsdoc types (#​657)

v2.3.0

Compare Source

Minor Changes
  • Refactor Svelte inspector as a separate package (#​646)
Patch Changes

v2.2.0

Compare Source

Minor Changes
  • feat(inspector): Promote experimental.inspector to regular option (#​631)

  • feat(inspector): allow configuration via environment SVELTE_INSPECTOR_OPTIONS or SVELTE_INSPECTOR_TOGGLE (#​631)

  • feat(inspector): enable holdMode by default (#​631)

  • Remove internal SvelteKit specific handling (#​638)

Patch Changes
  • fix(inspector): prepend vite base when calling __openInEditor (#​631)

  • fix(inspector): after a file has been opened, automatically disable inspector on leaving browser (#​631)

  • fix(inspector): use control-shift as default keycombo on linux to avoid problems in firefox (#​631)

  • fix(svelte-inspector): mount outside body to avoid hydration claiming body removing it (#​631)

v2.1.1

Compare Source

Patch Changes
  • fix(resolve): normalize path resolved from "svelte" field to ensure consistency across operating systems (#​635)

v2.1.0

Compare Source

Minor Changes
  • log warnings for packages that use the svelte field to resolve Svelte files differently than standard Vite resolve (#​510)
Patch Changes
  • fix(vitePreprocess): add dependencies to style preprocessor output (#​625)

  • Skip Vite resolve workaround on Vite 4.1+ or Svelte 4+ (#​622)

  • fix(vitePreprocess): use relative paths without lang suffix in sourcemaps to avoid missing source file errors. (#​625)

  • Log stats in debug mode and remove experimental.disableCompileStats option. Use DEBUG="vite:vite-plugin-svelte:stats" when starting the dev server or build to log the compile stats. (#​614)

v2.0.4

Compare Source

Patch Changes
  • fix(vitePreprocess): remove problematic pure annotations that could lead to wrong build output in some cases (#​609)

v2.0.3

Compare Source

Patch Changes
  • fix(vitePreprocess): use relative paths in sourcemap sources (#​570)

  • show correct error overlay for compiler errors during hot update (#​592)

  • respect custom resolve.mainFields config when adding svelte (#​582)

v2.0.2

Compare Source

Patch Changes
  • improve detection of sveltekit in inspector plugin to be compatible to latest changes (47c54c9)

v2.0.1

Compare Source

Patch Changes
  • update minimum version of vitefu dependency to avoid peer mismatch (#​543)

v2.0.0

Compare Source

Major Changes
  • update svelte peerDependency to ^3.54.0 (#​529)

  • remove commonjs variant of vite-plugin-svelte (#​522)

    Make sure your package.json contains "type": "module"and see FAQ for more information

  • update vite peerDependency to vite-4 (#​521)

Patch Changes
  • Remove experimental.useVitePreprocess option in favour of vitePreprocess (#​538)

  • Remove pre Vite 3.2 support for vitePreprocess (#​536)


Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot requested a review from a team as a code owner January 2, 2025 17:59
@renovate renovate bot added the type: chore label Jan 2, 2025
Copy link

socket-security bot commented Jan 2, 2025

New and removed dependencies detected. Learn more about Socket for GitHub ↗︎

Package New capabilities Transitives Size Publisher
npm/@sveltejs/[email protected] Transitive: environment, filesystem, unsafe +33 236 MB conduitry, dominik_g, rich_harris, ...1 more

🚮 Removed packages: npm/@sveltejs/[email protected]

View full report↗︎

Copy link
Contributor

github-actions bot commented Jan 2, 2025

Package Changes Through 5d65ff8

No changes.

Add a change file through the GitHub UI by following this link.


Read about change files or the docs at github.com/jbolda/covector

@renovate renovate bot force-pushed the renovate/dev-sveltejs-vite-plugin-svelte-5.x branch 4 times, most recently from f527a0b to a6ffa49 Compare January 3, 2025 20:49
@renovate renovate bot force-pushed the renovate/dev-sveltejs-vite-plugin-svelte-5.x branch from a6ffa49 to 5d65ff8 Compare January 3, 2025 21:35
@renovate renovate bot changed the title chore(deps): update dependency @sveltejs/vite-plugin-svelte to v5 (dev) chore(deps): update dependency @sveltejs/vite-plugin-svelte to v5 (dev) - autoclosed Jan 3, 2025
@renovate renovate bot closed this Jan 3, 2025
@renovate renovate bot deleted the renovate/dev-sveltejs-vite-plugin-svelte-5.x branch January 3, 2025 22:07
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.

0 participants