All Versions
55
Latest Version
Avg Release Cycle
52 days
Latest Release
-

Changelog History
Page 5

  • v1.6.8 Changes

    Description

    • ๐Ÿ›  Fixed a batch of comment and semicolon-less code bugs

    Closed Issues

    • ๐ŸŒ Incorrect indentation after loop with comment (#1090)
    • ๐ŸŒ Extra newline is inserted after beautifying code with anonymous function (#1085)
    • ๐ŸŒ end brace with next comment line make bad indent (#1043)
    • ๐ŸŒ Javascript comment in last line doesn't beautify well (#964)
    • ๐ŸŒ indent doesn't work with comment (jsdoc) (#913)
    • ๐ŸŒ Wrong indentation, when new line between chained methods (#892)
    • ๐Ÿ’… Comments in a non-semicolon style have extra indent (#815)
    • ๐ŸŒ [bug] Incorrect indentation due to commented line(s) following a function call with a function argument. (#713)
    • ๐ŸŒ Wrong indent formatting (#569)
  • v1.6.7 Changes

    Description

    โž• Added content_unformatted option (Thanks @arai-a)

    Closed Issues

    • ๐ŸŒ HTML pre code indentation (#928)
    • ๐Ÿ’… Beautify script/style tags but ignore their inner JS/CSS content (#906)
  • v1.6.6 Changes

    Description

    • โž• Added support for editorconfig from stdin
    • โž• Added js-beautify to cdnjs
    • ๐Ÿ›  Fixed CRLF to LF for HTML and CSS on windows
    • โž• Added inheritance/overriding to config format (Thanks @DaniGuardiola and @HookyQR)
    • โž• Added force-align to wrap-attributes (Thanks @Lukinos)
    • โž• Added force-expand-multiline to wrap-attributes (Thanks @tobias-zucali)
    • โž• Added preserve-inline as independent brace setting (Thanks @Coburn37)
    • ๐Ÿ›  Fixed handlebars with angle-braces (Thanks @mmsqe)

    Closed Issues

    • ๐ŸŒ Wrong indentation for comment after nested unbraced control constructs (#1079)
    • ๐ŸŒ Should prefer breaking the line after operator ? instead of before operator < (#1073)
    • ๐Ÿ†• New option "force-expand-multiline" for "wrap_attributes" (#1070)
    • ๐ŸŒ Breaks if html file starts with comment (#1068)
    • ๐Ÿ’… collapse-preserve-inline restricts users to collapse brace_style (#1057)
    • ๐Ÿ“œ Parsing failure on numbers with "e" (#1054)
    • ๐Ÿ’ป Issue with Browser Instructions (#1053)
    • โž• Add preserve inline function for expand style braces (#1052)
    • โšก๏ธ Update years in LICENSE (#1038)
    • ๐ŸŒ JS. Switch with template literals. Unexpected indentation. (#1030)
    • ๐ŸŒ The object with spread object formatted not correctly (#1023)
    • ๐ŸŒ Bad output generator function in class (#1013)
    • ๐Ÿ‘Œ Support editorconfig for stdin (#1012)
    • ๐ŸŒ Publish to cdnjs (#992)
    • ๐ŸŒ breaks if handlebars comments contain handlebars tags (#930)
    • ๐ŸŒ Using jsbeautifyrc is broken (#929)
    • ๐ŸŒ Option to put HTML attributes on their own lines, aligned (#916)
    • ๐Ÿ Erroneously changes CRLF to LF on Windows in HTML and CSS (#899)
    • ๐ŸŒ Weird space in {get } vs { normal } (#888)
    • ๐ŸŒ Bad for-of formatting with constant Array (#875)
    • ๐ŸŒ Problems with filter property in css and scss (#755)
    • โž• Add "collapse-one-line" option for non-collapse brace styles (#487)
  • v1.6.4 Changes

    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)
  • v1.6.3 Changes

    Description

    ๐Ÿ› Bug fixes

    Closed Issues

    • ๐ŸŒ CLI broken when output path is not set (#933)
    • ๐ŸŒ huge memory leak (#909)
    • ๐Ÿ–จ don't print unpacking errors on stdout (python) (#884)
    • ๐Ÿ›  Fix incomplete list of non-positionable operators (python lib) (#878)
    • ๐Ÿ›  Fix Issue #844 (#873)
    • ๐ŸŒ assignment exponentiation operator (#864)
    • ๐Ÿ› Bug in Less mixins (#844)
    • ๐ŸŒ Can't Nest Conditionals (#680)
    • ๐ŸŒ ternary operations (#670)
    • ๐Ÿ‘Œ Support newline before logical or ternary operator (#605)
    • ๐Ÿ‘• Provide config files for format and linting (#336)
  • v1.6.2 Changes

    Description

    Closed Issues

    • โž• Add missing 'collapse-preserve-inline' option to js module (#861)
  • v1.6.1 Changes

    Description

    ๐Ÿ›  Fixes for regressions found in 1.6.0

    Closed Issues

    • ๐ŸŒ Inconsistent formatting for arrays of objects (#860)
    • ๐ŸŒ Publish v1.6.1 (#859)
    • ๐ŸŒ Space added to "from++" due to ES6 keyword (#858)
    • ๐Ÿ”„ Changelog generator doesn't sort versions above 9 right (#778)
    • ๐ŸŒ space-after-anon-function not applied to object properties (#761)
    • ๐ŸŒ Separating 'input' elements adds whitespace (#580)
    • ๐ŸŒ Inline Format (#572)
    • ๐ŸŒ Preserve attributes line break in HTML (#455)
    • ๐ŸŒ Multiline Array (#406)
  • v1.6.0 Changes

    Description

    • Inline/short object and json preservation (all rejoice!)
    • ES6 annotations, module import/export, arrow functions, concise methods, and more
    • JSX spread attributes
    • ๐Ÿ›  HTML wrap attributes, inline element fixes, doctype and php fixes
    • โœ… Test framework hardening
    • ๐Ÿ Windows build fixed and covered by appveyor continuous integration

    Closed Issues

    • โœ… Individual tests pollute options object (#855)
    • ๐ŸŒ Object attribute assigned fat arrow function with implicit return of a ternary causes next line to indent (#854)
    • ๐ŸŒ Treat php tags as single in html (#850)
    • 0๏ธโƒฃ Read piped input by default (#849)
    • ๐ŸŒ Replace makefile dependency with bash script (#848)
    • ๐ŸŒ list of HTML inline elements incomplete; wraps inappropriately (#840)
    • ๐ŸŒ Beautifying bracket-less if/elses (#838)
    • ๐ŸŒ elements within a are getting indented incorrectly (#836)
    • ๐ŸŒ single attribute breaks jsx beautification (#834)
    • ๐Ÿ‘Œ Improve Python packaging (#831)
    • ๐Ÿ Erroneously changes CRLF to LF on Windows. (#829)
    • ๐ŸŒ Can't deal with XHTML5 (#828)
    • ๐ŸŒ HTML after PHP is indented (#826)
    • ๐ŸŒ exponentiation operator (#825)
    • โž• Add support for script type "application/ld+json" (#821)
    • ๐Ÿ“ฆ package.json: Remove "preferGlobal" option (#820)
    • ๐Ÿ’ป Don't use array.indexOf() to support legacy browsers (#816)
    • ๐ŸŒ ES6 Object Shortand Indenting Weirdly Sometimes (#810)
    • ๐ŸŒ Implicit Return Function on New Line not Preserved (#806)
    • ๐ŸŒ Misformating "0b" Binary Strings (#803)
    • ๐ŸŒ Beautifier breaks ES6 nested template strings (#797)
    • ๐ŸŒ Misformating "0o" Octal Strings (#792)
    • โœ… Do not use hardcoded directory for tests (#788)
    • ๐ŸŒ Handlebars {{else}} tag not given a newline (#784)
    • ๐ŸŒ Wrong indentation for XML header (<?xml version="1.0"?>) (#783)
    • ๐ŸŒ is_whitespace for loop incrementing wrong variable (#777)
    • ๐Ÿ†• Newline is inserted after comment with comma_first (#775)
    • ๐ŸŒ Cannot copy more than 1000 characters out of CodeMirror buffer (#768)
    • ๐ŸŒ Missing 'var' in beautify-html.js; breaks strict mode (#763)
    • ๐Ÿ›  Fix typo in the example javascript code of index.html (#753)
    • ๐ŸŒ Prevent incorrect wrapping of return statements. (#751)
    • ๐ŸŒ js-beautify -X breaks code with jsx spread attributes (#734)
    • ๐ŸŒ Unhelpful error when .jsbeautifyrc has invalid json (#728)
    • ๐Ÿ‘Œ Support for ES7 decorators (#685)
    • ๐ŸŒ Don't wrap XML declaration (or processing instructions) (#683)
    • ๐ŸŒ JSX/JS: Single field objects should not expand (#674)
    • ๐ŸŒ ES6 Module Loading Object Destructuring newlines (#668)
    • ๐ŸŒ Beautifying css tears @media in two lines, adds spaces in names with hyphens (#656)
    • ๐ŸŒ ES6 concise method not propely indented (#647)
    • ๐ŸŒ Extra newline inserted with wrap_attributes set to "force" (#641)
    • wrap_attributes ignores wrap_attributes_indent_size and wrap_line_length when set to "auto" (#640)
    • ๐Ÿ Error building on Windows (#638)
    • ๐ŸŒ Mixed shorthand function with arrow function in object literal is mis-formatted (#602)
    • ๐ŸŒ Space does not let save using "&:" (#594)
    • ๐ŸŒ Indenting is broken in some cases (#578)
    • 0๏ธโƒฃ modified cli.js so that it can read from piped input by default (#558)
    • ๐Ÿš€ Update release process instructions (#543)
    • ๐ŸŒ Publish v1.6.0 (#542)
    • ๐ŸŒ es6 destructuring (#511)
    • ๐ŸŒ NPM js-beautify: different treatment of "-" in command line (#390)
    • ๐Ÿ†• Newline inserted after ES6 module import/export (#382)
    • ๐ŸŒ Option to preserve or inline "short objects" on a single line (#315)
    • ๐ŸŒ Format json in line (#114)
  • v1.5.10 Changes

    Description

    ๐Ÿš‘ Hotfix for directives ๐Ÿ”– Version jump due to release script tweaks

    Closed Issues

    • ๐ŸŒ Preserve directive doesn't work as intended (#723)
  • v1.5.7 Changes

    Description

    • Beautifier does not break PHP and Underscore.js templates
    • ๐Ÿ›  Fix for SCSS pseudo classes and intperpolation/mixins
    • Alternative Newline Characters in CSS and HTML
    • Preserve formatting or completely ignore section of javascript using comments

    Closed Issues

    • ๐Ÿ‘Œ Support for legacy JavaScript versions (e.g. WSH+JScript & Co) (#720)
    • ๐ŸŒ Is \n hard coded into CSS Beautifier logic? (#715)
    • ๐ŸŒ Spaces and linebreaks after # and around { } messing up interpolation/mixins (SASS/SCSS) (#689)
    • ๐ŸŒ Calls to functions get completely messed up in Sass (*.scss) (#675)
    • ๐ŸŒ No new line after selector in scss files (#666)
    • ๐ŸŒ using html-beautify on handlebars template deletes unclosed tag if on second line (#623)
    • ๐ŸŒ more Extra space after scss pseudo classes (#557)
    • ๐ŸŒ Unnecessary spaces in PHP code (#490)
    • ๐ŸŒ Some underscore.js template tags are broken (#417)
    • ๐ŸŒ Selective ignore using comments (feature request) (#384)