diff --git a/CHANGELOG.md b/CHANGELOG.md index f13720a23f..61327a82a0 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,29 @@ # Changelog +## 1.22.0 + +### Various fixes & improvements + +- Add `cache.hit` and `cache.item_size` to Django (#2057) by @antonpirker + + _Note:_ This will add spans for all requests to the caches configured in Django. This will probably add some overhead to your server an also add multiple spans to your performance waterfall diagrams. If you do not want this, you can disable this feature in the DjangoIntegration: + + ```python + sentry_sdk.init( + dsn="...", + integrations=[ + DjangoIntegration(cache_spans=False), + ] + ) + ``` + +- Use `http.method` instead of `method` (#2054) by @AbhiPrasad +- Handle non-int `exc.status_code` in Starlette (#2075) by @sentrivana +- Handle SQLAlchemy `engine.name` being bytes (#2074) by @sentrivana +- Fix `KeyError` in `capture_checkin` if SDK is not initialized (#2073) by @antonpirker +- Use `functools.wrap` for `ThreadingIntegration` patches to fix attributes (#2080) by @EpicWink +- Pin `urllib3` to <2.0.0 for now (#2069) by @sl0thentr0py + ## 1.21.1 ### Various fixes & improvements diff --git a/docs/conf.py b/docs/conf.py index a0d4ad5f33..abc9645413 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -29,7 +29,7 @@ copyright = "2019, Sentry Team and Contributors" author = "Sentry Team and Contributors" -release = "1.21.1" +release = "1.22.0" version = ".".join(release.split(".")[:2]) # The short X.Y version. diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index 16a058c638..3f2f39bc66 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -194,4 +194,4 @@ def _get_default_options(): del _get_default_options -VERSION = "1.21.1" +VERSION = "1.22.0" diff --git a/setup.py b/setup.py index 7940d62d36..a3da84f9cf 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def get_file_text(file_name): setup( name="sentry-sdk", - version="1.21.1", + version="1.22.0", author="Sentry Team and Contributors", author_email="hello@sentry.io", url="https://github.com/getsentry/sentry-python",