- Adds support for css custom identifiers
- Added support for 'of' keyword in :nth-child and :nth-last-child
- Fixed bug with JavaScript Object Destructuring with default values
- Fixes bug parsing arrow and anonymous functions as object properties within object destructuring.
- Fixes NullReferenceException when parsing object literal with computed property name expression starting with (
- Fixed bug with escaped css identifiers
- Fixed bug with JS variables named
module
- Added option to disable crunching hex and rga colors
- Fixes bug with export async
- Fixes bug with delete keyword
- Fixes bug with duplicate property names
- Fixes bug with border: 0 none
- Fixes spread bug
- Optimises compression of @supports()
- Optimises !important
- Optimises border:0
- Fixes bug with empty css variable declarations
- Addes support for HTMLSettings.TagsCaseSensitive
- Added support for
new.target.prototype
- Stopped zeros being reduced for css properties
- Fixed bug with boolean handling inside JSON
- Added support for compressing
<script type="application/json">
- Fixed bug with String.raw``
- Fixed bug with yield on the LHS of binary expressions
- Fixed bug with leading underscores in css identifiers
- Fixed bug with yields inside unary expressions and missing parenthesis
- Adds support for css variables inside rgba functions
- Fixes bug with object destructuring parenthesis
- Fixes bug with rest spread call expressions inside object literals
- Fixes bug with
await f() === "string"
- Fixes bug with escaping of dollar sign in template literals
- Fixes use of spaces instead of commas in CSS RGB values
- Fixes bug with
\$
inside template literals
- Skipped due to deployment error
- Fixes bug with escape characters in template literals
- Fixes :has(> .bla) type function selectors - beware this may still not be perfect but its considerably better than it was
- Adds support for #rgba and #rrggbbaa css colors and adds better invalid css color detection
- Fixes exception thrown on lambda syntax errors
- Fixes bug with catch parameters inside lexical scopes. Note this removes a syntax error check for ancient IE versions.
- Skipped due to deployment error
- Skipped due to deployment error
- Allows whitespace around Knoockout comments when retaining them in minified HTML
- Fixes bug with whitespace around :is() css selectors
- Skipped version
- Fixes bugs with assignment operator precendence
- Adds support for private class members
- Adds support for Class Fields
- Adds support for CSS case (in)sensitive attribute selectors
- Added net50 target framework
- Fixed bug with object literal implicit method duplicates
- Fixed bug with methods in object initializers
- Fixed bug with optional catch bindings
- Fixed bug with static and non static class member method duplicates
- Fixed bug with
for..of
- Fixed support for multiple negated conditions in css @supports condition
- Fixes bug with object destructing and rest spread in arrow function parameters
- 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