Skip to content

meta: 7.0.0-beta.0 CHANGELOG #5011

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 6 commits into from
May 3, 2022
Merged

meta: 7.0.0-beta.0 CHANGELOG #5011

merged 6 commits into from
May 3, 2022

Conversation

AbhiPrasad
Copy link
Member

@AbhiPrasad AbhiPrasad commented Apr 28, 2022

CHANGELOG for the v7 beta!

@github-actions
Copy link
Contributor

github-actions bot commented Apr 28, 2022

size-limit report 📦

Path Size
@sentry/browser - ES5 CDN Bundle (gzipped + minified) 18.72 KB (-7.06% 🔽)
@sentry/browser - ES5 CDN Bundle (minified) 58.39 KB (-9.64% 🔽)
@sentry/browser - ES6 CDN Bundle (gzipped + minified) 17.42 KB (-7.67% 🔽)
@sentry/browser - ES6 CDN Bundle (minified) 52.55 KB (-9.36% 🔽)
@sentry/browser - Webpack (gzipped + minified) 19.18 KB (-17.46% 🔽)
@sentry/browser - Webpack (minified) 62.04 KB (-24.08% 🔽)
@sentry/react - Webpack (gzipped + minified) 19.2 KB (-17.51% 🔽)
@sentry/nextjs Client - Webpack (gzipped + minified) 42.87 KB (-10.8% 🔽)
@sentry/browser + @sentry/tracing - ES5 CDN Bundle (gzipped + minified) 24.51 KB (-6% 🔽)
@sentry/browser + @sentry/tracing - ES6 CDN Bundle (gzipped + minified) 22.98 KB (-6.14% 🔽)

@AbhiPrasad AbhiPrasad force-pushed the v7-7.0.0-beta.0-changelog branch from 7327b64 to 1ff254e Compare April 28, 2022 14:40
@AbhiPrasad AbhiPrasad force-pushed the v7-7.0.0-beta.0-changelog branch from 1ff254e to 7854fa1 Compare April 28, 2022 17:52
@AbhiPrasad AbhiPrasad marked this pull request as ready for review April 28, 2022 17:52
@AbhiPrasad
Copy link
Member Author

Blocked by #5015

MIGRATION.md Outdated
import { stackParserFromOptions } from '@sentry/utils';

// New in v7:
const client = BrowserClient({
Copy link
Contributor

Choose a reason for hiding this comment

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

I would be careful using PascalCase naming when the intention is doing a function call.

It is easy to miss that they are technically functions and assume that they are constructors and people adding new BrowserClient(...). And the worst is that it is "technically correct" from the perspective of the runtime (but wrong based on the usage, and intention).

I will recommend to do makeBrowserClient or browserClient or newBrowserClient but avoid PascalCase.

Copy link
Member Author

Choose a reason for hiding this comment

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

yup, this is my bad. BrowserClient is still a class for now - so there should be the new keyword here - we'll maybe revisit this at a later time though,

@AbhiPrasad AbhiPrasad added this to the 7.0.0 milestone May 3, 2022
@AbhiPrasad AbhiPrasad requested review from a team, lforst and Lms24 and removed request for a team May 3, 2022 14:58
@AbhiPrasad AbhiPrasad merged commit c9e8997 into 7.x May 3, 2022
@AbhiPrasad AbhiPrasad deleted the v7-7.0.0-beta.0-changelog branch May 3, 2022 15:28
AbhiPrasad added a commit that referenced this pull request May 30, 2022
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