8000 merge master · fireflypulse/sentry-javascript@4a78ae2 · GitHub
[go: up one dir, main page]

Skip to content

Commit 4a78ae2

Browse files
committed
merge master
2 parents a3d3e06 + 62d2571 commit 4a78ae2

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

85 files changed

+2168
-2365
lines changed

.craft.yml

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
minVersion: '0.6.0'
1+
minVersion: '0.8.2'
22
github:
33
owner: getsentry
44
repo: sentry-javascript
@@ -17,12 +17,16 @@ targets:
1717
cacheControl: 'public, max-age=31536000'
1818
- name: registry
1919
type: sdk
20-
includeNames: /^sentry-browser-.*\.tgz$/
20+
onlyIfPresent: /^sentry-browser-.*\.tgz$/
21+
includeNames: /\.js$/
22+
checksums:
23+
- algorithm: sha384
24+
format: base64
2125
config:
2226
canonical: 'npm:@sentry/browser'
2327
- name: registry
2428
type: sdk
25-
includeNames: /^sentry-node-.*\.tgz$/
29+
onlyIfPresent: /^sentry-node-.*\.tgz$/
2630
config:
2731
canonical: 'npm:@sentry/node'
2832
- name: gh-pages

.travis.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ install: true
1212
sudo: required
1313

1414
language: node_js
15-
dist: trusty
15+
dist: bionic
1616

1717
cache:
1818
yarn: true

CHANGELOG.md

