Skip to content

Latest commit

 

History

History
220 lines (160 loc) · 8.52 KB

changelog.md

File metadata and controls

220 lines (160 loc) · 8.52 KB

Changelog

vNext (unpublished)

v1.13.8 (15 Mar 2021)

  • Fixes bug with javascript use of "of" as an identifier

v1.13.7 (15 Mar 2021)

  • Fixes bug with javascript pretty-print formatting and empty object initializers {}

v1.13.6 (9 Mar 2021)

  • Fixes bug with json script elements in HTML e.g. application/ld+json

v1.13.4-5

  • Publishing error, versions do not exist

v1.13.3 (22 Feb 2021)

  • Fixes false errors reported with use of rest spread operator in object literals

v1.13.2 (29 Jan 2021)

  • Fixed over-minificaiton of aria-hidden="true"

v1.13.1 (2 Jan 2021)

  • Improved HTML formatting when prettifying

v1.13.0 (1 Jan 2021)

  • Improved ObjectLiteral formatting when outputting "prettyified" code

v1.12.3 (30 December 2020)

  • Fixed html comments onto new lines when prettifying

v1.12.2 (30 December 2020)

  • Attempted to fix unsupported computed method names on object initializers. Beware of bugs with this, please report any you find. There shouldn't be any regressions but this may not fully work.

v1.12.1 (29 December 2020)

  • Improves unused setter parameter handling

v.12.0 (28 December 2020)

  • Changed defaults for HTML minification for embedded JS and CSS to make them output prettily

v1.11.9 (28 December 2020)

  • Fixes bug with HtmlToText and trailing newlines

v1.11.8 (28 December 2020)

  • Fixes object destructuring syntax and default values in arrow function arguments.

v1.11.7 (28 December 2020)

  • Fixes but methods called set or get on classes
  • Fixed bug with for(let x in y) and for([x] of y) and scope lookup crunching

v1.11.6 (28 December 2020)

  • Fixes tagged template literals
  • Fixed bug with unused setter value parameters being removed

v1.11.5 (10 December 2020)

  • Fixes bug with <br>s when HtmlToText()ing

v1.11.4 (2 December 2020)

  • Fixed bug with computed property names in object literals not getting processed

v1.11.3 (27 November 2020)

  • Fixes bugs with escaped slashes in JSON and SourceMaps

v1.11.1 (25 November 2020)

  • Fixes bug with object literal properties and singly referenced lexical declarations

v1.11.0 (14 November 2020)

  • Adds support for <% %> ASP tags in HTML Parser

v1.10.0 (11 November 2020)

  • Re-adds long lost support for Minify JS Attributes within HTML
  • Fixes bugs with Attriute CSS Settings when minifying HTML
  • Fixes bug with stripping Javascript attributes from HTML
  • Fixes many bugs with HTML minification and processing, mainly around whitespace
  • Removes public HtmlWriterToHtml.Writer properly
  • Fixes inheritance issues with HtmlWriterToHtml
  • Performance improvements to HtmlMinification
  • Fixes leading whitespace with Prettifying HTML
  • Fixes bug with style attributes spanning multiple lines
  • Adds support for custom indent character when prettifying CSS and JS, use CommonSettings.Indent instead of CommonSettings.IndentSize

v1.9.11 (7 November 2020)

  • Made contents of <script> and <style> elements fully indented when outputting pretty HTML

1.9.10 (22 October 2020)

  • Improved readme and docs
  • Improved HTMLSettings comments
  • Added ability to control indentation when prettifying HTML
  • Deprecated HtmlSettings.TagsWithNonCollapsableWhitespaces in favour of the correct spelling TagsWithNonCollapsibleWhitespaces

1.9.9 (14 October 2020)

  • Fixes bug with PreserveFunctionNames

1.9.8 (13 October 2020)

  • Fixes bug with dynamic import expressions

1.9.7 (7 October 2020)

  • Fixes bug with single-lined blocks with a lexical declaration
  • Fixes bug with arrow functions returning && and || logical BinaryExpressions

1.9.6 (1 October 2020)

  • Fixes bug with Optional Chaining

1.9.5 (18 September 2020)

  • Adds support for Optional Chaining This is buggy
  • Adds support for Numeric Separators
  • Adds support for Logical Assignment operators
  • Ensures globalThis works properly
  • Adds basic support for BigInt (minification of BigInt syntax is not yet optimal)

