diff --git a/.changeset/blue-ghosts-tell.md b/.changeset/blue-ghosts-tell.md deleted file mode 100644 index ad023632..00000000 --- a/.changeset/blue-ghosts-tell.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: apply correct type information to `$derived` argument expression diff --git a/.changeset/blue-pets-play.md b/.changeset/blue-pets-play.md deleted file mode 100644 index 873b8bc5..00000000 --- a/.changeset/blue-pets-play.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: Support runes diff --git a/.changeset/brown-cheetahs-greet.md b/.changeset/brown-cheetahs-greet.md deleted file mode 100644 index e32592a5..00000000 --- a/.changeset/brown-cheetahs-greet.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: apply runes to `*.svelte.js` and `*.svelte.ts`. diff --git a/.changeset/eighty-books-study.md b/.changeset/eighty-books-study.md deleted file mode 100644 index 3bff1267..00000000 --- a/.changeset/eighty-books-study.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -breaking: drop @typescript-eslint v4 support diff --git a/.changeset/four-ears-appear.md b/.changeset/four-ears-appear.md deleted file mode 100644 index 03c79b53..00000000 --- a/.changeset/four-ears-appear.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": patch ---- - -fix: for svelte v5.0.0-next.68 & support optional `{@render}` diff --git a/.changeset/friendly-hats-flow.md b/.changeset/friendly-hats-flow.md deleted file mode 100644 index bc0d0478..00000000 --- a/.changeset/friendly-hats-flow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: (experimental) partial support for Svelte v5 parser diff --git a/.changeset/great-meals-travel.md b/.changeset/great-meals-travel.md deleted file mode 100644 index 17ef4b57..00000000 --- a/.changeset/great-meals-travel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: add support for `$bindable` rune diff --git a/.changeset/grumpy-dolphins-pay.md b/.changeset/grumpy-dolphins-pay.md deleted file mode 100644 index 12c562c7..00000000 --- a/.changeset/grumpy-dolphins-pay.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: skip type injection if template uses TypeScript diff --git a/.changeset/grumpy-pans-guess.md b/.changeset/grumpy-pans-guess.md deleted file mode 100644 index 3c4129ef..00000000 --- a/.changeset/grumpy-pans-guess.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: add support for `{#snippet}` and `{@render}` diff --git a/.changeset/honest-mangos-wave.md b/.changeset/honest-mangos-wave.md deleted file mode 100644 index f4eb02cc..00000000 --- a/.changeset/honest-mangos-wave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": patch ---- - -fix: incorrect location when there is whitespace at the beginning of block diff --git a/.changeset/hot-impalas-do.md b/.changeset/hot-impalas-do.md deleted file mode 100644 index 3f2c14eb..00000000 --- a/.changeset/hot-impalas-do.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": patch ---- - -fix: wrong scope in top level snippets diff --git a/.changeset/loud-geese-trade.md b/.changeset/loud-geese-trade.md deleted file mode 100644 index ae153d49..00000000 --- a/.changeset/loud-geese-trade.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: change it to use modern AST, if svelte v5 is installed diff --git a/.changeset/nine-pandas-fly.md b/.changeset/nine-pandas-fly.md deleted file mode 100644 index 646b06c7..00000000 --- a/.changeset/nine-pandas-fly.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: add type of `$effect.active` diff --git a/.changeset/ninety-shoes-clean.md b/.changeset/ninety-shoes-clean.md deleted file mode 100644 index 78119b9e..00000000 --- a/.changeset/ninety-shoes-clean.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": patch ---- - -feat: update `$inspect` types diff --git a/.changeset/pre.json b/.changeset/pre.json deleted file mode 100644 index ee9876c2..00000000 --- a/.changeset/pre.json +++ /dev/null @@ -1,30 +0,0 @@ -{ - "mode": "exit", - "tag": "next", - "initialVersions": { - "svelte-eslint-parser": "0.33.1" - }, - "changesets": [ - "blue-ghosts-tell", - "blue-pets-play", - "brown-cheetahs-greet", - "eighty-books-study", - "four-ears-appear", - "friendly-hats-flow", - "grumpy-dolphins-pay", - "grumpy-pans-guess", - "honest-mangos-wave", - "hot-impalas-do", - "loud-geese-trade", - "nine-pandas-fly", - "ninety-shoes-clean", - "rare-months-bow", - "rare-teachers-search", - "sharp-kangaroos-tease", - "tasty-ants-ring", - "twelve-bulldogs-peel", - "twenty-cats-shave", - "yellow-cooks-end", - "yellow-hornets-bow" - ] -} diff --git a/.changeset/rare-months-bow.md b/.changeset/rare-months-bow.md deleted file mode 100644 index 809630bb..00000000 --- a/.changeset/rare-months-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": patch ---- - -chore: update Svelte 5 version diff --git a/.changeset/rare-teachers-search.md b/.changeset/rare-teachers-search.md deleted file mode 100644 index 0ebd2c19..00000000 --- a/.changeset/rare-teachers-search.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: add support for `$derived.by` type diff --git a/.changeset/sharp-kangaroos-tease.md b/.changeset/sharp-kangaroos-tease.md deleted file mode 100644 index f46f214e..00000000 --- a/.changeset/sharp-kangaroos-tease.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": patch ---- - -feat: add `$state.frozen` support diff --git a/.changeset/tasty-ants-ring.md b/.changeset/tasty-ants-ring.md deleted file mode 100644 index cec9870a..00000000 --- a/.changeset/tasty-ants-ring.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": patch ---- - -fix: incorrect location for `{ #await expr then v }` with spaces diff --git a/.changeset/twelve-bulldogs-peel.md b/.changeset/twelve-bulldogs-peel.md deleted file mode 100644 index 2fae5d01..00000000 --- a/.changeset/twelve-bulldogs-peel.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: add experimental support for generics directive diff --git a/.changeset/twenty-cats-shave.md b/.changeset/twenty-cats-shave.md deleted file mode 100644 index 70c42c69..00000000 --- a/.changeset/twenty-cats-shave.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: add support for `$inspect` and `$effect.root` diff --git a/.changeset/yellow-cooks-end.md b/.changeset/yellow-cooks-end.md deleted file mode 100644 index 8d8071f4..00000000 --- a/.changeset/yellow-cooks-end.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: improve props type diff --git a/.changeset/yellow-hornets-bow.md b/.changeset/yellow-hornets-bow.md deleted file mode 100644 index d3c5ae1b..00000000 --- a/.changeset/yellow-hornets-bow.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -"svelte-eslint-parser": minor ---- - -feat: change AST of `{@render}` and `{#snippet}` to match the latest version of svelte v5. diff --git a/CHANGELOG.md b/CHANGELOG.md index d1eb0d87..12a892c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # svelte-eslint-parser +## 0.34.0 + +### Minor Changes + +#### Add experimental support for Svelte v5 + +- [#421](https://github.com/sveltejs/svelte-eslint-parser/pull/421) [`59fc0e9`](https://github.com/sveltejs/svelte-eslint-parser/commit/59fc0e90bdd20f208a4ae8c3527ea51acf106811) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: (experimental) partial support for Svelte v5 parser +- [#425](https://github.com/sveltejs/svelte-eslint-parser/pull/425) [`ff242c4`](https://github.com/sveltejs/svelte-eslint-parser/commit/ff242c4abc322fd6bc93fda9fb30da14d73a847e) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: Support runes +- [#426](https://github.com/sveltejs/svelte-eslint-parser/pull/426) [`9793cb0`](https://github.com/sveltejs/svelte-eslint-parser/commit/9793cb0d4520b1d5ae9e1f0aa5aff1c8b84cebb6) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: apply runes to `*.svelte.js` and `*.svelte.ts`. +- [#430](https://github.com/sveltejs/svelte-eslint-parser/pull/430) [`af1bae5`](https://github.com/sveltejs/svelte-eslint-parser/commit/af1bae5d4eb9c9605e4f2ad66590b14f1bfa9a55) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: apply correct type information to `$derived` argument expression +- [#498](https://github.com/sveltejs/svelte-eslint-parser/pull/498) [`3b2c62b`](https://github.com/sveltejs/svelte-eslint-parser/commit/3b2c62b2bafa22ec1251968c5969a7006ae61fb9) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add support for `$bindable` rune +- [#440](https://github.com/sveltejs/svelte-eslint-parser/pull/440) [`726f21f`](https://github.com/sveltejs/svelte-eslint-parser/commit/726f21fc7a520abe8b7b0be268f2ceb9b3205531) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: skip type injection if template uses TypeScript +- [#431](https://github.com/sveltejs/svelte-eslint-parser/pull/431) [`ab13a46`](https://github.com/sveltejs/svelte-eslint-parser/commit/ab13a4662410014ad7d53fc7664bd5b464f15cbe) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add support for `{#snippet}` and `{@render}` +- [#437](https://github.com/sveltejs/svelte-eslint-parser/pull/437) [`a27697a`](https://github.com/sveltejs/svelte-eslint-parser/commit/a27697a715072ae6adddf228976f23bab6d48fb8) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: change it to use modern AST, if svelte v5 is installed +- [#441](https://github.com/sveltejs/svelte-eslint-parser/pull/441) [`34232c5`](https://github.com/sveltejs/svelte-eslint-parser/commit/34232c58b49abdb362d74d849e80ef5607d0ce52) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add type of `$effect.active` +- [#479](https://github.com/sveltejs/svelte-eslint-parser/pull/479) [`850ad74`](https://github.com/sveltejs/svelte-eslint-parser/commit/850ad74176416978e360f6c23e4479bff81baea6) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add support for `$derived.by` type +- [#477](https://github.com/sveltejs/svelte-eslint-parser/pull/477) [`5f2b111`](https://github.com/sveltejs/svelte-eslint-parser/commit/5f2b1112e1ceacfabb292e51d33492fba878bc6c) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add experimental support for generics directive +- [#446](https://github.com/sveltejs/svelte-eslint-parser/pull/446) [`168f920`](https://github.com/sveltejs/svelte-eslint-parser/commit/168f9209e8ea9f2a1ef2fad28728f6aa0963638f) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: add support for `$inspect` and `$effect.root` +- [#435](https://github.com/sveltejs/svelte-eslint-parser/pull/435) [`7508680`](https://github.com/sveltejs/svelte-eslint-parser/commit/7508680b3a88c951fa3fe0bdd9b59b21d6034b27) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: improve props type +- [#476](https://github.com/sveltejs/svelte-eslint-parser/pull/476) [`92aeee3`](https://github.com/sveltejs/svelte-eslint-parser/commit/92aeee35ee7bcfd27d8bc1920a341ddf14fa926b) Thanks [@ota-meshi](https://github.com/ota-meshi)! - feat: change AST of `{@render}` and `{#snippet}` to match the latest version of svelte v5. +- [#483](https://github.com/sveltejs/svelte-eslint-parser/pull/483) [`f722d7c`](https://github.com/sveltejs/svelte-eslint-parser/commit/f722d7c047706b4a051999b28d482d0069667da5) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: for svelte v5.0.0-next.68 & support optional `{@render}` +- [#434](https://github.com/sveltejs/svelte-eslint-parser/pull/434) [`0ef067b`](https://github.com/sveltejs/svelte-eslint-parser/commit/0ef067b57ab8897cff03f8793c2767e6d0b83274) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: incorrect location when there is whitespace at the beginning of block +- [#486](https://github.com/sveltejs/svelte-eslint-parser/pull/486) [`79a4fb7`](https://github.com/sveltejs/svelte-eslint-parser/commit/79a4fb718673e5af74075e0575b74b87ef2c406a) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: wrong scope in top level snippets +- [#467](https://github.com/sveltejs/svelte-eslint-parser/pull/467) [`e27a3de`](https://github.com/sveltejs/svelte-eslint-parser/commit/e27a3de8d97dd934a8dc0097374eee3ad3ee61ff) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: update `$inspect` types +- [#466](https://github.com/sveltejs/svelte-eslint-parser/pull/466) [`d5b3322`](https://github.com/sveltejs/svelte-eslint-parser/commit/d5b3322e19b7208815ba4251d75cf46d511cd4f1) Thanks [@baseballyama](https://github.com/baseballyama)! - feat: add `$state.frozen` support +- [#438](https://github.com/sveltejs/svelte-eslint-parser/pull/438) [`c21b54c`](https://github.com/sveltejs/svelte-eslint-parser/commit/c21b54ced7984aaeaac6b12ff66bfc4cc0712caf) Thanks [@ota-meshi](https://github.com/ota-meshi)! - fix: incorrect location for `{ #await expr then v }` with spaces + ## 0.34.0-next.12 ### Patch Changes diff --git a/package.json b/package.json index 483b9084..93186732 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "svelte-eslint-parser", - "version": "0.34.0-next.12", + "version": "0.34.0", "description": "Svelte parser for ESLint", "repository": "git+https://github.com/sveltejs/svelte-eslint-parser.git", "homepage": "https://github.com/sveltejs/svelte-eslint-parser#readme", diff --git a/src/meta.ts b/src/meta.ts index 3e568fc2..3e25a503 100644 --- a/src/meta.ts +++ b/src/meta.ts @@ -2,4 +2,4 @@ // This file has been automatically generated, // in order to update its content execute "pnpm run build:meta" export const name = "svelte-eslint-parser"; -export const version = "0.34.0-next.12"; +export const version = "0.34.0";