All notable changes to this project will be documented in this file. See standard-version for commit guidelines.
7.4.2 (2024-08-21)
7.4.1 (2024-08-20)
7.4.0 (2024-08-15)
- added the cacheImmutable option to cache immutable assets (assets with a hash in file name like
image.e12ab567.jpg
) (5ed629d) - allow to configure the
Cache-Control
header (#1923) (f7529c3)
- support
devServer: false
(b443f4d)
7.3.0 (2024-07-18)
7.2.1 (2024-04-02)
- avoid extra log
7.2.0 (2024-03-29)
- hapi support (b3f9126)
- koa support (#1792) (458c17c)
- support
ETag
header generation (#1797) (b759181) - support
Last-Modified
header generation (#1798) (18e5683)
7.1.1 (2024-03-21)
ContentLength
incorrectly set for empty files (#1785) (0f3e25e)- improve perf (#1777) (5b47c92)
- types: make types better (#1786) (e4d183e)
7.1.0 (2024-03-19)
- prefer to use
fs.createReadStream
overfs.readFileSync
to read files (ab533de)
- cleaup stream and handle errors (#1769) (1258fdd)
- security: do not allow to read files above (#1771) (e10008c)
7.0.0 (2023-12-26)
- minimum supported Node.js version is 18.12.0 (#1694)
- updated memfs@4 (#1693)
6.1.1 (2023-05-16)
6.1.0 (2023-05-03)
6.0.2 (2023-03-19)
6.0.1 (2022-11-28)
6.0.0 (2022-11-20)
- minimum supported webpack version is 5.0.0
- minimum supported Nodejs version is 14.15.0
5.3.3 (2022-05-18)
5.3.2 (2022-05-17)
5.3.1 (2022-02-01)
5.3.0 (2021-12-16)
5.2.2 (2021-11-17)
- update
schema-utils
package to4.0.0
version
5.2.1 (2021-09-25)
- internal release, no visible changes and features
5.2.0 (2021-09-24)
5.1.0 (2021-09-09)
- don't read full file if
Range
header is present (e8b21f0) - output more information on errors (#1024) (7df9e44)
5.0.0 (2021-06-02)
4.3.0 (2021-05-19)
4.2.0 (2021-05-10)
4.1.0 (2021-01-15)
- added the
stats
option (376cdba)
4.0.4 (2021-01-13)
4.0.3 (2021-01-12)
- output
stats
tostdout
insteadstderr
, how doeswebpack-cli
, if you need hidestats
from output please use{ stats: false }
or{ stats: 'none' }
(4de0f97) - colors are working for
stats
(4de0f97) - schema description (#783) (f9ce2b2)
- skip
Content-type header
on unknown types (#809) (5c9eee5)
4.0.2 (2020-11-10)
4.0.1 (2020-11-09)
- compatibility with
connect
(b83a1db)
4.0.0 (2020-10-28)
- export in CommonJS format
- compatibility with new webpack@5 API (#737) (f6054a0)
- handle the
auto
value of thepublicPath
option (9b4c5ec) - support webpack@5 (#702) (9ccc327)
4.0.0-rc.3 (2020-07-14)
- internal improvements
4.0.0-rc.2 (2020-06-30)
4.0.0-rc.1 (2020-02-20)
4.0.0-rc.0 (2020-02-19)
- respect
output.path
andoutput.publicPath
options from the configuration - respect the
stats
option from the configuration - respect the
watchOptions
option from the configuration - the
writeToDisk
option now correctly works in multi-compiler mode - the
outputFileSystem
option now correctly works in multi-compiler mode - respect
[hash]
/[fullhash]
inoutput.path
andoutput.publicPath
- handle exceptions for filesystem operations
- the
Content-Type
header doesn't havecharset=utf-8
value for custom MIME types and MIME types which can be nonutf-8
- validate options
- migrate on the
webpack
logger - migrate on the
memfs
package - improve performance
- minimum supported Node.js version is
10.13.0
- the default value of the option
publicPath
is taken from the value of theoutput.publicPath
option from the configuration (webpack.config.js
) - the
stats
option was removed, the default value of thestats
option is taken from the value of thestats
option from the configuration (webpack.config.js
) - the
watchOptions
was removed, the default value of thewatchOptions
option is taken from the value of thewatchOptions
option from the configuration (webpack.config.js
) - the
Content-Type
header doesn't havecharset=utf-8
value for custom MIME types and MIME types which can be nonutf-8
- the
fs
option was renamed to theoutputFileSystem
option - the
lazy
option was removed without replacement - the
logger
,logLevel
andlogTime
options were removed without replacement. You can setup thelevel
value using{ infrastructureLogging: { level: 'warn' } }
, please read https://webpack.js.org/configuration/other-options/#infrastructurelogging. You can use theinfrastructurelog
(infrastructureLog
inwebpack@5
) hook to customize logs. Thelog
property in the middleware context was renamed tologger
- the
mimeTypes
option first requires you to specify an extension and then a content-type -{ mimeTypes: { phtml: 'text/html' } }
- the
force
option from themimeTypes
option was removed without replacement - the
reporter
option was removed without replacement - the
getFilenameFromUrl
method was removed from the API - the middleware
locals
now underres.locals.webpack
- useres.locals.webpack.stats
for accessstats
andres.locals.webpack.outputFileSystem
to accessoutputFileSystem
3.7.2 (2019-09-28)
3.7.1 (2019-09-03)
- directly used mkdirp instead of through Webpack (#436) (dff39a1)
- displayStats only logged (#427) (98deaf4)
- the
writeToFile
option has compatibility with webpack@5 (#459) (5c90e1e)