Skip to content

Releases: adobe/sizewatcher

1.4.1

25 Nov 17:06

Choose a tag to compare

Fixes:

  • #136 #116 [npm_package] use npm pack instead of npm publish --dry-run

Dependency updates:

  • fix(deps): update dependency tmp to v0.2.4 [security] by @renovate[bot] in #123
  • fix(deps): update dependency debug to v4.4.3 by @renovate[bot] in #128
  • fix(deps): update dependency js-yaml to v4.1.1 [security] by @renovate[bot] in #133
  • chore(renovate): ignore whatwg-url from package.json overrides by @alexkli in #130
  • chore(deps): update dependency mocha to v11.7.5 by @renovate[bot] in #134

Full Changelog: v1.4.0...v1.4.1

1.4.0

02 Apr 08:59

Choose a tag to compare

Major changes:

  • #106 Require at least node 18. Was 12 before. Node 18 is last version we can make work with being a CommonJS module.

Fixes:

  • #108 #113 Git comparator reporting incorrect deltas. now count files in checkout instead of .git folder for consistent sizes
  • #112 Node-modules: replace broken cost-of-modules with howfat for better largest modules reporting
  • #97 Fix node version 20+ test failures

Improvements:

  • #101 fixed package.json using npm pkg fix
  • Upgrade dependencies (many major bumps)
  • #98 CI: drop .travis.yml, was not running on Travis CI for years anyway
  • CI: various CI improvements
  • Added renovate

1.3.0

28 Jan 00:07

Choose a tag to compare

  • Drop node 10 support #87
  • Various dependency updates

v1.2.1

29 Apr 05:19

Choose a tag to compare

Important bug fixes.

Fixes:

  • #63 fix and improve git checkout logic
  • #62 fix failure on fork PRs
  • #53 sizewatcher fails if there is no "package.json" file in the main branch, or if a package.json has no dependencies and thus node_modules is missing
  • #74 improve delta calculation (showed weird negative values in some cases)

v1.2.0

30 Oct 05:36

Choose a tag to compare

Improvements:

  • #41 Support project structures where package.json is in subdirectory. Introduces the dir config on comparators.

Fixes:

  • #46 Support running in a subdirectory of a git checkout.

  • #43 node_modules comparator failed if there were no dependencies

  • #42 npm_package failed if there was no version field in package.json

v1.1.0

27 Oct 04:27

Choose a tag to compare

New Comparators:

  • #14 npm package size

Improvements:

  • #32 Improved PR comment that can be collapsed as whole, shows the summary result and is collapsed by default if the result is ok.

  • #33 Support script option in custom comparator. This allows to run build steps in case the output of those needs to be measured. The path option now also supports glob patterns.

  • #31 Change default limits to make them less aggressive:

    • fail: 100%
    • warn: 30%
    • ok: -10% (same)
  • #39 Detect if comparing the same branch and exit gracefully.

v1.0.0

24 Oct 09:23

Choose a tag to compare

Initial version with comparators

  • git
  • node_modules
  • custom