Skip to content

Commit c308cfc

Browse files
committed
Updated changelog
1 parent 59c3309 commit c308cfc

File tree

1 file changed

+66
-16
lines changed

1 file changed

+66
-16
lines changed

CHANGELOG.md

Lines changed: 66 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -2,33 +2,83 @@
22

33
## 2.1.1
44

5-
### Various fixes & improvements
6-
7-
- Fix DSC in celery tasks started by Celery Beat. (#3047) by @antonpirker
5+
- Fix trace propagation in Celery tasks started by Celery Beat. (#3047) by @antonpirker
86

97
## 2.1.0
108

11-
### Various fixes & improvements
12-
139
- fix(quart): Fix Quart integration (#3043) by @szokeasaurusrex
14-
- Reduce API cross-section for huggingface in test (#3042) by @colin-sentry
15-
- Huggingface Hub integration (#3033) by @colin-sentry
16-
- feat(integrations): Add Anthropic Integration (#2831) by @czyber
17-
- meta(license): Bump copyright year (#3029) by @szokeasaurusrex
18-
- feat(ai): Langchain integration (#2911) by @colin-sentry
19-
- fix(django): fix Django ASGI integration on Python 3.12 (#3027) by @bellini666
20-
- feat(tests): Parallelize tox (#3025) by @sentrivana
21-
- build(deps): bump checkouts/data-schemas from `4aa14a7` to `4381a97` (#3028) by @dependabot
10+
11+
- **New integration:** [Langchain](https://docs.sentry.io/platforms/python/integrations/langchain/) (#2911) by @colin-sentry
12+
13+
Usage: (Langchain is auto enabling, so you do not need to do anything special)
14+
```python
15+
from langchain_openai import ChatOpenAI
16+
import sentry_sdk
17+
18+
sentry_sdk.init(
19+
dsn="...",
20+
enable_tracing=True,
21+
traces_sample_rate=1.0,
22+
)
23+
24+
llm = ChatOpenAI(model="gpt-3.5-turbo-0125", temperature=0)
25+
```
26+
27+
Check out [the LangChain docs](https://docs.sentry.io/platforms/python/integrations/langchain/) for details.
28+
29+
- **New integration:** [Anthropic](https://docs.sentry.io/platforms/python/integrations/anthropic/) (#2831) by @czyber
30+
31+
Usage: (add the AnthropicIntegration to your `sentry_sdk.init()` call)
32+
```python
33+
from anthropic import Anthropic
34+
35+
import sentry_sdk
36+
37+
sentry_sdk.init(
38+
dsn="...",
39+
enable_tracing=True,
40+
traces_sample_rate=1.0,
41+
integrations=[AnthropicIntegration()],
42+
)
43+
44+
client = Anthropic()
45+
```
46+
Check out [the Anthropic docs](https://docs.sentry.io/platforms/python/integrations/anthropic/) for details.
47+
48+
- **New integration:** [Huggingface Hub](https://docs.sentry.io/platforms/python/integrations/huggingface/) (#3033) by @colin-sentry
49+
50+
Usage: (Huggingface Hub is auto enabling, so you do not need to do anything special)
51+
52+
```python
53+
import sentry_sdk
54+
from huggingface_hub import InferenceClient
55+
56+
sentry_sdk.init(
57+
dsn="...",
58+
enable_tracing=True,
59+
traces_sample_rate=1.0,
60+
)
61+
62+
client = InferenceClient("some-model")
63+
```
64+
65+
Check out [the Huggingface docs](https://docs.sentry.io/platforms/python/integrations/huggingface/) for details. (comming soon!)
66+
67+
- fix(huggingface): Reduce API cross-section for huggingface in test (#3042) by @colin-sentry
68+
- fix(django): Fix Django ASGI integration on Python 3.12 (#3027) by @bellini666
2269
- feat(perf): Add ability to put measurements directly on spans. (#2967) by @colin-sentry
2370
- fix(tests): Fix trytond tests (#3031) by @sentrivana
2471
- fix(tests): Update `pytest-asyncio` to fix CI (#3030) by @sentrivana
2572
- fix(docs): Link to respective migration guides directly (#3020) by @sentrivana
2673
- docs(scope): Add docstring to `Scope.set_tags` (#2978) by @szokeasaurusrex
2774
- test(scope): Fix typos in assert error message (#2978) by @szokeasaurusrex
28-
- test: Add unit test for top-level API `set_tags` (#2978) by @szokeasaurusrex
29-
- test(scope): Add unit test for `Scope.set_tags` (#2978) by @szokeasaurusrex
30-
- feat: Add `set_tags` to top-level API (#2978) by @szokeasaurusrex
3175
- feat(scope): New `set_tags` function (#2978) by @szokeasaurusrex
76+
- test(scope): Add unit test for `Scope.set_tags` (#2978) by @szokeasaurusrex
77+
- feat(scope): Add `set_tags` to top-level API (#2978) by @szokeasaurusrex
78+
- test(scope): Add unit test for top-level API `set_tags` (#2978) by @szokeasaurusrex
79+
- feat(tests): Parallelize tox (#3025) by @sentrivana
80+
- build(deps): Bump checkouts/data-schemas from `4aa14a7` to `4381a97` (#3028) by @dependabot
81+
- meta(license): Bump copyright year (#3029) by @szokeasaurusrex
3282

3383
## 2.0.1
3484

0 commit comments

Comments
 (0)