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

feat(core): Use SDK_VERSION for hub API version #9732

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

AbhiPrasad
Copy link
Member

This means every minor version will bump hub, leading to reduced chances of conflicts between hubs.

This means every minor version will bump hub, leading to reduced chances
of conflicts between hubs.
Copy link
Contributor

github-actions bot commented Dec 4, 2023

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 66 KB (+0.21% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 59.6 KB (+0.23% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 31.12 KB (+0.02% 🔺)
@sentry/browser - Webpack (gzipped) 21.38 KB (+0.04% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 62.96 KB (+0.4% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 29.64 KB (+0.39% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 21.7 KB (+0.49% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 198.32 KB (+0.44% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 89.75 KB (+0.48% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 64.73 KB (+0.68% 🔺)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 32.3 KB (+0.26% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 66.36 KB (+0.17% 🔺)
@sentry/react - Webpack (gzipped) 21.43 KB (+0.04% 🔺)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 83.08 KB (+0.14% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 48.22 KB (+0.02% 🔺)
@sentry-internal/feedback - Webpack (gzipped) 16.19 KB (-0.03% 🔽)
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 74.65 KB (added)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 29.73 KB (added)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 71.24 KB (added)

@@ -35,7 +36,7 @@ import { closeSession, makeSession, updateSession } from './session';
*
* @hidden
*/
export const API_VERSION = 4;
export const API_VERSION = parseFloat(SDK_VERSION);
Copy link
Member

Choose a reason for hiding this comment

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

hm, will this actually work?

Copy link
Member Author

Choose a reason for hiding this comment

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

yes it will - the string gets coerced to a float (only taking into account major/minor)

@AbhiPrasad AbhiPrasad merged commit 12a32e3 into develop Dec 5, 2023
93 checks passed
@AbhiPrasad AbhiPrasad deleted the abhi-bump-api-version branch December 5, 2023 15:55
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