Open rarkins opened 7 months ago
I found another issue that seems a bit related, it mentions LTS anyways:
Add new optional field to datasource results (per release/version): lts
true/false. Add new config option respectLTS
which is true
by default and means: "If currently on an LTS release, do not propose any non-LTS updates".
This discussion about "helping JS library authors to bump their Node.js engines values whenever there's changes in Node LTS" seems relevant to this issue as well. So I'll link it below:
Describe the proposed change(s).
Today in several ecosystems we treat LTS as stable and non-LTS as unstable. We should change this so that LTS and stable are different concepts and able to be controlled separately.
isLts
boolean flag to releases returned from datasources. If a datasource has LTS awareness then it should return a value (true or false) forisLts
for all releases.node-version
datasource so that it no longer returnsisStable
and instead returnsisLts
using the same logicisLts()
function to versioning modules which returns a boolean resultisStable()
no longer returns true because a release is non-LTS, instead add anisLts()
function which uses that logicisLts
logic in the worker modules onisStable
, e.g. a function calledisReleaseLts()
which can return true, false or nullupdateToNonLts
which defaults to "auto" but has options "always" or "never"