Skip to content

Conversation

@kamilogorek
Copy link
Contributor

In reference to #3736
Discussed it with @HazAT, and decided to not allow for incorrect implementation anymore.

@kamilogorek kamilogorek requested a review from AbhiPrasad June 24, 2021 14:31
@github-actions
Copy link
Contributor

github-actions bot commented Jun 24, 2021

size-limit report

Path Size
@sentry/browser - CDN Bundle (gzipped) 21.34 KB (-0.03% 🔽)
@sentry/browser - Webpack 22.35 KB (-0.03% 🔽)
@sentry/react - Webpack 22.39 KB (-0.04% 🔽)
@sentry/browser + @sentry/tracing - CDN Bundle (gzipped) 28.82 KB (-0.03% 🔽)

Copy link
Member

@AbhiPrasad AbhiPrasad left a comment

Choose a reason for hiding this comment

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

Lowering bundle size :)

/**
* 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.
Copy link
Member

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.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Restored

@kamilogorek kamilogorek enabled auto-merge (squash) June 25, 2021 10:14
@kamilogorek kamilogorek merged commit 61eda62 into master Jun 25, 2021
@kamilogorek kamilogorek deleted the make-buffer-usable branch June 25, 2021 10:15
1999 added a commit to 1999/sentry-javascript that referenced this pull request Jun 30, 2021
…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)
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