Description
- Version: all node.js docs
- Platform:
- Subsystem:
cf. #24847
The added annotations are very useful, and at the same time, I think they are slightly ambiguous, or at least their interpretation is subtle! And undocumented: https://nodejs.org/api/documentation.html at least doesn't describe them, but perhaps they are described elsewhere?
Examples:
Added: v7.5.0
Is the API present in 8.0.0? I think it would have to be, because if it was added in >8.0.0
and backported then this would look like:
Added:
- v8.3.0
- v7.5.0
Correct? But a bit subtle!
Its not clear to me whether @nodejs/releasers have a process to update the YAML tags when backporting/cherry-picking. Because #24847 I suspect not. It would be kind of onerous, since both the backported branch and the master needs to be updated to reflect the release of the API on the old branch. I don't know how much energy should be spent in keeping the annotations up to date on the release branches, but it would be great if at least the master & current documentation was complete.... meaning it would need updating after every release. :-(
Summary: I think that ideally:
- the "about this documentation" docs should describe the meaning of the YAML version annotations.
- we should have tooling/process to keep those annotations up to date.