- Fixes bug with javascript use of "of" as an identifier
- Fixes bug with javascript pretty-print formatting and empty object initializers {}
- Fixes bug with json script elements in HTML e.g. application/ld+json
- Publishing error, versions do not exist
- Fixes false errors reported with use of rest spread operator in object literals
- Fixed over-minificaiton of aria-hidden="true"
- Improved HTML formatting when prettifying
- Improved ObjectLiteral formatting when outputting "prettyified" code
- Fixed html comments onto new lines when prettifying
- 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.
- Improves unused setter parameter handling
- Changed defaults for HTML minification for embedded JS and CSS to make them output prettily
- Fixes bug with HtmlToText and trailing newlines
- Fixes object destructuring syntax and default values in arrow function arguments.
- Fixes but methods called
set
orget
on classes - Fixed bug with
for(let x in y)
andfor([x] of y)
and scope lookup crunching
- Fixes tagged template literals
- Fixed bug with unused setter
value
parameters being removed
- Fixes bug with
<br>
s when HtmlToText()ing
- Fixed bug with computed property names in object literals not getting processed
- Fixes bugs with escaped slashes in JSON and SourceMaps
- Fixes bug with object literal properties and singly referenced lexical declarations
- Adds support for
<% %>
ASP tags in HTML Parser
- 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 ofCommonSettings.IndentSize
- Made contents of
<script>
and<style>
elements fully indented when outputting pretty HTML
- Improved readme and docs
- Improved HTMLSettings comments
- Added ability to control indentation when prettifying HTML
- Deprecated
HtmlSettings.TagsWithNonCollapsableWhitespaces
in favour of the correct spellingTagsWithNonCollapsibleWhitespaces
- Fixes bug with PreserveFunctionNames
- Fixes bug with dynamic import expressions
- Fixes bug with single-lined blocks with a lexical declaration
- Fixes bug with arrow functions returning && and || logical BinaryExpressions
- Fixes bug with Optional Chaining
Adds support for Optional ChainingThis 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)
- Fixes bug with
crlf
immediately before a closing template literal
- Fixes bug with single argument functions with a default parameter value
Fixes bug withthis wasnt properly fixed, see 1.9.4 for the real fixcrlf
immediately before a closing template literal- Fixes bug with
async
shortand object initializer syntax
- 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.
- Removes deprecated lineCount from SourceMaps
- Adds
MakePathsRelative
true/false toV3SourceMap
to control path munging - Fixes JS bug with getters and setters, primarily when used within
defineProperty
- Adds support for HTML attribute removal
- Adds support for HTML attribute reordering
- Changes (fixes) how HTML5 comments are handled. Previously valid/invalid comments may now be handled differently (correctly)
- Fixes overloading of
async
keyword
- Adds Exponent
**
and Exponent Assign**=
support - Adds Null Coalesce
??
operator support
- Fixes issue with const name redeclaration
- Fixes further module variable bugs ((PR #113)
- Fixes module variable bugs ((PR #112)
- Updates Nuget package details
- 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)
- Fix async/await JS minifier
- Add support for CSS @supports
- Adding a options to turoff escape decoding in CSS files.
- 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))
- ECMAScript 6 Support for computed names in object property definitions
- Add support for async and await.
- Add support for netstandard2.0
- Support for ES6 arrow functions (PRs)
- Respect self-closing tags with "RemoveOptionalTags" option disabled
- Fix Check for break outside of a loop but inside a label block (#31)
- Fix issue in Html compact with pre/textarea tags not keeping whitespaces
- Add new HtmlSettings.KeepTags to selectively keep a list of optional start/end tags even when settings.RemoveOptionalTags is true
- Fix possible NullReferenceException when using HtmlSettings.RemoveJavaScript = true
- Fix regression when collapsing spaces introduced previously
- Add option HtmlSettings.KeepOneSpaceWhenCollapsing to keep at least one space when collapsing them
- Add support for keeping knockout comments
- Don't minify (0,eval)('this') expressions
- Fix bug while minimizing HTML style CSS attribute
- Add support to dotnet RTM, switch to netstandard1.6