From c45640b5e63cb60d8cc4ff8074459c7d1abeffe0 Mon Sep 17 00:00:00 2001 From: getsentry-bot Date: Mon, 15 Jul 2024 10:02:17 +0000 Subject: [PATCH] release: 2.10.0 --- CHANGELOG.md | 22 ++++++++++++++++++++++ docs/conf.py | 2 +- sentry_sdk/consts.py | 2 +- setup.py | 2 +- 4 files changed, 25 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 63ef926b32..aabfbb8557 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,27 @@ # Changelog +## 2.10.0 + +### Various fixes & improvements + +- feat(openai): Make tiktoken encoding name configurable + tiktoken usage opt-in (#3289) by @colin-sentry +- feat(pymongo): Send query description as valid JSON (#3291) by @0Calories +- OpenAI: Lazy initialize tiktoken to avoid http at import time (#3287) by @colin-sentry +- ref(consts): Remove Python 2 compatibility code (#3284) by @szokeasaurusrex +- docs(init): Fix `sentry_sdk.init` type hint (#3283) by @szokeasaurusrex +- Add the client cert and key support to HttpTransport (#3258) by @grammy-jiang +- ref(profiling): Deprecate `hub` in `Profile` (#3270) by @szokeasaurusrex +- ref(init): Stop using `Hub` in `init` (#3275) by @szokeasaurusrex +- ref(hub): Delete `_should_send_default_pii` (#3274) by @szokeasaurusrex +- test: Remove `Hub` usage in `conftest` (#3273) by @szokeasaurusrex +- ref(debug): Rename debug logging filter (#3260) by @szokeasaurusrex +- ref(tracing): Update `NoOpSpan.finish` signature (#3267) by @szokeasaurusrex +- ref(tracing): Remove `Hub` in `Transaction.finish` (#3267) by @szokeasaurusrex +- ref: Remove Hub from `capture_internal_exception` logic (#3264) by @szokeasaurusrex +- ref(scope): Improve `Scope._capture_internal_exception` type hint (#3264) by @szokeasaurusrex +- ref(types): Correct `ExcInfo` type (#3266) by @szokeasaurusrex +- ref: Stop using `Hub` in `tracing_utils` (#3269) by @szokeasaurusrex + ## 2.9.0 ### Various fixes & improvements diff --git a/docs/conf.py b/docs/conf.py index c63bee4665..ed2fe5b452 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.9.0" +release = "2.10.0" version = ".".join(release.split(".")[:2]) # The short X.Y version. diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index 63b402d040..b4d30cd24a 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -562,4 +562,4 @@ def _get_default_options(): del _get_default_options -VERSION = "2.9.0" +VERSION = "2.10.0" diff --git a/setup.py b/setup.py index 0d412627b5..f419737d36 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def get_file_text(file_name): setup( name="sentry-sdk", - version="2.9.0", + version="2.10.0", author="Sentry Team and Contributors", author_email="hello@sentry.io", url="https://github.com/getsentry/sentry-python",