sfcode An Online Competing and Development Environment

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.2...v6.0.3">6.0.3</a> (2020-06-30)

## Bug Fixes

- do not execute on a child compiler (42f27c7)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.1...v6.0.2">6.0.2</a> (2020-06-03)

## Bug Fixes

- security problem
- compatibility with `10.13` version of Node.js

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v6.0.0...v6.0.1">6.0.1</a> (2020-05-16)

## Bug Fixes

- concurrency writing assets (#484) (bfc712d)
- escaping special characters in the `context` option (0e62695)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.1.1...v6.0.0">6.0.0</a> (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)` to `new CopyPlugin({ patterns, options })`
- migrate on `compilation.additionalAssets` hook
- the `ignore` option was removed in favor `globOptions.ignore`
- the `test` option was removed in favor the `transformPath` option
- the `cache` option was renamed to the `cacheTransform` option, `cacheTransform` option should have only `directory` and `keys` properties when it is an object
- global `context` and `ignore` options were removed in favor `patten.context` and `pattern.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 of`webpack-dev-server`is not supported anymore`
- `the`logLevel`was removed in favor the`infrastructureLogging.level` option, please read the documentation

## Features

- implement the `concurrency` option (#466) (c176d7d)
- implement the `directory` option for the `cacheTransform` option (29254e3)
- implement the `noErrorOnMissing` option (#475) (e3803ce)
- migrate on webpack built-in logger (#446) (5af02bc)

## Bug Fixes

- asset size (197b0d8)
- persist assets between rebuilds (57f3e61)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.1.0...v5.1.1">5.1.1</a> (2019-12-12)

## Bug Fixes

- allow to setup empty array (#425) (3b79595)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.5...v5.1.0">5.1.0</a> (2019-12-09)

## Features

- validate options (#419) (452539a)

## Bug Fixes

- better to determine when glob is used (4826e56)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.4...v5.0.5">5.0.5</a> (2019-11-06)

## Performance Improvements

- improvements for webpack@5

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.3...v5.0.4">5.0.4</a> (2019-07-26)

## Bug Fixes

- use posix separator for emitting assets (#392) (7f08be6)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.2...v5.0.3">5.0.3</a> (2019-04-24)

## Bug Fixes

- alone `[N]` interpolation in `to` option (#375) (70917b7)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v5.0.1...v5.0.2">5.0.2</a> (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

- avoid extra call `stat` for file (#365) (ae2258f)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.6.0...v5.0.1">5.0.1</a> (2019-03-11)

## Bug Fixes

- respect base of `glob` for context dependencies (#352) (5b407f1)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.6.0...v5.0.0">5.0.0</a> (2019-02-20)

### Bug Fixes

- copy only modified files when you use patterns with difference `to` and same `context` (#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 to `logLevel`, it only accepts string values: `trace`, `debug`, `info`, `warn`, `error` and `silent`
- plugin emit warning instead error if file doesn't exist
- change `prototype` of plugin, now you can to get correct plugin name

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.4...v4.6.0">4.6.0</a> (2018-10-31)

### Bug Fixes

- handle undefined and null as stats value (#302) (78c5d12)

### Features

- add support for target path transform (#284) (7fe0c06)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.3...v4.5.4">4.5.4</a> (2018-10-18)

### Bug Fixes

- processPattern: don't add ‘'glob’`as directory when it is a file (`contextDependencies`) (#296) (5670926)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.2...v4.5.3">4.5.3</a> (2018-10-10)

### Bug Fixes

- processPattern: add `glob` directory context to `contextDependencies` (#290) (5fa69db)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.1...v4.5.2">4.5.2</a> (2018-06-26)

### Bug Fixes

- allow square brackets in path (#264) (3ef5b6c), closes #231

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.5.0...v4.5.1">4.5.1</a> (2018-03-09)

### Bug Fixes

- package: update `cacache` v10.0.1...10.0.4 (`dependencies`) (#238) (0b288f9)

### Performance Improvements

- index: switch to `md4` for content hashing (#239) (2be8191)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.4.3...v4.5.0">4.5.0</a> (2018-03-02)

### Features

- processPattern: add support for `{RegExp)` matches (`pattern.test`) (#235) (1861730)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.4.2...v4.4.3">4.4.3</a> (2018-03-01)

### Bug Fixes

- index: `tapable` deprecation warnings (`webpack >= v4.0.0`) (#234) (445d548)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.4.1...v4.4.2">4.4.2</a> (2018-02-23)

### Bug Fixes

- src/: don't escape non-glob patterns (#230) (0eb2cd5)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.4.0...v4.4.1">4.4.1</a> (2018-02-08)

### Bug Fixes

- replace `pify` with simpler promise helpers (#221) (dadac24)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.3.1...v4.4.0">4.4.0</a> (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

- use `compiler.inputFileSystem` instead `fs` (#205) (158f821)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.3.0...v4.3.1">4.3.1</a> (2017-12-22)

### Bug Fixes

- `cache` behaviour (#196) (6beb89e)
- `cache` option behaviour (3b088d0)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.2.4...v4.3.0">4.3.0</a> (2017-12-14)

### Features

- add option to cache `pattern.transform` (`pattern.cache`) (#176) (20c143b)
- option for caching `transform` function (48c19ff)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.2.3...v4.2.4">4.2.4</a> (2017-12-14)

### Refactoring

- refactor: use native `{Promise}` instead of `bluebird` (#178) (a508f14)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.2.2...v4.2.3">4.2.3</a> (2017-11-23)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.2.0...v4.2.2">4.2.2</a> (2017-11-23)

### Bug Fixes

- copying same file to multiple targets (#165) (43a9870)

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.1.1...v4.2.0">4.2.0</a> (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

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.1.0...v4.1.1">4.1.1</a> (2017-10-05)

### Chore

- Update dependencies for NSP security advisory (#151) (6d4346e)
  - Reference issue: https://nodesecurity.io/advisories/minimatch_regular-expression-denial-of-service

# <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v2.1.3...v4.1.0">4.1.0</a> (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

- Added non-wildcard glob support (405d1ec)
- Added transform method to patterns (#77) (6371eb1)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v2.1.3...v4.0.1">4.0.1</a> (2017-09-29)

### Bug Fixes

- Fixed glob as object (1b2c21a)
- Improved Windows compatibility (#85) (ad62899)
- subdirectory errors in blob patterns (c2720d0)

### Features

- Added non-wildcard glob support (405d1ec)
- Added transform method to patterns (#77) (6371eb1)

## <a href="https://github.com/webpack-contrib/copy-webpack-plugin/compare/v4.0.0...v3.0.1">4.0.0</a> (2016-10-23)

### Bug Fixes

- Changed default ignore glob to ignore dot files (#80) (08b69a4)

### Features

- Added transform method to patterns (6371eb1)