Skip to content

chore(generate): Remove deprecated attributes JSON generation - #404

Merged
mjq merged 1 commit into
mainfrom
mjq/remove-deprecation-json-script
May 29, 2026
Merged

mjq merged 1 commit into
mainfrom
mjq/remove-deprecation-json-script

Conversation

@mjq

@mjq mjq commented May 29, 2026

Copy link
Copy Markdown
Member

scripts/generate_deprecated_attributes_json.ts generates a JSON file containing mappings between attributes and their deprecations.

The only user of this JSON file was Sentry, and it had to be copied manually whenever the conventions library was updated. With getsentry/sentry#116399 Sentry no longer reads from this JSON file, instead using the sentry-conventions Python package directly.

Remove the script and generated file.

@mjq
mjq requested review from a team, Lms24, cleptric and nsdeschenes as code owners May 29, 2026 14:01
@github-actions

Copy link
Copy Markdown

Semver Impact of This PR

🟢 Patch (bug fixes)

📋 Changelog Preview

This is how your changes will appear in the changelog.
Entries from this PR are highlighted with a left border (blockquote style).


New Features ✨

Docs

  • Add links to deprecated and aliased attributes by Lms24 in #396
  • Add filtering capability by nsdeschenes in #395

Bug Fixes 🐛

  • Change type of sentry.dsc.project_id to string by elramen in #400

Internal Changes 🔧

  • (generate) Remove deprecated attributes JSON generation by mjq in #404
  • (publish) Automatically add PR numbers to attribute changelogs by Lms24 in #402

🤖 This preview updates automatically when you update the PR.

@mjq
mjq merged commit 5f139ed into main May 29, 2026
15 checks passed
@mjq
mjq deleted the mjq/remove-deprecation-json-script branch May 29, 2026 14:12
markushi added a commit that referenced this pull request May 29, 2026
Resolve conflict in shared/deprecated_attributes.json by accepting its
deletion (main removed the deprecated-attributes JSON generation in #404).
Regenerate JS/Python attribute code and docs.

Co-Authored-By: Claude Opus 4.8 <[email protected]>
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.

2 participants