Skip to content

Commit 0358263

Browse files
Merge branch 'release/2.62.0'
2 parents afff0e2 + 0bac65a commit 0358263

4 files changed

Lines changed: 62 additions & 3 deletions

File tree

CHANGELOG.md

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

3+
## 2.62.0
4+
5+
### New Features ✨
6+
7+
- Add integration for `aiomysql` by @tonal in [#4703](https://github.com/getsentry/sentry-python/pull/4703)
8+
9+
We're adding support for the `aiomysql` package. To enable the integration, add it to your `integrations` list:
10+
11+
```python
12+
import sentry_sdk
13+
from sentry_sdk.integrations.aiomysql import AioMySQLIntegration
14+
15+
sentry_sdk.init(
16+
traces_sample_rate=1.0,
17+
integrations=[AioMySQLIntegration()],
18+
)
19+
```
20+
21+
- Support HTTPX2 by @sentrivana in [#6463](https://github.com/getsentry/sentry-python/pull/6463)
22+
23+
We're adding out-of-the-box support for HTTPX2. As long as use the package, the Sentry integration
24+
will be enabled automatically and you should see your requests instrumented in Sentry.
25+
26+
```python
27+
import httpx2
28+
import sentry_sdk
29+
30+
sentry_sdk.init(...)
31+
32+
with sentry_sdk.start_transaction(name="testing_sentry"):
33+
httpx2.get("https://sentry.io/")
34+
```
35+
36+
### Bug Fixes 🐛
37+
38+
- (arq) Never capture control flow exceptions by @alexander-alderman-webb in [#6507](https://github.com/getsentry/sentry-python/pull/6507)
39+
- (client) Guard against dotless qualified_name in \_setup_instrumentation by @devteamaegis in [#6452](https://github.com/getsentry/sentry-python/pull/6452)
40+
- (pydantic-ai) Only use hooks when `ModelRequestContext.model` exists by @alexander-alderman-webb in [#6480](https://github.com/getsentry/sentry-python/pull/6480)
41+
- (rq) Restore `functools.wraps()` for patched functions by @alexander-alderman-webb in [#6532](https://github.com/getsentry/sentry-python/pull/6532)
42+
- (tracing_utils) Handle baggage values containing '=' in from_incoming_header by @devteamaegis in [#6450](https://github.com/getsentry/sentry-python/pull/6450)
43+
- (utils) Handle image_url string shorthand in \_is_image_type_with_blob_content by @devteamaegis in [#6478](https://github.com/getsentry/sentry-python/pull/6478)
44+
45+
### Internal Changes 🔧
46+
47+
- (arq) Only pin `fakeredis<2.36.0` in tests by @alexander-alderman-webb in [#6444](https://github.com/getsentry/sentry-python/pull/6444)
48+
- (flaky) Change env for flaky test detector by @sl0thentr0py in [#6492](https://github.com/getsentry/sentry-python/pull/6492)
49+
- (pydantic-ai) Create event loop before invoking sync methods by @alexander-alderman-webb in [#6475](https://github.com/getsentry/sentry-python/pull/6475)
50+
- Use `package-ecosystem: uv` in dependabot by @sentrivana in [#6522](https://github.com/getsentry/sentry-python/pull/6522)
51+
- 🤖 Update test matrix with new releases (06/08) by @github-actions in [#6519](https://github.com/getsentry/sentry-python/pull/6519)
52+
- Raise minimum supported `aiomysql` version and update text matrix by @alexander-alderman-webb in [#6496](https://github.com/getsentry/sentry-python/pull/6496)
53+
- Deprecate OpenTelemetryIntegration in favor of OTLPIntegration and no-op for span first by @sl0thentr0py in [#6494](https://github.com/getsentry/sentry-python/pull/6494)
54+
- 🤖 Update test matrix with new releases (06/03) by @github-actions in [#6489](https://github.com/getsentry/sentry-python/pull/6489)
55+
- Raise `update-tox` timeout to 20 minutes by @alexander-alderman-webb in [#6488](https://github.com/getsentry/sentry-python/pull/6488)
56+
- Prevent `grpcio-tools` source builds when generating test matrices by @alexander-alderman-webb in [#6487](https://github.com/getsentry/sentry-python/pull/6487)
57+
- Add weekly flaky test detector workflow by @sl0thentr0py in [#6484](https://github.com/getsentry/sentry-python/pull/6484)
58+
- Pin transitive dependencies for tests on Python>=3.8 by @alexander-alderman-webb in [#6437](https://github.com/getsentry/sentry-python/pull/6437)
59+
- Install uv in `update-tox` job by @alexander-alderman-webb in [#6453](https://github.com/getsentry/sentry-python/pull/6453)
60+
- Only pin `setuptools` in relevant tests by @alexander-alderman-webb in [#6467](https://github.com/getsentry/sentry-python/pull/6467)
61+
362
## 2.61.1
463

564
### Internal Changes 🔧

docs/conf.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
copyright = "2019-{}, Sentry Team and Contributors".format(datetime.now().year)
3232
author = "Sentry Team and Contributors"
3333

34-
release = "2.61.1"
34+
release = "2.62.0"
3535
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3636

3737

sentry_sdk/consts.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1747,4 +1747,4 @@ def _get_default_options() -> "dict[str, Any]":
17471747
del _get_default_options
17481748

17491749

1750-
VERSION = "2.61.1"
1750+
VERSION = "2.62.0"

setup.py

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

2323
setup(
2424
name="sentry-sdk",
25-
version="2.61.1",
25+
version="2.62.0",
2626
author="Sentry Team and Contributors",
2727
author_email="hello@sentry.io",
2828
url="https://github.com/getsentry/sentry-python",

0 commit comments

Comments
 (0)