Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Commit 6dc8bc1

Browse files
authored
docs(support): Pre Node v4 deprecation
- wrote message about supported LTS versions - removed `<v4` guard from instrumentation tests - removed v0.10 and v0.12 from TravisCI config
1 parent 98353fa commit 6dc8bc1

File tree

4 files changed

+7
-6
lines changed

4 files changed

+7
-6
lines changed

.travis.yml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
sudo: false
22
language: node_js
33
node_js:
4-
- "0.10"
5-
- "0.12"
64
- "4"
75
- "5"
86
- "6"

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,12 @@
88

99
[![Build Status](https://travis-ci.org/getsentry/raven-node.svg?branch=master)](https://travis-ci.org/getsentry/raven-node)
1010

11+
`raven-node` supports only LTS versions of Node, therefore currently required release is `>= v4.0.0`.
12+
The last known working version for `v0.10` and `v0.12` is `raven-node@2.1.2`.
13+
Please use this version if you need to support those releases of Node.
14+
15+
To see up-to-date Node.js LTS Release Schedule, go to https://github.com/nodejs/LTS.
16+
1117
## Resources
1218

1319
* [Documentation](https://docs.getsentry.com/hosted/clients/node/)

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727
"test-full": "npm run test && cd test/instrumentation && ./run.sh"
2828
},
2929
"engines": {
30-
"node": ">= 0.8.0"
30+
"node": ">= 4.0.0"
3131
},
3232
"dependencies": {
3333
"cookie": "0.3.1",

test/instrumentation/http.test.js

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,6 @@ var fs = require('fs');
33
var path = require('path');
44
var child_process = require('child_process');
55

6-
// running on pre-4.0 is hard, somewhat different test scheme
7-
if (process.version < 'v4') process.exit(0);
8-
96
var nodeRoot = process.argv[2];
107
var testRoot = path.join(nodeRoot, 'test/parallel');
118
var testFiles = fs.readdirSync(testRoot).filter(function (filename) {

0 commit comments

Comments
 (0)