Repository navigation
chore: Merge master into develop - #26993
Merged
Merged
Conversation
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
meta(changelog): Update changelog for 11.21.0
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
chargome
marked this pull request as ready for review
November 30, 2026 13:12
chargome
marked this pull request as draft
November 30, 2026 13:13
| { | ||
| "name": "@sentry/cloudflare", | ||
| "version": "11.20.0", | ||
| "version": "11.21.0", |
There was a problem hiding this comment.
Cloudflare pins the rewriter below the version needed for Babel-memoized Agent detection
Published @sentry/cloudflare consumers get @sentry/bundler-plugins@11.20.0, which does not handle Babel’s extends (_Agent = Agent) superclass form. The Vite plugin then treats a configured Agent as a generic Durable Object and omits Agent-specific instrumentation; pin the dependency to 11.21.0.
Evidence
packages/cloudflare/package.json:56pins@sentry/bundler-pluginsto11.20.0; the lockfile retains that specifier but links to the workspace package, masking the published dependency mismatch in local builds.- Cloudflare’s
moduleShape.tsre-exportsshapeFromAstfrom the rewriter.detectAgentClassesuses it to identify Agents, andtransform.tsupgrades a configured Durable Object to the Agent wrapper only when detection succeeds. - The 11.21.0 changelog records the rewriter fix for reading a class base through an assignment and the Cloudflare fix for Babel-memoized Agent superclasses.
packages/cloudflare/test/vite/agentClass.test.tsexercisesextends (_Agent = Agent), confirming the case the 11.20.0 dependency misses.
Also found at 1 additional location
packages/cloudflare/package.json:56-56
Identified by Warden · code-review · N4W-BLX
Bumps the `@sentry/bundler-plugins` dependency that #26102 added to `@sentry/cloudflare` from 11.20.0 to 11.21.0, so it keeps linking the workspace package. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Contributor
Optional E2E testsAll optional checks were successful. 65 successful. See the run. Successful checks
|
Contributor
size-limit report 📦Compared: 2b9653d (PR test merge using develop at 8d1de95) Against: 8d1de95 (develop) · base run #68340 ✅ Baseline matches: this diff contains only this PR's changes.
|
JPeer264
approved these changes
Nov 30, 2026
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Manual replacement for #26990, which conflicted. The
@sentry/conventions0.37.0 bump (#26963) changed the lines next to the 11.21.0 version bump in eachpackage.json, and the external-contributor line (#26984) was already in the 11.21.0 changelog. I kept the release versions from master and everything else from develop. Merge this with a merge commit, not a squash.