Repository navigation
add the sentry sdk changelog sources #229
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
base: pl4-changelog-stripe
Are you sure you want to change the base?
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,30 @@ | ||
| package changelog | ||
|
|
||
| import "github.com/patch-it-dev/patch-it-plugins/core/plugin" | ||
|
|
||
| func init() { | ||
| const page = "providers/sentry-sdks.md" | ||
| plugin.RegisterProvider(plugin.Provider{ | ||
| ID: "sentry", Name: "Sentry", Category: plugin.CategoryMonitoring, Homepage: "https://sentry.io", | ||
| Sources: []plugin.Source{ | ||
| sdk(page, "python-changelog", SentryPython, "pypi:sentry-sdk"), | ||
| sdk(page, "javascript-changelog", SentryJavaScript, "npm:@sentry/node", "npm:@sentry/browser"), | ||
| sdk(page, "go", SentryGo, "go:github.com/getsentry/sentry-go"), | ||
| sdk(page, "dotnet", SentryDotnet, "nuget:Sentry"), | ||
| }, | ||
| }) | ||
| } | ||
|
|
||
| // Sentry's SDKs: CHANGELOG.md, "## X.Y.Z", with "### Breaking Changes" / | ||
| // "### Removed" / "### Deprecations" sections or conventional-commit bullets | ||
| // ("feat(core)!: Remove `x`"); tagged X.Y.Z, except sentry-go's vX.Y.Z. | ||
| var ( | ||
| SentryPython = File{API: "sentry/python-changelog", Package: "sentry-sdk", Ecosystem: "pypi", Module: "sentry_sdk", | ||
| Repo: "getsentry/sentry-python", Path: "CHANGELOG.md"} | ||
| SentryJavaScript = File{API: "sentry/javascript-changelog", Package: "@sentry/node", Ecosystem: "npm", | ||
| Repo: "getsentry/sentry-javascript", Path: "CHANGELOG.md"} | ||
| SentryGo = File{API: "sentry/go", Package: "github.com/getsentry/sentry-go", Ecosystem: "go", Module: "sentry", | ||
| Repo: "getsentry/sentry-go", TagPrefix: "v", Path: "CHANGELOG.md"} | ||
| SentryDotnet = File{API: "sentry/dotnet", Package: "Sentry", Ecosystem: "nuget", | ||
| Repo: "getsentry/sentry-dotnet", Path: "CHANGELOG.md"} | ||
| ) |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,12 @@ | ||
| package changelog | ||
|
|
||
| import "testing" | ||
|
|
||
| func TestSentrySDKs(t *testing.T) { | ||
| checkSDKs(t, []sdkCase{ | ||
| {SentryPython, "2.0.0", "1.45.1", "sentry-python-changelog-2.0.0-CHANGELOG.md", "", "1.45.0"}, | ||
| {SentryJavaScript, "10.0.0", "9.47.2", "sentry-javascript-changelog-10.0.0-CHANGELOG.md", "", "9.40.0"}, | ||
| {SentryGo, "0.31.0", "0.30.0", "sentry-go-0.31.0-CHANGELOG.md", "", "0.30.0"}, | ||
| {SentryDotnet, "4.0.0", "3.41.4", "sentry-dotnet-4.0.0-CHANGELOG.md", "", "3.41.4"}, | ||
| }) | ||
| } |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,52 @@ | ||
| [ | ||
| { | ||
| "id": 1, | ||
| "fingerprint": "sha256:0f44b1e48ef9b130605c09c38f207a5b580f7ed6b0c2a05c906b83dc7ad76388", | ||
| "api": "sentry/dotnet", | ||
| "version": "4.0.0", | ||
| "previous_version": "3.41.4", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "nuget", | ||
| "package": "Sentry", | ||
| "change": "renamed_symbol", | ||
| "symbols": [ | ||
| "ITransaction" | ||
| ], | ||
| "replacement": "ITransactionTracer" | ||
| }, | ||
| "description": "`ITransaction` was renamed to `ITransactionTracer` in Sentry 4.0.0: code using the old name fails.", | ||
| "migration_hint": "`ITransaction` has been renamed to `ITransactionTracer`. You will need to update any references to these interfaces in your code to use the new interface names ([#2731](https://github.com/getsentry/sentry-dotnet/pull/2731), [#2870](https://github.com/getsentry/sentry-dotnet/pull/2870)) (Sentry's changelog for 4.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-dotnet/4.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 4.0.0\nAPI breaking Changes\n- `ITransaction` has been renamed to `ITransactionTracer`. You will need to update any references to these interfaces in your code to use the new interface names ([#2731](https://github.com/getsentry/sentry-dotnet/pull/2731), [#2870](https://github.com/getsentry/sentry-dotnet/pull/2870))", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 2, | ||
| "fingerprint": "sha256:c2e3c53d050a43c913df5961fc5e32dd38251a8591ad9592599e1ac2f274e61c", | ||
| "api": "sentry/dotnet", | ||
| "version": "4.0.0", | ||
| "previous_version": "3.41.4", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "nuget", | ||
| "package": "Sentry", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "WithScope", | ||
| "WithScopeAsync" | ||
| ] | ||
| }, | ||
| "description": "`WithScope`, `WithScopeAsync` were removed in Sentry 4.0.0: code using it fails.", | ||
| "migration_hint": "The `WithScope` and `WithScopeAsync` methods have been removed. We have discovered that these methods didn't work correctly in certain desktop contexts, especially when using a global scope. ([#2717](https://github.com/getsentry/sentry-dotnet/pull/2717)) (Sentry's changelog for 4.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-dotnet/4.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 4.0.0\nAPI breaking Changes\n- The `WithScope` and `WithScopeAsync` methods have been removed. We have discovered that these methods didn't work correctly in certain desktop contexts, especially when using a global scope. ([#2717](https://github.com/getsentry/sentry-dotnet/pull/2717))", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| } | ||
| ] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,26 @@ | ||
| [ | ||
| { | ||
| "id": 1, | ||
| "fingerprint": "sha256:b9934e7cf2ed5fce3e47a8dcccab92ee4b04c4b4fe555a45643237bb667985ff", | ||
| "api": "sentry/go", | ||
| "version": "0.31.0", | ||
| "previous_version": "0.30.0", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "go", | ||
| "package": "github.com/getsentry/sentry-go", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "User.Segment" | ||
| ] | ||
| }, | ||
| "description": "`User.Segment` was removed in github.com/getsentry/sentry-go 0.31.0: code using it fails.", | ||
| "migration_hint": "Remove `Segment` field from the `User` struct. This field is no longer used in the Sentry product. ([#928](https://github.com/getsentry/sentry-go/pull/928)) (github.com/getsentry/sentry-go's changelog for 0.31.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-go/v0.31.0/CHANGELOG.md", | ||
| "source_excerpt": "## 0.31.0\nBreaking Changes\n- Remove `Segment` field from the `User` struct. This field is no longer used in the Sentry product. ([#928](https://github.com/getsentry/sentry-go/pull/928))", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| } | ||
| ] |
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,50 @@ | ||
| [ | ||
| { | ||
| "id": 1, | ||
| "fingerprint": "sha256:56f85aa1cf74a8a8d04b37f117e24c3545011d733459d9f04195be526598fe1d", | ||
| "api": "sentry/javascript-changelog", | ||
| "version": "10.0.0", | ||
| "previous_version": "9.47.2", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "npm", | ||
| "package": "@sentry/node", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "BaseClient" | ||
| ] | ||
| }, | ||
| "description": "`BaseClient` was removed in @sentry/node 10.0.0: code using it fails.", | ||
| "migration_hint": "feat(core)!: Remove `BaseClient` ([#17071](https://github.com/getsentry/sentry-javascript/pull/17071)) (@sentry/node's changelog for 10.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-javascript/10.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 10.0.0\nBreaking Changes\n- feat(core)!: Remove `BaseClient` ([#17071](https://github.com/getsentry/sentry-javascript/pull/17071))", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 2, | ||
| "fingerprint": "sha256:b30cd0ae134c24563f30f8467e081143808401e8218d929b741564ab8a0efa0f", | ||
| "api": "sentry/javascript-changelog", | ||
| "version": "10.0.0", | ||
| "previous_version": "9.47.2", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "npm", | ||
| "package": "@sentry/node", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "hasTracingEnabled" | ||
| ] | ||
| }, | ||
| "description": "`hasTracingEnabled` was removed in @sentry/node 10.0.0: code using it fails.", | ||
| "migration_hint": "feat(core)!: Remove `hasTracingEnabled` ([#17072](https://github.com/getsentry/sentry-javascript/pull/17072)) (@sentry/node's changelog for 10.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-javascript/10.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 10.0.0\nBreaking Changes\n- feat(core)!: Remove `hasTracingEnabled` ([#17072](https://github.com/getsentry/sentry-javascript/pull/17072))", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| } | ||
| ] | ||
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,194 @@ | ||
| [ | ||
| { | ||
| "id": 1, | ||
| "fingerprint": "sha256:f0c7d39b5f7637c7ff0fa723b2600b82acea056fca8dd0e00461c323b93cfd92", | ||
| "api": "sentry/python-changelog", | ||
| "version": "2.0.0", | ||
| "previous_version": "1.45.1", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "pypi", | ||
| "package": "sentry-sdk", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "tracing.Span.new_span" | ||
| ] | ||
| }, | ||
| "description": "`tracing.Span.new_span` was removed in sentry-sdk 2.0.0: code using it fails.", | ||
| "migration_hint": "Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead. (sentry-sdk's changelog for 2.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 2.0.0\nRemoved\n- Removed `sentry_sdk.tracing.Span.new_span`. Use `sentry_sdk.tracing.Span.start_child` instead.", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 2, | ||
| "fingerprint": "sha256:3e2dd515421c964b45beeb1d408742904a22f2734f16400cd4dd7d3deb161b39", | ||
| "api": "sentry/python-changelog", | ||
| "version": "2.0.0", | ||
| "previous_version": "1.45.1", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "pypi", | ||
| "package": "sentry-sdk", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "tracing.Transaction.new_span" | ||
| ] | ||
| }, | ||
| "description": "`tracing.Transaction.new_span` was removed in sentry-sdk 2.0.0: code using it fails.", | ||
| "migration_hint": "Removed `sentry_sdk.tracing.Transaction.new_span`. Use `sentry_sdk.tracing.Transaction.start_child` instead. (sentry-sdk's changelog for 2.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 2.0.0\nRemoved\n- Removed `sentry_sdk.tracing.Transaction.new_span`. Use `sentry_sdk.tracing.Transaction.start_child` instead.", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 3, | ||
| "fingerprint": "sha256:1eda15f0db1d4c4b77515fad862379d9e5dde46a6599b2112366b81432a835ab", | ||
| "api": "sentry/python-changelog", | ||
| "version": "2.0.0", | ||
| "previous_version": "1.45.1", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "pypi", | ||
| "package": "sentry-sdk", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "utils.Auth.store_api_url" | ||
| ] | ||
| }, | ||
| "description": "`utils.Auth.store_api_url` was removed in sentry-sdk 2.0.0: code using it fails.", | ||
| "migration_hint": "Removed `sentry_sdk.utils.Auth.store_api_url`. (sentry-sdk's changelog for 2.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 2.0.0\nRemoved\n- Removed `sentry_sdk.utils.Auth.store_api_url`.", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 4, | ||
| "fingerprint": "sha256:e7bf8f003f2bc635b49dda1611d52077b42ee8239ab466e79341dbfa7d4e289c", | ||
| "api": "sentry/python-changelog", | ||
| "version": "2.0.0", | ||
| "previous_version": "1.45.1", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "pypi", | ||
| "package": "sentry-sdk", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "tracing_utils_py2.py" | ||
|
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. Wrong symbol in this event. I'd drop it. The simplest way is to have the shared classifier ( |
||
| ] | ||
| }, | ||
| "description": "`tracing_utils_py2.py` was removed in sentry-sdk 2.0.0: code using it fails.", | ||
| "migration_hint": "Removed `tracing_utils_py2.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`. (sentry-sdk's changelog for 2.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 2.0.0\nRemoved\n- Removed `tracing_utils_py2.py`. The `start_child_span_decorator` is now in `sentry_sdk.tracing_utils`.", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 5, | ||
| "fingerprint": "sha256:3907408c839ca3323d9d3618c649c1ecb3ab9341022e4da40fed5f2ef788655f", | ||
| "api": "sentry/python-changelog", | ||
| "version": "2.0.0", | ||
| "previous_version": "1.45.1", | ||
| "change_type": "breaking", | ||
| "breaking": true, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "pypi", | ||
| "package": "sentry-sdk", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "profiler.Scheduler.stop_profiling" | ||
| ] | ||
| }, | ||
| "description": "`profiler.Scheduler.stop_profiling` was removed in sentry-sdk 2.0.0: code using it fails.", | ||
| "migration_hint": "Removed the `sentry_sdk.profiler.Scheduler.stop_profiling` method. Any calls to this method can simply be removed, since this was a no-op method. (sentry-sdk's changelog for 2.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 2.0.0\nRemoved\n- Removed the `sentry_sdk.profiler.Scheduler.stop_profiling` method. Any calls to this method can simply be removed, since this was a no-op method.", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 6, | ||
| "fingerprint": "sha256:267c491f2b9d0d8aecfc5322d8bc8361cd4325bcdfe89e083d22d36f95b783ac", | ||
| "api": "sentry/python-changelog", | ||
| "version": "2.0.0", | ||
| "previous_version": "1.45.1", | ||
| "change_type": "deprecation", | ||
| "breaking": false, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "pypi", | ||
| "package": "sentry-sdk", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "configure_scope" | ||
| ] | ||
| }, | ||
| "description": "`configure_scope` is deprecated in sentry-sdk 2.0.0: a later release may remove it.", | ||
| "migration_hint": "`configure_scope` is deprecated. Use the new isolation scope directly via `Scope.get_isolation_scope()` instead. (sentry-sdk's changelog for 2.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 2.0.0\nDeprecated\n- `configure_scope` is deprecated. Use the new isolation scope directly via `Scope.get_isolation_scope()` instead.", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 7, | ||
| "fingerprint": "sha256:50850b1709f2eb184c4c9c06ca7e03526b392d864286ad444696bea22dd27302", | ||
| "api": "sentry/python-changelog", | ||
| "version": "2.0.0", | ||
| "previous_version": "1.45.1", | ||
| "change_type": "deprecation", | ||
| "breaking": false, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "pypi", | ||
| "package": "sentry-sdk", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "push_scope" | ||
| ] | ||
| }, | ||
| "description": "`push_scope` is deprecated in sentry-sdk 2.0.0: a later release may remove it.", | ||
| "migration_hint": "`push_scope` is deprecated. Use the new `new_scope` context manager to fork the necessary scopes. (sentry-sdk's changelog for 2.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 2.0.0\nDeprecated\n- `push_scope` is deprecated. Use the new `new_scope` context manager to fork the necessary scopes.", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| }, | ||
| { | ||
| "id": 8, | ||
| "fingerprint": "sha256:2c94e0b51f757d22c715faac37426deb5f991e822636564ff18f87449121719c", | ||
| "api": "sentry/python-changelog", | ||
| "version": "2.0.0", | ||
| "previous_version": "1.45.1", | ||
| "change_type": "deprecation", | ||
| "breaking": false, | ||
| "subject": { | ||
| "type": "package_release", | ||
| "ecosystem": "pypi", | ||
| "package": "sentry-sdk", | ||
| "change": "removed_symbol", | ||
| "symbols": [ | ||
| "transport.Transport.capture_event" | ||
| ] | ||
| }, | ||
| "description": "`transport.Transport.capture_event` is deprecated in sentry-sdk 2.0.0: a later release may remove it.", | ||
| "migration_hint": "Deprecated `sentry_sdk.transport.Transport.capture_event`. Please use `sentry_sdk.transport.Transport.capture_envelope`, instead. (sentry-sdk's changelog for 2.0.0)", | ||
| "source_url": "https://raw.githubusercontent.com/getsentry/sentry-python/2.0.0/CHANGELOG.md", | ||
| "source_excerpt": "## 2.0.0\nDeprecated\n- Deprecated `sentry_sdk.transport.Transport.capture_event`. Please use `sentry_sdk.transport.Transport.capture_envelope`, instead.", | ||
| "confidence": 1, | ||
| "detected_at": "2026-11-14T12:00:00Z" | ||
| } | ||
| ] | ||
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Please check which package these removals belong to. Both bullets are
feat(core)!, so they're removals from@sentry/core. These events, though, name@sentry/node, and the registration also claimsnpm:@sentry/browser, which no event ever carries.If
BaseClientandhasTracingEnabledwere not exported from@sentry/node9.x, these events tell@sentry/nodeusers something that doesn't apply to them, and miss the users who import them from@sentry/core. Could you confirm against@sentry/[email protected]'s exports (itsindex.d.ts) and say what you found in the PR? If they weren't re-exported, the attribution needs fixing. One option is to covernpm:@sentry/coreas well and set the package from the bullet's scope; the other is to drop(core)!bullets for this source.