Skip to content

Commit 6b0ad1a

Browse files
author
getsentry-bot
committed
Merge branch 'release/1.21.0'
2 parents f106906 + 1aa5788 commit 6b0ad1a

File tree

4 files changed

+38
-3
lines changed

4 files changed

+38
-3
lines changed

Diff for: CHANGELOG.md

+35
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,40 @@
11
# Changelog
22

3+
## 1.21.0
4+
5+
### Various fixes & improvements
6+
7+
- Better handling of redis span/breadcrumb data (#2033) by @antonpirker
8+
9+
_Note:_ With this release we will limit the description of redis db spans and the data in breadcrumbs represting redis db operations to 1024 characters.
10+
11+
This can can lead to truncated data. If you do not want this there is a new parameter `max_data_size` in `RedisIntegration`. You can set this to `None` for disabling trimming.
12+
13+
Example for **disabling** trimming of redis commands in spans or breadcrumbs:
14+
15+
```python
16+
sentry_sdk.init(
17+
integrations=[
18+
RedisIntegration(max_data_size=None),
19+
]
20+
)
21+
```
22+
23+
Example for custom trim size of redis commands in spans or breadcrumbs:
24+
25+
```python
26+
sentry_sdk.init(
27+
integrations=[
28+
RedisIntegration(max_data_size=50),
29+
]
30+
)`
31+
32+
```
33+
34+
- Add `db.system` to redis and SQLAlchemy db spans (#2037, #2038, #2039) (#2037) by @AbhiPrasad
35+
- Upgraded linting tooling (#2026) by @antonpirker
36+
- Made code more resilient. (#2031) by @antonpirker
37+
338
## 1.20.0
439

540
### Various fixes & improvements

Diff for: docs/conf.py

+1-1
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.20.0"
32+
release = "1.21.0"
3333
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3434

3535

Diff for: sentry_sdk/consts.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -170,4 +170,4 @@ def _get_default_options():
170170
del _get_default_options
171171

172172

173-
VERSION = "1.20.0"
173+
VERSION = "1.21.0"

Diff for: setup.py

+1-1
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.20.0",
24+
version="1.21.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)