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.
- 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
dependencies
ordevDependencies
. - Type check the
#ignore
value.
- 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 deprecations for
npm:
aliased dependencies. - Improve matching of aliased dependencies in deprecation paths.
- Let
*
match 0-or-more instead of 1-or-more.
- Add a
--help
message. - Add
--errors-only
(replaces undocumented--complete
). - Add support for expiry dates using the
#expire
directive. - 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.