Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit d0f3bb8

Browse files
docs: Update upgrading guide with top-level metadata
1 parent 526c897 commit d0f3bb8

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

‎UPGRADING.md‎

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -235,6 +235,15 @@ It remains possible to supply initial metadata in configuration:
235235
})
236236
```
237237

238+
All metadata is now required to have a section. If you were previously supplying metadata without a section name (this would display on your dashboard under the "Custom" tab), we have enabled passing `null` as the section name for continuity:
239+
240+
```js
241+
- bugsnagClient.metaData.assetUrl = config.assetUrl
242+
+ Bugsnag.addMetadata(null, 'assetUrl', config.assetUrl)
243+
```
244+
245+
You should only use this method if you have a custom filter based on some top-level metadata, otherwise you should supply a section name for your metadata.
246+
238247
#### Context
239248

240249
On the client, context is now managed via `get/setContext()`:

0 commit comments

Comments
(0)

AltStyle によって変換されたページ (->オリジナル) /