-
-
Notifications
You must be signed in to change notification settings - Fork 452
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
PHP SDK 4.0.0 #1586
Comments
I beg you, please do not ship your own HTTP client. I can live with the decision of shipping a well-known HTTP client by default (ignoring all the negative feedback you got, btw), but not with developing yet another client, which was also the way SDK |
I definitely agree with @ste93cry request. Nearly all clients in the PHP ecosystem use Curl underneath, and Guzzle or Symfony are both two very stable clients. Choose the one that you prefer, leverage PSR-18 to ensure cross-compat, but please do not re-implement anything from scratch, that would be a nightmare, both from a security and a maintainer standpoint. |
As per the discussion on #1591 (comment), |
4.0.0 was released. |
This outlines the work we plan for the next major version of the PHP SDK.
Remove deprecated methods
Most of the current methods that are marked as deprecated will be removed. An extensive upgrade guide will be provided.
Ship a default HTTP client
After internal discussions, we decided to ship a default HTTP client based on cURL. A Sentry-provided interface will still support the use of third-party HTTP clients. For our Symfony SDK, we'll rely on the Symfony HTTP Client instead. The Laravel SDK will use the default HTTP client.
Remove most dependencies
Once we rely on our own HTTP client, we can remove the majority of dependencies of the SDK.
Remove the use of the
/store
endpointWe'll remove the use of the
/store
endpoint, which currently is only used for error reporting if performance is disabled in the SDK. This will bump the self-hosted version requirement to 20.6.0 or higher, released on June 16, 2020.Simplified performance APIs
We are currently working on removing transactions from the public API surface in all SDKs and will therefore revamp the performance API of the PHP SDK with an emphasis on spans.
Other topics
PayloadSeralizer
, making it easier for our users to provide custom serializers.@final
instead of using thefinal
keyword.debug: true
experience for local development.The text was updated successfully, but these errors were encountered: