-
-
Notifications
You must be signed in to change notification settings - Fork 1.6k
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
ref: Leave only valid buffer implementation #3744
Conversation
028130d
to
13894ff
Compare
size-limit report
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Lowering bundle size :)
@@ -21,22 +18,14 @@ export class PromiseBuffer<T> { | |||
/** | |||
* Add a promise to the queue. | |||
* | |||
* @param taskProducer A function producing any PromiseLike<T>; In previous versions this used to be `@param task: PromiseLike<T>`, however, Promises were instantly created on the call-site, making them fall through the buffer limit. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would still keep this comment, even if we are losing the backward compatibility.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Restored
…transport * upstream/master: fix(tracing): Add check for document.scripts in metrics (getsentry#3766) ref(nextjs): Stop setting redundant `productionBrowserSourceMaps` in config (getsentry#3765) test: Ensure withScope and run bubble up exceptions (getsentry#3764) ref(gatsby): Default release to empty string (getsentry#3759) fix(nextjs): Make `withSentryConfig` return type match given config type (getsentry#3760) misc: Fix typos (getsentry#3763) fix(node): Enable autoSessionTracking correctly (getsentry#3758) release: 6.8.0 meta: 6.8.0 changelog feat: Enable serialization of multiple DOM attributes for breadcrumbs. (getsentry#3755) ref: Leave only valid buffer implementation (getsentry#3744)
In reference to #3736
Discussed it with @HazAT, and decided to not allow for incorrect implementation anymore.