Changelog
- Updated the package dependencies.
- Breaking change: lowercased the
FreeMobile
namespace.
- Updated the package dependencies.
- Breaking change: raised the required PHP version.
- Breaking change: removed the
ClientException
class and replaced it by the Psr\Http\Client\ClientExceptionInterface
ones.
- Breaking change: removed the
RequestEvent
and ResponseEvent
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.
- 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.
- Updated the documentation.
- Updated the package dependencies.
- Breaking change: using camelcase instead of all caps for constants.
- Updated the package dependencies.
- Modified the package layout.
- Updated the package dependencies.
- Updated the URL of the default API endpoint.
- Breaking change: replaced Événement library by PHP League Event for event handling.
- Added the
RequestEvent
and ResponseEvent
classes.
- Updated the package dependencies.
- Replaced the Phing build system by Robo.
- Updated the package dependencies.
- Breaking change: changed the signature of the
Client
and ClientException
constructors.
- Added support for PHPStan static analyzer.
- Updated the package dependencies.
- Updated the package dependencies.
- Breaking change: raised the required PHP version.
- Added support for phpDocumentor.
- Updated the package dependencies.
- Added a user guide based on MkDocs.
- Added the
ClientException
class.
- Updated the package dependencies.
- 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
and EVENT_RESPONSE
constants to the Client
class.
- 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.
- Breaking change: moved the
Observable
API to a synchronous one.
- Breaking change: moved the
Subject
event API to the EventEmitter
one.
- Changed licensing for the MIT License.
- Restored the Guzzle HTTP client.
- Breaking change: the
endPoint
property is now an instance of Psr\Http\Message\UriInterface
interface.
- Added new unit tests.
- Replaced the Guzzle HTTP client by an
Observable
-based one.
- Breaking change: renamed the
freemobile
namespace to FreeMobile
.
- 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.
- Breaking change: dropped the dependency on Observables.
- Breaking change: the
Client
class is now an EventEmitter
.
- Ported the unit test assertions from TDD to BDD.
- Updated the package dependencies.
- 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 to DEFAULT_ENDPOINT
.
- Added the
endPoint
property.
- Updated the package dependencies.
- Improved the code coverage.
- Updated the package dependencies.
- Replaced the Codacy code coverage service by the Coveralls one.
- Updated the package dependencies.
- Breaking change: removed the
toJSON()
method.
- Added the
onRequest
and onResponse
event streams.
- Removed the
final
modifier from the jsonSerialize()
method.
- Fixed a missing
implements \JsonSerializable
statement.
- Fixed the bug with some foreign characters being received as garbage.
- Breaking change: modified the signature of the class constructor.
- Added property getters and setters.
- Added the
jsonSerialize()
and toJSON()
methods.
- Messages are automatically trimmed.
- Added an
onNext
event to ease the usage of the subscribeCallback()
method.
Version 1.0.0