Skip to content

Latest commit

 

History

History
177 lines (149 loc) · 5.73 KB

CHANGELOG.md

File metadata and controls

177 lines (149 loc) · 5.73 KB

Changelog

[Unreleased]

[0.22.1]

  • Compatibility with 2022.2 platform

[0.22.0]

  • Fix randomly unresolved reactive variables
  • Compatibility with 2022.1 platform

[0.21.2]

  • Prepare plugin for 2021.3.1 JavaScript changes

[0.21.1]

  • Prepare plugin for 2021.3 JavaScript changes

[0.21.0]

  • Fix tsconfig.json & path aliases resolution
  • Improve placement of imports generated by quick fixes
  • Rework component import suggestions
  • Hide CommonJS import fixes from Svelte files
  • Support $app\* modules from SvelteKit
  • Add trusted to event modifiers
  • Bundle dictionary with some common Svelte-related words
  • Increase required IDE version range to 2021.2 and up

[0.20.0]

  • Provide completions for reactive declarations inside Svelte expressions
  • Add create variable and create function quick fixes that work from within expressions
  • Support sveltekit:prefetch etc. attributes
  • Mark file-level SvelteKit config as implicitly used
  • Improve missing required attribute inspection for shorthand attributes
  • Suppress a lot of misleading inspections
  • Change spacing around script tags inserted by the IDE slightly

[0.19.0]

  • Support svelte:fragment
  • Suppress some false-negative inspections
  • Compatibility with 2021.2 platform

[0.18.0]

  • Add Svelte keyword completions
  • Fix local transition reference bug
  • Fix some regressions in 2020.3

[0.17.0]

  • Support shorthand let directives
  • Enable CSS custom property references
  • Enable Sass mixin references
  • Fix some parser, formatter & folding crashes
  • Suppress store shorthand assignment error
  • Fix store shorthand regression in 2020.3

[0.16.0]

  • Initial support of directives
  • Debugger support

[0.15.2]

  • Properly recognize svelte namespace elements inside blocks
  • Hide invalid completions for component tags after typing "<svelte:"
  • Add missing completion for slot element
  • Fix some IDE Errors related to TypeScript

[0.15.1]

  • Fix unresolved reactive declarations in TypeScript

[0.15.0]

  • Support TypeScript
  • Support #key block

[0.14.0]

  • Enable ESLint support
  • Improve unused imports detection
  • Recognize reactive declarations
  • Support Find Usages for subscribed store references
  • Unwrap subscribed store type for stores defined outside of components
  • Recognize $$slots

[0.13.0]

  • More subtle file icons
  • Stop marking $ labels as unnecessary
  • Support await catch shorthand tag
  • Completions for src and global attributes of style tag
  • Complete parser rewrite
  • Svelte is no longer a template language, so it can be used in one
  • Improved brace highlighting and auto insertion
  • Improved completion of svelte tags
  • More robust Emmet support
  • Complete rewrite of reference resolving
  • Fixed find usages for attribute expressions
  • Complete rewrite of formatter
  • Improved automatic indentation etc
  • One-line blocks stay one-line
  • Added missing fold regions
  • Individual fold levels for Svelte block clauses
  • Improvements around shorthand attribute inspections and intentions
  • More graceful handling of typos
  • Ton of other small fixes
  • Dropped compatibility with 2019.x platform

[0.12.2]

  • Fix compatibility with 2020.2 versions
  • Recognize $$restProps

[0.12.1]

  • Extend supported IDE version range to 2020.x
  • Support basic interpolations inside style attributes

[0.12.0]

  • Support for different CSS dialects via lang attribute
  • Initial support for $-prefixed store references
  • Enable completion of JS declarations from script tags
  • Initial support for module context scripts (inside Svelte files only)
  • More robust logic of resolving component declarations
  • Unresolved components highlighted the same as other identifiers
  • Remove buggy prop insertion while completing tag name
  • Stop inserting mustaches after typing = for attributes
  • Enable quote matching
  • Bug fixes & stability improvements

[0.11.1]

  • Fix regression about not working import suggestions

[0.11.0]

  • Stop annotating directives as unknown attributes
  • Enable CSS references and completions
  • Recognize $$props variable
  • Highlight unresolved references inside script tag the same as inside template expressions
  • Limit IDE finding references to variables defined in e.g. config files
  • Fix IDE error occurring for empty shorthand attribute
  • Minor fixes & stability improvements

[0.10.0]

  • Support attribute value expressions
  • Support shorthand attribute expressions
  • Support spread attributes

[0.9.1]

  • Fix buggy auto-inserted each block closing tag
  • Correctly set minimum version compatibility to 2019.2

[0.9.0]

  • Connect template expressions to definitions inside script tag
  • Support complex JS expressions in Svelte tags
  • Recognize more component imports
  • Properly parse Svelte components with a lowercase name matching HTML single tags
  • Add Svelte Component to New file menu
  • Improve stability

[0.8.0]

  • Add auto import for components
  • Highlight not imported components
  • Mark unused component imports properly
  • Fix Svelte blocks breaking on identifiers containing the words if, as or then
  • Support @html & @debug expressions
  • Display better error messages for incomplete code
  • Extend supported IDE version range to 2019.2

[0.7.0]

  • Support code formatting
  • Emmet-style expansions for Svelte tags. Try typing if[TAB]
  • Auto indent when writing newline between Svelte tags
  • Automatically insert closing Svelte tags
  • Support folding regions (+/- icons in the gutter) for Svelte tags
  • Support Comment with Line/Block Comment actions
  • Highlight Svelte tag mustaches in the same color as keywords
  • Improve parser behavior for incomplete code

[0.6.0]

  • Add syntax highlighting for JS inside blocks & expressions (bar attributes)
  • Add syntax highlighting for Svelte keywords
  • Improve parser recovery after errors
  • Additional minor improvements

[0.5.0]

  • First public release