Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Deprecation should be removed #254

Closed
OskarStark opened this issue Oct 2, 2019 · 5 comments
Closed

Deprecation should be removed #254

OskarStark opened this issue Oct 2, 2019 · 5 comments

Comments

@OskarStark
Copy link
Contributor

[prod.deprecations] Oct  2 12:45:30 |INFO | PHP    User Deprecated: The Sentry\State\Hub::getCurrent() method is deprecated since version 2.2 and will be removed in 3.0. Use SentrySdk::getCurrentHub() instead. exception="[object] (ErrorException(code: 0): User Deprecated: The Sentry\\State\\Hub::getCurrent() method is deprecated since version 2.2 and will be removed in 3.0. Use SentrySdk::getCurrentHub() instead. at /app/vendor/sentry/sentry/src/State/Hub.php:199)"

Using:

sentry/sdk                          2.0.4   This is a metapackage shipping sentry/sentry with a re...
sentry/sentry                       2.2.1   A PHP SDK for Sentry (http://sentry.io)
sentry/sentry-symfony               3.1.0   Symfony integration for Sentry (http://getsentry.com)
@stayallive
Copy link
Collaborator

stayallive commented Oct 2, 2019

This is already fixed (#244) however the release had some delays because of a bug found.

3.2.0 should be released shortly that fixes the deprecation when sentry/sentry 2.2+ is used.

@Jean85
Copy link
Collaborator

Jean85 commented Oct 2, 2019

Issue was already reported in #252. As said there, we needed to solve #250 first (with #253); now we're ready to go, we will tag it ASAP.

@OskarStark
Copy link
Contributor Author

Ok, cool thanks

@stayallive
Copy link
Collaborator

In case you missed it 3.2.0 was released which includes the the fixes. Thank you for your patience.

@OskarStark
Copy link
Contributor Author

Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants