Releases: marcoroth/herb
Releases · marcoroth/herb
v0.4.0
New Packages
- Herb Linter (
@herb-tools/linter) by @marcoroth in #171 - Herb Formatter (
@herb-tools/formatter) by @marcoroth in #192 - Herb Highlighter (
@herb-tools/highlighter) by @marcoroth in #234
Added
- Add a generator for Herb Linter Rules by @marcoroth in #214
- Support
<%%=(escaped ERB output tag) by @marcoroth in #128 - Add
ERBNodetype and identification utilities by @marcoroth in #222 - Add
--non-interactivemode forherb analyzecommand by @marcoroth in #225 - Add
Diagnosticsinterface and rename other toMonacoDiagnosticby @marcoroth in #229 - Add
--no-log-fileoption toherb analyzecommand by @marcoroth in #231 - Add timing functionality to
herb analyzecommand by @marcoroth in #232 - Integrate Herb Linter into the Herb Language Server by @marcoroth in #193
- Add Project Analysis View in VS Code extension by @marcoroth in #138
New Linter Rules:
- Implement
html-no-block-inside-inlinelinter rule by @marcoroth in #199 - Add rule for not outputting from control flow tags by @drewhoffer in #205
- Add
html-no-empty-headingslinter rule by @marcoroth in #207 - Add
html-anchor-require-hreflinter rule by @NotGrm in #220 - Implement
erb-no-empty-tagslinter rule by @marcoroth in #224 - Implement
erb-require-whitespace-inside-tagslinter rule by @drewhoffer in #216 - Implement
html-aria-role-heading-requires-levellint rule by @drewhoffer in #219
Changed
- refactor: Expose Server class and restructure package architecture by @marcoroth in #144
- Improve formatting of Linter messages by @marcoroth in #201
- Exclude
main.cfrom WebAssembly builds by @marcoroth in #202 - Improve Herb Linter CLI output by @marcoroth in #200
- Refactor Linter and Linter Rules by @marcoroth in #203
- Show total number of issues in Herb Lint CLI by @marcoroth in #206
- Rename to violations in Herb Lint CLI and show violated rule names by @marcoroth in #213
- Rename
LintMessagetype toLintOffenseby @marcoroth in #227 - Rename
messagetooffensein Linter by @marcoroth in #228 - Add
Node#recursive_errorsso they bubble toParseResult#errorsby @marcoroth in #198
Fixed
- fix inconsistency in 'HTML tags + Text content' code-group by @hey-leon in #139
- Fix parser to handle quotes around ERB output as text content by @marcoroth in #143
- Improve parsing of attribute values with quotes by @marcoroth in #153
- Fix ternary operators being transformed into
ERBIfNodeby @marcoroth in #235 - Fix multi-line ERB location tracking by @marcoroth in #236
Documentation
- Update year for site/LICENSE.txt by @drewhoffer in #188
- Improve
README.mdand addCONTRIBUTING.mdby @drewhoffer in #178 - Integrate Herb Linter into playground by @marcoroth in #204
- Document Herb tools, packages, and libraries by @marcoroth in #230
- Show linter offenses inline in rule documentation pages by @marcoroth in #233
Internal
- Disable NX affected for now by @marcoroth in #132
New Contributors
- @hey-leon made their first contribution in #139
- @drewhoffer made their first contribution in #188
- @NotGrm made their first contribution in #220
Commits
Full Changelog: v0.3.1...v0.4.0
v0.3.1
Added
language-server: Support for Zed by @vitallium in zed-extensions/ruby#110language-server: Support for Neovim by @marcoroth in neovim/nvim-lspconfig#3925language-server: Support for Cursor (Open VSX Registry) by @marcoroth in https://open-vsx.org/extension/marcoroth/herb-lsp
Changed
language-server: Moveherb-language-serverexecutable tobin/by @marcoroth in b3f85ac
Fixed
vscode: Downgrade minimum vscode version to1.43.0by @marcoroth in 8f74c6cvscode: Don't activate extension onrubyfiles by @marcoroth in 9ca36ac
Commits
Full Changelog: v0.3.0...v0.3.1
v0.3.0
Added
- Herb Language Server and Visual Studio Code Extension by @marcoroth in #105
- New
@herb-tools/node-wasmpackage - New
@herb-tools/language-serverpackage - New
@herb-tools/vscodepackage
Changed
- Support
-vand--versionin Ruby CLI by @marcoroth in #124 - Rework result classes and types in JavaScript packages by @marcoroth in #125
- Resolve circular dependencies in
@herb-tools/coreby @marcoroth in #127
Commits
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Added
- Add support for
ERBYieldNodeby @marcoroth in #96 - Add support for
ERBCaseMatchNodeandERBInNodeby @marcoroth in #107 - Add percentage to
herb analyzeCLI output by @marcoroth in #113 - Add RBS Inline Type Annotations by @marcoroth in #106
- Implement
Herb::Visitorin Ruby gem by @marcoroth in #116 - Implement JavaScript Visitors by @marcoroth in #120
Changed
- Memory management improvements in
analyze.candextract.cby @marcoroth in #115 - Refactor Ruby extension to reuse constants by @marcoroth in #117
- Increase buffer capacity safely and handle overflow errors by @marcoroth in #122
- Don't extract ERB comments as Ruby comments in
herb_extract_rubyby @marcoroth in #98 - Implement
free_analyzed_rubyfunction by @marcoroth in #111 - Free C Structs after creating Lex and Parse Results by @marcoroth in #112
- Rework
@herb-tools/nodenpm lifecycle scripts by @marcoroth in #108
Commits
Full Changelog: v0.1.1...v0.2.0
v0.1.1
0.1.1 (2025-04-20)
Fixes
- Fix
lz_stringrequire inherbRuby CLI by @marcoroth in e151e38 - Support UTF-8 characters in ERB blocks when pretty printing AST in Ruby by @marcoroth in #93
Docs
New Contributors
Commits
Full Changelog: v0.1.0...v0.1.1