Skip to content

v0.4.3

Choose a tag to compare

@marcoroth marcoroth released this 03 Aug 21:44
· 719 commits to main since this release
4f8316a

Added

  • Language Server: Add textDocument/rangeFormatting support to language server by @marcoroth in #319
  • Parser: Add support for TOKEN_NBSP in HTML content by @marcoroth in #321
  • Parser: Add support for TOKEN_AT in HTML content by @marcoroth in #322
  • Formatter: Add HTML attribute quote normalization by @marcoroth in #337
  • Linter: Add new LexerRule and SourceRule types alongside ParserRule by @marcoroth in #328
  • Linter: Allow a new LintContext to be passed to linter rules by @marcoroth in #340
  • Playground: Add Format Button for editor by @marcoroth in #344

New Linter Rules

Changed

  • Parser: Allow newlines before closing > in HTML tags by @marcoroth in #315
  • Parser: Allow HTML Attribute Names to have a period in the attribute name by @marcoroth in #324
  • Parser: Add support for @ token in HTML attribute names by @marcoroth in #325
  • Formatter: Improve range formatting to preserve minimum indentation by @marcoroth in #320
  • Formatter: Preserve newlines between top-level nodes by @marcoroth in #323
  • Ruby: Add non-zero exit code when herb analyze finds issues by @marcoroth in #332
  • Lexer: Improve lexer UTF-8 character support and extract UTF-8 utilities by @marcoroth in #330

Fixed

  • Language Server: Fix FormattingService when settings are not available by @marcoroth in #316
  • Formatter: Fix case where formatter would output % %> by @marcoroth in #314
  • Formatter: Fix ERB whitespace formatting in inline contexts by @marcoroth in #326
  • Formatter: Fix ERB quote misplacement in HTML attributes by @marcoroth in #331
  • Formatter: Fix inline element and ERB conditional attributes formatting by @marcoroth in #336
  • Formatter: Support formatting case/in statements by @marcoroth in #345

Internal

Dependencies

  • Bump @eslint/plugin-kit from 0.3.3 to 0.3.4 in the npm_and_yarn group across 1 directory by @dependabot[bot] in #311

New Contributors

Commits

Full Changelog: v0.4.2...v0.4.3