Changelog
- Breaking change: raised the required PHP version.
- Breaking change: removed the
ClientException
class.
- Removed the dependency on PSR-18 interfaces.
- Updated the package dependencies.
- Fixed a regression in the
Client->verifyKey()
method that called a wrong endpoint.
- Breaking change: lowercased the
Akismet
namespace.
- Updated the package dependencies.
- Breaking change: changed the signature of the class constructors.
- Breaking change: raised the required PHP version.
- Breaking change: removed the
RequestEvent
and ResponseEvent
classes.
- Breaking change: replaced the getter/setter methods by properties.
- Breaking change: the
Client
class is no longer an event dispatcher.
- Breaking change: using PHP 8.1 features, like enumerations and readonly properties.
- Added support for the Akismet response error codes.
- Updated the package dependencies.
- Breaking change: raised the required PHP version.
- Breaking change: using PHP 8.0 features, like constructor property promotion, static return type and throw expressions.
- Ported the documentation to docsify.
- Replaced the build system based on Robo by PowerShell scripts.
- Updated the package dependencies.
- Added the
Blog->setLanguages()
method.
- Updated the documentation.
- Updated the package dependencies.
- Breaking change: changed the signature of the class constructors.
- Breaking change: changed the signature of the
fromJson()
methods.
- Breaking change: replaced Événement library by Symfony EventDispatcher for event handling.
- Breaking change: raised the required PHP version.
- Breaking change: removed the
Client::VERSION
constant.
- Breaking change: removed the
__toString()
methods.
- Breaking change: using camelcase instead of all caps for constants.
- Breaking change: using PHP 7.4 features, like arrow functions and typed properties.
- Added support for the
X-akismet-pro-tip
HTTP header.
- Added the
CheckResult
enumeration.
- Added the
ClientException
exception class.
- Added the
Comment->recheckReason
property.
- Added the
RequestEvent
and ResponseEvent
event classes.
- Added a user guide based on MkDocs.
- Added an example code.
- Replaced the Guzzle HTTP client by the Symfony one.
- Updated the package dependencies.
- Added the
EVENT_REQUEST
and EVENT_RESPONSE
constants to the Client
class.
- Breaking change: changed the signature of the
Client
events.
- Breaking change: raised the required PHP version.
- Breaking change: using PHP 7.1 features, like nullable types and void functions.
- Breaking change: changed the signature of most class constructors.
- Breaking change: most class properties are now read-only.
- Breaking change: removed the
jsonSerialize()
and __toString()
methods from the Client
class.
- Added new values to the
CommentType
enumeration.
- 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 the licensing for the MIT License.
- Restored the Guzzle HTTP client.
- Breaking change: properties representing URLs as strings now use instances of the
Psr\Http\Message\UriInterface
interface.
- Added new unit tests.
- Replaced the Guzzle HTTP client by an
Observable
-based one.
- Breaking change: renamed the
akismet
namespace to Akismet
.
- 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.
- Removed the dependency on the
cedx/enum
module.
- Updated the package dependencies.
- Restored the
jsonSerialize()
and __toString()
methods of the Client
class.
- Breaking change: changed the signature of all constructors.
- Breaking change: changed the return type of several
Client
methods.
- Breaking change: renamed the
Client::SERVICE_URL
constant to DEFAULT_ENDPOINT
.
- Breaking change: removed the
Client->jsonSerialize()
method.
- Added the
Client->endPoint
property.
- Updated the package dependencies.
- Breaking change: changed the
Blog->language
string property for the languages
array property.
- Breaking change: renamed the
Client->test
property to isTest
and the Client->setTest()
method to setIsTest
.
- Replaced the Codacy code coverage service by the Coveralls one.
- Removed the vendor suffix from the PHP version number in the
Client->userAgent
property.
- Removed the
dist
build task.
- Updated the package dependencies.
- Breaking change: removed the
toJSON()
methods.
- Added the
onRequest
and onResponse
event streams to the Client
class.
- Removed the
final
modifier from the jsonSerialize()
methods.
- Fixed a missing
implements \JsonSerializable
statement.
- Breaking change: modified the return type of the
jsonSerialize()
and toJSON()
methods.
- Breaking change: modified the signature of the constructor of the
Client
class.
- Added the
Client::DEBUG_HEADER
constant.
- Added the
jsonSerialize()
and toJSON()
methods to the Client
class.
- Added the missing
User-Agent
HTTP header to the outgoing Client
requests.
- Added property setters to the
Client
class.
- Added return type declarations on the fluent setters.
Version 1.0.0