Skip to content

Minor update 1.9.6 introduces breaking change #1592

@sileht

Description

@sileht

How do you use Sentry?

Sentry Saas (sentry.io)

Version

1.9.6

Steps to Reproduce

And got the following exception:

RuntimeError: The Sentry Python SDK can now automatically support ASGI frameworks like Starlette and FastAPI.
Please remove 'SentryAsgiMiddleware' from your project.
See https://docs.sentry.io/platforms/python/guides/asgi/ for more information.

Expected Result

  • The SentryAsgiMiddleware middleware still working, or at least a noop object printing/logging a deprecation warning
  • A notice that the object will be removed in a future release
  • A SemVer major version bump
  • A updated documentation and with a section about the library API change and the object deprecation

Actual Result

  • project code is not loading anymore
  • No deprecation warning
  • Minor SemVer change with breaking change
  • Documentation still refers to SentryAsgiMiddleware

Metadata

Metadata

Assignees

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions