Closed
Description
See e.g. nodejs/node#18990 (comment) , I'm not sure where this is documented, although there is something here:
PRs that add new deprecations should have DEP00XX
, which should be replaced with an actual number (e.g. DEP0100
when it lands).
PRs that add new APIs should have REPLACEME
tags, that are updated with the correct version when they land in a Current release (which is then backported to LTS versions).
Things we could do:
Basic:
- Warn if there is a
DEP00XX
tag. - Autoreplace
DEP00XX
with the next deprecation number.
Complicated:
- Check for newly added
DEP????
tags (where the PR erroneously contains an already-assigned deprecation number) and warn.- Also autoreplace with the correct number
- Check for
added: v?.?.?
tags in the diff and warn. - Check for new APIs that don't have the
added:
option (should maybe be a node lint instead).
cc/ @nodejs/release @nodejs/lts as the groups perhaps most likely to know about these things.