All Versions
55
Latest Version
Avg Release Cycle
52 days
Latest Release
-
Changelog History
Page 5
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.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
towrap-attributes
(Thanks @Lukinos) - โ Added
force-expand-multiline
towrap-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.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)