Skip to content

Commit

Permalink
Merge branch 'release/1.8.0'
Browse files Browse the repository at this point in the history
  • Loading branch information
getsentry-bot committed Jul 21, 2022
2 parents 11f3eb1 + 6aecffd commit 90b7f1b
Show file tree
Hide file tree
Showing 4 changed files with 50 additions and 3 deletions.
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,52 @@
# Changelog

## 1.8.0

### Various fixes & improvements

- feat(starlette): add Starlette integration (#1441) by @sl0thentr0py

**Important:** Remove manual usage of `SentryAsgiMiddleware`! This is now done by the Starlette integration.

Usage:

```python
from starlette.applications import Starlette

from sentry_sdk.integrations.starlette import StarletteIntegration

sentry_sdk.init(
dsn="...",
integrations=[StarletteIntegration()],
)

app = Starlette(debug=True, routes=[...])
```
- feat(fastapi): add FastAPI integration (#829) by @antonpirker

**Important:** Remove manual usage of `SentryAsgiMiddleware`! This is now done by the FastAPI integration.

Usage:

```python
from fastapi import FastAPI

from sentry_sdk.integrations.starlette import StarletteIntegration
from sentry_sdk.integrations.fastapi import FastApiIntegration

sentry_sdk.init(
dsn="...",
integrations=[StarletteIntegration(), FastApiIntegration()],
)

app = FastAPI()
```

Yes, you have to add both, the `StarletteIntegration` **AND** the `FastApiIntegration`!
- fix: avoid sending empty Baggage header (#1507) by @intgr
- fix: properly freeze Baggage object (#1508) by @intgr
- docs: fix simple typo, collecter -> collector (#1505) by @timgates42

## 1.7.2

### Various fixes & improvements
Expand Down
2 changes: 1 addition & 1 deletion docs/conf.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@
copyright = "2019, Sentry Team and Contributors"
author = "Sentry Team and Contributors"

release = "1.7.2"
release = "1.8.0"
version = ".".join(release.split(".")[:2]) # The short X.Y version.


Expand Down
2 changes: 1 addition & 1 deletion sentry_sdk/consts.py
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ def _get_default_options():
del _get_default_options


VERSION = "1.7.2"
VERSION = "1.8.0"
SDK_INFO = {
"name": "sentry.python",
"version": VERSION,
Expand Down
2 changes: 1 addition & 1 deletion setup.py
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ def get_file_text(file_name):

setup(
name="sentry-sdk",
version="1.7.2",
version="1.8.0",
author="Sentry Team and Contributors",
author_email="hello@sentry.io",
url="https://github.com/getsentry/sentry-python",
Expand Down

0 comments on commit 90b7f1b

Please sign in to comment.