Skip to content

Commit

Permalink
[RUMF-984] update CHANGELOG for logs breaking changes (#971)
Browse files Browse the repository at this point in the history
Co-authored-by: Bastien Caudan <bastien.caudan@datadoghq.com>
  • Loading branch information
BenoitZugmeyer and bcaudan authored Aug 3, 2021
1 parent 45b0835 commit 4dfbddd
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -27,39 +27,39 @@

## v3.0.0

Here is the list of all the breaking changes between version 2 and 3 of the RUM SDK.
The Log SDK isn't impacted and is still fully backward compatible.
Here is the list of all the breaking changes between version 2 and 3 of the RUM and Logs SDKs.

For each change, we show the new way to handle your use case.

### Network errors no longer monitored
### [RUM] Network errors no longer monitored

RUM browser SDK no longer automatically monitors network errors.

**New option**: You can use the option beforeSend to get the resource, check the `status` and send it with the `addError()` API.

### Source attribute of addError() has been removed
### [RUM] Source attribute of addError() has been removed

You can no longer change the source of error sent with `addError()`. All these errors have a `custom` source.

**New option**: If you used this feature to identify `network` and `source` errors, you can add context attributes with `addError()` instead.

### Removed typescript types
### [RUM and Logs] Removed typescript types

| Old types | New types |
| ---------------------------- | ---------------------------- |
| RumUserConfiguration | RumInitConfiguration |
| RumRecorderUserConfiguration | RumRecorderInitConfiguration |
| LogsUserConfiguration | LogsInitConfiguration |

### Removed init options
### [RUM and Logs] Removed init options

| Old options | New options |
| ------------------ | ----------- |
| publicApiKey | clientToken |
| datacenter | site |
| resourceSampleRate | NONE |

### Removed API
### [RUM] Removed API

| Old API | New API |
| ------------- | --------- |
Expand Down

0 comments on commit 4dfbddd

Please sign in to comment.