Skip to content

Latest commit

 

History

History
289 lines (164 loc) · 16.5 KB

CHANGELOG.md

File metadata and controls

289 lines (164 loc) · 16.5 KB

Changelog

8.0.0 (2023-12-17)

⚠ BREAKING CHANGES

  • Given a boatload of deps are dropping it, We have to drop it too.

Bug Fixes

  • deps: update dependency corepack to v0.21.0 (6f401a4)
  • deps: update dependency corepack to v0.22.0 (c5fea52)
  • deps: update dependency corepack to v0.23.0 (d63576e)
  • deps: update dependency lilconfig to v3 (9c6737f)
  • deps: update dependency zod to v3.22.4 (eea3d68)
  • deps: update dependency zod-validation-error to v2 (b3f5fa8)
  • deps: update dependency zod-validation-error to v2.1.0 (0e16699)
  • midnight-smoker: add overload for normalization to readPackageJson (b4e781f)
  • midnight-smoker: fix missing 'cause' prop on errors (dc3ac8f)
  • midnight-smoker: fix npm9 load() function (3d171ec), closes #401
  • no-missing-exports: correctly check the 'types' field (eef4876)
  • remove ErrorOptions reference (4282e74)

Miscellaneous Chores

7.0.3 (2023-09-26)

Bug Fixes

  • deps: update definitelytyped (d66b6d6)
  • deps: update dependency @types/semver to v7.5.2 (c8bc0a1)
  • deps: update dependency glob to v10.3.5 (33b8869)
  • deps: update dependency glob to v10.3.6 (0d1d95c)
  • deps: update dependency glob to v10.3.7 (166a8c2)
  • deps: update dependency glob to v10.3.9 (71dbefa)

7.0.2 (2023-09-09)

Bug Fixes

  • deps: update dependency glob to v10.3.4 (fd3a8af)

7.0.1 (2023-08-30)

Bug Fixes

  • errors: better error output (51b0002)
  • verbose: fix verbose mode (4afd125)

7.0.0 (2023-08-29)

⚠ BREAKING CHANGES

  • The Smoker class can no longer be instantiated directly; use Smoker.init(). The verbose option will now cause a fatal error to throw its exception to the terminal. Rule configuration is now severity string, rule-specific options, or a tuple of [rule-specifc options, severity string]. It can no longer be [rule-specific options nor [severity string]. The config file schema has changed to reflect this. Type SmokeOptions removed and is now the same type as SmokerOptions.

Features

  • rules: no-missing-pkg-files checks "unpkg" and "module" fields by default (6df6087)

Bug Fixes

  • checks: the "warn" severity is respected; closes #333 (faf6a91)
  • deps: update dependency @types/semver to v7.5.1 (03277db)
  • deps: update dependency corepack to v0.20.0 (7ef49b2)
  • deps: update dependency which to v4 (b566df4)

Miscellaneous Chores

  • consolidate option parsing (faf6a91)

6.1.1 (2023-08-25)

Bug Fixes

  • rules: no-banned-files ignores node_modules (4eb6e5d), closes #330
  • rules: no-missing-exports supports arrays (6dc69c2)

6.1.0 (2023-08-24)

Features

  • rules: no-missing-pkg-files checks browser and types fields (2beb84f), closes #304

6.0.0 (2023-08-23)

⚠ BREAKING CHANGES

  • midnight-smoker now runs a small suite of automated checks by default.

Features

Bug Fixes

  • deps: update dependency zod to v3.22.2 (4926a4e)

5.1.0 (2023-08-21)

Features

Bug Fixes

  • yarn: fix workspace-related problems (8a35799)

5.0.0 (2023-08-14)

⚠ BREAKING CHANGES

  • This package now requires a minimum Node.js of v16.20.0.

Bug Fixes

  • config: fix weird config file handling (#282) (83a0fac)
  • pin corepack version (20a0a03)
  • types: export SmokerConfig type (83a0fac)

4.0.0 (2023-08-11)

⚠ BREAKING CHANGES

  • package-managers: The following CLI options have been removed:
    • --npm: replaced by --pm functionality; provide a version, not a path
    • --install-args: may be re-added later, but package managers accept different args, so this became a problem
    • --dir, --clean, and --force: package managers each have their own temp dir and we cannot share a dir between them
  • package-managers: add ability to run tests against multiple arbitrary package managers

Features

  • package-managers: add ability to run tests against multiple arbitrary package managers (ad94ad4)
  • package-managers: add datafiles and generation script (42d2d7e)
  • package-managers: add package manager support (16b391e)

3.1.0 (2023-08-09)

Features

Bug Fixes

3.0.4 (2023-07-25)

Bug Fixes

  • ci: force default registry (1dcac87)

3.0.3 (2023-07-24)

Bug Fixes

  • ci: skip npm upgrade step on release if no release (41760a9)

3.0.2 (2023-07-24)

Bug Fixes

  • ci: fix broken node version in release action (bb13b59)

3.0.1 (2023-07-24)

Bug Fixes

  • ci: add missing step id (0c721ff)

3.0.0 (2023-07-24)

⚠ BREAKING CHANGES

  • npm v9 changes --global-style to --install-strategy=shallow. so now we need to retain the version that we found when running which npm, and change the shell command accordingly. Note that even passing a custom path to npm will cause it to be executed so that we can verify the version. This also modifies the FIND_NPM_OK event to return an NpmInfo object containing props path and version, instead of just the string path.
  • This drops official support for Node.js v14.x, which is now at end-of-life.

Bug Fixes

  • suppress warning when using npm v9 (a325ad4)

Miscellaneous Chores

  • drop Node.js v14.x support (03f81be)

2.0.4 (2023-05-19)

Bug Fixes

  • deps: update dependency which to v3.0.1 (8b4b0f1)
  • deps: update dependency yargs to v17.7.2 (b4b86f8)

2.0.3 (2023-04-17)

Bug Fixes

  • windows: fix windows for real, hopefully (7f7746c)

2.0.2 (2023-04-17)

Bug Fixes

  • attempt to make it work in windows (11bc003)
  • deps: update dependency yargs to v17.7.0 (1e7a964)
  • deps: update dependency yargs to v17.7.1 (5bae5e5)

2.0.1 (2023-01-11)

Bug Fixes

  • npm audit (dd1d430)
  • use global style installs to avoid false positives (2208856)

2.0.0 (2022-12-05)

⚠ BREAKING CHANGES

  • Now supports ^14.17.0 || ^16.13.0 || >=18.0.0 only!

Bug Fixes

  • deps: update dependency which to v3 (b743420)

Miscellaneous Chores

  • drop support for Node.js <= v14.17.0 (5890e11)

1.2.2 (2022-11-18)

Bug Fixes

  • deps: update dependency yargs to v17.6.0 (1fb217e)

1.2.1 (2022-10-27)

Features

Bug Fixes

  • cli: handle non-Error errors better (00a094e)
  • README: reasonable readme (842e54e)
  • types: fix path to typings (d02ad15)
  • types: fix static types (9c2acb5)
  • types: include necessary types (1cfb550)

Miscellaneous Chores

1.1.2 (2022-10-18)

Bug Fixes

  • cli: handle non-Error errors better (00a094e)

1.1.1 (2022-08-05)

Bug Fixes

  • types: include necessary types (1cfb550)

1.1.0 (2022-08-05)

Features

Bug Fixes

  • types: fix path to typings (d02ad15)
  • types: fix static types (9c2acb5)

1.0.1 (2022-07-23)

Bug Fixes

  • README: reasonable readme (842e54e)

1.0.0 (2022-07-23)

Features