Skip to content

feat(core/utils): Deprecate getNumberOfUrlSegments #14458

New issue

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

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

Already on GitHub? # to your account

Merged
merged 1 commit into from
Nov 26, 2024
Merged

Conversation

lforst
Copy link
Member

@lforst lforst commented Nov 25, 2024

Ref: #14267

getNumberOfUrlSegments is only used in 1 place across the SDK - it doesn't need to be a util.

@lforst lforst merged commit 91a4985 into develop Nov 26, 2024
155 of 156 checks passed
@lforst lforst deleted the lforst-gnous branch November 26, 2024 09:37
AbhiPrasad added a commit that referenced this pull request Dec 17, 2024
Removes code deprecated in
#14458

Removes `getNumberOfUrlSegments` as a public export from `@sentry/core`.

This method is still used, so we extract it into a helper in
`@sentry/react` (and port the tests accordingly).
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants