This project adheres to Semantic Versioning.
- Updated
chokidar
. - Updated
esbuild
. - Updated
jiti
.
- Reduced dependencies (by @ziebam).
- Updated
esbuild
.
- Fixed types (by @aryaemami59).
- Updated
esbuild
. - Updated CSS loaders for webpack.
- Fixed CSS support in esbuild plugin (by @just-boris).
- Fixed Windows support (by @aryaemami59).
- Added TypeScript support for config (by @aryaemami59).
- Fixed
webpack-why
regression (by @hoo00nn).
- Fixed
.mjs
config support (by Arya Emami). - Updated
esbuild
.
- Fixed
require is not defined
regression. - Updated
esbuild-visualizer
.
- Updated
estimo
. - Updated
lilconfig
.
- Moved to Brotli as default compression. Use
gzip: true
for old behavior.
- Fixed third-party plugins support (by @JounQin).
- Fixed Windows support (by @JounQin).
- Fixed
require is not defined
inwebpack-css
(by Andrey Medvedev). - Fixed webpack config defined as function support (by @lev875).
- Fixed imports and exports between packages.
- Removed
@size-limit/dual-publish
plugin. - Moved projects to ESM (by @lev875). Size Limit still can be used as CLI in CJS projects.
- Updated
globby
dependency.
- Remove Node.js 14 and 16 support.
- Moved to React from CDN for
time
plugin (by Aakansha Doshi).
- Fixed npm release process.
- Fixed opening report in
@size-limit/esbuild-why
(by Yaroslav Chapelskyi). - Updated
esbuild
.
- Fixed
@size-limit/esbuild-why
for multiple checks (by Homa Wong).
- Fixed npm release process.
- Fixed npm release process.
- Fixed
@size-limit/esbuild-why
package size.
- Added
@size-limit/esbuild-why
plugin (by Homa Wong). - Fixed peer dependency (by Sébastien Vanvelthem).
- Fixed silent mode (by Igor Suvorov).
- Updated
esbuild
. - Reduced dependencies.
- Updated
esbuild
.
- Added
"*"
value support toimport
(by @denkristoffer).
- Fixed
config
andmodifyEsbuildConfig
options (by Angelo Ashmore). - Updated
esbuild
.
- Removed Node.js 12 support.
- Added support for third-party plugins support (by @JounQin).
- Added field with limit to JSON output (by Elliot Westlake).
- Fixed peer dependencies.
- Fixed plugin versions in presets.
- Added
brotlied
note to CLI output (by @azat-io). - Updated
nanospinner
.
- Added
pnpm
examples to migration guide. - Fixed docs (by @azat-io).
- Updated
esbuild
. - Updated
nanospinner
.
- Fixed package size.
- Fixed peer dependency ignore in
@size-limit/esbuild
.
- Fixed
--save-bundle
arguments with@size-limit/esbuild
. - Fixed
ignore
option with@size-limit/esbuild
. - Fixed
brotli
option without webpack. - Fixed error messages.
- Added
@size-limit/esbuild
plugin for better performance (by Artem Tumin). - Moved
@size-limit/preset-small-lib
to@size-limit/esbuild
. - Moved CSS from webpack plugin to
@size-limit/webpack-css
(by Egor Ogarkov). - Moved
--why
to@size-limit/webpack-why
(by Egor Ogarkov).
- Updated dependencies.
- Updated
nanospinner
.
- Fixed Statoscope report location (by Sergey Melyukov).
- Replaced
mico-spinner
tonanospinner
.
- Moved to webpack 5 (by Ludovico Fischer).
- Moved from Webpack Bundle Analyzer to Statoscope (by Sergey Melyukov).
- Replaced
nanocolors
dependency withpicocolors
.
- Replaced
colorette
dependency withnanocolors
.
- Fixed
pnpm
support (by @Tomyail).
- Fixed error message on no input files for webpack.
- Fixed plugins loading from optional dependencies (by Edouard Menayde).
- Fixed
mico-spinner
dependency range.
- Removed Node.js 10 support.
- Reduced dependencies (by Stsefanovich Kanstantsin & @enemycnt).
- Added
.size-limit.cjs
config file support (by Cole Ellison).
- Added
modifyWebpackConfig
option (by Lenz Weber).
- Updated
optimize-css-assets-webpack-plugin
.
- Use
1000
factor forKB
and1024
forKiB
(by Matthias Kunnen).
- Fixed output on missed file (by Viktor Pasynok).
- Added
--silent
argument (by Viktor Pasynok).
- Fixed plugin loading for mono repository (by John Grishin).
- Reduced dependencies by replacing
cosmiconfig
tolilconfig
.
- Added auto
--highlight-less
for checks with bytes in limit. - Updated
dual-publish
.
- Added webpack stats support in
--save-bundle
(by Leonard Kinday).
- Added
--highlight-less
argument (by Victor Didenko).
- Fixed
peerDependencies
resolving inimport
. - Fixed Node.js 15 support.
- Fixed
peerDependencies
support inimport
. - Fixed npm 7 support.
- Updated
css-loader
andfile-loader
.
- Added
--hide-passed
argument (by Kristján Oddsson).
- Do not show loader in JSON mode (by Billy Vong).
- Fix “file was not found” behaviour (by Pavel Pustovalov).
- Dropped Node.js 13.0-13.6 support because of ES modules bug in that versions.
- Better warning on missed value in CLI argument (by Mikhail Vyrodov).
- Fixed
MaxListenersExceededWarning
(by Pavel Pustovalov). - Fixed
gzipped
note (by Evgeniy Timokhov).
- Replace color output library.
- Reduce dependencies.
- Improve docs (by Mikhail Bashurov).
- Add
--clean-dir
argument.
- Fix Windows support.
- Fix Yarn 2 support.
- Fix Windows support (by Anton Khlynovskiy).
- Update
nanoid
.
- Update
file-loader
. - Add peer dependency to
dual-publish
plugin.
- Add
--watch
support (by @jayhoney).
- Fix
import
option.
- Add multiple files support for
import
option. - Add multiple files support for
import
option.
- Fix
dual-publish
error.
- Add
@size-limit/dual-publish
plugin.
- Fix
import
option.
- Add tree-shaking support with
import
option (by Brian Schlenker).
- Fix
gzip
option plugins test. - Update
ci-job-number
.
- Fix note text (by Pavel Pustovalov).
- Move
size-limit
fromdependencies
topeerDependencies
.
- Add Yarn PnP and Yarn 2 support (by Pavel Pustovalov).
- Drop Node.js 8 support.
- Add Brotli support (by Viktor Pasynok).
- Improve
MaxListenersExceededWarning
fix (by Pavel Pustovalov).
- Fix
MaxListenersExceededWarning
(by Pavel Pustovalov).
- Fix JS API.
- Fix warning message (by Alexey Taktarov).
- Add JS API.
- Fix
--why
for entries with exceeded limit. - Fix
--why
for multiple entries.
- Fix running time calculation on parallel tasks.
- Fix CI warning text during Puppeteer error.
- Add warning for
size-limit
in dependencies.
- Fix plugin loading (by Alexandr Antonov).
- Update dependencies.
- Ignore non
.js
or.mjs
files in running time. - Speed up running time calculation.
- Add
--debug
argument.
- Fix time limit support.
- Fix possible webpack temporal directory name conflict.
- Rewrite tool with modular architecture.
Migration:
- Update
size-limit
to 2.x version. - Run
npx size-limit
. - Console will output instructions for installing necessary preset.
- Do not download Chrome for Puppeteer if you already have desktop Chrome.
- More accurate
--why
(by Anton Korzunov). - Fix
ignore
andpeerDependencies
(by Anton Korzunov). - Fix
--no-gzip
argument.
- Fix
package.json
-less project support. - Improve error message on wrong
getSize()
call. - Fix JSDoc.
- Fix CI warning text.
- Fix CI warning style.
- Fix ignoring scoped packages.
- Fix support extension-less
package.main
(by Homa Wong). - Add warning or Circle CI.
- Speed up running time calculation.
- Add
--save-bundle
argument (by Ivan Solovev).
- Add
--json
argument (by Pavel Vostrikov).
- Fix running time calculation on
webpack: false
.
- Allow to use Size Limit on CI with Node.js <8 tasks.
- Calculate time to download and execute JS.
- Improve CLI UI.
- Fix Markdown files support (by Scaria Rex Arun and Kiryl Misachenka).
- Add
.size-limit.json
config name support.
- Drop Node.js 6 support.
- Update inner CLI tools.
- Use
css-loader
2.0 (by Redmond Tran). - Use
file-loader
3.0.
- Add support for dynamic filename in custom Webpack config (by Naijia Liu).
- Add
entry
option (by Naijia Liu).
- Use
compression-webpack-plugin
2.0. - Use
webpack-bundle-analyzer
3.0.
- Use
package.json#main
as default path for limit. - Fix custom webpack config support with
resolve
orresolveLoader
options.
- Update
file-loader
andstyle-loader
.
- Fix
ignore
option (by Jayden Seric).
- Use
style-loader
0.22.
- Add
ignore
option to config.
- Fix absolute path support.
- Update dependencies.
- Fix documentation.
- Use
read-pkg-up
4.x. - Remove development config from
package.json
.
- Fix size with new webpack.
- Move development config files from npm package.
- Add
.size-limit.js
config support (by Olivier Tassinari).
- Use
cosmiconfig
5.x. - Improve CI (by Daniel Ruf).
- Remove deprecated limit CLI API and add
--limit
argument.
- Fix
peerDependencies
and--why
(by Bogdan Chadkin).
- Allow to use Size Limit in CI with Node.js 4.
getSize()
now returns{ gzip, parsed }
(by Bogdan Chadkin).- Improve size calculation accuracy (by Bogdan Chadkin).
- Array support in the
path
(by Bogdan Chadkin).
- Improve performance (by Bogdan Chadkin).
- Allow to use Size Limit in CI with Node.js 4.
- Remove Node.js 4 support.
- Use
webpack
4.0 (by Jayden Seric). - Use
globby
8.0.
- Use
cosmiconfig
4.0. - Use
yargs
11.0.
- Add
name
option to config. - Add
gzip
option to config.
- Use
globby
7.0.
- Allow to use Size Limit without
package.json
.
- Add
.size-limit
config support (by Vladimir Borovik).
- Fix dependency resolving with custom webpack config (by Sivan Mehta).
- Add custom webpack config support (by Sivan Mehta).
- Fix CLI messages (by @mute).
- Better error message on
--why
with"webpack": false
.
- Update
yargs
.
- Better error message on wrong config.
- Fix English in config error messages (by Tim Marinin).
- Show config example in config error messages.
- Better error message on wrong config.
- Better error message on missed file in legacy CLI.
- Ignore size of
peerDependencies
.
- Add CSS files support (by Sebastian Werner).
- Add support for more static files types (by Sebastian Werner).
- Use UglifyJS 3 to support ES2016 out of box.
- Add argument and option to disable webpack.
- Deprecate argument and option for Babili.
- Deprecate limit in CLI arguments.
- Deprecate old
"sizeLimit"
section name. - Better error messages style.
- Clean npm package from test files.
- Fix error messages text (by Alexandr Subbotin).
- Improve error messages style.
- Better output for projects with multiple limits.
- Fix multiple limits support in
--why
.
- Improve CLI help (by Peter deHaan).
- Add
size-limit
configuration section support.
- Fix multiline error messages in CLI.
- Do not load
node-zopfli
as loose dependency.
- Add glob pattern support to
sizeLimit
section.
- Better project name in Webpack Bundle Analyzer.
- Load images by
file-loader
.
- Add
sizeLimit
configuration section support.
- Use gzip sizes in Webpack Bundle Analyzer.
- Add Semaphore support.
- Add CircleCI support.
- Fix bundle name in
--why
mode. - Move gzip calculation inside webpack.
- Use
read-pkg-up
to findpackage.json
. - Use
ci-job-number
to detect CI job number.
- Run only on first CI job to save CI resources.
- Add
--babili
argument. - Use Chalk 2.
- Fix CLI text (by Yaroslav Markin).
- Fix CLI text (by Marais Rossouw).
- Fix parsing
B
unit without kilo/mega prefix.
- Initial release.