All notable changes to depreman will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- No changes yet
- Add support for Node.js v26.
- Add a manpage.
- Add
--versionflag. - Add support for selectively scoped ignoring with the
#scopedirective. - Fix alias resolution for
optionalDependenciesandpeerDependencies.
- Disallow dates past the year 3000.
- Include deprecation message when all instances of it are ignored.
- Warn about ineffective leafs in the configuration.
- Add (experimental) support for Yarn v4.
- Fix support for Windows.
- Add support for Node.js v24.
- Add support for npm v11.
- Add CLI argument validation and error messaging.
- Add configuration validation and error messaging.
- Fix missing output when there are no disallowed deprecation warnings.
- Fix missing deprecation warnings due to npm output parsing.
- Add support for projects that do not have a
package-lock.json. - Fix potentially poor performance when parsing npm aliases.
- Add
--omit=<dev|optional|peer>flag to control the review scope. - Make the output ordered alphabetically (by package name).
- Fix an unexpected runtime error if there are no dependencies.
- Add validation of expiry dates.
- Add
--report-unusedflag to report on unnecessary ignore directives. - Disallow expiry dates with prefixes or suffixes.
- Fix ignoring of the expiry date when using the
*wildcard.
- Add support for Node.js v20.
- Add support for npm v9.
- Fix support for aliases in
dependencies. - Fix an error if there are no
dependenciesordevDependencies. - Type check the
#ignorevalue.
- Add
+to match 1-or-more dependencies. - Let
*properly match 0-or-more (i.e. match the dependency itself too).
- Fix bug where rules following a wildcard would not be matched.
- Fix matching deprecation warnings for
npm:aliased dependencies. - Improve matching of aliased dependencies in deprecation paths.
- Let
*match 0-or-more instead of 1-or-more.
- Add a
--helpmessage. - Add
--errors-only(replaces undocumented--complete). - Add support for expiry dates using the
#expiredirective. - Improve the path-to-the-deprecated package output by adding an indicator for the current project to the list.
- Add support for exact path deprecation rules.
- Add support for wildcards in deprecation paths.
- Add support for using semver ranges in deprecation rules.
- Improve messaging when the configuration file is invalid.
- Initial release.