Skip to content

Conversation

@AbhiPrasad
Copy link
Member

This is a CHANGELOG for 7.107.0, and ports #11225 to the v7 branch.

The `cron` package uses `timeZone`, while Sentry internally uses
`timezone`. This caused Sentry cron jobs to be incorrectly upserted with
no time zone information. Because of the use of the `...(timeZone ? {
timeZone } : undefined)` idiom, TypeScript type checking did not catch
the mistake.

I kept `cron`'s `timeZone` capitalization within Sentry's
instrumentation and changed from the `...(timeZone ? { timeZone } :
undefined)` idiom so TypeScript could catch mistakes of this sort.
(Passing an undefined `timezone` appears to be okay, because Sentry's
`node-cron` instrumentation does it.)
@AbhiPrasad AbhiPrasad changed the title meta: CHANGELOG for 7.107.0 meta: CHANGELOG for 7.108.0 Mar 21, 2024
@AbhiPrasad AbhiPrasad requested a review from timfish March 21, 2024 20:22
@AbhiPrasad AbhiPrasad mentioned this pull request Mar 21, 2024
@github-actions
Copy link
Contributor

github-actions bot commented Mar 21, 2024

size-limit report 📦

Path Size
@sentry/browser (incl. Tracing, Replay, Feedback) - Webpack (gzipped) 80.45 KB (+0.27% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack (gzipped) 71.46 KB (+0.19% 🔺)
@sentry/browser (incl. Tracing, Replay with Canvas) - Webpack (gzipped) 75.47 KB (+0.21% 🔺)
@sentry/browser (incl. Tracing, Replay) - Webpack with treeshaking flags (gzipped) 65.1 KB (+0.2% 🔺)
@sentry/browser (incl. Tracing) - Webpack (gzipped) 35.4 KB (+0.36% 🔺)
@sentry/browser (incl. browserTracingIntegration) - Webpack (gzipped) 35.29 KB (+0.33% 🔺)
@sentry/browser (incl. Feedback) - Webpack (gzipped) 31.49 KB (0%)
@sentry/browser (incl. sendFeedback) - Webpack (gzipped) 31.5 KB (0%)
@sentry/browser - Webpack (gzipped) 22.74 KB (0%)
@sentry/browser (incl. Tracing, Replay, Feedback) - ES6 CDN Bundle (gzipped) 78.55 KB (+0.15% 🔺)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (gzipped) 69.97 KB (+0.2% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (gzipped) 35.77 KB (+0.37% 🔺)
@sentry/browser - ES6 CDN Bundle (gzipped) 25.17 KB (0%)
@sentry/browser (incl. Tracing, Replay) - ES6 CDN Bundle (minified & uncompressed) 220.29 KB (+0.2% 🔺)
@sentry/browser (incl. Tracing) - ES6 CDN Bundle (minified & uncompressed) 108.1 KB (+0.41% 🔺)
@sentry/browser - ES6 CDN Bundle (minified & uncompressed) 75.48 KB (0%)
@sentry/browser (incl. Tracing) - ES5 CDN Bundle (gzipped) 38.99 KB (+0.34% 🔺)
@sentry/react (incl. Tracing, Replay) - Webpack (gzipped) 71.96 KB (+0.2% 🔺)
@sentry/react - Webpack (gzipped) 22.77 KB (0%)
@sentry/nextjs Client (incl. Tracing, Replay) - Webpack (gzipped) 89.8 KB (+0.16% 🔺)
@sentry/nextjs Client - Webpack (gzipped) 53.95 KB (+0.23% 🔺)
@sentry-internal/feedback - Webpack (gzipped) 17.28 KB (0%)

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