Skip to content

Releases: crowdsecurity/php-capi-client

3.2.0

12 Sep 05:02
e43eb8f
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Allow machine_id_prefix to have a length of 48 characters (full length of a machine ID)

Added

  • Add context support for Signals builder helper

3.1.0

07 Dec 02:18
2641478
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add api_connect_timeout configuration

3.0.0

09 Mar 01:46
b9bd83e
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Breaking change: Use crowdsec/common ^2.0.0 dependency instead of ^1.2.0
  • Breaking change: Use CAPI V3 endpoints instead of V2
  • Breaking change: If not null, the third param of the Watcher::__contruct method must implement
    CapiHandlerInterface

Added

  • Add symfony/uid dependency to handle UUID in signals data

2.1.0

24 Feb 01:57
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add metrics in signals

2.0.0

02 Feb 04:44
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Use crowdsec/common package as a dependency for code factoring
    • Breaking change: Use CrowdSec\Common classes for the following files and folder:
      • HttpMessage
      • Logger
      • RequestHanlder
      • AbstractClient.php
    • Breaking change: If not null, the third param of Watcher constructor must be of type
      CrowdSec\Common\Client\RequestHandler\AbstractRequestHandler
    • Breaking change: Move Watcher, Signal and Configuration\Signal constants in Constants
  • Breaking change: Remove deprecated Watcher::createSignal method

1.0.1

27 Jan 05:18
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add public API declaration

1.0.0

27 Jan 01:55
6e4423b
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Change version to 1.0.0: first stable release

0.11.0

13 Jan 06:36
1d1eb8b
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add two signal builder helper methods: buildSimpleSignalForIp and buildSignal

Deprecated

  • Deprecate the createSignal method

0.10.0

12 Jan 01:20
c9c0e30
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Unexpected configuration keys are automatically removed by a new cleanConfigs method
  • Update some logs

0.9.0

05 Jan 01:35
9a5170b
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Do not throw error on CAPI 404 response
  • Use compressed requests for Curl
  • Use message log instead of a context message field
  • Do not log error on formatResponseBody to avoid double reporting (#21)
  • Log retries as info and not as error (#21)