From c5d25db95968aed27de27d2a379e876946454ff5 Mon Sep 17 00:00:00 2001 From: Anton Pirker Date: Thu, 12 Jan 2023 16:17:44 +0100 Subject: [PATCH] Added Starlite usage to changelog. --- CHANGELOG.md | 48 ++++++++++++++++++++++++++++++++++++++---------- 1 file changed, 38 insertions(+), 10 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd34254c9e..26739e48ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,20 +4,48 @@ ### Various fixes & improvements -- fix(serializer): Add support for `byterray` and `memoryview` built-in types (#1833) by @Tarty -- Feat: add Starlite integration (#1748) by @gazorby -- Added Python 3.11 to test suite (#1795) by @antonpirker -- Update test/linting dependencies (#1801) by @antonpirker -- ref(profiling): Remove sample buffer from profiler (#1791) by @Zylphrex -- Auto publish to internal pypi on release (#1823) by @asottile-sentry -- perf(profiling): Performance tweaks to profile sampler (#1789) by @Zylphrex +- Add Starlite integration (#1748) by @gazorby + + 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! + + Usage: + + ```python + from starlite import Starlite, get + + import sentry_sdk + from sentry_sdk.integrations.starlite import StarliteIntegration + + sentry_sdk.init( + dsn="...", + traces_sample_rate=1.0, + integrations=[ + StarliteIntegration(), + ], + ) + + @get("/") + def hello_world() -> dict[str, str]: + """Keeping the tradition alive with hello world.""" + bla = 1/0 # causing an error + return {"hello": "world"} + + app = Starlite(route_handlers=[hello_world]) + ``` + +- Profiling: Remove sample buffer from profiler (#1791) by @Zylphrex +- Profiling: Performance tweaks to profile sampler (#1789) by @Zylphrex - Add span for Django SimpleTemplateResponse rendering (#1818) by @chdsbd +- Use @wraps for Django Signal receivers (#1815) by @meanmail - Add enqueued_at and started_at to rq job extra (#1024) by @kruvasyan - Remove sanic v22 pin (#1819) by @sl0thentr0py -- Use @wraps for Django Signal receivers (#1815) by @meanmail +- Add support for `byterray` and `memoryview` built-in types (#1833) by @Tarty - Handle `"rc"` in SQLAlchemy version. (#1812) by @peterschutt -- doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790) by @tonyo -- build(deps): bump sphinx from 5.2.3 to 5.3.0 (#1686) by @dependabot +- Doc: Use .venv (not .env) as a virtual env location in CONTRIBUTING.md (#1790) by @tonyo +- Auto publish to internal pypi on release (#1823) by @asottile-sentry +- Added Python 3.11 to test suite (#1795) by @antonpirker +- Update test/linting dependencies (#1801) by @antonpirker +- Deps: bump sphinx from 5.2.3 to 5.3.0 (#1686) by @dependabot ## 1.12.1