From 573d3219053fa5ccccdc9bcca2899ae21afb0b34 Mon Sep 17 00:00:00 2001 From: getsentry-bot Date: Thu, 16 May 2024 08:29:21 +0000 Subject: [PATCH 1/2] release: 2.2.0 --- CHANGELOG.md | 18 ++++++++++++++++++ docs/conf.py | 2 +- sentry_sdk/consts.py | 2 +- setup.py | 2 +- 4 files changed, 21 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index df6c8cfdc1..c33a71cbee 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,23 @@ # Changelog +## 2.2.0 + +### Various fixes & improvements + +- Add tags + data passing functionality to @ai_track (#3071) by @colin-sentry +- feat: Add `last_event_id` to top-level api (#3064) by @szokeasaurusrex +- feat(scope): Add last_event_id to Scope (#3064) by @szokeasaurusrex +- fix(tracing): Only propagate headers from spans within transactions (#3070) by @szokeasaurusrex +- feat(celery): Set "messaging.system" on span (#3024) by @szokeasaurusrex +- feat(celery): Set task ID on span (#3015) by @szokeasaurusrex +- feat: Send Celery retry count (#2971) by @szokeasaurusrex +- feat(celery): Send queue name to Sentry (#2984) by @szokeasaurusrex +- ref(metrics): Improve type hints for set metrics (#3048) by @elramen +- feat(ai-monitoring): Cohere integration (#3055) by @colin-sentry +- ref(scope): Fix `get_client` typing (#3063) by @szokeasaurusrex +- Auto-enable Anthropic integration + gate imports (#3054) by @colin-sentry +- Made MeasurementValue.unit NotRequired (#3051) by @antonpirker + ## 2.1.1 - Fix trace propagation in Celery tasks started by Celery Beat. (#3047) by @antonpirker diff --git a/docs/conf.py b/docs/conf.py index 0f3c483d0b..9f6f87a697 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.1.1" +release = "2.2.0" version = ".".join(release.split(".")[:2]) # The short X.Y version. diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index 6648913e28..1fbe6ff72e 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -488,4 +488,4 @@ def _get_default_options(): del _get_default_options -VERSION = "2.1.1" +VERSION = "2.2.0" diff --git a/setup.py b/setup.py index 6a6917fbe0..a8ba845d6f 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def get_file_text(file_name): setup( name="sentry-sdk", - version="2.1.1", + version="2.2.0", author="Sentry Team and Contributors", author_email="hello@sentry.io", url="https://github.com/getsentry/sentry-python", From 1475b340fd800c7c4b1b9b0554674a369b38ea89 Mon Sep 17 00:00:00 2001 From: Daniel Szoke <7881302+szokeasaurusrex@users.noreply.github.com> Date: Thu, 16 May 2024 10:34:28 +0200 Subject: [PATCH 2/2] meta: Update CHANGELOG.md --- CHANGELOG.md | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c33a71cbee..fd5dcb59a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,18 +2,17 @@ ## 2.2.0 -### Various fixes & improvements +### New features + +- Celery integration now sends additional data to Sentry to enable new features to guage the health of your queues +- Added a new integration for Cohere +- Reintroduced the `last_event_id` function, which had been removed in 2.0.0 + +### Other fixes & improvements - Add tags + data passing functionality to @ai_track (#3071) by @colin-sentry -- feat: Add `last_event_id` to top-level api (#3064) by @szokeasaurusrex -- feat(scope): Add last_event_id to Scope (#3064) by @szokeasaurusrex - fix(tracing): Only propagate headers from spans within transactions (#3070) by @szokeasaurusrex -- feat(celery): Set "messaging.system" on span (#3024) by @szokeasaurusrex -- feat(celery): Set task ID on span (#3015) by @szokeasaurusrex -- feat: Send Celery retry count (#2971) by @szokeasaurusrex -- feat(celery): Send queue name to Sentry (#2984) by @szokeasaurusrex - ref(metrics): Improve type hints for set metrics (#3048) by @elramen -- feat(ai-monitoring): Cohere integration (#3055) by @colin-sentry - ref(scope): Fix `get_client` typing (#3063) by @szokeasaurusrex - Auto-enable Anthropic integration + gate imports (#3054) by @colin-sentry - Made MeasurementValue.unit NotRequired (#3051) by @antonpirker