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: Update Changelog for 8.27.0 #13459

Merged
merged 24 commits into from
Aug 26, 2024
Merged

meta: Update Changelog for 8.27.0 #13459

merged 24 commits into from
Aug 26, 2024

Conversation

nicohrubec
Copy link
Contributor

No description provided.

mydea and others added 22 commits August 13, 2024 16:30
This should at least make it clearer why/where stuff is failing.
Taken from
https://github.com/actions/cache/blob/main/tips-and-workarounds.md#force-deletion-of-caches-overriding-default-cache-eviction-policy.

Caches are per-branch, so if a PR is closed we do not need to keep any
caches for that branch around anymore. This PR adds automation to do
just that.
Enable sending events to spotlight by setting the `SENTRY_SPOTLIGHT` environment variable

---------

Co-authored-by: Burak Yigit Kaya <bkaya21@bloomberg.net>
…ted (#13278)

[ref](#12351)

This PR moves the `SentryGlobalFilter` out of the root module, which led
to the filter overriding user exception filters in certain scenarios.
Now there is two ways to setup sentry error monitoring:
- If users have no catch-all exception filter in their application they
add the `SentryGlobalFilter` as a provider in their main module.
- If users have a catch-all exception filter (annotated with `@Catch()`
they can use the newly introduced `SentryCaptureException()` decorator
to capture alle exceptions caught by this filter.

Testing:
Added a new sample application to test the second setup option and
expanded the test suite in general.

Side note:
- Also removed the `@sentry/microservices` dependency again, since it
does not come out of the box with every nest application so we cannot
rely on it.
This streamlines some caching stuff for CI:

1. Extract dependency installation & cache out into a composite action
for reusability
2. Updated the cache key for dependencies to only include package &
dev-package `package.json`, not the E2E test ones.
Instead of having to keep to separate lists of include/excludes, we now
keep this in a single list and invert it when necessary.

This way, we should no longer have problems where tests are either run
multiple times, or not in the correct env - just add the test to the
`browser` list in `ci-unit-tests.ts` to make sure it is not run in
multiple node versions unnecessarily. I also added this step to the new
package checklist.
Should reduce amount of cached data.
This improves a few things in our size-limit CI action:

1. Show change in bytes, in addition to the change in percentage. 
2. Add a link below the table to the base comparison run.
3. If we detect that the workflow run we used as base is not the latest
one, show a warning on top.


![image](https://github.com/user-attachments/assets/4678ff04-a463-4579-ad91-74cbf9b7d781)
…13338)

This streamlines some stuff in our browser integration tests, to fix
some flakiness (hopefully).

The biggest change is that instead of always building into `dist` for
each test file, each test will now build into a random subfolder, e.g.
`dist/abc`. This way, multiple tests in a single file will never
conflict with each other.

Additionally it also streamlines some of the tests I encountered while
looking at stuff, hopefully reducing flakes further.

Closes #13321
Reverts #13118

There has been quite a bit of segmentation faults in CI after this PR
was merged.

I tried spending time to look into this in more detail, but it didn't
get far, so not worrying about this too much for now. Let's revert and
re-examine later.
relax the pageload transaction assertion. Web vitals are too
flaky to hard-assert on them and they are covered in browser integration
tests
Minor changes: I realized that the formatting was broken for `v8` and
that the migration guide wasn't linking to the specific section like
other changelogs.
CI is angery. Crypto is only on global from Node 19 onwards.
This PR adds the external contributor to the CHANGELOG.md file, so that
they are credited for their contribution. See #13395

Co-authored-by: mydea <2411343+mydea@users.noreply.github.com>
@nicohrubec nicohrubec changed the base branch from develop to master August 26, 2024 12:00
@nicohrubec nicohrubec marked this pull request as ready for review August 26, 2024 12:08
@nicohrubec nicohrubec requested review from a team as code owners August 26, 2024 12:08
Copy link
Contributor

github-actions bot commented Aug 26, 2024

size-limit report 📦

Path Size % Change Change
@sentry/browser 22.5 KB added added
@sentry/browser (incl. Tracing) 34.85 KB added added
@sentry/browser (incl. Tracing, Replay) 71.19 KB added added
@sentry/browser (incl. Tracing, Replay) - with treeshaking flags 64.45 KB added added
@sentry/browser (incl. Tracing, Replay with Canvas) 75.53 KB added added
@sentry/browser (incl. Tracing, Replay, Feedback) 88.22 KB added added
@sentry/browser (incl. Tracing, Replay, Feedback, metrics) 90.06 KB added added
@sentry/browser (incl. metrics) 26.81 KB added added
@sentry/browser (incl. Feedback) 39.53 KB added added
@sentry/browser (incl. sendFeedback) 27.13 KB added added
@sentry/browser (incl. FeedbackAsync) 31.84 KB added added
@sentry/react 25.26 KB added added
@sentry/react (incl. Tracing) 37.83 KB added added
@sentry/vue 26.65 KB added added
@sentry/vue (incl. Tracing) 36.67 KB added added
@sentry/svelte 22.64 KB added added
CDN Bundle 23.75 KB added added
CDN Bundle (incl. Tracing) 36.51 KB added added
CDN Bundle (incl. Tracing, Replay) 70.83 KB added added
CDN Bundle (incl. Tracing, Replay, Feedback) 76.1 KB added added
CDN Bundle - uncompressed 69.64 KB added added
CDN Bundle (incl. Tracing) - uncompressed 108.3 KB added added
CDN Bundle (incl. Tracing, Replay) - uncompressed 219.55 KB added added
CDN Bundle (incl. Tracing, Replay, Feedback) - uncompressed 232.59 KB added added
@sentry/nextjs (client) 37.59 KB added added
@sentry/sveltekit (client) 35.45 KB added added
@sentry/node 115.71 KB added added
@sentry/node - without tracing 90.1 KB added added
@sentry/aws-serverless 99.51 KB added added

@nicohrubec nicohrubec merged commit d7e934e into master Aug 26, 2024
125 checks passed
@nicohrubec nicohrubec deleted the prepare-release/8.27.0 branch August 26, 2024 13:48
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