- Symbolic links (soft links) will be treated as ordinary files and thus will be removed. Earlier behavior was silent ignore. #40
TestObject.method
will be called for symbolic links.- Upgrade
trash
dependency to7.2.0
version.
- Upgrade
@types/webpack
dependency to5.28.0
version. - Upgrade
trash
dependency to7.1.1
version.
- Documentation for
trash
parameter. #32
- Upgrade
@types/webpack
dependency to4.41.22
version.
- Information about version naming in README.
- New feature:
readWebpackConfiguration
. Part of plugin configuration may be controlled with global webpack configuration. #29
- Little refactoring (related to English language, not information) of documentation and log messages. #27
- Documentation for
beforeRemove
,afterRemove
parameters.
- Namespace documentation for every parameter.
- New feature:
beforeForFirstBuild
. For first buildbefore
parameters will be applied, for subsequent buildswatch
parameters will be applied. Works only inwatch
key. #25 - New feature:
skipFirstBuild
. First build will be skipped. Works only inwatch
key.
- Upgrade
@types/webpack
dependency to4.41.12
version.
- New key:
watch
. Parameters of that key will be applied in "watch" mode. Parameters ofbefore
key will no longer be applied in "watch" mode. So, make sure your current configuration still have expected behavior. #22
- A bug when old
include
and oldexclude
were mixed with newinclude
andexclude
in "watch" mode. It had no effect, because the plugin checks an items for existence before removing. Just strange messages were presented in warning log.
- Stability, performance and quality.
- Documentation and description.
- Pretty printing of folders and files that have been removed.
- New features:
beforeRemove
andafterRemove
parameters. See readme for documentation.
trash
parameter isfalse
by default.TestObject.method
supports testing for folders. Ensure that behavior of your current tests remain unchanged.
- A bug when safety of removal could have been incorrectly determined in specific cases.
- A bug when "unnecessary" folders and files could have been incorrectly excluded in specific cases.
- A bug when
exclude
could not work as expected in specific cases.
- A bug when root path was escaped incorrectly. #16
- Type definitions. #13
- Stability and quality.
- Documentation and description.
- New feature:
trash
. Now you can remove your items in a trash (recycle bin). - New features:
logWarning
,logError
andlogDebug
. Now you can control logging of different levels. #10
- Text of log messages.
- A bug when safety of removal was incorrectly determined. #7
- A bug when the plugin not worked in
--watch
mode. #9 - A bug when a path could be incorrectly changed for pretty printing.
- A bug when unnecessary items could be cropped incorrectly.
- Fix a bug when folder path in warning message was
undefined
. #5.
- Fix compatibility with webpack 3.x #3.
Nothing changed. Had to change the version because of problems with npm
. See changelog for 1.1.0 version.
- No longer necessary set
__dirname
toroot
in order to specify an actual root directory. - If you not set
include
andtest
parameters, there will be no more messageAn items for removing not found.
.
- Plugin name that used in terminal now contains a version.
- If
allowRootAndOutside
option is off, then in terminal a paths will be printed without the root. - Improved cross-platform properties.
- Improved readability of log messages.
- Add a link to README to error message which appears in case you do not specify neither
before
norafter
parameters. - Add a warning message if
allowRootAndOutside
option is on and if there is unsafe removing.
Initial release.