-
-
Notifications
You must be signed in to change notification settings - Fork 8.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add shortcut for Oldest Maintained LTS #1998
Comments
My personal recommendation is to support far older than that, and not constrain yourself to the platform’s EOL point, since many users still rely on older engines. That said, this is a reasonable feature request. |
I think that's a good idea. Implementing it could be fun.
Multiple LTS versions are being maintained at the same time if I'm not mistaken--v6, v8, and v10? So maybe something like As for older versions, that would be a completely different feature. |
@Bthompson90 the LTS version isn't "6", it's "boron" - there's no guarantee that boron will always be v6. Separately, after any This issue is solely about installing the oldest version. |
@ljharb thanks for the clarification. I see that there's Boron, Carbon, and Dubnium, and that not all versions of v6 or v8 or v10 or covered under LTS. You stated that there's no guarantee Boron will not always be v6 so I guess the chosen LTS versions aren't static, which doesn't make complete sense to me. |
That's how LTS tends to work (and how node has chosen to implement it) - it's not coupled to version numbers. |
To be clear, the behavior I had envisioned is:
Within each window, I expect the latest version of the chosen stream. So, for example, today, if I were to request |
That’s exactly my assumption; thanks for writing it out so clearly. |
I should've done my homework on Node's LTS implementation; apologies there. Thank you for being patient with me. I agree that it'd be a nice feature to have. |
How about something like |
@saschanaz That seems arbitrary; I suggest supporting down to node 0.6 if possible. |
That would be great, but I doubt maintainers would be happy with that... Supporting last few LTS versions has been good enough for us in ReSpec/webidl2.js. |
With 4626d1a, I've added the feature where you in addition to This way, you can decide you're supporting "the current LTS line, plus the last two" and your CI matrix etc can just float along with those releases. With that, I'm going to close this, because having to do date math on the support date, and with the current date, is not, I think, worth the complexity :-) (see also #2170) |
In fact, that's what this feature should do... :-( |
I am a library author. I want to make sure my library works in older Node.js versions. I figure that a good distance to go back in time is to the oldest maintained LTS version of Node.js.
For example, right now the oldest maintained version of Node.js is version 6. It would help if nvm had a notation like
lts/maintenance
to automatically select that version of Node.js.This would be helpful for use in .travis.yml files.
The text was updated successfully, but these errors were encountered: