Skip to content

meta(changelog): Update changelog for 7.43.0 #7437

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

Merged
merged 18 commits into from
Mar 13, 2023
Merged

Conversation

AbhiPrasad
Copy link
Member

Supercedes #7435

github-actions bot and others added 18 commits March 9, 2023 13:39
[Gitflow] Merge master into develop
…ndles (#7391)

Add an initial version of `Sentry.init` call injection to our new SvelteKit SDK:
Specifically, we add a `withSentryViteConfig` wrapper function, which users will need to wrap around their Vite config. This will:

* Inject a Vite plugin which takes care of injecting `Sentry.init` calls from `sentry.(client|server).config.(ts|js)` files, providing a DX identical to the NextJS SDK.
  * The server-side init is injected into the server `index.js` file
  * The client-side init is injected into the `app.js` file 
  * The injection works both for production builds (with the Node adapter for now) as well as for a local dev server
* Add the root directory of the project to the allowed directories for the Vite dev server. We need this so that the client config is correctly picked up by the Vite dev server.
)

AddsSDK `init` functions for the SvelteKit server- and client-side SDK. Currently these functions 

* set SDK metadata
* call the respective base SDK's init
* set a `runtime` tag ('browser' / 'node' resp.)

Also fix a bug in the Svelte SDK where passed in `options._metadata.sdk` was previously overwritten with the Svelte SDKs data.
…7430)

Partially revert #7377 which caused monkey patching errors when patching the native `http` and `https` modules in the Node SDK (#7425). Similarly, also our Serverless SDK was subjected to the same problem (#7421). 

The problem is that `import` doesn't permit monkey patching of the imported (`http(s)`) module, producing this error:

```bash
TypeError: Cannot assign to read only property 'get' of object '[object Module]'
```

I tried using a dynamic import instead but got the same result. So it seems like we can only use `require` here :(
@AbhiPrasad AbhiPrasad requested review from mydea and Lms24 March 13, 2023 13:32
@AbhiPrasad AbhiPrasad merged commit 676dc4c into master Mar 13, 2023
@AbhiPrasad AbhiPrasad deleted the prepare-release/7.43.0 branch March 13, 2023 14:25
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.

4 participants