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

Changelog History
Page 4

  • v1.8.1 Changes

    Description

    Closed Issues

    • ๐ŸŒ Why npm is a dependency? (#1516)
    • indent_inner_html not working in v1.8.0 (#1514)
  • 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 setting align-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 with textarea (#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)
  • v1.7.5 Changes

    Description

    Closed Issues

    • Strict mode: js_source_text is not defined [CSS] (#1286)
    • ๐Ÿ’… Made brace_style option more inclusive (#1277)
    • ๐ŸŒ White space before"!important" tag missing in CSS beautify (#1273)
  • v1.7.4 Changes

    Description

    Thanks @cejast for contributing!

    Closed Issues

    • ๐ŸŒ Whitespace after ES7 async keyword for arrow functions (#896)
  • 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

    • ๐Ÿ”– Version 1.7.0 fail to install through pip (#1250)
    • ๐ŸŒ Installing js-beautify fails (#1247)
  • 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.12 Changes

    Description

    Closed Issues

    • ๐ŸŒ CSS: Preserve Newlines (#537)
  • 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 beautifier

    Closed 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)