Skip to content

Conversation

kamilogorek
Copy link
Contributor

No description provided.

@kamilogorek kamilogorek requested a review from HazAT November 15, 2019 13:39
@kamilogorek kamilogorek force-pushed the intrumentation-handlers branch from 262f201 to 4b898f9 Compare November 15, 2019 13:40
@kamilogorek kamilogorek force-pushed the intrumentation-handlers branch from 4b898f9 to d9fd340 Compare November 15, 2019 13:41
@getsentry-bot
Copy link
Contributor

getsentry-bot commented Nov 15, 2019

Warnings
⚠️ Please add a changelog entry for your changes.
Messages
📖 ✅ TSLint passed
📖

@sentry/browser bundle gzip'ed minified size: (ES6: 15.416 kB) (ES5: 16.8799 kB)

Generated by 🚫 dangerJS against d9fd340

@@ -1,23 +1,23 @@
// TODO: Rename this whole file to `instrument.ts` and make a distinction between instrumenting (wrapping the API)
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let’s mark it as deprecated, so we can remove it with v6

// [key in InstrumentHandlerType]?: boolean;

/** JSDoc */
interface BreadcrumbIntegrations {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Also, add depreate here, the name should become something like, InstrumentOptions

Comment on lines 33 to 35
// Dynamic keys like the one below doesn't work with interfaces :(
// [key in InstrumentHandlerType]?: boolean;

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think we can remove this

@HazAT HazAT merged commit cab1dec into master Nov 15, 2019
@HazAT HazAT deleted the intrumentation-handlers branch November 15, 2019 17:54
HazAT added a commit that referenced this pull request Nov 15, 2019
* master:
  feat: Refactor breadcrumbs integration to allow for custom handlers (#2317)
  fix: Bundle size, remove async (#2318)

# Conflicts:
#	CHANGELOG.md
@sod
Copy link
Contributor

sod commented Nov 18, 2019

does this fix #2125?

@kamilogorek
Copy link
Contributor Author

Not yet, sorry https://github.com/getsentry/sentry-javascript/pull/2317/files#diff-8ac38be8ae7b14923c24ee27c747794cR194-R199

In order to unify dom breadcrumbs as well, this has to be corrected - #2299

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants