Version 20.0.0
- Breaking change: raised the required PHP version.
- Breaking change: renamed the root namespace to
Belin\FreeMobile. - Breaking change: using PHP 8.5 features, like the
Uri\Rfc3986\Uriclass. - Removed the dependency on nyholm/psr7 library.
Version 19.0.0
- Breaking change: raised the required PHP version.
- Breaking change: removed the
ClientExceptionclass. - Removed the dependency on Symfony HTTP client.
Version 18.1.0
- Updated the package dependencies.
Version 18.0.0
- Breaking change: lowercased the
FreeMobilenamespace. - Updated the package dependencies.
Version 17.1.0
- Dropped the dependency on Symfony HTTP Client.
- Restored the
ClientExceptionclass.
Version 17.0.0
- Breaking change: raised the required PHP version.
- Breaking change: removed the
ClientExceptionclass and replaced it by thePsr\Http\Client\ClientExceptionInterfaceones. - Breaking change: removed the
RequestEventandResponseEventclasses. - Breaking change: replaced the getter methods by properties.
- Breaking change: the
Clientclass 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
RequestEventandResponseEventclasses. - Updated the package dependencies.
Version 12.1.0
Version 12.0.0
- Breaking change: changed the signature of the
ClientandClientExceptionconstructors. - 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
ClientExceptionclass. - Updated the package dependencies.
Version 10.0.0
- Breaking change: changed the signature of the
Clientevents. - Breaking change: raised the required PHP version.
- Breaking change: using PHP 7.1 features, like class constant visibility and void functions.
- Added the
EVENT_REQUESTandEVENT_RESPONSEconstants to theClientclass.
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
ObservableAPI to a synchronous one. - Breaking change: moved the
Subjectevent API to theEventEmitterone. - Changed licensing for the MIT License.
- Restored the Guzzle HTTP client.
Version 7.0.0
- Breaking change: the
endPointproperty is now an instance ofPsr\Http\Message\UriInterfaceinterface. - Added new unit tests.
- Replaced the Guzzle HTTP client by an
Observable-based one.
Version 6.0.0
- Breaking change: renamed the
freemobilenamespace toFreeMobile. - Breaking change: reverted the API of the
Clientclass 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
Clientclass 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_POINTconstant toDEFAULT_ENDPOINT. - Added the
endPointproperty. - 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
onRequestandonResponseevent streams. - Removed the
finalmodifier from thejsonSerialize()method.
Version 2.0.2
- Fixed a missing
implements \JsonSerializablestatement.
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
onNextevent to ease the usage of thesubscribeCallback()method.
- Initial release.