Skip to content

Commit c267ef4

Browse files
author
getsentry-bot
committed
Merge branch 'release/1.22.0'
2 parents efa55d3 + 917ef8f commit c267ef4

File tree

4 files changed

+27
-3
lines changed

4 files changed

+27
-3
lines changed

CHANGELOG.md

Lines changed: 24 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,29 @@
11
# Changelog
22

3+
## 1.22.0
4+
5+
### Various fixes & improvements
6+
7+
- Add `cache.hit` and `cache.item_size` to Django (#2057) by @antonpirker
8+
9+
_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:
10+
11+
```python
12+
sentry_sdk.init(
13+
dsn="...",
14+
integrations=[
15+
DjangoIntegration(cache_spans=False),
16+
]
17+
)
18+
```
19+
20+
- Use `http.method` instead of `method` (#2054) by @AbhiPrasad
21+
- Handle non-int `exc.status_code` in Starlette (#2075) by @sentrivana
22+
- Handle SQLAlchemy `engine.name` being bytes (#2074) by @sentrivana
23+
- Fix `KeyError` in `capture_checkin` if SDK is not initialized (#2073) by @antonpirker
24+
- Use `functools.wrap` for `ThreadingIntegration` patches to fix attributes (#2080) by @EpicWink
25+
- Pin `urllib3` to <2.0.0 for now (#2069) by @sl0thentr0py
26+
327
## 1.21.1
428

529
### Various fixes & improvements

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@
2929
copyright = "2019, Sentry Team and Contributors"
3030
author = "Sentry Team and Contributors"
3131

32-
release = "1.21.1"
32+
release = "1.22.0"
3333
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3434

3535

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,4 +194,4 @@ def _get_default_options():
194194
del _get_default_options
195195

196196

197-
VERSION = "1.21.1"
197+
VERSION = "1.22.0"

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ def get_file_text(file_name):
2121

2222
setup(
2323
name="sentry-sdk",
24-
version="1.21.1",
24+
version="1.22.0",
2525
author="Sentry Team and Contributors",
2626
author_email="[email protected]",
2727
url="https://github.com/getsentry/sentry-python",

0 commit comments

Comments
 (0)