Skip to content

Commit ef27341

Browse files
antonisclaude
andauthored
feat(core): Expose addConsoleInstrumentationFilter (#6180)
* feat(core): Expose `addConsoleInstrumentationFilter` from `@sentry/core` Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> * docs: Add changelog entry for addConsoleInstrumentationFilter Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 <noreply@anthropic.com>
1 parent 44cbae6 commit ef27341

3 files changed

Lines changed: 5 additions & 0 deletions

File tree

‎CHANGELOG.md‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
- Auto-inject `sentry-label` from static text content at build time when `annotateReactComponents` is enabled ([#6141](https://github.com/getsentry/sentry-react-native/pull/6141))
1818
- Respect Replay Mask boundaries when reading `sentry-label` for touch breadcrumbs ([#6142](https://github.com/getsentry/sentry-react-native/pull/6142))
1919
- Add `textComponentNames` option to `annotateReactComponents` for custom text components ([#6169](https://github.com/getsentry/sentry-react-native/pull/6169))
20+
- Expose `addConsoleInstrumentationFilter` from `@sentry/core` ([#6180](https://github.com/getsentry/sentry-react-native/pull/6180))
2021
- Expose experimental `captureSurfaceViews` option for Android Session Replay ([#6175](https://github.com/getsentry/sentry-react-native/pull/6175))
2122

2223
### Fixes

‎packages/core/etc/sentry-react-native.api.md‎

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,7 @@
55
```ts
66

77
import { addBreadcrumb } from '@sentry/core';
8+
import { addConsoleInstrumentationFilter } from '@sentry/core';
89
import { addEventProcessor } from '@sentry/core';
910
import { addIntegration } from '@sentry/core';
1011
import { AnthropicAiClient } from '@sentry/core';
@@ -118,6 +119,8 @@ import { withProfiler } from '@sentry/react';
118119

119120
export { addBreadcrumb }
120121

122+
export { addConsoleInstrumentationFilter }
123+
121124
export { addEventProcessor }
122125

123126
export { addIntegration }

‎packages/core/src/js/index.ts‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,7 @@ export {
5454
createLangChainCallbackHandler,
5555
instrumentLangGraph,
5656
instrumentStateGraphCompile,
57+
addConsoleInstrumentationFilter,
5758
} from '@sentry/core';
5859

5960
export type {

0 commit comments

Comments
 (0)