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 svelte-check to v4 #3424

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

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented Sep 2, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
svelte-check 3.4.3 -> 4.1.0 age adoption passing confidence

Release Notes

sveltejs/language-tools (svelte-check)

v4.1.0

Compare Source

  • fix: don't move appended content from previous node while hoisting interface (#​2596)
  • fix: ensure hoisted interfaces are moved after hoisted imports (#​2597)
  • fix: preserve bind:... mapping on elements for better source maps
  • feat: prepare for some upcoming features of Svelte 5

v4.0.9

Compare Source

  • fix: detect shadowed variables/types during type hoisting (#​2590)

v4.0.8

Compare Source

  • fix: fall back to any instead of unknown for untyped $props (#​2582)
  • fix: robustify and fix file writing (#​2584)
  • fix: hoist types related to $props rune if possible (#​2571)

v4.0.7

Compare Source

  • fix: $props: infer types for $bindable, infer function type from arrow function

v4.0.6

Compare Source

  • chore: autotype const load = ... declarations (#​2540)
  • chore: provide component instance type in Svelte 5 (#​2553)
  • chore: support typescript 5.6 (#​2545)
  • fix: infer object and array shapes from fallback types (#​2562)

v4.0.5

Compare Source

  • fix: include named exports in svelte 5 type (#​2528)

v4.0.4

Compare Source

  • fix: relax component constructor type (#​2524)

v4.0.3

Compare Source

  • breaking(svelte5): only generate function component shape in runes mode (#​2517). This means you can no longer just do Component in type positions. Instead you need to prepend it with typeof. Here's how you do it:
    • ...when typing a component instance: Before: let x: Component. After: let x: ReturnType<typeof Component>
    • ...when typing a component constructor/function: Before let x: typeof Component. After let x: typeof Component (no change)
  • fix: revert additional two-way-binding checks as they were causing bugs (#​2508)
  • fix: include files indirectly belonging to a project into correct project (#​2488)
  • fix: check project files update more aggressively before assigning service (#​2518)
  • chore: upgrade to chokidar 4 (#​2502)

v4.0.2

Compare Source

  • fix: ensure components typed through Svelte 5's Component interface get proper intellisense

v4.0.1

Compare Source

  • fix: remove ancient process augmentation from internal d.ts file

v4.0.0

Compare Source

  • chore: bump magic-string (#​2476)
  • chore: switch from fast-glob to fdir (#​2433)
  • fix: detect <script module> tag (#​2482)
  • feat: better type checking for bindings in Svelte 5 (#​2477)
  • feat: replace svelte-preprocess with barebones TS preprocessor (#​2452)
  • feat: project reference support (#​2463)
Breaking changes
  • require Svelte 4 or later (#​2453)
  • make TypeScript a peer dependency, require TS 5 or later (#​2453)
  • require node 18 or later (#​2453)
  • process augmentation (declaring a process.browser field) was removed
  • slight changes to how files are assigned to which tsconfig.json (#​1234, #​2463)
  • slight changes to how Svelte module resolution works; .svelte files now take precedence over .svelte.js/ts files (if both exist) (#​2481)
  • language-server now forces fewer TypeScript options. Most notably skipLibCheck is no longer forced to true, which may result in d.ts files now being checked in your project, which they were not before, revealing type errors. Either fix those or add "skipLibCheck": true to your tsconfig.json (#​1976, #​2463)

v3.8.6

Compare Source

  • fix: support Svelte 5 module script attribute (#​2473)

v3.8.5

Compare Source

  • chore: bump html/css language service (#​2424)
  • chore: better "cannot use bind:" error message (#​2429)
  • fix: no implicit children prop when using slot (#​2427)
  • fix: correctly handle HTML between implicit snippet props (#​2450)
  • fix: correctly scope snippet declarations (#​2449)
  • fix: make it possible to type snippet parameters using JSDoc (#​2449)
  • fix: add legacy methods to own component shape (#​2451)

v3.8.4

Compare Source

  • fix: ensure bindings and exports work properly for Svelte 5 + TS5.5

v3.8.3

Compare Source

  • fix: detect root snippets correctly
  • fix: prevent false positive store declarations (#​2422)

v3.8.2

Compare Source

v3.8.1

Compare Source

  • fix: adjust ambient module snipping logic
  • chore: speed up regex

v3.8.0

Compare Source

  • fix: allow for whitespace in snippets declaration (#​2366)
  • fix: allow as expressions for bindable props (#​2372)
  • fix: force correct semantic tokens for $props types (#​2379)
  • feat: Svelte 5 component class/function interop (#​2380)

v3.7.1

Compare Source

  • fix: rework bindable types strategy (#​2361)

v3.7.0

Compare Source

  • feat: mark only properties as bindable that were declared using $bindable() in Svelte 5 runes mode (#​2336)
  • chore: better Svelte 5 interop (#​2336)
  • fix: preserve event attribute casing in Svelte 5 (#​2347)
  • fix: handle #await inside #snippet (#​2348)
  • fix: better bind:group transformation (#​2349)
  • fix: handle boolean css var (#​2350)

v3.6.9

Compare Source

  • fix: ensure type widening for bind:group
  • perf: improve perf in deleteUnresolvedResolutionsFromCache (#​2320)
  • fix: adjust for moved compiler file in Svelte 5 (#​2327)

v3.6.8

Compare Source

  • chore: support TypeScript 5.4 (#​2313)
  • fix: allow falsy values for render tags

v3.6.7

Compare Source

  • fix: use type instead of generic for $props() (#​2314)

v3.6.6

Compare Source

  • fix: adjust render tag for latest AST version

v3.6.5

Compare Source

  • fix: adjust $props() comment type logic (#​2294)
  • fix: use Svelte 4 compiler from user when available
  • fix: adjust snippet helper type to new snippet API
  • fix: also take type argument into account when analyzing $props()
  • fix: don't add form type to zero types when property is not typed out

v3.6.4

Compare Source

  • fix: take type annotations into account when transforming one-way bindings (#​2283)

Svelte 5:

  • fix: deduplicate generate props/events/slot types correctly (#​2269)
  • fix: adjust snippet code generation for new AST shape (#​2282)
  • fix: ensure correct types for media bindings (#​2284)
  • fix: implict children tweaks (#​2285) (#​2263)

v3.6.3

Compare Source

  • fix: various snippet improvements
  • fix: don't remove non-null-assertion operator (#​2248)
  • fix: prevent crash in moduleResolution Node16+ (#​2230)
  • fix: correct declareMap reference line number (#​2250)
  • feat: zero effort typings for reroute (#​2252)

v3.6.2

Compare Source

  • feat: add best-effort fallback typings to $props() rune
  • fix: don't add generic type when snippet has no params
  • fix: pass children to zero types Svelte 5 (#​2212)
  • fix: add possibility to pass in version to svelte2tsx to differentiate transpiler targets
  • fix: add implicit children prop in Svelte 5 mode (#​2211)
  • fix: hide deprecation warnings in generated code Svelte 5 (svelte#9586)
  • chore: bump deps (#​2214)
  • perf: faster checks for certain characters (#​2179)

v3.6.1

Compare Source

  • fix: support SvelteKit zero types with $props rune
  • fix: use Snippet type and ensure @render tag only uses snippet functions
  • fix: account for > in attribute strings (#​2204)
  • fix: handle contexts in each/await
  • fix: don't lowercase custom element attributes (#​2190)
  • fix: make root snippets available in instance script (#​2201)

v3.6.0

Compare Source

  • feat: add experimental compatibility for Svelte 5
  • fix: enhance numberOnlyAttributes list

v3.5.2

Compare Source

  • fix: only allow client files and project files to be root files (#​2146)
  • fix: output $$Props code differently to deal with unions better (#​2153)
  • fix: add fallback handler to auto-types (#​2156)

v3.5.1

Compare Source

  • fix: ignore style tag inside script tag (#​2104)
  • fix: ignore error about transition third argument (#​2139)

v3.5.0

Compare Source

  • feat: try load svelteHTML from svelte core (#​2117)
  • fix: svelte:document types
  • fix: generic const modifier (#​2118)

v3.4.6

Compare Source

  • chore: bump deps to force versions that include Svelte 4 peer dependencies

v3.4.5

Compare Source

  • feat: SvelteKit HEAD export
  • fix: type one way bindings that are not the element (#​2066)

v3.4.4

Compare Source

  • (fix) add support for resize observer bindings (#​2044)
  • (fix) remove Svelte 4 ambient module declaration
  • (fix) add vite.config.ts.timestamp-* to ignore list (#​2052)

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 Sep 2, 2024
Copy link

changeset-bot bot commented Sep 2, 2024

⚠️ No Changeset found

Latest commit: 234394c

Merging this PR will not cause a version bump for any packages. If these changes should not result in a new version, you're good to go. If these changes should result in a version bump, you need to add a changeset.

This PR includes no changesets

When changesets are added to this PR, you'll see the packages that this PR includes changesets for and the associated semver types

Click here to learn what changesets are, and how to add one.

Click here if you're a maintainer who wants to add a changeset to this PR

Copy link
Contributor

github-actions bot commented Sep 2, 2024

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

github-actions bot commented Sep 2, 2024

✅ 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% ✓ 514156      ✗ 0     
     data_received................................: 2.1 GB  14 MB/s
     data_sent....................................: 103 MB  689 kB/s
     http_req_blocked.............................: avg=1.56µs   min=1.06µs   med=1.36µs   max=303.44µs p(90)=2.06µs   p(95)=2.28µs  
     http_req_connecting..........................: avg=2ns      min=0s       med=0s       max=129.8µs  p(90)=0s       p(95)=0s      
     http_req_duration............................: avg=366.54µs min=220.22µs med=330.38µs max=14.61ms  p(90)=466.08µs p(95)=486.65µs
       { expected_response:true }.................: avg=366.54µs min=220.22µs med=330.38µs max=14.61ms  p(90)=466.08µs p(95)=486.65µs
     ✓ { mode:graphql-jit }.......................: avg=294.83µs min=220.22µs med=272.66µs max=14.61ms  p(90)=303.11µs p(95)=319.26µs
     ✓ { mode:graphql-no-parse-validate-cache }...: avg=497.59µs min=403.61µs med=467.49µs max=13.3ms   p(90)=507.7µs  p(95)=542.72µs
     ✓ { mode:graphql-response-cache }............: avg=349.43µs min=275.74µs med=330.09µs max=6.85ms   p(90)=360.15µs p(95)=371.99µs
     ✓ { mode:graphql }...........................: avg=373.22µs min=276.47µs med=337.86µs max=13.3ms   p(90)=393.94µs p(95)=446.65µs
     ✓ { mode:uws }...............................: avg=353.71µs min=275.22µs med=330.49µs max=9.83ms   p(90)=364.42µs p(95)=383.54µs
     http_req_failed..............................: 0.00%   ✓ 0           ✗ 257078
     http_req_receiving...........................: avg=34.12µs  min=16.84µs  med=33.99µs  max=8.09ms   p(90)=39.81µs  p(95)=42.07µs 
     http_req_sending.............................: avg=8.83µs   min=5.99µs   med=7.87µs   max=423.82µs p(90)=11.31µs  p(95)=12.73µs 
     http_req_tls_handshaking.....................: avg=0s       min=0s       med=0s       max=0s       p(90)=0s       p(95)=0s      
     http_req_waiting.............................: avg=323.58µs min=189.57µs med=288.44µs max=14.47ms  p(90)=422.32µs p(95)=440.73µs
     http_reqs....................................: 257078  1713.836882/s
     iteration_duration...........................: avg=578.5µs  min=393.3µs  med=539.7µs  max=15.15ms  p(90)=682µs    p(95)=707.04µs
     iterations...................................: 257078  1713.836882/s
     vus..........................................: 1       min=1         max=1   
     vus_max......................................: 2       min=2         max=2   

@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from 8243113 to 0cfa02b Compare September 4, 2024 14:29
Copy link
Contributor

github-actions bot commented Sep 4, 2024

💻 Website Preview

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

@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from aee9853 to 0e84329 Compare September 27, 2024 21:40
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from 0e84329 to 1c77a79 Compare October 11, 2024 15:46
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from 1c77a79 to 498e2ec Compare October 21, 2024 11:25
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch 7 times, most recently from 87e8c85 to 0086065 Compare November 11, 2024 20:25
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch 2 times, most recently from d6eafbe to ef5de8e Compare November 16, 2024 22:59
@renovate renovate bot force-pushed the renovate/svelte-check-4.x branch from ef5de8e to 234394c Compare November 22, 2024 13:30
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