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

meta(changelog): Update changelog for 8.15.0 #12777

Merged
merged 18 commits into from
Jul 5, 2024
Merged

Conversation

andreiborza
Copy link
Member

No description provided.

lforst and others added 17 commits July 4, 2024 10:44
Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
Part of #11910

These are the last (non-optional) tests we have that still sent data to
Sentry! After that, E2E tests should be completely independent.

This also blocks
#12743
[Gitflow] Merge master into develop
This commit updates the return signature of the client's `on` function
to be a void function,
which, when executed, unregisters a callback. This adjustment is
necessary for managing instances
where objects are created and destroyed, ensuring that callbacks are
properly unregistered to
prevent self-referencing in callback closures and facilitate proper
garbage collection.

Typically, changing a type from `void` to `() => void` (or
`VoidFunction`) shouldn't be considered
a breaking change because `void` signifies the absence of a return
value, implying that the return
value of the `on` function should never be used by consumers.

Opting for the `on` approach, which returns a cleanup function, "seems"
simpler because having another
function called `off` requires saving the callback reference for later
removal. With our pattern,
we encapsulate both the registration and removal of event listeners
within a single function call.

---------

Co-authored-by: Francesco Novy <francesco.novy@sentry.io>
We already report a client report for dropped standalone spans. However,
so far we did not report any for spans dropped for transactions.

This PR also emits a client report when `beforeSendSpan` is used to
filter a span of a transaction, as well as when the whole transaction is
dropped in `beforeSendTransaction`.

For now, we _do not_ emit this if users manually drop single spans in
e.g. `beforeSendTransaction`, which I'd say is OK for now.

Closes #12727
This gets rid of the Ember canary tests that are always failing,
probably due to ember-try (which we use there) not playing nicely with
the monorepo etc.

Instead, this now uses the proper E2E setup. I added two tests, for
classic ember and modern embroider-based ember. While doing this I also
noticed two bugs I fixed along the way :O

This also removed the ember canary tests, IMHO the e2e tests are good
enough for us there now.
First, this means it is easier to run this locally. 

Secondly, we do not even need to send data to Sentry anymore, so we can
adjust the proxy server to stop doing this.

Lastly, this means that we can also safely run E2E tests for external
contributors.

Closes #11910
If errors are handled with Boom inside `onPreResponse`, the error should
not be reported to Sentry.

fixes #12702
`getStack()` is a leftover from the Hub API and was removed with v8. The
method does not need to be public anymore and therefore deleted.
…ter (#12699)

Adds support for cases where the time from OTEL is just a number in
milliseconds instead of tuples.
In #12700 I adjusted
the prepack script to bring back the build directory, but I forgot to
adjust `npm pack X` to make sure we pack the tarball from the `build`
directory. This patch fixes that.
Just to align stuff properly everywhere!
In our case the referrer is not passed
to the feedback script and thus results in a 403 (because we set allowed
domains in our project settings). Consequently also the modal doesn't
open and it's a bit disappointing for us since we would like to use the
feature.
…g react 17 (#12775)

Undoes some of the changes in
#12204 and
#12740 to fix
#12608.
@andreiborza andreiborza changed the base branch from develop to master July 5, 2024 07:58
@andreiborza andreiborza requested a review from mydea July 5, 2024 07:58
CHANGELOG.md Outdated
- fix(tracing): Report dropped spans for transactions (#12751)
- ref(scope): Delete unused public `getStack()` (#12737)

Work in this release was contributed by @arturovt and @jaulz. Thank you for your contribution!
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
Work in this release was contributed by @arturovt and @jaulz. Thank you for your contribution!
Work in this release was contributed by @arturovt and @jaulz. Thank you for your contributions!

Copy link
Member Author

Choose a reason for hiding this comment

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

Oops

Copy link
Contributor

github-actions bot commented Jul 5, 2024

size-limit report 📦

Path Size
@sentry/browser 22.28 KB (added)
@sentry/browser (incl. Tracing) 33.43 KB (added)
@sentry/browser (incl. Tracing, Replay) 69.18 KB (added)
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 62.51 KB (added)
@sentry/browser (incl. Tracing, Replay with Canvas) 73.24 KB (added)
@sentry/browser (incl. Tracing, Replay, Feedback) 85.87 KB (added)
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 87.73 KB (added)
@sentry/browser (incl. metrics) 26.57 KB (added)
@sentry/browser (incl. Feedback) 38.93 KB (added)
@sentry/browser (incl. sendFeedback) 26.9 KB (added)
@sentry/browser (incl. FeedbackAsync) 31.52 KB (added)
@sentry/react 25.02 KB (added)
@sentry/react (incl. Tracing) 36.46 KB (added)
@sentry/vue 26.39 KB (added)
@sentry/vue (incl. Tracing) 35.29 KB (added)
@sentry/svelte 22.41 KB (added)
CDN Bundle 23.5 KB (added)
CDN Bundle (incl. Tracing) 35.19 KB (added)
CDN Bundle (incl. Tracing, Replay) 69.29 KB (added)
CDN Bundle (incl. Tracing, Replay, Feedback) 74.48 KB (added)
CDN Bundle - uncompressed 68.97 KB (added)
CDN Bundle (incl. Tracing) - uncompressed 103.98 KB (added)
CDN Bundle (incl. Tracing, Replay) - uncompressed 214.38 KB (added)
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 227.09 KB (added)
@sentry/nextjs (client) 36.35 KB (added)
@sentry/sveltekit (client) 34.07 KB (added)
@sentry/node 130.73 KB (added)
@sentry/node - without tracing 91.75 KB (added)
@sentry/aws-serverless 116.92 KB (added)

@andreiborza andreiborza merged commit 7c15dfa into master Jul 5, 2024
116 of 117 checks passed
@andreiborza andreiborza deleted the prepare-release/8.15.0 branch July 5, 2024 08:17
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.

9 participants