21 KiB
21 KiB
Changelog
All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
6.2.1 (2020-10-09)
Chore
- update
schema-utils
6.2.0 (2020-10-02)
Features
6.1.1 (2020-09-18)
Chore
- updated
serialize-javascript
6.1.0 (2020-08-31)
Features
- 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)
Bug Fixes
6.0.3 (2020-06-30)
Bug Fixes
- do not execute on a child compiler (42f27c7)
6.0.2 (2020-06-03)
Bug Fixes
- security problem
- compatibility with
10.13
version of Node.js
6.0.1 (2020-05-16)
Bug Fixes
- concurrency writing assets (#484) (bfc712d)
- escaping special characters in the
context
option (0e62695)
6.0.0 (2020-05-15)
⚠ BREAKING CHANGES
- 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
Features
- 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)
Bug Fixes
5.1.1 (2019-12-12)
Bug Fixes
5.1.0 (2019-12-09)
Features
Bug Fixes
- better to determine when glob is used (4826e56)
5.0.5 (2019-11-06)
Performance Improvements
- improvements for webpack@5
5.0.4 (2019-07-26)
Bug Fixes
## 5.0.3 (2019-04-24)
Bug Fixes
## 5.0.2 (2019-03-22)
Bug Fixes
- 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)
Performance Improvements
## 5.0.1 (2019-03-11)
Bug Fixes
# 5.0.0 (2019-02-20)
Bug Fixes
- 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)
Features
- emit warning instead error if file doesn’t exist (#338) (a1c5372)
- supports copy nested directories/files in symlink (#335) (f551c0d)
BREAKING CHANGES
- 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)
Bug Fixes
Features
## 4.5.4 (2018-10-18)
Bug Fixes
- processPattern: don’t add
'glob'
as directory when it is a file (contextDependencies
) (#296) (5670926)
## 4.5.3 (2018-10-10)
Bug Fixes
## 4.5.2 (2018-06-26)
Bug Fixes
## 4.5.1 (2018-03-09)
Bug Fixes
Performance Improvements
# 4.5.0 (2018-03-02)
Features
## 4.4.3 (2018-03-01)
Bug Fixes
## 4.4.2 (2018-02-23)
Bug Fixes
## 4.4.1 (2018-02-08)
Bug Fixes
# 4.4.0 (2018-02-08)
Bug Fixes
- package: add
prepare
script (9bf0d99) - preProcessPatterns: support glob context paths with special characters (#208) (ea0c05f)
- support
webpack >= v4.0.0
(6a16b3c)
Features
## 4.3.1 (2017-12-22)
Bug Fixes
# 4.3.0 (2017-12-14)
Features
- add option to cache
pattern.transform
(pattern.cache
) (#176) (20c143b) - option for caching
transform
function (48c19ff)
## 4.2.4 (2017-12-14)
Refactoring
## 4.2.3 (2017-11-23)
## 4.2.2 (2017-11-23)
Bug Fixes
# 4.2.0 (2017-10-19)
Features
- 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)
Chore
# 4.1.0 (2017-09-29)
Bug Fixes
- 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)
Features
## 4.0.1 (2017-09-29)
Bug Fixes
- Fixed glob as object (1b2c21a)
- Improved Windows compatibility (#85) (ad62899)
- subdirectory errors in blob patterns (c2720d0)
Features
## 4.0.0 (2016-10-23)
Bug Fixes
Features
- Added transform method to patterns (6371eb1)