JS-Beautifier v1.6.4 Release Notes
-
Description
- ๐ Fixed JSX multi-line root element handling
- Fixed CSS Combinator spacing (NOTE: use
space_around_combinator
option) - ๐ Fixed (more) CSS pseudo-class and pseudo-element selectors (Thanks @Konamiman!)
- ๐ Fixed Shorthand generator functions and
yield*
(Thanks @jgeurts!) - โ Added EditorConfig support (Thanks @ethanluoyc!)
- Added indent_body_inner_html and indent_head_inner_html (Thanks @spontaliku-softaria!)
- โ Added js-beautify to https://cdn.rawgit.com (Thanks @zxqfox)
Closed Issues
- ๐ css-beautify sibling combinator space issue (#1001)
- ๐ Bug: Breaks when the source code it found an unclosed multiline comment. (#996)
- ๐ CSS: Preserve white space before pseudo-class and pseudo-element selectors (#985)
- ๐ Spelling error in token definition (#984)
- ๐ collapse-preserve-inline does not preserve simple, single line ("return") statements (#982)
- ๐ Publish the library via cdn (#971)
- ๐ Bug with css calc() function (#957)
- ๐ &:first-of-type:not(:last-child) when prettified insert erroneous white character (#952)
- ๐ Shorthand generator functions are formatting strangely (#941)
- โ Add handlebars support on cli for html (#935)
- ๐ Do not put a space within
yield*
generator functions. (#920) - Possible to add an indent_inner_inner_html option? (Prevent indenting second-level tags) (#917)
- ๐ Messing up jsx formatting multi-line attribute (#914)
- ๐ Bug report: Closing 'body' tag isn't formatted correctly (#900)
- ๐ { throw โฆ } not working with collapse-preserve-inline (#898)
- ๐ ES6 concise method not propely indented (#889)
- ๐ CSS beautify changing symantics (#883)
- ๐ Dojo unsupported script types. (#874)
- ๐ Readme version comment (#868)
- ๐ Extra space after pseudo-elements within :not() (#618)
- ๐ space in media queries after colon &: selectors (#565)
- ๐ Integrating editor config (#551)
- ๐ Preserve short expressions/statements on single line (#338)