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 7.48.0 #7837

Merged
merged 49 commits into from
Apr 13, 2023
Merged

meta: Update CHANGELOG for 7.48.0 #7837

merged 49 commits into from
Apr 13, 2023

Conversation

Lms24
Copy link
Member

@Lms24 Lms24 commented Apr 13, 2023

lforst and others added 30 commits April 5, 2023 15:59
[Gitflow] Merge master into develop
We want to generally import from `@sentry/browser`, and just have one specific test to import from `@sentry/replay`.
…nsport options (#7775)

Our `transportOptions` init field currently isn't typed correctly to accept `BrowserOfflineTransportOptions`, causing type errors when trying to configure the offline transport. This patch fixes this bug by making `BrowserTransportOptions` extend `BrowserOfflineTransportOptions`.
This should be sent with each segment now.
Co-authored-by: Lukas Stracke <lukas.stracke@sentry.io>
Add the `sentrySvelteKitPlugin` vite plugin to the SvelteKit SDK which will replace the `withSentryViteConfig` wrapper. Currently, this plugin does exactly what the wrapper is doing, namely, adding the injectInitPlugin. In the future, this plugin will add the source maps plugin.
Remove the `withSentryViteConfig` wrapper in favour of `sentrySvelteKitPlugin` introduced in #7788.
This PR removes the `injectInitPlugin` which means that initialization of the SDK via dedicated files is no longer supported. To initialized the SDK, the `hooks.(client|server).js` should be used, as already documented in the `README`.
Bumps [@sveltejs/kit](https://github.com/sveltejs/kit/tree/HEAD/packages/kit) from 1.15.1 to 1.15.2.
- [Release notes](https://github.com/sveltejs/kit/releases)
- [Changelog](https://github.com/sveltejs/kit/blob/master/packages/kit/CHANGELOG.md)
- [Commits](https://github.com/sveltejs/kit/commits/@sveltejs/kit@1.15.2/packages/kit)

---
updated-dependencies:
- dependency-name: "@sveltejs/kit"
  dependency-type: direct:development
...

Signed-off-by: dependabot[bot] <support@github.com>
…on (#7804)

Co-authored-by: Abhijeet Prasad <devabhiprasad@gmail.com>
Add a customized version of the Sentry Vite plugin to the SvelteKit SDK.

Rework the SDK's build API:

* Instead of having a super plugin that adds our other plugins (this doesn't work), we now export a factory function that returns an array of plugins. [SvelteKit also creates its plugins](https://github.com/Lms24/kit/blob/f7de9556319f652cabb89dd6f17b21e25326759c/packages/kit/src/exports/vite/index.js#L114-L143) this way.
* The currently only plugin in this array is the customized Vite plugin.

The customized Vite plugin differs from the Vite plugin as follows:

* It only runs on builds (not on the dev server)
* It tries to run as late as possible by setting `enforce: 'post'`
* It uses the `closeBundle` hook instead of the `writeBundle` hook to upload source maps.
  * This is because the SvelteKit adapters also run only at closeBundle but luckily before our plugin
* It uses the `configure` hook to enable source map generation  
* It flattens source maps before uploading them
  * We to flatten them (actually [`sorcery`](https://github.com/Rich-Harris/sorcery) does) to work around [weird source maps generation behaviour](sveltejs/kit#9608).
@AbhiPrasad
Copy link
Member

Think we want #7829, #7831, #7835, and #7836 before we get this ready to review.

CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
CHANGELOG.md Outdated Show resolved Hide resolved
Lms24 and others added 5 commits April 13, 2023 13:59
…#7831)

Add the `RewriteFrames` integration to match the server-side stack frames with the uploaded source maps.
…ame module (#7835)

 Add a custom `RewriteFrames` iteratee to the server SDK which 

* Does exactly the same thing as the default iteratee if simply initializiung `RewriteFrames()` without custom options
* Removes the `module` field from each stack frame
@Lms24
Copy link
Member Author

Lms24 commented Apr 13, 2023

Still waiting on #7846

…7846)

Previously, a project build would crash when users didn't specify org, project slugs or auth tokens. This patch fixes that by catching the error and providing additional information to the Sentry CLI error message.
Apply suggestions from code review

Co-authored-by: Abhijeet Prasad <aprasad@sentry.io>

links links links

update SvelteKit section

add remaining entries
@Lms24 Lms24 marked this pull request as ready for review April 13, 2023 13:48
@Lms24 Lms24 changed the base branch from develop to master April 13, 2023 13:48
@Lms24 Lms24 merged commit 577fbf4 into master Apr 13, 2023
22 checks passed
@Lms24 Lms24 deleted the prepare-release/7.48.0 branch April 13, 2023 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.

None yet

6 participants