Skip to content

Commit 00a25a0

Browse files
benjieyaacovCR
authored andcommitted
Add the version support policy (#4390)
As discussed at the GraphQL working group (via graphql/graphql-wg#1614 and at various meetings) and as agreed in last weeks meeting, the GraphQL.JS version policy as drafted by @JoviDeCroock has been approved and aligns with the informal policy we already had in place. As such, I have added it to the README. This PR also promotes a few headings (H3 -> H2) to make more structural sense in the TOC.
1 parent d37beae commit 00a25a0

File tree

1 file changed

+47
-4
lines changed

1 file changed

+47
-4
lines changed

README.md

Lines changed: 47 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -110,7 +110,7 @@ graphql({ schema, source }).then((result) => {
110110

111111
**Note**: Please don't forget to set `NODE_ENV=production` if you are running a production server. It will disable some checks that can be useful during development but will significantly improve performance.
112112

113-
### Want to ride the bleeding edge?
113+
## Want to ride the bleeding edge?
114114

115115
The `npm` branch in this repository is automatically maintained to be the last
116116
commit to `main` to pass all tests, in the same form found on npm. It is
@@ -134,7 +134,7 @@ the portions of the library you use. This works because GraphQL.js is distribute
134134
with both CommonJS (`require()`) and ESModule (`import`) files. Ensure that any
135135
custom build configurations look for `.mjs` files!
136136

137-
### Contributing
137+
## Contributing
138138

139139
We actively welcome pull requests. Learn how to [contribute](./.github/CONTRIBUTING.md).
140140

@@ -146,10 +146,53 @@ You can find [detailed information here](https://github.com/graphql/graphql-wg/t
146146

147147
If your company benefits from GraphQL and you would like to provide essential financial support for the systems and people that power our community, please also consider membership in the [GraphQL Foundation](https://foundation.graphql.org/join).
148148

149-
### Changelog
149+
## Changelog
150150

151151
Changes are tracked as [GitHub releases](https://github.com/graphql/graphql-js/releases).
152152

153-
### License
153+
## License
154154

155155
GraphQL.js is [MIT-licensed](./LICENSE).
156+
157+
## Version Support
158+
159+
GraphQL.JS follows Semantic Versioning (SemVer) for its releases. Our version support policy is as follows:
160+
161+
- Latest Major Version: We provide full support, including bug fixes and security updates, for the latest major version of GraphQL.JS.
162+
- Previous Major Version: We offer feature support for the previous major version for 12 months after the release of the newest major version.
163+
This means that for 12 months we can backport features for specification changes _if_ they don't cause any breaking changes. We'll continue
164+
supporting the previous major version with bug and security fixes.
165+
- Older Versions: Versions older than the previous major release are considered unsupported. While the code remains available,
166+
we do not actively maintain or provide updates for these versions.
167+
One exception to this rule is when the older version has been released < 1 year ago, in that case we
168+
will treat it like the "Previous Major Version".
169+
170+
### Long-Term Support (LTS)
171+
172+
We do not currently offer a Long-Term Support version of GraphQL.JS. Users are encouraged to upgrade to the latest stable version
173+
to receive the most up-to-date features, performance improvements, and security updates.
174+
175+
### End-of-Life (EOL) Schedule
176+
177+
We will announce the EOL date for a major version at least 6 months in advance.
178+
After a version reaches its EOL, it will no longer receive updates, even for critical security issues.
179+
180+
### Upgrade Assistance
181+
182+
To assist users in upgrading to newer versions:
183+
184+
- We maintain detailed release notes for each version, highlighting new features, breaking changes, and deprecations.
185+
- [Our documentation](https://www.graphql-js.org/) includes migration guides for moving between major versions.
186+
- The [community forum (Discord channel #graphql-js)](https://discord.graphql.org) is available for users who need additional assistance with upgrades.
187+
188+
### Security Updates
189+
190+
We prioritize the security of GraphQL.JS:
191+
192+
- Critical security updates will be applied to both the current and previous major version.
193+
- For versions that have reached EOL, we strongly recommend upgrading to a supported version to receive security updates.
194+
195+
### Community Contributions
196+
197+
We welcome community contributions for all versions of GraphQL.JS. However, our maintainers will primarily focus on reviewing
198+
and merging contributions for supported versions.

0 commit comments

Comments
 (0)