|
4 | 4 |
|
5 | 5 | ### Various fixes & improvements
|
6 | 6 |
|
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 |
14 | 38 | - Add span for Django SimpleTemplateResponse rendering (#1818) by @chdsbd
|
| 39 | +- Use @wraps for Django Signal receivers (#1815) by @meanmail |
15 | 40 | - Add enqueued_at and started_at to rq job extra (#1024) by @kruvasyan
|
16 | 41 | - 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 |
18 | 43 | - 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 |
21 | 49 |
|
22 | 50 | ## 1.12.1
|
23 | 51 |
|
|
0 commit comments