Skip to content

chore(deps): update dependency @sveltejs/vite-plugin-svelte to v6 #4112

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

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Jul 10, 2025

This PR contains the following updates:

Package Change Age Confidence
@sveltejs/vite-plugin-svelte (source) 5.1.0 -> 6.1.0 age confidence

Release Notes

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

v6.1.0

Compare Source

Minor Changes
  • feat: add support for the new experimental.async option and apply dynamicCompileOptions when compiling Svelte modules (#​1176)
Patch Changes
  • skip comment blocks when reporting compiler errors that might be caused by a preprocessor issue (#​1166)

  • increase logLevel to info for "no Svelte config found" message (#​1179)

v6.0.0

Compare Source

Major Changes
  • drop support for node18 and update exports map to use default export. cjs is supported via require esm in node 20.19+ (#​1129)

  • Remove experimental "advanced raw queries" feature. Basic File.svelte?raw is still supported. (#​1145)

  • Using the typescript preprocessor now requires a tsconfig.json with verbatimModuleSyntax enabled, eg @​tsconfig/svelte (#​1135)

  • remove support for loading commonjs svelte config files (#​1142)

  • bump vite peer dependency to ^6.3.0 || ^7.0.0 (#​1130)

  • define filters using object hook syntax and optimize the filter for resolveId (#​1132)

    NOTE
    include logic has changed to files matching svelteConfig.include OR svelteConfig.extensions. Previously only files matching both were loaded and transformed.

  • split preprocess and compile into separate plugins (#​1145)

    It allows vite plugins to transform code between preprocess and compile, see docs and is the recommended way to replace plugin.api.sveltePreprocess usage in other vite plugins.
    You can also use vite-plugin-inspect now to inspect the result of svelte.preprocess by checking the transform of vite-plugin-svelte:preprocess

    NOTE
    This can be a breaking change in case you have other plugins besides vite-plugin-svelte transforming your svelte code
    To fix this, read the docs on how to order plugins in relation to preprocess and compile

Minor Changes
  • Add experimental support for rolldown-vite (#​1135)

  • replace esbuild optimizer with rolldown optimizer if rolldown-vite is used (#​1135)

  • add support for loading TypeScript Svelte config files in runtimes that support it (#​1142)

    NOTE
    This change only applies to vite-plugin-svelte.

    To use svelte.config.ts in SvelteKit, with the Svelte VS Code extension or other tools reading the Svelte config file, you have to wait until support is implemented there.

Patch Changes
  • reduce deprecation logging to info and allow disabling it with a flag (#​1158)

  • refactor internal caching to reduce code, memory use and avoid perEnvironmentCache (#​1154)

  • fix: crawl local workspace private packages devDependencies for generating vite config ssr.noExternal (#​1155)

  • log known-issues link when using rolldown-vite (#​1144)

  • use vite environment api internally (#​1145)

  • remove vite7 beta releases from peerDependency range. (#​1151)

  • deprecate plugin.api.sveltePreprocess (#​1145)

v5.1.1

Compare Source

Patch Changes
  • fix: prevent accidental pollution of svelteconfig.extensions (#​1171)

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 becomes conflicted, 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 added the dependencies Pull requests that update a dependency file label Jul 10, 2025
Copy link

codesandbox bot commented Jul 10, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

Copy link
Contributor

Apollo Federation Subgraph Compatibility Results

Federation 1 Support Federation 2 Support
_service🟢
@key (single)🟢
@key (multi)🟢
@key (composite)🟢
repeatable @key🟢
@requires🟢
@provides🟢
federated tracing🟢
@link🟢
@shareable🟢
@tag🟢
@override🟢
@inaccessible🟢
@composeDirective🟢
@interfaceObject🟢

Learn more:

Copy link
Contributor

💻 Website Preview

The latest changes are available as preview in: https://pr-4112.graphql-yoga.pages.dev

Copy link
Contributor

✅ Benchmark Results

     ✓ no_errors{mode:graphql}
     ✓ expected_result{mode:graphql}
     ✓ no_errors{mode:graphql-jit}
     ✓ expected_result{mode:graphql-jit}
     ✓ no_errors{mode:graphql-response-cache}
     ✓ expected_result{mode:graphql-response-cache}
     ✓ no_errors{mode:graphql-no-parse-validate-cache}
     ✓ expected_result{mode:graphql-no-parse-validate-cache}
     ✓ no_errors{mode:uws}
     ✓ expected_result{mode:uws}

     checks.......................................: 100.00% ✓ 388698      ✗ 0     
     data_received................................: 1.6 GB  11 MB/s
     data_sent....................................: 78 MB   521 kB/s
     http_req_blocked.............................: avg=1.57µs   min=992ns    med=1.36µs   max=300.75µs p(90)=2.03µs   p(95)=2.26µs  
     http_req_connecting..........................: avg=3ns      min=0s       med=0s       max=145.58µs p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=546.96µs min=351.29µs med=490.45µs max=18.86ms  p(90)=651.79µs p(95)=677.91µs
       { expected_response:true }.................: avg=546.96µs min=351.29µs med=490.45µs max=18.86ms  p(90)=651.79µs p(95)=677.91µs
     ✓ { mode:graphql-jit }.......................: avg=455.84µs min=351.29µs med=415.33µs max=18.53ms  p(90)=457.55µs p(95)=478.32µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=693.37µs min=574.59µs med=648.47µs max=7.88ms   p(90)=692.75µs p(95)=720.64µs
     ✓ { mode:graphql-response-cache }............: avg=522.05µs min=406.94µs med=482.66µs max=12.39ms  p(90)=523.09µs p(95)=539.45µs
     ✓ { mode:graphql }...........................: avg=553.67µs min=409.48µs med=498.65µs max=18.86ms  p(90)=570.34µs p(95)=672.14µs
     ✓ { mode:uws }...............................: avg=546.75µs min=419.48µs med=499.28µs max=11.88ms  p(90)=545.76µs p(95)=577.64µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 194349
     http_req_receiving...........................: avg=34.97µs  min=17.06µs  med=33.51µs  max=6.13ms   p(90)=41.41µs  p(95)=46.36µs 
     http_req_sending.............................: avg=9.14µs   min=6.06µs   med=8.15µs   max=1.52ms   p(90)=11.68µs  p(95)=13.15µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=502.84µs min=315.51µs med=447.69µs max=18.63ms  p(90)=608.05µs p(95)=631.7µs 
     http_reqs....................................: 194349  1295.641081/s
     iteration_duration...........................: avg=766.65µs min=526.72µs med=706.15µs max=19.61ms  p(90)=872.65µs p(95)=904.52µs
     iterations...................................: 194349  1295.641081/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@renovate renovate bot force-pushed the renovate/sveltejs-vite-plugin-svelte-6.x branch from f636670 to 3e16233 Compare July 15, 2025 20:40
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
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants