diff --git a/CHANGELOG.md b/CHANGELOG.md index 42ce1a1848..26739e48ce 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,52 @@ # Changelog +## 1.13.0 + +### Various fixes & improvements + +- 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 +- 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 +- 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 ### Various fixes & improvements diff --git a/docs/conf.py b/docs/conf.py index 44180fade1..5939ad9b00 100644 --- a/docs/conf.py +++ b/docs/conf.py @@ -29,7 +29,7 @@ copyright = "2019, Sentry Team and Contributors" author = "Sentry Team and Contributors" -release = "1.12.1" +release = "1.13.0" version = ".".join(release.split(".")[:2]) # The short X.Y version. diff --git a/sentry_sdk/consts.py b/sentry_sdk/consts.py index 2087202bad..eeca4cbaf4 100644 --- a/sentry_sdk/consts.py +++ b/sentry_sdk/consts.py @@ -140,4 +140,4 @@ def _get_default_options(): del _get_default_options -VERSION = "1.12.1" +VERSION = "1.13.0" diff --git a/setup.py b/setup.py index 3a52ba1961..62b4cead25 100644 --- a/setup.py +++ b/setup.py @@ -21,7 +21,7 @@ def get_file_text(file_name): setup( name="sentry-sdk", - version="1.12.1", + version="1.13.0", author="Sentry Team and Contributors", author_email="hello@sentry.io", url="https://github.com/getsentry/sentry-python",