Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Typo in constant name in @sentry/tracing #3058

Merged
merged 1 commit into from
Nov 23, 2020

Conversation

rhcarvalho
Copy link
Contributor

@rhcarvalho rhcarvalho commented Nov 18, 2020

defaultRequestInstrumentionOptions => defaultRequestInstrumentationOptions

Despite being exported, the old name is not documented and not part of
what is considered public API, therefore we remove the old name
altogether.

Copy link
Member

@lobsterkatie lobsterkatie left a comment

Choose a reason for hiding this comment

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

IMHO you could just take it out now. Very much an internal API, and we make no guarantees to keep that stable.

Up to you.

@github-actions
Copy link
Contributor

github-actions bot commented Nov 18, 2020

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 19.72 KB (0%)
@sentry/browser - Webpack 20.58 KB (0%)
@sentry/react - Webpack 20.58 KB (0%)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 26.86 KB (0%)

@kamilogorek
Copy link
Contributor

It's not and never was exposed publically, don't need to have a fallback.

defaultRequestInstrumentionOptions => defaultRequestInstrumentationOptions

Despite being exported, the old name is not documented and not part of
what is considered public API, therefore we remove the old name
altogether.
@rhcarvalho rhcarvalho force-pushed the rhcarvalho/tracing-options-rename branch from 181af1c to 5761429 Compare November 19, 2020 20:04
@rhcarvalho
Copy link
Contributor Author

It's not and never was exposed publically, don't need to have a fallback.

Alright, the old name is gone :)

@rhcarvalho rhcarvalho merged commit 2f4f494 into master Nov 23, 2020
@rhcarvalho rhcarvalho deleted the rhcarvalho/tracing-options-rename branch November 23, 2020 08:48
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