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

Backport SvelteKit and Angular fixes to v7 #10619

Closed
wants to merge 3 commits into from
Closed

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Feb 12, 2024

Backports the following fixes to the v7 branch:

Lms24 and others added 3 commits February 12, 2024 16:11
We didn't properly await sourcemaps flattening via sorcery before proceeding to
upload them. The reason is that the async callbacks in `forEach` weren't
awaited. A `for` loop is the better approach here. Wondering if we
should lint against async `forEach` callbacks.
This behaviour could have caused various inconsistencies. My suspicion
is that the timing worked _well enough_ in most cases but we definitely
want to properly await this step.

Thanks to @MSDev201 for bringing this up!

Unfortunately this likely won't fix #10589 as a whole :(
Add the Http 400 avoidance logic from our server-side `load`
function instrumentation to the client-side wrapper. Didn't know that
these errors were a thing on the client side but now that we know, we
definitely don't want to capture them.

Co-authored-by: Francesco Novy <[email protected]>
Add an `exports` field to the `package.json` for
`@sentry/angular-ivy`. While it seems like regular Angular apps didn't
need it, tools like `vitest` expect the field as soon as `type:
"module"` is specified.

---

Co-authored-by: Andrei Alecu <[email protected]>
@Lms24 Lms24 changed the base branch from develop to v7 February 12, 2024 15:13
@Lms24 Lms24 marked this pull request as ready for review February 12, 2024 15:14
@Lms24 Lms24 requested a review from mydea February 12, 2024 15:15
@Lms24
Copy link
Member Author

Lms24 commented Feb 12, 2024

closing in favor of #10617

@Lms24 Lms24 closed this Feb 12, 2024
@Lms24 Lms24 deleted the lms/backport-fixes-v7 branch March 22, 2024 09:12
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.

1 participant