Releases: getsentry/sentry-python
1.11.0
Various fixes & improvements
-
NEW: Support for MongoDB (#1590) by @Agalin
Queries to MongoDB are now instrumented!
See https://docs.sentry.io/platforms/python/guides/pymongo/ for more information.
-
Profiling: Do not error if already setup (#1731) by @Zylphrex
-
Profiling: Use sleep scheduler by default (#1729) by @Zylphrex
-
Profiling: Tune the sample profile generation code for performance (#1694) by @Zylphrex
-
Fix: Reading FastAPI request body twice. (#1724) by @antonpirker
-
Fix: Django signals problem on sentry.io (#1732) by @antonpirker
-
Fix: Performance optimizations for Django signals (#1725) by @antonpirker
-
Fix: Move relay to port 5333 to avoid collisions (#1716) by @sl0thentr0py
-
Fix: strip_string() checks text length counting bytes not chars (#1711) by @mgaligniana
-
Chore: remove jira workflow (#1707) by @vladanpaunovic
-
Update actions/upload-artifact to v3.1.1 (#1718) by @mattgauntseo-sentry
-
Update checkouts/data-schemas from
a214fbc
to20ff3b9
(#1703) by @dependabot
1.10.1
Various fixes & improvements
- Bug fixes for FastAPI and Sentry SDK 1.10.0 (#1699) by @antonpirker
- The wrapped receive() did not return anything. (#1698) by @antonpirker
1.10.0
Various fixes & improvements
-
Unified naming for span ops (#1661) by @antonpirker
We have unified the strings of our span operations. See https://develop.sentry.dev/sdk/performance/span-operations/
WARNING: If you have Sentry Dashboards or Sentry Discover queries that use
transaction.op
in their fields, conditions, aggregates or columns this change could potentially break your Dashboards/Discover setup.
Here is a list of the changes we made to theop
s. Please adjust your dashboards and Discover queries accordingly:Old operation ( op
)New Operation ( op
)asgi.server
http.server
aws.request
http.client
aws.request.stream
http.client.stream
celery.submit
queue.submit.celery
celery.task
queue.task.celery
django.middleware
middleware.django
django.signals
event.django
django.template.render
template.render
django.view
view.render
http
http.client
redis
db.redis
rq.task
queue.task.rq
serverless.function
function.aws
serverless.function
function.gcp
starlette.middleware
middleware.starlette
-
Include framework in SDK name (#1662) by @antonpirker
-
Asyncio integration (#1671) by @antonpirker
-
Add exception handling to Asyncio Integration (#1695) by @antonpirker
-
Fix asyncio task factory (#1689) by @antonpirker
-
Have instrumentation for ASGI middleware receive/send callbacks. (#1673) by @antonpirker
-
Use Django internal ASGI handling from Channels version 4.0.0. (#1688) by @antonpirker
-
fix(integrations): Fix http putrequest when url is None (#1693) by @MattFlower
-
build(deps): bump checkouts/data-schemas from
f0a57f2
toa214fbc
(#1627) by @dependabot -
build(deps): bump flake8-bugbear from 22.9.11 to 22.9.23 (#1637) by @dependabot
-
build(deps): bump sphinx from 5.1.1 to 5.2.3 (#1653) by @dependabot
-
build(deps): bump actions/stale from 5 to 6 (#1638) by @dependabot
-
build(deps): bump black from 22.8.0 to 22.10.0 (#1670) by @dependabot
-
Remove unused node setup from ci. (#1681) by @antonpirker
-
Check for Decimal is in_valid_sample_rate (#1672) by @Arvind2222
-
Add session for aiohttp integration (#1605) by @denys-pidlisnyi
-
feat(profiling): Extract qualified name for each frame (#1669) by @Zylphrex
-
feat(profiling): Attach thread metadata to profiles (#1660) by @Zylphrex
-
ref(profiling): Rename profiling frame keys (#1680) by @Zylphrex
-
fix(profiling): get_frame_name only look at arguments (#1684) by @Zylphrex
-
fix(profiling): Need to sample profile correctly (#1679) by @Zylphrex
-
fix(profiling): Race condition spawning multiple profiling threads (#1676) by @Zylphrex
-
tests(profiling): Add basic profiling tests (#1677) by @Zylphrex
-
tests(profiling): Add tests for thread schedulers (#1683) by @Zylphrex
1.9.10
Various fixes & improvements
- Use content-length header in ASGI instead of reading request body (#1646, #1631, #1595, #1573) (#1649) by @antonpirker
- Added newer Celery versions to test suite (#1655) by @antonpirker
- Django 4.x support (#1632) by @antonpirker
- Cancel old CI runs when new one is started. (#1651) by @antonpirker
- Increase max string size for desc (#1647) by @k-fish
- Pin Sanic version for CI (#1650) by @antonpirker
- Fix for partial signals in old Django and old Python versions. (#1641) by @antonpirker
- Convert profile output to the sample format (#1611) by @phacops
- Dynamically adjust profiler sleep time (#1634) by @Zylphrex
1.9.9
Django update (ongoing)
- Instrument Django Signals so they show up in "Performance" view (#1526) by @BeryJu
- include other Django enhancements brought up by the community
Various fixes & improvements
- fix(profiling): Profiler mode type hints (#1633) by @Zylphrex
- New ASGIMiddleware tests (#1600) by @antonpirker
- build(deps): bump mypy from 0.961 to 0.971 (#1517) by @dependabot
- build(deps): bump black from 22.3.0 to 22.8.0 (#1596) by @dependabot
- build(deps): bump sphinx from 5.0.2 to 5.1.1 (#1524) by @dependabot
- ref: upgrade linters to flake8 5.x (#1610) by @asottile-sentry
- feat(profiling): Introduce different profiler schedulers (#1616) by @Zylphrex
- fix(profiling): Check transaction sampled status before profiling (#1624) by @Zylphrex
- Wrap Baggage ser/deser in capture_internal_exceptions (#1630) by @sl0thentr0py
- Faster Tests (DjangoCon) (#1602) by @antonpirker
- feat(profiling): Add support for profiles_sample_rate (#1613) by @Zylphrex
- feat(profiling): Support for multithreaded profiles (#1570) by @Zylphrex
1.9.8
Various fixes & improvements
- Baggage creation for head of trace (#1589) by @sl0thentr0py
- The SDK now also generates new baggage entries for dynamic sampling when it is the first (head) SDK in the pipeline.
1.9.7
Various fixes & improvements
- Let SentryAsgiMiddleware work with Starlette and FastAPI integrations (#1594) by @antonpirker
Note: The last version 1.9.6 introduced a breaking change where projects that used Starlette or FastAPI
and had manually setup SentryAsgiMiddleware
could not start. This versions fixes this behaviour.
With this version if you have a manual SentryAsgiMiddleware
setup and are using Starlette or FastAPI
everything just works out of the box.
Sorry for any inconveniences the last version might have brought to you.
We can do better and in the future we will do our best to not break your code again.
1.9.6
Various fixes & improvements
- Auto-enable Starlette and FastAPI (#1533) by @antonpirker
- Add more version constraints (#1574) by @isra17
- Fix typo in starlette attribute check (#1566) by @sl0thentr0py
1.9.5
Various fixes & improvements
- fix(redis): import redis pipeline using full path (#1565) by @olksdr
- Fix side effects for parallel tests (#1554) by @sl0thentr0py
1.9.4
Various fixes & improvements
- Remove TRANSACTION_SOURCE_UNKNOWN and default to CUSTOM (#1558) by @sl0thentr0py
- feat(redis): Add instrumentation for redis pipeline (#1543) by @jjbayer
- Handle no release when uploading profiles (#1548) by @szokeasaurusrex