-
Type: New Feature
-
Resolution: Unresolved
-
Priority: Minor - P4
-
None
-
Affects Version/s: None
-
Component/s: Release Automation
Details
Using npm's deprecation feature we should add a warning message to the package that are outside of our support range to help indicate what versions are recommended to upgrade from.
Using: https://docs.npmjs.com/cli/v8/commands/npm-deprecate will emit a message like so:
npm WARN deprecated mongodb@3.7.0: INSERT MESSAGE HERE
upon install of a package that has any nested dependency on the package we set the message on.
AC
- Determine version ranges to set deprecation message on
- Run npm command to set ranges on the packages of all libraries we wish to recommend upgrading
- If the deprecation message will need to be updated after next major release (or some other condition), file follow up ticket to update the message accordingly
- File follow up ticket to deprecate the current major version on the agreed upon date
- is duplicated by
-
NODE-1500 deprecate js-bson 1.x, and bson-ext 1.x
- Closed