Skip to content

Commit 9318a4b

Browse files
committed
[js] Bump the min supported version of Node to 4.2 (the LTS)
Also updating the policy on Node support moving forward. Fixes SeleniumHQ#1280
1 parent af60554 commit 9318a4b

File tree

3 files changed

+60
-1
lines changed

3 files changed

+60
-1
lines changed

javascript/node/selenium-webdriver/CHANGES.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,15 @@
11
## v2.49.0-dev
22

3+
### Notice
4+
5+
Starting with v2.49.0, each release of selenium-webdriver will support the
6+
latest _minor_ LTS and stable Node releases. All releases between the LTS and
7+
stable release will have best effort support. Further details are available in
8+
the selenium-webdriver package README.
9+
10+
### Change Summary
11+
12+
* Bumped the minimum supported version of Node to v4.2.x
313
* Added `promise.Promise#catch()` for API compatibility with native Promises.
414
`promise.Promise#thenCatch()` is not yet deprecated, but it simply
515
delegates to `catch`.

javascript/node/selenium-webdriver/README.md

Lines changed: 49 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,54 @@ Contributions are accepted either through [GitHub][gh] pull requests or patches
123123
via the [Selenium issue tracker][issues]. You must sign our
124124
[Contributor License Agreement][cla] before your changes will be accepted.
125125

126+
## Node Support Policy
127+
128+
Each version of selenium-webdriver will support the latest _semver-minor_
129+
version of the [LTS] and stable Node releases. All _semver-major_ &
130+
_semver-minor_ versions between the LTS and stable release will have "best
131+
effort" support. Following a Selenium release, any _semver-minor_ Node releases
132+
will also have "best effort" support. Releases older than the latest LTS,
133+
_semver-major_ releases, and all unstable release branches (e.g. "v.Next")
134+
are considered strictly unsupported.
135+
136+
For example, suppose the current LTS and stable releases are v4.2.4 and v5.4.1,
137+
respectively. Then a Selenium release would have the following support levels:
138+
139+
| Version | Support |
140+
| ------- | ------------- |
141+
| <= 4.1 | _unsupported_ |
142+
| 4.2 | supported |
143+
| 5.0-3 | best effort |
144+
| 5.4 | supported |
145+
| >= 5.5 | best effort |
146+
| v.Next | _unsupported_ |
147+
148+
### Support Level Definitions
149+
150+
- _supported:_ A selenium-webdriver release will be API compatible with the
151+
platform API, without the use of runtime flags.
152+
153+
- _best effort:_ Bugs will be investigated as time permits. API compatibility is
154+
only guaranteed where required by a _supported_ release. This effectively
155+
means the adoption of new JS features, such as ES2015 modules, will depend
156+
on what is supported in Node's LTS.
157+
158+
- _unsupported:_ Bug submissions will be closed as will-not-fix and API
159+
compatibility is not guaranteed.
160+
161+
### Projected Support Schedule
162+
163+
If Node releases a new [LTS] each October and a new major version every 6
164+
months, the support window for selenium-webdriver will be roughly:
165+
166+
| Date | LTS | Stable |
167+
| --------- | ---: | -----: |
168+
| (current) | 4.2 | 5.0 |
169+
| 2016-04 | 4.2 | 6.0 |
170+
| 2016-10 | 6.0 | 7.0 |
171+
| 2017-04 | 6.0 | 8.0 |
172+
| 2017-10 | 8.0 | 9.0 |
173+
126174
## Issues
127175

128176
Please report any issues using the [Selenium issue tracker][issues]. When using
@@ -164,6 +212,7 @@ KIND, either express or implied. See the License for the
164212
specific language governing permissions and limitations
165213
under the License.
166214

215+
[LTS]: https://github.com/nodejs/LTS
167216
[api]: http://seleniumhq.github.io/selenium/docs/api/javascript/
168217
[cla]: http://goo.gl/qC50R
169218
[chrome]: http://chromedriver.storage.googleapis.com/index.html

javascript/node/selenium-webdriver/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"url": "https://github.com/SeleniumHQ/selenium.git"
2121
},
2222
"engines": {
23-
"node": ">= 0.12.x"
23+
"node": ">= 4.2.x"
2424
},
2525
"dependencies": {
2626
"adm-zip": "0.4.4",

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy