Skip to content

Commit d845ee3

Browse files
merge
2 parents b5d8b87 + dcd94ed commit d845ee3

File tree

17 files changed

+171
-141
lines changed

17 files changed

+171
-141
lines changed

.github/workflows/test-integrations-common.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14t"]
32+
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
3333
# python3.6 reached EOL and is no longer being supported on
3434
# new versions of hosted runners on Github Actions
3535
# ubuntu-20.04 is the last version that supported python3.6

.github/workflows/test-integrations-misc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
32+
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
3333
# python3.6 reached EOL and is no longer being supported on
3434
# new versions of hosted runners on Github Actions
3535
# ubuntu-20.04 is the last version that supported python3.6

.github/workflows/test-integrations-web-2.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ jobs:
2929
strategy:
3030
fail-fast: false
3131
matrix:
32-
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13"]
32+
python-version: ["3.6","3.7","3.8","3.9","3.10","3.11","3.12","3.13","3.14","3.14t"]
3333
# python3.6 reached EOL and is no longer being supported on
3434
# new versions of hosted runners on Github Actions
3535
# ubuntu-20.04 is the last version that supported python3.6

CHANGELOG.md

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

3+
## 2.42.1
4+
5+
### Various fixes & improvements
6+
7+
- fix(gcp): Inject scopes in TimeoutThread exception with GCP (#4959) by @alexander-alderman-webb
8+
- fix(aws): Inject scopes in TimeoutThread exception with AWS lambda (#4914) by @alexander-alderman-webb
9+
- fix(ai): add message trunction to anthropic (#4953) by @shellmayr
10+
- fix(ai): add message truncation to langgraph (#4954) by @shellmayr
11+
- fix: Default breadcrumbs value for events without breadcrumbs (#4952) by @alexander-alderman-webb
12+
- fix(ai): add message truncation in langchain (#4950) by @shellmayr
13+
- fix(ai): correct size calculation, rename internal property for message truncation & add test (#4949) by @shellmayr
14+
- fix(ai): introduce message truncation for openai (#4946) by @shellmayr
15+
- fix(openai): Use non-deprecated Pydantic method to extract response text (#4942) by @JasonLovesDoggo
16+
- ci: 🤖 Update test matrix with new releases (10/16) (#4945) by @github-actions
17+
- Handle ValueError in scope resets (#4928) by @sl0thentr0py
18+
- fix(litellm): Classify embeddings correctly (#4918) by @alexander-alderman-webb
19+
- Generalize NOT_GIVEN check with omit for openai (#4926) by @sl0thentr0py
20+
- ⚡️ Speed up function `_get_db_span_description` (#4924) by @misrasaurabh1
21+
322
## 2.42.0
423

524
### Various fixes & improvements

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.42.0"
34+
release = "2.42.1"
3535
version = ".".join(release.split(".")[:2]) # The short X.Y version.
3636

3737

scripts/populate_tox/config.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@
4848
"package": "apache-beam",
4949
"python": ">=3.7",
5050
"num_versions": 2,
51+
"deps": {
52+
"*": ["dill"],
53+
},
5154
},
5255
"boto3": {
5356
"package": "boto3",

scripts/populate_tox/releases.jsonl

Lines changed: 16 additions & 16 deletions
Large diffs are not rendered by default.

scripts/populate_tox/tox.jinja

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -18,15 +18,15 @@ requires =
1818
virtualenv<20.26.3
1919
envlist =
2020
# === Common ===
21-
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,py3.12,py3.13,py3.14t}-common
21+
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11,py3.12,py3.13,py3.14,py3.14t}-common
2222

2323
# === Gevent ===
2424
{py3.6,py3.8,py3.10,py3.11,py3.12}-gevent
2525

2626
# === Integrations ===
2727

2828
# Asgi
29-
{py3.7,py3.12,py3.13}-asgi
29+
{py3.7,py3.12,py3.13,py3.14,py3.14t}-asgi
3030

3131
# AWS Lambda
3232
{py3.8,py3.9,py3.11,py3.13}-aws_lambda
@@ -38,7 +38,7 @@ envlist =
3838
{py3.7}-gcp
3939

4040
# OpenTelemetry (OTel)
41-
{py3.7,py3.9,py3.12,py3.13}-opentelemetry
41+
{py3.7,py3.9,py3.12,py3.13,py3.14,py3.14t}-opentelemetry
4242

4343
# OpenTelemetry Experimental (POTel)
4444
{py3.8,py3.9,py3.10,py3.11,py3.12,py3.13}-potel
@@ -74,7 +74,7 @@ deps =
7474
# and https://github.com/pytest-dev/pytest-forked/issues/67
7575
# for justification of the upper bound on pytest
7676
{py3.6,py3.7}-common: pytest<7.0.0
77-
{py3.8,py3.9,py3.10,py3.11,py3.12,py3.13}-common: pytest
77+
{py3.8,py3.9,py3.10,py3.11,py3.12,py3.13,py3.14,py3.14t}-common: pytest
7878
7979
# === Gevent ===
8080
{py3.6,py3.7,py3.8,py3.9,py3.10,py3.11}-gevent: gevent>=22.10.0, <22.11.0
@@ -177,6 +177,8 @@ basepython =
177177
py3.11: python3.11
178178
py3.12: python3.12
179179
py3.13: python3.13
180+
py3.14: python3.14
181+
py3.14t: python3.14t
180182
181183
# Python version is pinned here for consistency across environments.
182184
# Tools like ruff and mypy have options that pin the target Python

sentry_sdk/consts.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -909,7 +909,7 @@ def __init__(
909909
error_sampler=None, # type: Optional[Callable[[Event, Hint], Union[float, bool]]]
910910
enable_db_query_source=True, # type: bool
911911
db_query_source_threshold_ms=100, # type: int
912-
enable_http_request_source=False, # type: bool
912+
enable_http_request_source=True, # type: bool
913913
http_request_source_threshold_ms=100, # type: int
914914
spotlight=None, # type: Optional[Union[bool, str]]
915915
cert_file=None, # type: Optional[str]
@@ -1348,4 +1348,4 @@ def _get_default_options():
13481348
del _get_default_options
13491349

13501350

1351-
VERSION = "2.42.0"
1351+
VERSION = "2.42.1"

sentry_sdk/tracing_utils.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -330,7 +330,7 @@ def add_http_request_source(span):
330330
if span.timestamp is None or span.start_timestamp is None:
331331
return
332332

333-
should_add_request_source = client.options.get("enable_http_request_source", False)
333+
should_add_request_source = client.options.get("enable_http_request_source", True)
334334
if not should_add_request_source:
335335
return
336336

0 commit comments

Comments
 (0)