Skip to content

v0.11.1

Latest

Choose a tag to compare

@marcoroth marcoroth released this 20 Oct 12:32
· 6 commits to main since this release
0a3d818

Parser

  • Speed up the analyze pass and Ruby extraction by @marcoroth in #2781
  • Don’t rewrite asset tags with sources only known at render time by @marcoroth in #2815
  • Serialize only each ERB node’s own Prism metadata by @marcoroth in #2823
  • Quote an attribute value built from an interpolated string by @FrancescoK in #2727

Linter

New Linter Rules

Rule Updates

  • Fix missed actionview-prefer-collection-render offenses by @viktorianer in #2753
  • Don’t flag elsif conditions in erb-no-multiple-statements by @marcoroth in #2775
  • Don’t flag button_to inside blocks in html-no-nested-forms by @marcoroth in #2774
  • Only flag return that ends the render in erb-no-return by @marcoroth in #2777
  • Only classify an ERB tag’s own calls in html-no-nested-forms by @viktorianer in #2750
  • Fix false positives for pattern matching in erb-no-unused-literals by @markokajzer in #2784
  • Fix false positive for to_s in actionview-no-implicit-polymorphic-url by @devtechedge in #2813
  • Don’t flag loop-derived locals in html-no-duplicate-ids by @marcoroth in #2818
  • Read loop block params from AST in html-no-duplicate-ids by @marcoroth in #2819
  • Respect shadowed block locals in html-no-duplicate-ids by @FrancescoK in #2720
  • Split the source into lines once in erb-no-multiple-statements by @marcoroth in #2825
  • Reject comma action lists in data-herb-set by @rnihesh in #2771
  • Don’t add ** in autofix for erb-strict-locals-required by @marcoroth in #2829
  • Share one parse across rules that only differ in Prism options by @marcoroth in #2824

Linter CLI

Formatter

  • Add --quiet flag to herb-format by @arzezak in #2664
  • Stop emitting a blank run twice after a text flow run by @FrancescoK in #2725
  • Keep multiline control flow structure in inline elements after text by @V3L0CITY in #2788

Engine

Client

  • Create rows and branches in the namespace of their parent by @marcoroth in #2827

Dev Tools

Dev Server

  • Skip terminal control sequences under process managers by @marcoroth in #2817

Core

  • Add SourceOffsets to convert Prism byte offsets once per source by @marcoroth in #2822
  • Deserialize each node’s prismNode once by @marcoroth in #2820

WASM

Ruby

CI

Documentation

  • Fix comma action examples in data-herb-set by @rnihesh in #2770

Dependencies

See all

New Contributors

Commits

Full Changelog: v0.11.0...v0.11.1