fd22b0bf58
V2 (Laravel re-make)
8.2 KiB
8.2 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
1.3.2 (2020-10-09)
Chore
- update
schema-utils
1.3.1 (2020-09-21)
Bug Fixes
1.3.0 (2020-08-25)
Features
Bug Fixes
1.2.1 (2020-08-19)
Bug Fixes
1.2.0 (2020-08-18)
Features
Bug Fixes
- do not handle non standard
script
types (ddad9f2) - inline syntax for sources (#310) (c247cfa)
- linefeed characters in sources (#311) (b8ee9ee)
- minimize is more safely (#304) (03152b1)
- perf (#300) (d69f259)
1.1.0 (2020-04-02)
Features
- added support for an async functions to the
preprocessor
option (#272) (e59324b) - allowed to handle an attribute without a tag (#273) (c0d6d5b)
Bug Fixes
1.0.0 (2020-03-19)
⚠ BREAKING CHANGES
- for parsing HTML now we use
htmlparser2
package - the
attrs
option was renamed to theattributes
option - the
interpolate
option was removed, please consider migration on thepreprocessor
- the
minimize
option istrue
by default inproduction
mode. You need to list all options forhtml-minifier
if you useobject
notation. - uppercase tags and uppercase attributes are handled by default
- the
root
option was moved under theattributes
option, please look at the documentation - emit an error on broken HTML syntax when minimization is enabled
- By default, now we process the following tags with attributes:
- the
src
attribute of theaudio
tag - the
src
attribute of theembed
tag - the
src
attribute of theimg
tag - the
srcset
attribute of theimg
tag - the
src
attribute of theinput
tag - the
href
attribute of thelink
tag (only for stylesheets) - the
data
attribute of theobject
tag - the
src
attribute of thescript
tag - the
src
attribute of thesource
tag - the
srcset
attribute of thesource
tag - the
src
attribute of thetrack
tag - the
poster
attribute of thevideo
tag - the
src
attribute of thevideo
tag
- the
- the
attributes
option should beBoolean
orObject
, please look at the documentation - the
exportAsDefault
option were removed in favor theesModules
option - the
exportAsEs6Default
option were removed in favor theesModules
option
Features
- handle more tags and attributes
- added the
preprocessor
option - added the
esModule
option - add the
rulFilter
option for filtering some of urls, please look at the documentation - allow to setup how to handle and filter tags and attributes, please look at the documentation
- improve error reporting
Bug Fixes
- adding quotes when necessary for unquoted sources
- do not handle empty attributes
- escape
\u2028
and\u2029
characters - handle only valid srcset tags
- parser tags and attributes according spec
- reduce
import
/require
count - reduce size of generated modules
- respect
#hash
in sources - support ES6 syntax in
script
tags when minimize - support ES6 import of urls
0.5.5 (2018-01-17)
Bug Fixes
0.5.4 (2018-01-05)
Bug Fixes
- ignore attribute if
mailto:
is present (#145) (4b13d4c) - index: escape double quotes correctly (
options.interpolate
) (#154) (1ef5de4)
0.5.1 (2017-08-08)
Bug Fixes
0.5.0 (2017-07-26)
Features
0.4.5 (2017-07-26)
Bug Fixes
- es6 default export (fae0309)
- Handle es6 default export (e04e969)
- getOptions: deprecation warn in loaderUtils (#114) (3d47e98)
Features
- Adds exportAsDefault (37d40d8)