1.9.4 (15 September 2020)

  • Fixes bug with crlf immediately before a closing template literal

1.9.3 (15 September 2020)

  • Fixes bug with single argument functions with a default parameter value

1.9.2 (9 September 2020)

  • Fixes bug with crlf immediately before a closing template literal this wasnt properly fixed, see 1.9.4 for the real fix
  • Fixes bug with async shortand object initializer syntax

1.9.1 (25 August 2020)

  • Improves handling of rogue closing tags in HTML, manifesting at least in how HtmlToText behaves. There shouldn't be any regressions but we've gone up a minor revision just in case.

1.8.1 (24 August 2020)

  • Removes deprecated lineCount from SourceMaps
  • Adds MakePathsRelative true/false to V3SourceMap to control path munging
  • Fixes JS bug with getters and setters, primarily when used within defineProperty

1.7.2 (24 August 2020)

  • Adds support for HTML attribute removal
  • Adds support for HTML attribute reordering

1.7.1 (24 August 2020)

  • Changes (fixes) how HTML5 comments are handled. Previously valid/invalid comments may now be handled differently (correctly)

1.6.6 (21 August 2020)

  • Fixes overloading of async keyword

1.6.5 (19 August 2020)

  • Adds Exponent ** and Exponent Assign **= support
  • Adds Null Coalesce ?? operator support

1.6.4 (6 July 2020)

  • Fixes issue with const name redeclaration

1.6.3 (10 June 2020)

  • Fixes further module variable bugs ((PR #113)

1.6.2 (10 June 2020)

1.6.1 (10 June 2020)

  • Updates Nuget package details

1.6.0 (10 June 2020)

  • Fix for whitespace preceeding a textarea ((PR #103))
  • Include application/ld+json in list of processable javascript type blocks ((PR #102))
  • Fixes infinite loop when dealing with malformed switch statements ((PR #99)
  • Fixes arrow function parenthesis issue ((PR #98)
  • Fixes arrow functions + sourcemaps bug ((PR #97)
  • Fixes spread operator bug ((PR #91)
  • Fixes issue with mutliple await return ((PR #90)
  • Fixes issue with parameterless arrow functions ((PR #89)
  • Fixes bug with KeyFrames in css ((PR #107)
  • Fixes bug with ShortBooleanAttribute=true incorrectly removes value tags from inputs ((PR #108)
  • Fixes bug with css calc, flex and 0px ((PR #109)

1.5.14 (9 Mar 2020)

  • Fix async/await JS minifier
  • Add support for CSS @supports
  • Adding a options to turoff escape decoding in CSS files.

1.5.13 (04 Jun 2019)

  • Allow async function expressions ((PR #65))
  • Fix for(let x of y.prop) ((PR #69))
  • Fix #71 "Invalid arrow-function arguments" error on Firefox ((PR #72))

1.5.12 (21 Aug 2018)

  • ECMAScript 6 Support for computed names in object property definitions
  • Add support for async and await.
  • Add support for netstandard2.0

1.5.11 (6 May 2018)

  • Support for ES6 arrow functions (PRs)

1.5.10 (5 Apr 2018)

  • Support for CSS variables ((PR #46))
  • Implementing Razor escape support in CSS ((PR #41))

1.5.9

  • Respect self-closing tags with "RemoveOptionalTags" option disabled

1.5.8

  • Fix Check for break outside of a loop but inside a label block (#31)

1.5.7

  • Fix issue in Html compact with pre/textarea tags not keeping whitespaces

1.5.6

  • Add new HtmlSettings.KeepTags to selectively keep a list of optional start/end tags even when settings.RemoveOptionalTags is true

1.5.5

  • Fix possible NullReferenceException when using HtmlSettings.RemoveJavaScript = true

1.5.4

  • Fix regression when collapsing spaces introduced previously

1.5.3

  • Add option HtmlSettings.KeepOneSpaceWhenCollapsing to keep at least one space when collapsing them

1.5.2

  • Add support for keeping knockout comments
  • Don't minify (0,eval)('this') expressions

1.5.1

  • Fix bug while minimizing HTML style CSS attribute

1.5.0

  • Add support to dotnet RTM, switch to netstandard1.6