Skip to content

Commit 4149c9d

Browse files
committed
Add migration instructions (draft) for CORS adjustments
1 parent 106828c commit 4149c9d

File tree

1 file changed

+8
-1
lines changed

1 file changed

+8
-1
lines changed

MIGRATION.md

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,9 @@ Below we will outline all the breaking changes you should consider when upgradin
99
- Distributed CommonJS files will be ES6. Use a transpiler if you need to support old node versions.
1010
- We bumped the TypeScript version we generate our types with to 3.8.3. Please check if your TypeScript projects using TypeScript version 3.7 or lower still compile. Otherwise, upgrade your TypeScript version.
1111
- `whitelistUrls` and `blacklistUrls` have been renamed to `allowUrls` and `denyUrls` in the `Sentry.init()` options.
12-
- The `UserAgent` integration is now called `HttpContext`.
12+
- The `UserAgent` integration is now called `HttpContext`.#
13+
- If you are using Performance Monitoring and with tracing enabled, you might have to [make adjustments to
14+
your server's CORS settings](#-propagation-of-baggage-header)
1315

1416
## Dropping Support for Node.js v6
1517

@@ -319,6 +321,11 @@ session.update({ environment: 'prod' });
319321
session.close('ok');
320322
```
321323

324+
## Propagation of Baggage Header
325+
326+
We introduced a new way of propagating tracing and transaction-related information between services. This
327+
change adds the [`baggage` HTTP header](https://www.w3.org/TR/baggage/) to outgoing requests if the instrumentation of requests is enabled. Since this adds a header to your HTTP requests, you might need
328+
to adjust your Server's CORS settings to allow this additional header.
322329
## General API Changes
323330

324331
For our efforts to reduce bundle size of the SDK we had to remove and refactor parts of the package which introduced a few changes to the API:

0 commit comments

Comments
 (0)