Skip to content

Commit c5d25db

Browse files
committed
Added Starlite usage to changelog.
1 parent 4fea13f commit c5d25db

File tree

1 file changed

+38
-10
lines changed

1 file changed

+38
-10
lines changed

CHANGELOG.md

+38-10
Original file line numberDiff line numberDiff line change
@@ -4,20 +4,48 @@
44

55
### Various fixes & improvements
66

7-
- fix(serializer): Add support for `byterray` and `memoryview` built-in types (#1833) by @Tarty
8-
- Feat: add Starlite integration (#1748) by @gazorby
9-
- Added Python 3.11 to test suite (#1795) by @antonpirker
10-
- Update test/linting dependencies (#1801) by @antonpirker
11-
- ref(profiling): Remove sample buffer from profiler (#1791) by @Zylphrex
12-
- Auto publish to internal pypi on release (#1823) by @asottile-sentry
13-
- perf(profiling): Performance tweaks to profile sampler (#1789) by @Zylphrex
7+
- Add Starlite integration (#1748) by @gazorby
8+
9+
Adding support for the [Starlite](https://starlite-api.github.io/starlite/1.48/) framework. Unhandled errors are captured. Performance spans for Starlite middleware are also captured. Thanks @gazorby for the great work!
10+
11+
Usage:
12+
13+
```python
14+
from starlite import Starlite, get
15+
16+
import sentry_sdk
17+
from sentry_sdk.integrations.starlite import StarliteIntegration
18+
19+
sentry_sdk.init(
20+
dsn="...",
21+
traces_sample_rate=1.0,
22+
integrations=[
23+
StarliteIntegration(),
24+
],
25+
)
26+
27+
@get("/")
28+
def hello_world() -> dict[str, str]:
29+
"""Keeping the tradition alive with hello world."""
30+
bla = 1/0 # causing an error
31+
return {"hello": "world"}
32+
33+
app = Starlite(route_handlers=[hello_world])
34+
```
35+
36+
- Profiling: Remove sample buffer from profiler (#1791) by @Zylphrex
37+
- Profiling: Performance tweaks to profile sampler (#1789) by @Zylphrex
1438
- Add span for Django SimpleTemplateResponse rendering (#1818) by @chdsbd
39+
- Use @wraps for Django Signal receivers (#1815) by @meanmail
1540
- Add enqueued_at and started_at to rq job extra (#1024) by @kruvasyan
1641
- Remove sanic v22 pin (#1819) by @sl0thentr0py
17-
- Use @wraps for Django Signal receivers (#1815) by @meanmail
42+
- Add support for `byterray` and `memoryview` built-in types (#1833) by @Tarty
1843
- Handle `"rc"` in SQLAlchemy version. (#1812) by @peterschutt
19-
- doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790) by @tonyo
20-
- build(deps): bump sphinx from 5.2.3 to 5.3.0 (#1686) by @dependabot
44+
- Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790) by @tonyo
45+
- Auto publish to internal pypi on release (#1823) by @asottile-sentry
46+
- Added Python 3.11 to test suite (#1795) by @antonpirker
47+
- Update test/linting dependencies (#1801) by @antonpirker
48+
- Deps: bump sphinx from 5.2.3 to 5.3.0 (#1686) by @dependabot
2149

2250
## 1.12.1
2351

0 commit comments

Comments
 (0)