Lines changed: 45 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,51 @@
55
- [hub] feat: Add more span functions (#2161)
66
- [integrations] feat: Change `Tracing` integration (#2161)
77

8+
## 5.7.0-beta.0
9+
10+
- [core] ref: Use `Promise` as the interface, but `SyncPromise` as the implementation in all the places we need `thenable` API
11+
- [browser] fix: Capture only failed `console.assert` calls
12+
- [browser] ref: Major `TraceKit` and `GlobalHandlers` refactor
13+
- [browser] ref: Remove _all_ required IE10-11 polyfills
14+
- [browser] ref: Remove `Object.assign` method usage
15+
- [browser] ref: Remove `Number.isNaN` method usage
16+
- [browser] ref: Remove `includes` method usage
17+
- [browser] ci: Use Galaxy S9 Plus for Android 9
18+
- [browser] ci: Increase timeouts and retries between Travis and BrowserStack
19+
- [node] feat: Extract prototyped data in `extractUserData` (#2247)
20+
- [node] ref: Use domain Hub detection only in Node environment
21+
- [integrations] feat: Use `contexts` to handle ExtraErrorData (#2208)
22+
- [types] fix: Breadcrumb `data` needs to be an object
23+
- [utils] ref: Make `Event` instances somewhat serializeable
24+
25+
## 5.6.3
26+
27+
- [browser] fix: Don't capture our own XHR events that somehow bubbled-up to global handler
28+
29+
## 5.6.2
30+
31+
- [browser] feat: Use framesToPop for InvaliantViolations in React errors (#2204)
32+
- [browser] fix: Apply crossorigin attribute with setAttribute tag for userReport dialog (#2196)
33+
- [browser] fix: Make sure that falsy values are captured in unhandledrejections (#2207)
34+
- [loader] fix: Loader should also retrigger falsy values as errors (#2207)
35+
36+
## 5.6.1
37+
38+
- [core] fix: Correctly detect when client is enabled before installing integrations (#2193)
39+
- [browser] ref: Loosen typings in `wrap` method
40+
41+
## 5.6.0
42+
43+
- [core] fix: When using enabled:false integrations shouldnt be installed (#2181)
44+
- [browser] feat: Add support for custom schemes to Tracekit
45+
- [browser] ref: Return function call result from `wrap` method
46+
- [browser] ref: Better UnhandledRejection messages (#2185)
47+
- [browser] test: Complete rewrite of Browser Integration Tests (#2176)
48+
- [node] feat: Add cookies as an optional property in the request handler (#2167)
49+
- [node] ref: Unify method name casing in breadcrumbs (#2183)
50+
- [integrations] feat: Add logErrors option to Vue integration (#2182)
51+
>>>>>>> master
52+
853
## 5.5.0
954

1055
- [core] fix: Store processing state for each `flush` call separately (#2143)

CONTRIBUTING.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@
1010
This part of the documentation gives you a basic overview of how to help with the development of our `@sentry/*`
1111
packages contained in this repo.
1212

13+
## Community
14+
15+
The public-facing channels for support and development of Sentry SDKs can be found on [Discord](https://discord.gg/Ww9hbqr).
16+
1317
## Setting up an Environment
1418

1519
To run the test suite and run our code linter, node.js and yarn are required.

README.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
[![codecov](https://codecov.io/gh/getsentry/sentry-javascript/branch/master/graph/badge.svg)](https://codecov.io/gh/getsentry/sentry-javascript)
1010
[![npm version](https://img.shields.io/npm/v/@sentry/core.svg)](https://www.npmjs.com/package/@sentry/core)
1111
[![typedoc](https://img.shields.io/badge/docs-typedoc-blue.svg)](http://getsentry.github.io/sentry-javascript/)
12+
[![Discord](https://img.shields.io/discord/621778831602221064)](https://discord.gg/Ww9hbqr)
1213

1314
# Official Sentry SDKs for JavaScript
1415

codecov.yml

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1 +1,16 @@
11
comment: off
2+
codecov:
3+
notify:
4+
require_ci_to_pass: no
5+
6+
coverage:
7+
precision: 2
8+
round: down
9+
range: '0...1'
10+
status:
11+
project:
12+
default:
13+
enabled: no
14+
patch:
15+
default:
16+
enabled: no

lerna.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"lerna": "3.4.0",
3-
"version": "5.6.0-beta.4",
3+
"version": "5.7.0-beta.0",
44
"packages": "packages/*",
55
"ignore": "raven-*",
66
"npmClient": "yarn",

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
"test": "lerna run --stream --concurrency 1 --sort test",
1414
"codecov": "codecov"
1515
},
16-
"toolchain": {
16+
"volta": {
1717
"node": "10.15.3",
1818
"yarn": "1.13.0"
1919
},

packages/browser/examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
Assuming `npm@>=5.2.0` is installed and `@sentry/browser` package is built locally:
22

33
```sh
4-
$ npx serve
5-
```
4+
$ npx serve -S
5+
```

packages/browser/package.json

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@sentry/browser",
3-
"version": "5.6.0-beta.4",
3+
"version": "5.7.0-beta.0",
44
"description": "Official Sentry SDK for browsers",
55
"repository": "git://github.com/getsentry/sentry-javascript.git",
66
"homepage": "https://github.com/getsentry/sentry-javascript/tree/master/packages/browser",
@@ -16,9 +16,9 @@
1616
"access": "public"
1717
},
1818
"dependencies": {
19-
"@sentry/core": "5.6.0-beta.4",
20-
"@sentry/types": "5.6.0-beta.4",
21-
"@sentry/utils": "5.6.0-beta.4",
19+
"@sentry/core": "5.7.0-beta.0",
20+
"@sentry/types": "5.7.0-beta.0",
21+
"@sentry/utils": "5.7.0-beta.0",
2222
"tslib": "^1.9.3"
2323
},
2424
"devDependencies": {
@@ -43,6 +43,7 @@
4343
"rollup": "^1.10.1",
4444
"rollup-plugin-commonjs": "^9.3.4",
4545
"rollup-plugin-license": "^0.8.1",
46+
"rollup-plugin-modify": "^3.0.0",
4647
"rollup-plugin-node-resolve": "^4.2.3",
4748
"rollup-plugin-terser": "^4.0.4",
4849
"rollup-plugin-typescript2": "^0.21.0",

0 commit comments

Comments
 (0)
0