This repository has been archived by the owner on Sep 11, 2024. It is now read-only.
-
-
Notifications
You must be signed in to change notification settings - Fork 829
Update sentry-javascript monorepo to v7.51.0 #10647
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
renovate
bot
added
Dependencies
Pull requests that update a dependency file
T-Task
Refactoring, enabling or disabling functionality, other engineering tasks
labels
Apr 18, 2023
justjanne
approved these changes
Apr 18, 2023
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 18, 2023
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
from
April 18, 2023 13:43
5832500
to
fbff2e3
Compare
github-merge-queue
bot
removed this pull request from the merge queue due to failed status checks
Apr 18, 2023
github-merge-queue bot
pushed a commit
that referenced
this pull request
Apr 18, 2023
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
from
April 18, 2023 15:06
fbff2e3
to
dbc7431
Compare
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
from
April 18, 2023 16:33
dbc7431
to
17a60c3
Compare
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
from
April 19, 2023 04:14
17a60c3
to
a6adbd7
Compare
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
from
April 23, 2023 17:29
a6adbd7
to
192cbec
Compare
renovate
bot
changed the title
Update sentry-javascript monorepo to v7.48.0
Update sentry-javascript monorepo to v7.49.0
Apr 23, 2023
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
2 times, most recently
from
April 26, 2023 12:35
3010a80
to
84f9fb4
Compare
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
from
April 30, 2023 08:13
84f9fb4
to
cfe0c97
Compare
renovate
bot
changed the title
Update sentry-javascript monorepo to v7.49.0
Update sentry-javascript monorepo to v7.50.0
Apr 30, 2023
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
from
May 2, 2023 11:08
cfe0c97
to
db87c60
Compare
renovate
bot
force-pushed
the
renovate/sentry-javascript-monorepo
branch
from
May 7, 2023 15:49
db87c60
to
5f24462
Compare
renovate
bot
changed the title
Update sentry-javascript monorepo to v7.50.0
Update sentry-javascript monorepo to v7.51.0
May 7, 2023
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Labels
Dependencies
Pull requests that update a dependency file
T-Task
Refactoring, enabling or disabling functionality, other engineering tasks
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
7.47.0
->7.51.0
7.47.0
->7.51.0
Release Notes
getsentry/sentry-javascript
v7.51.0
Compare Source
Important Changes
load
functions with proxy module (#7994)@sentry/sveltekit
now auto-wrapsload
functions in+(page|layout).(ts|js)
files (universal loads)+(page|layout).server.(ts|js)
files (server-only loads)This means that you don't have to manually add the
wrapLoadWithSentry
andwrapServerLoadWithSentry
functions around your load functions. The SDK will not interfere with already wrappedload
functions.For more details, take a look at the Readme
peerDependencies
to Angular 16 (#8035)We now officially support Angular 16 in
@sentry/angular-ivy
.Note that
@sentry/angular
does not support Angular 16.This release adds Sentry cron monitoring support to the Node SDK.
To monitor your cron jobs, send check-ins everytime you execute your cron jobs to Sentry. You can do this with the
captureCheckIn
method exported from the SDK. First you must send anin_progress
, checkin, then you can send one with statusok
orerror
based on what happened with your cron job.Additional Features and Fixes
http.method
to node http spans (#7991)RewriteFrames
(#7995)Integration
type declaration as union type (#8016)undefined
toundefined
instead of"[undefined]"
(#8017)Work in this release contributed by @srubin and @arjenbrandenburgh. Thank you for your contributions!
v7.50.0
Compare Source
Important Changes
sentryHandle
to a factory function (#7975)With this release, the Sveltekit SDK (@sentry/sveltekit) is promoted to Beta.
This means that we do not expect any more breaking changes.
The final breaking change is that
sentryHandle
is now a function.So in order to update to 7.50.0, you have to update your
hooks.server.js
file:You can now capture request/response bodies & headers of network requests in Replay.
You have to define an allowlist of URLs you want to capture additional information for:
By default, we will capture request/response bodies, as well as the request/response headers
content-type
,content-length
andaccept
.You can configure this with some additional configuration:
Note that bodies will be truncated to a max length of ~150k characters.
- feat(replay): Changes of sampling behavior & public API
flush()
API to record current event buffer (#7743)stop()
to flush and remove current session (#7741)We have changed the behavior of error-based sampling, as well as adding & adjusting APIs a bit to be more aligned with expectations.
See Sampling for details.
We've also revamped some public APIs in order to be better aligned with expectations. See Stoping & Starting Replays manually for details.
We added a new transport to support multiplexing.
With this, you can configure Sentry to send events to different DSNs, depending on a logic of your choosing:
Additional Features and Fixes
disableLogger
option that automatically tree shakes logger statements (#7908)db.system
span data to DB spans (#7952)Work in this release contributed by @Jack-Works. Thank you for your contribution!
v7.49.0
Compare Source
Important Changes
svelte.config.js
(#7863)Our source maps upload plugin is now able to read
svelte.config.js
. This is necessary to automatically find the output directory that users can specify when setting up the Node adapter.This release fixes a potential problem with how Replay captures console logs.
Any objects logged will now be cut off after a maximum depth of 10, as well as cutting off any properties after the 1000th.
This should ensure we do not accidentally capture massive console logs, where a stringified object could reach 100MB or more.
We used to normalize references to HTML elements as POJOs.
This is both not very easily understandable, as well as potentially large, as HTML elements may have properties attached to them.
With this change, we now normalize them to e.g.
[HTMLElement: HTMLInputElement]
.Additional Features and Fixes
import
forgatsby-browser.js
instead ofrequire
(#7889)handleError
wrapper (#7898)sentry.properties
file when uploading source maps (#7890)timestampWithMs
(#7878)v7.48.0
Compare Source
Important Changes
AsyncLocalStorage
implementation ofAsyncContextStrategy
(#7800)AsyncContextStrategy
to allow reuse of existing context (#7778)runWithAsyncContext
public API (#7817)domain
implementation ofAsyncContextStrategy
(#7767)AsyncContextStrategy
for Node.js version (#7804)AsyncContextStrategy
(#7779)This release switches the SDK to use
AsyncLocalStorage
as the async context isolation mechanism in the SDK for Node 14+. For Node 10 - 13, we continue to use the Nodedomain
standard library, sinceAsyncLocalStorage
is not supported there. Preliminary testing showed a 30% improvement in latency and rps when making the switch from domains toAsyncLocalStorage
on Node 16.If you want to manually add async context isolation to your application, you can use the new
runWithAsyncContext
API.If you're manually using domains to isolate Sentry data, we strongly recommend switching to this API!
In addition to exporting
runWithAsyncContext
publicly, the SDK also uses it internally where we previously used domains.withSentryViteConfig
(#7789)This release removes our
withSentryViteConfig
wrapper we previously instructed you to add to yourvite.config.js
file. It is replaced Vite plugins which you simply add to your Vite config, just like thesveltekit()
Vite plugins. We believe this is a more transparent and Vite/SvelteKit-native way of applying build time modifications. Here's how to use the plugins:Take a look at the
README
for updated instructions!Furthermore, with this transition, we removed the possibility to intialize the SDK in dedicated
sentry.(client|server).config.js
files. Please use SvelteKit's hooks files to initialize the SDK.Please note that these are breaking changes! We're sorry for the inconvenience but the SvelteKit SDK is still in alpha stage and we want to establish a clean and SvelteKit-friendly API before making the SDK stable. You have been warned ;)
This release adds automatic upload of source maps to the SvelteKit SDK. No need to configure anything other than adding our Vite plugins to your SDK. The example above shows you how to do this.
Please make sure to follow the
README
to specify your Sentry auth token, as well as org and project slugs.- feat(replay): Capture request & response headers (#7816)
Replay now captures the
content-length
,content-type
, andaccept
headers from requests and responses automatically.Additional Features and Fixes
getReplayId()
method (#7822)BrowserTransportOptions
to support offline transport options (#7775)applyDebugMetadata
for error events (#7824)reuseExisting
does not need to call bind on domain (#7780)trpcMiddleware
factory synchronous (#7802)Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about these updates again.
This PR has been generated by Mend Renovate. View repository job log here.
This change is marked as an internal change (Task), so will not be included in the changelog.