js-beautify/CHANGELOG.md
2022-06-20 23:50:14 +00:00

42 KiB

Changelog

v1.14.4

  • Extra space before !important added (#2056)
  • css format removes space after quoted value (#2051)
  • Add grid-template-areas to NON_SEMICOLON_NEWLINE_PROPERTY list (#2035)
  • CSS formatter removes useful space (#2024)
  • CHANGELOG.md file was wiped out in v1.14.2 (#2022)
  • Fails to recognize Handlebars block with whitespace control, e.g. {{~#if true ~}} (#1988)
  • Support new sass @use syntax (#1976)
  • Do not remove whitespace after number (#1950)
  • html formatter doesn't support handlebars partial blocks (#>) (#1869)
  • in keyword in class method causes indentation problem (#1846)
  • space_after_named_function not working inside an ES6 class (#1622)
  • Restyle website (#1444)
  • improper line concatenation between 'return' and a prefix expression (#1095)

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