Version 19.0.0
- Breaking change: raised the required PHP version.
- Breaking change: removed the
ClientException
class. - Removed the dependency on Symfony HTTP client.
Version 18.1.0
- Updated the package dependencies.
Version 18.0.0
- Breaking change: lowercased the
FreeMobile
namespace. - Updated the package dependencies.
Version 17.1.0
- Dropped the dependency on Symfony HTTP Client.
- Restored the
ClientException
class.
Version 17.0.0
- Breaking change: raised the required PHP version.
- Breaking change: removed the
ClientException
class and replaced it by thePsr\Http\Client\ClientExceptionInterface
ones. - Breaking change: removed the
RequestEvent
andResponseEvent
classes. - Breaking change: replaced the getter methods by properties.
- Breaking change: the
Client
class is no longer an event dispatcher. - Breaking change: using PHP 8.1 features, like match expressions and readonly properties.
- Updated the package dependencies.
Version 16.0.0
- Breaking change: raised the required PHP version.
- Breaking change: using PHP 8.0 features, like constructor property promotion and named arguments.
- Ported the documentation to docsify.
- Updated the package dependencies.
Version 15.1.0
- Updated the documentation.
- Updated the package dependencies.
Version 15.0.0
- Breaking change: raised the required PHP version.
- Breaking change: replaced PHP League Event library by Symfony EventDispatcher for event handling.
- Breaking change: using PHP 7.4 features, like arrow functions and typed properties.
- Replaced the Guzzle HTTP client by the Symfony one.
- Updated the package dependencies.
Version 14.0.0
- Breaking change: using camelcase instead of all caps for constants.
- Updated the package dependencies.
Version 13.1.0
- Modified the package layout.
- Updated the package dependencies.
- Updated the URL of the default API endpoint.
Version 13.0.0
- Breaking change: replaced Événement library by PHP League Event for event handling.
- Added the
RequestEvent
andResponseEvent
classes. - Updated the package dependencies.
Version 12.1.0
Version 12.0.0
- Breaking change: changed the signature of the
Client
andClientException
constructors. - Added support for PHPStan static analyzer.
- Updated the package dependencies.
Version 11.2.0
- Updated the package dependencies.
Version 11.1.0
- Dropped the dependency on PHPUnit-Expect.
Version 11.0.0
- Breaking change: raised the required PHP version.
- Added support for phpDocumentor.
- Updated the package dependencies.
Version 10.1.0
- Added a user guide based on MkDocs.
- Added the
ClientException
class. - Updated the package dependencies.
Version 10.0.0
- Breaking change: changed the signature of the
Client
events. - Breaking change: raised the required PHP version.
- Breaking change: using PHP 7.1 features, like class constant visibility and void functions.
- Added the
EVENT_REQUEST
andEVENT_RESPONSE
constants to theClient
class.
Version 9.0.0
- Breaking change: changed the signature of the constructor.
- Breaking change: the class properties are now read-only.
- Breaking change: removed the
jsonSerialize()
and__toString()
methods. - Updated the package dependencies.
Version 8.0.0
- Breaking change: moved the
Observable
API to a synchronous one. - Breaking change: moved the
Subject
event API to theEventEmitter
one. - Changed licensing for the MIT License.
- Restored the Guzzle HTTP client.
Version 7.0.0
- Breaking change: the
endPoint
property is now an instance ofPsr\Http\Message\UriInterface
interface. - Added new unit tests.
- Replaced the Guzzle HTTP client by an
Observable
-based one.
Version 6.0.0
- Breaking change: renamed the
freemobile
namespace toFreeMobile
. - Breaking change: reverted the API of the
Client
class to an Observable-based one. - Enabled the strict typing.
- Replaced phpDocumentor documentation generator by ApiGen.
- Updated the package dependencies.
Version 5.0.0
- Breaking change: dropped the dependency on Observables.
- Breaking change: the
Client
class is now anEventEmitter
. - Ported the unit test assertions from TDD to BDD.
- Updated the package dependencies.
Version 4.0.0
- Breaking change: changed the signature of the constructor.
- Breaking change: changed the return type of the
sendMessage()
method. - Breaking change: renamed the
END_POINT
constant toDEFAULT_ENDPOINT
. - Added the
endPoint
property. - Updated the package dependencies.
Version 3.1.1
- Improved the code coverage.
- Updated the package dependencies.
Version 3.1.0
Version 3.0.0
- Breaking change: removed the
toJSON()
method. - Added the
onRequest
andonResponse
event streams. - Removed the
final
modifier from thejsonSerialize()
method.
Version 2.0.2
- Fixed a missing
implements \JsonSerializable
statement.
Version 2.0.1
- Fixed the bug with some foreign characters being received as garbage.
Version 2.0.0
- Breaking change: modified the signature of the class constructor.
- Added property getters and setters.
- Added the
jsonSerialize()
andtoJSON()
methods.
Version 1.2.0
- Messages are automatically trimmed.
Version 1.1.0
- Added an
onNext
event to ease the usage of thesubscribeCallback()
method.
- Initial release.