All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
6.4.1 (2020-12-16)
6.4.0 (2020-12-07)
6.3.2 (2020-11-19)
6.3.1 (2020-11-13)
6.3.0 (2020-11-03)
- added the
sourceFilename
info (original source filename) to assets info (#542) (db2e3bf) - persistent cache between compilations (webpack@5 only) (#541) (c892451)
6.2.1 (2020-10-09)
- update
schema-utils
6.2.0 (2020-10-02)
6.1.1 (2020-09-18)
- updated
serialize-javascript
6.1.0 (2020-08-31)
- added
filter
option (#524) (1496f85) - added the
copied
flag to asset info (09b1dc9) - added the
immutable
flag to asset info with hash in name (#525) (a1989d5) - webpack@5: improve stats output for
copied
files
6.0.4 (2020-08-29)
6.0.3 (2020-06-30)
- do not execute on a child compiler (42f27c7)
6.0.2 (2020-06-03)
- security problem
- compatibility with
10.13
version of Node.js
6.0.1 (2020-05-16)
- concurrency writing assets (#484) (bfc712d)
- escaping special characters in the
context
option (0e62695)
6.0.0 (2020-05-15)
- minimum supported Node.js version is
10.13
, - the plugin now accepts an object, you should change
new CopyPlugin(patterns, options)
tonew CopyPlugin({ patterns, options })
- migrate on
compilation.additionalAssets
hook - the
ignore
option (which accepted micromatch syntax) was removed in favorglobOptions.ignore
(which accepts fast-glob pattern-syntax) - the
test
option was removed in favor thetransformPath
option - the
cache
option was renamed to thecacheTransform
option,cacheTransform
option should have onlydirectory
andkeys
properties when it is an object - global
context
andignore
options were removed in favorpatten.context
andpattern.globOptions.ignore
options - the missing file error is now an error, before it was a warning
- the
from
option now can only be a string, if you use{ from: { glob: 'directory/**', dot: false } }
changed it to{ from: 'directory/**', globOptions: { dot: false } }
- the
copyUnmodified
was removed without replacements - the
2
version ofwebpack-dev-server
is not supported anymore - the
logLevel
was removed in favor theinfrastructureLogging.level
option, please read the documentation
- implement the
concurrency
option (#466) (c176d7d) - implement the
directory
option for thecacheTransform
option (29254e3) - implement the
noErrorOnMissing
option (#475) (e3803ce) - migrate on webpack built-in logger (#446) (5af02bc)
5.1.1 (2019-12-12)
5.1.0 (2019-12-09)
- better to determine when glob is used (4826e56)
5.0.5 (2019-11-06)
- improvements for webpack@5
5.0.4 (2019-07-26)
5.0.3 (2019-04-24)
5.0.2 (2019-03-22)
- add fallback to transform cache directory (#361) (05963eb)
- better determinate template in
to
option (#363) (52f8be6) - emit errors instead throw (#362) (3946473)
- watch on windows (#359) (eaf4306)
5.0.1 (2019-03-11)
5.0.0 (2019-02-20)
- copy only modified files when you use patterns with difference
to
and samecontext
(#341) (e808aa2) - handle
[contenthash]
as template (#328) (61dfe52) - handles when you add new files in watch mode and use
glob
(#333) (49a28f0) - normalize path segment separation, no problems when you mixed
/
and\\
(#339) (8f5e638) - throw error if
from
is an empty string #278 (#285) (adf1046)
- emit warning instead error if file doesn't exist (#338) (a1c5372)
- supports copy nested directories/files in symlink (#335) (f551c0d)
- drop support for webpack < 4
- drop support for node < 6.9
debug
option was renamed tologLevel
, it only accepts string values:trace
,debug
,info
,warn
,error
andsilent
- plugin emit warning instead error if file doesn't exist
- change
prototype
of plugin, now you can to get correct plugin name
4.6.0 (2018-10-31)
4.5.4 (2018-10-18)
- processPattern: don't add
'glob'
as directory when it is a file (contextDependencies
) (#296) (5670926)
4.5.3 (2018-10-10)
4.5.2 (2018-06-26)
4.5.1 (2018-03-09)
4.5.0 (2018-03-02)
4.4.3 (2018-03-01)
4.4.2 (2018-02-23)
4.4.1 (2018-02-08)
4.4.0 (2018-02-08)
- package: add
prepare
script (9bf0d99) - preProcessPatterns: support glob context paths with special characters (#208) (ea0c05f)
- support
webpack >= v4.0.0
(6a16b3c)
4.3.1 (2017-12-22)
4.3.0 (2017-12-14)
- add option to cache
pattern.transform
(pattern.cache
) (#176) (20c143b) - option for caching
transform
function (48c19ff)
4.2.4 (2017-12-14)
4.2.3 (2017-11-23)
4.2.2 (2017-11-23)
4.2.0 (2017-10-19)
- add
context
option (options.context
) (#149) (10cd1a2) - allow async transforms (#111) (8794e5f)
- Plugin context option (5c54e92), closes #148
- support
{String}
patterns (#155) (b6c2e66) - Support simple string patterns (056a60b), closes #150
4.1.1 (2017-10-05)
4.1.0 (2017-09-29)
- Changed default ignore glob to ignore dot files (#80) (08b69a4)
- Fixed glob as object (1b2c21a)
- Improved Windows compatibility (#85) (ad62899)
- Memory leak in watch mode and use Set for performance (#130) (de46fde)
- subdirectory errors in blob patterns (c2720d0)
4.0.1 (2017-09-29)
- Fixed glob as object (1b2c21a)
- Improved Windows compatibility (#85) (ad62899)
- subdirectory errors in blob patterns (c2720d0)
4.0.0 (2016-10-23)
- Added transform method to patterns (6371eb1)