js-beautify/CHANGELOG.md

41 KiB

Changelog

v1.14.3

  • [LESS] Fixing issues with spacing when an object literal lives inside a mixin (#2017)
  • Overindentation when using "class" as a key in an object (#1838)
  • CSS Grid template formatting is broken when adding track size after line names (#1817)
  • SCSS module system @use problem (#1798)
  • JS "space_in_empty_paren" failing for class methods (#1151)
  • LESS mixins gets formatted strangely (#722)

v1.14.2

  • Why put npm in dependencies? (#2005)
  • [Bug] Logical assignments in JS are incorrectly beautified (#1991)

v1.14.1

  • feature request: cmd+enter hotkey for mac users (#1985)
  • Wrong indentation when the last line in a case is a right brace (#1683)

v1.14.0

  • import.meta appears on newline (#1978)
  • Added buttons to website (#1930)
  • Logical assignment operators; Fix parsing of optional chaining (#1888)
  • Numbers should be allowed to contain underscores (#1836)
  • Use native mkdirSync instead of 'mkdirp' package (#1833)
  • selector_separator_newline adds erroneous newline on @extend SCSS statements (#1799)

v1.13.13

  • IE11 compatibility failure v>1.13.5 (#1918)

v1.13.11

  • Support short PHP tags (#1840)

v1.13.6

  • Fix space-before-conditional: false to work on switch-case statement (#1881)
  • Optional chaining obj?.[expr] (#1801)

v1.13.5

v1.13.1

  • Option 'max_preserve_newlines' not working on beautify_css.js CSS Beautifier (#1863)
  • React Fragment Short Syntax <></> issue (#1854)
  • add viewport meta tag to index.html (#1843)
  • Add basic smarty templating support (#1820)
  • Tagged Template literals (#1244)

v1.13.0

  • (internal) Refactor python cssbeautifier to reuse jsbeautifier CLI methods (#1832)
  • (internal) Switch from node-static to serve (#1831)
  • Fixed pip install cssbeautifier (#1830)

v1.12.0

  • Python jsbeautifier fails for special chars (#1809)
  • pip install cssbeautifier fails (#1808)
  • Add expand brace-style option to css beautifier (#1796)
  • Support nullish-coalescing (#1794)
  • Upgrade ga.js to analytics.js (#1777)
  • Newline rule not working with css-like files (#1776)
  • no new line after self closing tag (#1718)
  • HTML format, no break after ? (#1365)
  • Does this extension still supports applying Allman style to CSS? (#1353)
  • Add brace_style option for CSS (#1259)

v1.11.0

  • Please bump mkdirp to fix mkdirp@0.5.1 vulnerability (#1768)
  • Incorrect indentation of Handlebars inline partials (#1756)
  • Support optional-chaining (#1727)
  • Please support es module (#1706)
  • Support new js proposals: optional-chaining & pipeline-operator (#1530)
  • Optional

    closing not implemented (#1503)

v1.10.3

  • Unquoted href causes wrong indentation (#1736)
  • Broken private fields in classes (JS) (#1734)
  • Fix for python 2.7 and cli parameters (#1712)
  • Search (ctrl+f) works only in view field in CodeMirror (#1696)

v1.10.2

  • Please update CodeMirror Addon (#1695)
  • Nested braces indentation (#223)

v1.10.1

  • javascript fails to format when <?php > is first text inside