-
-
Notifications
You must be signed in to change notification settings - Fork 206
Comparing changes
Open a pull request
base repository: sveltejs/language-tools
base: svelte-check-3.8.6
head repository: sveltejs/language-tools
compare: svelte-check-4.0.0
- 12 commits
- 118 files changed
- 4 contributors
Commits on Aug 27, 2024
-
breaking: svelte-check v4 (#2453)
- breaking: make TypeScript a peer dependency - breaking: require node 18 or later - breaking: require Svelte 4 or later (devDependencies pinned to Svelte 3 because other packages in this repo still use it. Theoretically we still support Svelte 3 with svelte-check v4 but this gives us the opportunity to adjust that later without a major) - chore: switch from fast-glob to fdir (#2433) closes #2397 fixes #2364 --------- Co-authored-by: Simon Holthausen <simon.holthausen@vercel.com> Co-authored-by: Ben McCann <322311+benmccann@users.noreply.github.com>
Configuration menu - View commit details
-
Copy full SHA for d6a2031 - Browse repository at this point
Copy the full SHA d6a2031View commit details -
Configuration menu - View commit details
-
Copy full SHA for 8f5904a - Browse repository at this point
Copy the full SHA 8f5904aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 89a1532 - Browse repository at this point
Copy the full SHA 89a1532View commit details -
breaking: vs code / language-server major (#2475)
- use Svelte 4 as built-in version now - add exports map - bump vs code ls/client version to 9 - require Node 18 / VS Code 1.82 minimum - drive-by fix of __sveltets_2_ensureComponent (the previous version didn't work after all)
Configuration menu - View commit details
-
Copy full SHA for 53856cc - Browse repository at this point
Copy the full SHA 53856ccView commit details -
Configuration menu - View commit details
-
Copy full SHA for 6a05963 - Browse repository at this point
Copy the full SHA 6a05963View commit details -
chore: bump magic-string (#2476)
requires adjustments of mapping tests and a fix in the InlayHintProvider, because more things are mappable now
Configuration menu - View commit details
-
Copy full SHA for ec5fef4 - Browse repository at this point
Copy the full SHA ec5fef4View commit details
Commits on Aug 28, 2024
-
feat: better type checking for bindings in Svelte 5 (#2477)
#1392 This adds enhanced type checking for bindings in Svelte 5: We're not only passing the variable in, we're also assigning the value of the component property back to the variable. That way, we can catch type errors like the child binding having a wider type as the input we give it. It's done for Svelte 5 only because it's a) easier there b) doesn't break as much code (people who upgrade can then also upgrade the types, or use type assertions in the template, which is only possible in Svelte 5). There's one limitation: Because of how the transformation works, we cannot infer generics. In other words, we will not catch type errors for bindings that rely on a generic type. The combination of generics + bindings is probably rare enough that this is okay, and we can revisit this later to try to find a way to make it work, if it comes up. Also note that this does not affect DOM element bindings like <input bind:value={...} />, this is only about component bindings.
Configuration menu - View commit details
-
Copy full SHA for 8c080cf - Browse repository at this point
Copy the full SHA 8c080cfView commit details
Commits on Aug 30, 2024
-
fix: Svelte module resolution tweaks (#2481)
Svelte files are now resolved by intercepting checks for .d.svelte.ts instead of .svelte.ts. As a consequence, we can handle sibling foo.svelte / foo.svelte.ts files and importing both. When doing import Foo from './foo.svelte this now resolves to the Svelte file (prio to #2463 it would resovle to the .svelte.ts file), and doing import Foo from './foo.svelte.js will resolve to the TS file.
Configuration menu - View commit details
-
Copy full SHA for a3a7a91 - Browse repository at this point
Copy the full SHA a3a7a91View commit details -
Configuration menu - View commit details
-
Copy full SHA for d994971 - Browse repository at this point
Copy the full SHA d994971View commit details -
fix: detect
<script module>
tag (#2482)This was missing in #2473 Possibly related to sveltejs/svelte#13039
Configuration menu - View commit details
-
Copy full SHA for 399ad6a - Browse repository at this point
Copy the full SHA 399ad6aView commit details
Commits on Sep 1, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 74f3216 - Browse repository at this point
Copy the full SHA 74f3216View commit details
Commits on Sep 2, 2024
-
Configuration menu - View commit details
-
Copy full SHA for 840c60f - Browse repository at this point
Copy the full SHA 840c60fView commit details
This comparison is taking too long to generate.
Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.
You can try running this command locally to see the comparison on your machine:
git diff svelte-check-3.8.6...svelte-check-4.0.0