Skip to content

Akismet for PHP 12.0.0

Choose a tag to compare

@CedX CedX released this 09 Apr 21:55
· 776 commits to main since this release
  • 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.