All Versions
52
Latest Version
Avg Release Cycle
52 days
Latest Release
-
Changelog History
Page 5
Changelog History
Page 5
-
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.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
ignoreswrap_attributes_indent_size
andwrap_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)
-
v1.5.6 Changes
Description
- ๐ JSX support!
- Alternative Newline Characters
- ๐ CSS and JS comment formatting fixes
- General bug fixing
Closed Issues
- ๐ Fix tokenizer's bracket pairs' open stack (#693)
- ๐ Indentation is incorrect for HTML5 void tag (#692)
- ๐ Line wrapping breaks at the wrong place when the line is indented. (#691)
- ๐ Publish v1.5.6 (#687)
- ๐ Replace existing file fails using python beautifier (#686)
- ๐ Pseudo-classes formatted incorrectly and inconsistently with @page (#661)
- doc: add end_with_newline option (#650)
- ๐ Improve support for xml parts of jsx (React) => spaces, spread attributes and nested objects break the process (#646)
- ๐ html-beautify formats handlebars comments but does not format html comments (#635)
- ๐ Support for ES7 async (#630)
- ๐ css beautify adding an extra newline after a comment line in a css block (#609)
- ๐ No option to "Indent with tabs" for HTML files (#587)
- ๐ Function body is indented when followed by a comment (#583)
- ๐ JSX support (#425)
- ๐ Alternative Newline Characters (#260)
-
v1.5.5 Changes
Description
- ๐ Initial implementation of comma-first formatting - Diff-friendly literals!
- CSS: Add newline between rules
- LESS: improved function parameter formatting
- HTML: options for wrapping attributes
- General bug fixing
Closed Issues
- โ Add GUI support for
--indent-inner-html
. (#633) - ๐ Publish v1.5.5 (#629)
- CSS: Updating the documentation for the 'newline_between_rules' (#615)
- ๐ Equal Sign Removed from Filter Properties Alpha Opacity Assignment (#599)
- ๐ Keep trailing spaces on comments (#598)
- ๐จ only print the file names of changed files (#597)
- ๐ CSS: support add newline between rules (#574)
- ๐ elem[array]++ changes to elem[array] ++ inserting unnecessary gap (#570)
- โ add support to less functions paramters braces (#568)
- selector_separator_newline: true for Sass doesn't work (#563)
- ๐ yield statements are being beautified to their own newlines since 1.5.2 (#560)
- ๐ HTML beautifier inserts extra newline into
<li>
s ending with<code>
(#524) - โ Add wrap_attributes option (#476)
- โ Add or preserve empty line between CSS rules (#467)
- ๐ Support comma first style of variable declaration (#245)
-
v1.5.4 Changes
Description
- ๐ Fix for LESS/CSS pseudo/classes
- ๐ Fix for HTML img tag spaces
๐ https://github.com/beautify-web/js-beautify/compare/v1.5.3...v1.5.4
Closed Issues
- ๐ TypeScript oddly formatted with 1.5.3 (#552)
- ๐ HTML beautifier inserts double spaces between adjacent tags (#525)
- ๐ Keep space in font rule (#491)
- ๐ [Brackets plug in] Space after disappears (#454)
- ๐ Support nested pseudo-classes and parent reference (LESS) (#427)
- ๐ Alternate approach: preserve single spacing and treat img as inline element (#415)