Skip to content

feat(core)!: Remove BaseClient #17071

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

Merged
merged 1 commit into from
Jul 18, 2025
Merged

feat(core)!: Remove BaseClient #17071

merged 1 commit into from
Jul 18, 2025

Conversation

andreiborza
Copy link
Member

BaseClient was deprecated in v9, use Client as a direct replacement.

@andreiborza andreiborza added this to the 10.0.0 milestone Jul 17, 2025
Copy link
Contributor

github-actions bot commented Jul 17, 2025

size-limit report 📦

⚠️ Warning: Base artifact is not the latest one, because the latest workflow run is not done yet. This may lead to incorrect results. Try to re-run all tests to get up to date results.

Path Size % Change Change
@sentry/browser 23.78 kB - -
@sentry/browser - with treeshaking flags 22.34 kB - -
@sentry/browser (incl. Tracing) 39.66 kB - -
@sentry/browser (incl. Tracing, Replay) 77.79 kB - -
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 67.59 kB - -
@sentry/browser (incl. Tracing, Replay with Canvas) 82.49 kB - -
@sentry/browser (incl. Tracing, Replay, Feedback) 94.59 kB - -
@sentry/browser (incl. Feedback) 40.47 kB - -
@sentry/browser (incl. sendFeedback) 28.46 kB - -
@sentry/browser (incl. FeedbackAsync) 33.36 kB - -
@sentry/react 25.54 kB - -
@sentry/react (incl. Tracing) 41.62 kB +0.01% +2 B 🔺
@sentry/vue 28.23 kB - -
@sentry/vue (incl. Tracing) 41.45 kB - -
@sentry/svelte 23.8 kB - -
CDN Bundle 25.18 kB - -
CDN Bundle (incl. Tracing) 39.42 kB - -
CDN Bundle (incl. Tracing, Replay) 75.41 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) 80.89 kB - -
CDN Bundle - uncompressed 73.44 kB - -
CDN Bundle (incl. Tracing) - uncompressed 116.86 kB - -
CDN Bundle (incl. Tracing, Replay) - uncompressed 231 kB - -
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 243.81 kB - -
@sentry/nextjs (client) 43.66 kB - -
@sentry/sveltekit (client) 40.08 kB - -
@sentry/node-core 47.24 kB - -
@sentry/node 143.81 kB +0.01% +2 B 🔺
@sentry/node - without tracing 91.31 kB - -
@sentry/aws-serverless 102.75 kB - -

View base workflow run

] as Envelope;
it('should call a beforeEnvelope hook', () => {
const client = new TestClient(options);
expect.assertions(1);
Copy link
Member

Choose a reason for hiding this comment

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

I know 100% this is a Andrei PR when I see this :D

Copy link
Member Author

Choose a reason for hiding this comment

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

it already existed 😎

Base automatically changed from ab/migration-guide to develop July 18, 2025 08:04
`BaseClient` was deprecated in v9, use `Client` as a direct replacement.
@andreiborza andreiborza force-pushed the ab/remove-baseclient branch from 8f905be to 8270e15 Compare July 18, 2025 08:08
@andreiborza andreiborza merged commit 904932f into develop Jul 18, 2025
329 of 333 checks passed
@andreiborza andreiborza deleted the ab/remove-baseclient branch July 18, 2025 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.

3 participants