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(changelog): Update changelog for 7.76.0 #9397

Merged
merged 18 commits into from
Oct 27, 2023
Merged

Conversation

lforst
Copy link
Member

@lforst lforst commented Oct 27, 2023

No description provided.

github-actions bot and others added 15 commits October 25, 2023 11:52
[Gitflow] Merge master into develop
Co-authored-by: Luca Forstner <luca.forstner@sentry.io>
#9359)

We noticed we still sometimes see "too long sessions", and it seems this
is because of errors being tagged with a replay long after the session
expired. After some digging, this may be because we do not check session
expiration when adding the `replay_id` to the DSC. This PR fixes this.
See nodeca/pako#268, there is some issue with
pako tree shaking ootb.

We don't need all the inflation stuff in our bundle.
lforst and others added 2 commits October 27, 2023 16:25
This PR adds `Sentry.withMonitor`, a wrapping function similar to
`Sentry.startSpan` that wraps a callback with a cron monitor. Under the
hood it uses `Sentry.captureCheckIn`, but having this as a callback
means that users don't have to think about passing `checkInId` around.

```ts
import * as Sentry from '@sentry/node';

// with monitor will send checkin when callback is started/finished
// works with async and sync callbacks.
const result = Sentry.withMonitor(
  'dailyEmail',
  () => {
    // withCheckIn return value is same return value here
    return sendEmail();
  },
  {
    schedule: {
      type: 'crontab',
      value: '0 * * * *',
    },
    // 🇨🇦🫡
    timezone: 'Canada/Eastern',
  },
);
```
@AbhiPrasad AbhiPrasad mentioned this pull request Oct 27, 2023
3 tasks
@lforst lforst merged commit 13fe88a into master Oct 27, 2023
85 checks passed
@lforst lforst deleted the prepare-release/7.76.0 branch October 27, 2023 15:17
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

7 participants