Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Definition for adding a Long Term Support (LTS) policy to your Node.js modules

NotificationsYou must be signed in to change notification settings

CloudNativeJS/ModuleLTS

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 

Repository files navigation

Module LTS Adopted'

The Long Term Support (LTS) policy for Node.js modules aims to provide the longevity and stability of modules that is crucial for many businesses when adopting Node.js in an enterprise, cloud-native setting.

When a version of Node.js enters LTS, whichever is the latest major version (X.y.z) of an LTS adopting module at that time will be supported for at least security and critical fixes for the lifetime of that version of Node.js.

What does this mean?

Anyone creating an application using an LTS version of Node.js and using the latest major version of LTS adopting modules will will not have to accept semver-major level (ie. breaking) changes into that application in order to receive essential fixes.

Essential fixes are those which will prevent severe issues such as data corruption, and/or pervasive problems likely encountered by any application.

Worked example

Module VersionModule Version GAMinimum EOLNode VersionNode Version LTS startNode Version EOL
2.x.xSep 2017Dec 2019Node 8Oct 2017Dec 2019
1.x.xNov 2015Apr 2019Node 6Oct 2016Apr 2019
1.x.xNov 2015Apr 2018Node 4Oct 2015Apr 2018

In this example, V1 of our module is released in November 2015. Node V4 entered LTS in October 2015, with an End of Life date in April 2018. This means that V1 of our module must remain supported until April 2018 as well.

Node V6 is then released and enters LTS in October 2016. There have been no breaking API changes delivered to our module and therefore it is still the latest major version. This means it’s End of Life date needs to be extended to Node 6’s End of Life date - April 2019.

By the time Node V8 reaches LTS in October 2017, we have released V2 of our module. This means that V1 will retain the End of Life date with Node V6 - April 2019, and V2 will be need to be supported for at least the lifetime of Node V8 - until December 2019.

Note, there is the possibility that a module could be incompatible with the latest version of Node. In this case, the module should be updated. If breaking changes are required this would consistute a new major version of the module, and this new version would have the same End of Life date as the latest version of Node.

Additional requirements on modules

  • A module must be following semantic versioning (SemVer). Which follows a vX.Y.Z format, where:
    • X is a major version change whereby breaking changes are introduced into APIs
    • Y is a minor version change where functionality is added in a backwards compatible way
    • Z is a patch version change where bug fixes are delivered in a backwards compatible way
  • A module must be at least v1.0.0. Within SemVer, before a module reaches V1.x, breaking changes may be introduced intominor version changes - and there is an expectation that this module is likely to change frequently.

Adding LTS to your module

  1. Add a badge to your to theREADME.md in your project:

Markdown:

[![Module LTS Adopted'](https://img.shields.io/badge/Module%20LTS-Adopted-brightgreen.svg?style=flat)](http://github.com/CloudNativeJS/ModuleLTS)

HTML:

<a href='http://github.com/CloudNativeJS/ModuleLTS'><img src='https://img.shields.io/badge/Module%20LTS-Adopted-brightgreen.svg?style=flat' alt='Module LTS Adopted' /></a>
  1. Add the following to theREADME.md of your project, modified for the LTS timeline of your modules releases:

Module Long Term Support Policy

This module adopts theModule Long Term Support (LTS) policy, with the following End Of Life (EOL) dates:

Module VersionRelease DateMinimum EOLEOL WithStatus
3.x.xSep 2017Dec 2019Current
2.x.xNov 2015Apr 2019Node 6LTS
1.x.xNov 2015Apr 2018Node 4EOL
  1. Raise a Pull Request against this project to have your module added to the Adopters of Module LTS list.

Adopters of Module LTS

The following Node.js Modules are known to have adopted the Module LTS policy:

ModuleTypeLTS Policy
LoopBackFrameworklink
cloud-healthHealth Checklink
cloud-health-connectHealth Checklink
appmetricsMonitoringlink
appmetrics-dashMonitoringlink
appmetrics-prometheusMonitoringlink
appmetrics-zipkinMonitoringlink
zosconnect-nodeConnectivitylink
express-gatewayAPI Gatewaylink

About

Definition for adding a Long Term Support (LTS) policy to your Node.js modules

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors3

  •  
  •  
  •  

[8]ページ先頭

©2009-2025 Movatter.jp