From ab3eb1f591124f7b6a6d3040986c68da0a0f1d7d Mon Sep 17 00:00:00 2001 From: getsentry-bot Date: Wed, 31 Jul 2024 09:00:45 +0000 Subject: [PATCH 1/3] release: 2.12.0 --- CHANGELOG.md | 27 +++++++++++++++++++++++++++ docs/conf.py | 2 +- sentry_sdk/consts.py | 2 +- setup.py | 2 +- 4 files changed, 30 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 1f811b6d8c..06259bce94 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,32 @@ # Changelog +## 2.12.0 + +### Various fixes & improvements + +- Add span data to the transactions trace context (#3374) by @antonpirker +- ci: Remove Django setuptools pin (#3378) by @szokeasaurusrex +- feat(integrations): Add async support for `ai_track` decorator (#3376) by @czyber +- ref(otel): Remove experimental autoinstrumentation (#3239) by @sentrivana +- build(deps): bump checkouts/data-schemas from `0feb234` to `6d2c435` (#3369) by @dependabot +- tests: Test with Django 5.1 RC (#3370) by @sentrivana +- Expose the scope getters to top level API and use them everywhere (#3357) by @sl0thentr0py +- ci: Workaround bug preventing Django test runs (#3371) by @szokeasaurusrex +- fix(api): `push_scope` deprecation warning (#3355) (#3355) by @szokeasaurusrex +- test(sessions): Replace `push_scope` (#3354) by @szokeasaurusrex +- test(basics): Replace `push_scope` (#3353) by @szokeasaurusrex +- fix(api): Deprecate `configure_scope` (#3351) by @szokeasaurusrex +- test(client): Avoid `configure_scope` (#3350) by @szokeasaurusrex +- test(basics): Stop using `configure_scope` (#3349) by @szokeasaurusrex +- test(celery): Stop using `configure_scope` (#3348) by @szokeasaurusrex +- feat(graphene): Add span for grapqhl operation (#2788) by @czyber +- docs: Document attachment parameters (#3342) by @szokeasaurusrex +- ref(scope): Broaden `add_attachment` type (#3342) by @szokeasaurusrex +- Revert "ci: dependency review action (#3332)" (#3338) by @mdtro +- Gracefully fail attachment path not found case (#3337) by @sl0thentr0py +- build(deps): bump checkouts/data-schemas from `88273a9` to `0feb234` (#3252) by @dependabot +- ci: dependency review action (#3332) by @mdtro + ## 2.11.0 ### Various fixes & improvements diff --git a/docs/conf.py b/docs/conf.py index fc485b9d9a..884b977e7f 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -28,7 +28,7 @@ copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year) author = "Sentry Team and Contributors" -release = "2.11.0" +release = "2.12.0" version = ".".join(release.split(".")[:2]) # The short X.Y version. diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index af36e34b08..82552e4084 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -561,4 +561,4 @@ def _get_default_options(): del _get_default_options -VERSION = "2.11.0" +VERSION = "2.12.0" diff --git a/setup.py b/setup.py index 09b5cb803e..7d4fdebb9d 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def get_file_text(file_name): setup( name="sentry-sdk", - version="2.11.0", + version="2.12.0", author="Sentry Team and Contributors", author_email="hello@sentry.io", url="https://github.com/getsentry/sentry-python", From 441c0f76c1f319ca856cb24bb3b4cc790e526de2 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Wed, 31 Jul 2024 11:08:15 +0200 Subject: [PATCH 2/3] Updated changelog --- CHANGELOG.md | 34 ++++++++++++++-------------------- 1 file changed, 14 insertions(+), 20 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06259bce94..3c741e1224 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,28 +4,22 @@ ### Various fixes & improvements +- API: Expose the scope getters to top level API and use them everywhere (#3357) by @sl0thentr0py +- API: `push_scope` deprecation warning (#3355) (#3355) by @szokeasaurusrex +- API: Replace `push_scope` (#3353, #3354) by @szokeasaurusrex +- API: Deprecate, avoid, or stop using `configure_scope` (#3348, #3349, #3350, #3351) by @szokeasaurusrex +- OTel: Remove experimental autoinstrumentation (#3239) by @sentrivana +- Graphene: Add span for grapqhl operation (#2788) by @czyber +- AI: Add async support for `ai_track` decorator (#3376) by @czyber +- CI: Workaround bug preventing Django test runs (#3371) by @szokeasaurusrex +- CI: Remove Django setuptools pin (#3378) by @szokeasaurusrex +- Tests: Test with Django 5.1 RC (#3370) by @sentrivana +- Broaden `add_attachment` type (#3342) by @szokeasaurusrex - Add span data to the transactions trace context (#3374) by @antonpirker -- ci: Remove Django setuptools pin (#3378) by @szokeasaurusrex -- feat(integrations): Add async support for `ai_track` decorator (#3376) by @czyber -- ref(otel): Remove experimental autoinstrumentation (#3239) by @sentrivana -- build(deps): bump checkouts/data-schemas from `0feb234` to `6d2c435` (#3369) by @dependabot -- tests: Test with Django 5.1 RC (#3370) by @sentrivana -- Expose the scope getters to top level API and use them everywhere (#3357) by @sl0thentr0py -- ci: Workaround bug preventing Django test runs (#3371) by @szokeasaurusrex -- fix(api): `push_scope` deprecation warning (#3355) (#3355) by @szokeasaurusrex -- test(sessions): Replace `push_scope` (#3354) by @szokeasaurusrex -- test(basics): Replace `push_scope` (#3353) by @szokeasaurusrex -- fix(api): Deprecate `configure_scope` (#3351) by @szokeasaurusrex -- test(client): Avoid `configure_scope` (#3350) by @szokeasaurusrex -- test(basics): Stop using `configure_scope` (#3349) by @szokeasaurusrex -- test(celery): Stop using `configure_scope` (#3348) by @szokeasaurusrex -- feat(graphene): Add span for grapqhl operation (#2788) by @czyber -- docs: Document attachment parameters (#3342) by @szokeasaurusrex -- ref(scope): Broaden `add_attachment` type (#3342) by @szokeasaurusrex -- Revert "ci: dependency review action (#3332)" (#3338) by @mdtro - Gracefully fail attachment path not found case (#3337) by @sl0thentr0py -- build(deps): bump checkouts/data-schemas from `88273a9` to `0feb234` (#3252) by @dependabot -- ci: dependency review action (#3332) by @mdtro +- Document attachment parameters (#3342) by @szokeasaurusrex +- Bump checkouts/data-schemas from `0feb234` to `6d2c435` (#3369) by @dependabot +- Bump checkouts/data-schemas from `88273a9` to `0feb234` (#3252) by @dependabot ## 2.11.0 From 2c1e31c5390310ae696108aa135c055452600f43 Mon Sep 17 00:00:00 2001 From: Ivana Kellyer Date: Wed, 31 Jul 2024 14:35:35 +0200 Subject: [PATCH 3/3] meta: Slim down PR template (#3382) Moved the maintainer part to the wiki. --------- Co-authored-by: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com> --- .github/PULL_REQUEST_TEMPLATE.md | 14 ++------------ 1 file changed, 2 insertions(+), 12 deletions(-) diff --git a/.github/PULL_REQUEST_TEMPLATE.md b/.github/PULL_REQUEST_TEMPLATE.md index 41dfc484ff..f0002fe486 100644 --- a/.github/PULL_REQUEST_TEMPLATE.md +++ b/.github/PULL_REQUEST_TEMPLATE.md @@ -2,16 +2,6 @@ --- -## General Notes +Thank you for contributing to `sentry-python`! Please add tests to validate your changes, and lint your code using `tox -e linters`. -Thank you for contributing to `sentry-python`! - -Please add tests to validate your changes, and lint your code using `tox -e linters`. - -Running the test suite on your PR might require maintainer approval. Some tests (AWS Lambda) additionally require a maintainer to add a special label to run and will fail if the label is not present. - -#### For maintainers - -Sensitive test suites require maintainer review to ensure that tests do not compromise our secrets. This review must be repeated after any code revisions. - -Before running sensitive test suites, please carefully check the PR. Then, apply the `Trigger: tests using secrets` label. The label will be removed after any code changes to enforce our policy requiring maintainers to review all code revisions before running sensitive tests. +Running the test suite on your PR might require maintainer approval. The AWS Lambda tests additionally require a maintainer to add a special label, and they will fail until this label is added.