@sentry/hub
7.120.4 · 29 Jul 2025MIT2.7M / weekRepositoryHomepagenpmAtom feed
Upgrading @sentry/hub from 4.4.2 to 4.6.5
11 releases in betweenevery note read
- 1
- change to make
- 0
- advisories fixed
- 10
- new
- 23
- fixes
Before you upgrade
Tick each one off as you go- deprecated4.5.0
Release by release
- fixed
Remove beacon transport.
- fixed
- fixed
Prevent decycling from referencing original objects
- fixed
Preserve correct name when wrapping
- fixed
- fixed
Normalize value before recursively walking down the tree
- fixed
- new
Read from
SENTRY_RELEASEandSENTRY_ENVIRONMENTif present - fixed
Preserve function prototype when filling
- fixed
Use a static object as fallback of the global object
- new
- fixed
Patch
tslib_1__defaultregression and add additional tests around it
- fixed
- new
Introduce
flushmethod which currently is an alias forclose - new
If
options.dsnis undefined when callinginitwe try to load it fromprocess.env.SENTRY_DSN - new
Expose
flushandcloseonSentry.* - new
Add
sentryto express error handler response which contains theevent_idof the error - fixed
Detect if
inithas been called in an onload callback - fixed
Use correct frame for
inboundFiltermethods
- new
- fixed
DOMErrorandDOMExceptionshould be error level events - fixed
Dont mutate original input in
decycleutil function - fixed
Skip non-enumerable properties in
decycleutil function - fixed
Make internal Sentry flags non-enumerable in
fillutil
- fixed
- new
hub: Support non async event processors
- fixed
browser: Fix UnhandledPromise: [object Object]
- fixed
core: Error in extraErrorData integration where event would not be send in case of non assignable object property.
- new
8 internal lines (docs, tests, tooling) left out.