Skip to content
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
Show all changes
23 commits
Select commit Hold shift + click to select a range
97e6ff3
[v7] feat: Remove references to @sentry/apm (#4845)
AbhiPrasad Apr 7, 2022
57d37c2
[v7] feat(core): Delete API class (#4848)
AbhiPrasad Apr 7, 2022
424df27
[v7] feat: Delete deprecated `startSpan` and `child` methods (#4849)
AbhiPrasad Apr 7, 2022
5a7f145
feat(core): Remove whitelistUrls/blacklistUrls (#4850)
AbhiPrasad Apr 7, 2022
f855260
feat(gatsby): Remove Sentry from window (#4857)
AbhiPrasad Apr 7, 2022
f1e9da2
feat(hub): Remove getActiveDomain (#4858)
AbhiPrasad Apr 7, 2022
55b0570
feat(types): Remove deprecated user dsn field (#4864)
AbhiPrasad Apr 7, 2022
2fc13c6
feat(hub): Remove setTransaction scope method (#4865)
AbhiPrasad Apr 7, 2022
20c7773
[v7] feat: Drop support for Node 6 (#4851)
AbhiPrasad Apr 7, 2022
244eb0e
[v7] feat(tracing): Rename registerRequestInstrumentation -> instrume…
AbhiPrasad Apr 7, 2022
285ca26
fix(test): Increase MongoMemoryServer creation timeout (#4881)
Lms24 Apr 7, 2022
fb1b74f
[v7] feat(node): Remove deprecated `frameContextLines` (#4884)
timfish Apr 7, 2022
81b10fb
[v7] feat(browser): Remove top level eventbuilder exports (#4887)
timfish Apr 7, 2022
a0792da
Merge branch '7.x' of https://github.com/getsentry/sentry-javascript …
timfish Apr 8, 2022
79084f2
Mostly working
timfish Apr 8, 2022
52047b6
Lint
timfish Apr 8, 2022
14a10dc
make generic across all javascript
timfish Apr 8, 2022
dc765c7
Merge remote-tracking branch 'upstream/7.x' into v7/configurable-stac…
timfish Apr 8, 2022
0988600
Fix build
timfish Apr 8, 2022
c6e8a60
export nodeStackParser
timfish Apr 8, 2022
03b5d5c
Fix test
timfish Apr 8, 2022
7943990
Merge 'upstream/7.x' into v7/configurable-stack-parser
timfish Apr 12, 2022
623fcfd
Fix tests from bad merge
timfish Apr 12, 2022
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
[v7] feat: Drop support for Node 6 (#4851)
  • Loading branch information
AbhiPrasad authored and Lms24 committed Apr 7, 2022
commit 20c777399ee5afc58c148919274192ff9cef1869
2 changes: 1 addition & 1 deletion .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -217,7 +217,7 @@ jobs:
runs-on: ubuntu-latest
strategy:
matrix:
node: [6, 8, 10, 12, 14, 16]
node: [8, 10, 12, 14, 16]
steps:
- name: Check out current commit (${{ env.HEAD_COMMIT }})
uses: actions/checkout@v2
Expand Down
2 changes: 1 addition & 1 deletion packages/angular/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "dist/index.js",
"module": "esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/browser/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/npm/dist/index.js",
"module": "build/npm/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/core/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-config-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"sentry"
],
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "src/index.js",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/eslint-plugin-sdk/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"sentry"
],
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "src/index.js",
"publishConfig": {
Expand Down
2 changes: 1 addition & 1 deletion packages/gatsby/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
"gatsby-plugin"
],
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/hub/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/integrations/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"publishConfig": {
"access": "public"
Expand Down
2 changes: 1 addition & 1 deletion packages/minimal/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/nextjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.server.js",
"module": "build/esm/index.server.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/node/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
4 changes: 1 addition & 3 deletions packages/node/test/integrations/http.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,7 @@ describe('tracing', () => {

http.get('http://dogs.are.great/');

// TODO: For some reason in node 6 two request spans are appearing. Once we stop testing against it, this can go
// back to being `toEqual()`.
expect(spans.length).toBeGreaterThanOrEqual(2);
expect(spans.length).toEqual(2);

// our span is at index 1 because the transaction itself is at index 0
expect(spans[1].description).toEqual('GET http://dogs.are.great/');
Expand Down
2 changes: 1 addition & 1 deletion packages/react/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/tracing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/npm/dist/index.js",
"module": "build/npm/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/types/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/utils/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "BSD-3-Clause",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/vue/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/dist/index.js",
"module": "build/esm/index.js",
Expand Down
2 changes: 1 addition & 1 deletion packages/wasm/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
"author": "Sentry",
"license": "MIT",
"engines": {
"node": ">=6"
"node": ">=8"
},
"main": "build/npm/dist/index.js",
"module": "build/npm/esm/index.js",
Expand Down
16 changes: 1 addition & 15 deletions scripts/test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -11,21 +11,7 @@ function run(cmd: string, cwd: string = '') {

const nodeMajorVersion = parseInt(process.version.split('.')[0].replace('v', ''), 10);

// control which packages we test on each version of node
if (nodeMajorVersion <= 6) {
// install legacy versions of packages whose current versions don't support node 6
// ignoring engines and scripts lets us get away with having incompatible things installed for packages we're not testing
run('yarn add --dev --ignore-engines --ignore-scripts [email protected]', 'packages/node');
run('yarn add --dev --ignore-engines --ignore-scripts [email protected]', 'packages/tracing');
run('yarn add --dev --ignore-engines --ignore-scripts [email protected]', 'packages/utils');

// only test against @sentry/node and its dependencies - node 6 is too old for anything else to work
const scope = ['@sentry/core', '@sentry/hub', '@sentry/minimal', '@sentry/node', '@sentry/utils', '@sentry/tracing']
.map(dep => `--scope="${dep}"`)
.join(' ');

run(`yarn test ${scope}`);
} else if (nodeMajorVersion <= 8) {
if (nodeMajorVersion <= 8) {
// install legacy versions of packages whose current versions don't support node 8
// ignoring engines and scripts lets us get away with having incompatible things installed for packages we're not testing
run('yarn add --dev --ignore-engines --ignore-scripts [email protected]', 'packages/tracing');
Expand Down