You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.
**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.
112
112
113
-
###Want to ride the bleeding edge?
113
+
## Want to ride the bleeding edge?
114
114
115
115
The `npm` branch in this repository is automatically maintained to be the last
116
116
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
134
134
with both CommonJS (`require()`) and ESModule (`import`) files. Ensure that any
135
135
custom build configurations look for `.mjs` files!
136
136
137
-
###Contributing
137
+
## Contributing
138
138
139
139
We actively welcome pull requests. Learn how to [contribute](./.github/CONTRIBUTING.md).
140
140
@@ -146,10 +146,53 @@ You can find [detailed information here](https://github.com/graphql/graphql-wg/t
146
146
147
147
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).
148
148
149
-
###Changelog
149
+
## Changelog
150
150
151
151
Changes are tracked as [GitHub releases](https://github.com/graphql/graphql-js/releases).
152
152
153
-
###License
153
+
## License
154
154
155
155
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
0 commit comments