All Versions
55
Latest Version
Avg Release Cycle
52 days
Latest Release
-
Changelog History
Page 4
Changelog History
Page 4
-
v1.8.0 Changes
Description
๐ Massive set of fixes and improvements.
Thanks to contributors: @cheerypick, @swan46, @MacKLess, @Elrendio, @madman-bob, @amanda-bot, @Hirse, @aeschli, and many more.
๐ Special thanks to @astronomersiva and @garretwilson for finding key bugs in the RC releases, โ and to @MacKLess for driving down the open bug count with tons of regression tests.
Highlights:
- CSS:
newline_between_rules
support for nested rules - CSS/SASS/SCSS/LESS (@MacKLess) - ๐ CSS: @import support in CSS (@MacKLess)
- ๐ HTML: inline element support (@madman-bob)
- HTML:
wrap_attributes
settingalign-multiple
(@cheerypick) - HTML: optional close tags do not over indent - li, tr, etc.
- HTML: Improved line wrapping in HTML - still not fully correct
- ๐ HTML: 10x performance improvement in HTML beautifier
- ๐ JS: ES6 BigInt support (@thejoshwolfe)
- ๐ JS: ES6 Dynamic import support
- CSS: :hover for @extend formatting (@MacKLess)
- HTML: Incorrect line wrapping issue (@andreyvolokitin)
- JS: Javascript ++ Operator Indentation (@Elrendio)
- ๐ JS: Better packer handling in Python (@swan46)
Closed Issues
- ๐ list items of nested lists get indented backwards (#1501)
- ๐ Make beautifier auto-convert options with dashes into underscores (#1497)
- ๐ ReferenceError: token is not defined (#1496)
- ๐ Publish v1.8.0 (#1495)
- ๐ still probem #1439 / #1337 (#1491)
- ๐ Duplicating HTML Code Nested In PHP (#1483)
- ๐ Handlebars -
if
tags are broken when using helper withtextarea
(#1482) - ๐ TypeError: Cannot read property '1' of null (#1481)
- ๐ Space in Self Closing Tag Issue (#1478)
- ๐ Weird Formatting in VSCode (#1475)
- ๐ Indent with tab issue on website (#1470)
- ๐ Contents of hbs tags are converted to lowercase (#1464)
- ๐ HTML tags are indented wrongly when attributes are present (#1462)
- ๐ hbs tags are stripped when there is a comment below or inline (#1461)
- ๐ Spaces added to handlebars with '=' (#1460)
- ๐ jsbeautifier.org don't works (#1445)
- ๐ Commenting code and then beautifying removes line breaks (#1440)
- ๐ Less: Where is my space? (#1411)
- ๐ No newline after @import (#1406)
- ๐ "html.format.wrapAttributes": "force-aligned" adds empty line on long attributes (#1403)
- HTML: wrap_line_length is handled incorrectly (#1401)
- ๐ js-beautify is breaking code by adding space after import (#1393)
- ๐ JS-Beautify should format XML tags inside HTML files (#1383)
- ๐ python unpacker can not handle if radix given as [] and not as a number (#1381)
- unindent_chained_methods breaks indentation for if statements without brackets (#1378)
- ๐ function parameters merged into single line when starting with ! or [ (#1374)
- ๐ CSS selector issue (header > div[class~="div-all"]) in SCSS file (#1373)
- โ Add "Create Issue for Unexpected Output" button to website (#1371)
- โ Add combobox to control type of beautification (#1370)
- โ Add Options textbox to website for debugging (#1369)
- ๐ Python version fails to properly beautify packed code (#1367)
- ๐ preserve-newline doesn't work for text blocks inside tags (#1352)
- ๐ How to keep comments on their own lines after formating (#1348)
- ๐ Beautification of Multiline PHP (#1346)
- ๐ Beautification of PHP with echo short tags (#1339)
- ๐ with force-expand-multiline formatting bug (#1335)
- ๐ js-beautify 1.7.5 breaks some correct JS code when run with -X (#1334)
- ๐ URGENT: @extend with :hover, :focus and so on... (#1331)
- ๐ JSBeautify options for programmatic use? (#1327)
- ๐ js-beautify: fix handling for --eol and --outfile (#1315)
- ๐ Note that
gsort
is GNU sort (#1314) - ๐
pip
doesn't use same version as/usr/bin/env python
(#1312) - ๐ Negative numbers removes newlines in arrays (#1288)
- ๐ Wrap and align html attributes when line reaches wrap-line-length (#1285)
- ๐ Javascript ++ Operator get wrong indent (#1283)
- ๐ Generate js-beautify executable properly on windows when installed from PIP (#1266)
- โ Add or preserve empty line between nested SCSS rules (#1258)
- ๐ Create beta channel for releases (#1255)
- โ Add install tests for packages (#1254)
- ๐ Formatting slow when line wrap is set (#1231)
- ๐ [!true && ...] Negated expressions in an array get collapsed into a single line (#1229)
- ๐ await import(...) (#1228)
- ๐ The result of "Format document" is weird of certain HTML content. (#1223)
- ๐ (next_tag || "").match is not a function (#1202)
- ๐ html.format.wrapAttributes on handlebars template (#1199)
- ๐ Don't indent unclosed HTML tags containing server directives "<@" (#1193)
- ๐
force-expand-multiline
doesn't work as expected (#1186) - ๐ HTML text content formatted incorrectly (#1184)
- ๐ Content deleted when formatting with indent_handlebars: true (#1174)
- ๐ Nested span tags not indenting properly (#1167)
- ๐ SCSS Comment Issue (#1165)
- ๐ Less function parameters are wrapped unexpected (#1156)
- ๐ Support underscore templates (#1130)
- ๐ html-bar/handlebar {{else if}} block is indented (#1123)
- ๐ Wrap line length, first line not correct (#1122)
- ๐ TypeError: Cannot read property 'replace' of undefined (#1120)
- ๐ Strange behaviours of formatting for double spans (#1113)
- ๐ Missing space between "else" and "if". (#1107)
- ๐ invalid indentation for html code (#1098)
- ๐ HTML "select" tags have too much indentation (#1097)
- ๐ Formatting breaks apart unquoted attribute (#1094)
- ๐ HTML formatting wraps ending block tag for no reason with nested inline elements (#1041)
- ๐ Ignore expressions in handlebars tags. (#1040)
- ๐ not correctly joining lines for HTML (#1033)
- ๐ Fails to format SVG files properly (#1027)
- ๐ Template tags with new lines in them (#1016)
- ๐ Span tags do not re-indent correctly (#1010)
- ๐ Error in --eol processing in python (#987)
- ๐ Extra space added when quote is present (#943)
- ๐ weird formatting for HTML5 (#882)
- ๐ Respect non-breaking spaces (#869)
- ๐ Media Queries style issue (#863)
- ๐ Weird Beautify Style? (#857)
- ๐ "unformatted" paradigm broken, "unformatted" and "inline" are not the same (#841)
- ๐ Increment/Decrement Operator on object property extra indent on subsequent line (#814)
- Inconsistence of "newline_between_rules" with @import or @media (#769)
- ๐ Unexpected line break in "-1" (#740)
- ๐ Blank line before and after CSS / JS comments (#736)
- newline_between_rules support for Sass (enhancement) (#657)
- CSS comment spacing disregards
newline_between_rules
,selector_separator_newline
(#645) - HTML: wrap_line_length may produce buggy spaces (#607)
- ๐ Wrong code formatting using Handlebars (#576)
- ๐ option to ignore section or line in html (#575)
- ๐ Tokenize html before beautifying (#546)
- ๐ Extra newline is inserted after the comment line instead of before it (#531)
- html-beautify's max_preserve_newlines preserves one new line too much (#517)
- ๐ Disable/Skip HTML single-line comment (#426)
- โ Add tests for various javascript dependency loading libraries (#360)
- ๐ Formatting of @import broken (#358)
- ๐ newline removal seems not to work properly (in sublime text 3 on xp pro sp3) (#348)
- CSS:
-
v1.7.4 Changes
Description
Thanks @cejast for contributing!
Closed Issues
- ๐ Whitespace after ES7
async
keyword for arrow functions (#896)
- ๐ Whitespace after ES7
-
v1.7.3 Changes
Description
- ๐ Fixed broken installs
Lessons learned:
- Don't publish and go to bed.
- ๐ I thought I had sufficient test coverage and I did not. Tests will be implemented to protect against this before the next release (#1254).
- ๐ Also, this break highlights the need to create a beta channel for releases and a way to request feedback on beta releases (#1255).
- The project has been maintained by mostly one person over the past year or so, with some additions by other individuals. This break also highlights the need for this project to have a few more people who have the ability address issues/emergencies (#1256).
- โก๏ธ Many projects do not not lock or even limit their version dependencies. Those that do often use
^x.x.x
instead of~x.x.x
. Consider switching to making major version updates under more circumstances to limit risk to dependent projects. (#1257)
Closed Issues
-
v1.7.0 Changes
Description
Closed Issues
- ๐ undindent-chained-methods option. Resolves #482 (#1240)
- โ Add test and tools folder to npmignore (#1239)
- ๐ incorrect new-line insertion after "yield" (#1206)
- ๐ Do not modify built-in objects (#1205)
- ๐ Fix label checking incorrect box when clicked (#1169)
- ๐ Webpack (#1149)
- ๐ daisy-chain indentation leads to over-indentation (#482)
-
v1.6.11 Changes
Description
โช Reverted #1117 - Preserve newlines broken
Closed Issues
- ๐ On beautify, new line before next CSS selector (#1142)
-
v1.6.10 Changes
Description
โ Added
preserver_newlines
to css beautifierClosed Issues
-
v1.6.9 Changes
Description
- ๐ Fixed html formatting issue with attribute wrap (Thanks, @HookyQR!)
- ๐ Fixed python package publishing
Closed Issues
- ๐ Wrong HTML beautification starting with v1.6.5 (#1115)
- ๐ Ignore linebreak when meet handlebar (#1104)
- ๐ Lines are not un-indented correctly when attributes are wrapped (#1103)
- ๐ force-aligned is not aligned when indenting with tabs (#1102)
- ๐ฆ Python package fails to publish (#1101)
- ๐ Explaination of 'operator_position' is absent from README.md (#1047)