Skip to content

Changelog

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

Version 17.0.0

  • 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.

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

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 and ResponseEvent classes.
  • Updated the package dependencies.

Version 12.1.0

  • Replaced the Phing build system by Robo.
  • Updated the package dependencies.

Version 12.0.0

  • Breaking change: changed the signature of the Client and ClientException constructors.
  • Added support for PHPStan static analyzer.
  • Updated the package dependencies.

Version 11.2.0

  • Updated the package dependencies.

Version 11.1.0

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 and EVENT_RESPONSE constants to the Client 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 the EventEmitter 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 of Psr\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 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.

Version 5.0.0

  • 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.

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 to DEFAULT_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

  • Replaced the Codacy code coverage service by the Coveralls one.
  • Updated the package dependencies.

Version 3.0.0

  • Breaking change: removed the toJSON() method.
  • Added the onRequest and onResponse event streams.
  • Removed the final modifier from the jsonSerialize() 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() and toJSON() methods.

Version 1.2.0

  • Messages are automatically trimmed.

Version 1.1.0

  • Added an onNext event to ease the usage of the subscribeCallback() method.

Version 1.0.0

  • Initial release.