Skip to content

Commit

Permalink
Make the PayloadSerializerInterface interface part of the public API (#…
Browse files Browse the repository at this point in the history
  • Loading branch information
enumag committed Oct 6, 2020
1 parent e3d9a02 commit f09173d
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 1 addition & 1 deletion UPGRADE-3.0.md
Expand Up @@ -104,7 +104,7 @@
- Renamed the `Event::getServerOsContext()` method to `Event::getOsContext()`
- The signature of the `Scope::setUser()` method changed to accept a plain array
- Removed the `FlushableClientInterface` and `ClosableTransportInterface` interfaces. Their methods have been moved to the corresponding `ClientInterface` and `TransportInterface` interfaces
- Removed the `Event::toArray()` and `Event::jsonSerialize()` methods
- Removed the `Event::toArray()` and `Event::jsonSerialize()` methods, use `PayloadSerializerInterface::serialize()` instead
- Removed the `Breadcrumb::toArray()` and `Breadcrumb::jsonSerialize()` methods
- Removed the `Frame::toArray()` and `Frame::jsonSerialize()` methods
- Removed the `Stacktrace::toArray()` and `Stacktrace::jsonSerialize()` methods
Expand Down
2 changes: 0 additions & 2 deletions src/Serializer/PayloadSerializerInterface.php
Expand Up @@ -9,8 +9,6 @@
/**
* This interface defines the contract for the classes willing to serialize an
* event object to a format suitable for sending over the wire to Sentry.
*
* @internal
*/
interface PayloadSerializerInterface
{
Expand Down

0 comments on commit f09173d

Please sign in to comment.