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)