Skip to content

Commit 6e43443

Browse files
committed
ref: Changelog and Readme
1 parent be45205 commit 6e43443

File tree

4 files changed

+24
-5
lines changed

4 files changed

+24
-5
lines changed

CHANGELOG.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# Changelog
22

3-
## v5
3+
## 5.0.0-beta1
44

55
### Migration from v4
66

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ package. Please refer to the README and instructions of those SDKs for more deta
4141
- [`@sentry/node`](https://github.com/getsentry/sentry-javascript/tree/master/packages/node): SDK for Node, including
4242
integrations for Express, Koa, Loopback, Sails and Connect
4343
- [`@sentry/integrations`](https://github.com/getsentry/sentry-javascript/tree/master/packages/integrations): Pluggable
44-
integrations that can be used to enchance JS SDKs
44+
integrations that can be used to enhance JS SDKs
4545
- [`@sentry/electron`](https://github.com/getsentry/sentry-electron): SDK for Electron with support for native crashes
4646
- [`sentry-cordova`](https://github.com/getsentry/sentry-cordova): SDK for Cordova Apps and Ionic with support for
4747
native crashes
@@ -84,6 +84,8 @@ below:
8484
JavaScript SDKs with interfaces, type definitions and base classes.
8585
- [`@sentry/utils`](https://github.com/getsentry/sentry-javascript/tree/master/packages/utils): A set of helpers and
8686
utility functions useful for various SDKs.
87+
- [`@sentry/opentracing`](https://github.com/getsentry/sentry-javascript/tree/master/packages/opentracing): OpenTracing
88+
compatible integration that can be used as a pluggable integration for the SDKs.
8789
- [`@sentry/typescript`](https://github.com/getsentry/sentry-javascript/tree/master/packages/typescript): Shared
8890
Typescript compiler and linter options.
8991
- [`@sentry/types`](https://github.com/getsentry/sentry-javascript/tree/master/packages/types): Types used in all

dangerfile.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ import { resolve } from 'path';
55
import tslint from 'danger-plugin-tslint';
66
import { prettyResults } from 'danger-plugin-tslint/dist/prettyResults';
77

8-
const packages = ['browser', 'core', 'hub', 'integrations', 'minimal', 'node', 'types', 'utils'];
8+
const packages = ['browser', 'core', 'hub', 'integrations', 'opentracing', 'minimal', 'node', 'types', 'utils'];
99

1010
export default async () => {
1111
if (!danger.github) {
@@ -48,6 +48,6 @@ export default async () => {
4848

4949
schedule(async () => {
5050
const result = (await promisify(exec)('cd packages/browser; yarn size:check')).stdout;
51-
message(`@sentry/browser bundle gzip'ed minified size: \n${result.split('\n')[2]}\n${result.split('\n')[3]}`);
51+
message(`@sentry/browser bundle gzip'ed minified size: \n${result.split('\n')[4]}\n${result.split('\n')[5]}`);
5252
});
5353
};

packages/opentracing/README.md

Lines changed: 18 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,21 @@
1919

2020
## General
2121

22-
TBD
22+
This package implements the OpenTracing API and provides an integration that can be used by our other SDKs.
23+
24+
```js
25+
import * as Sentry from '@sentry/browser';
26+
import * as OpenTracing from '@sentry/opentracing';
27+
28+
const ot = new OpenTracing.Integration(ENV.traceId);
29+
30+
Sentry.init({
31+
debug: true,
32+
dsn: ENV.sentry.dsn,
33+
integrations: [ot],
34+
beforeSend(event) {
35+
console.log(event);
36+
return event;
37+
},
38+
});
39+
```

0 commit comments

Comments
 (0)