Skip to content

Releases: crowdsecurity/php-capi-client

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)

0.8.0

30 Dec 02:42
bc3354e
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add some relevant debug and error logs

Changed

  • createSignal throws now a ClientException instead of a generic Exception during date manipulation

0.7.0

29 Dec 01:05
dfa0917
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Update validation rules for user_agent_version and scenarios settings

0.6.2

26 Dec 05:59
Compare
Choose a tag to compare

Compare with previous release

Fixed

  • Fix createSignal by adding required decision id

0.6.1

16 Dec 08:50
0d434c8
Compare
Choose a tag to compare

Compare with previous release

Fixed

  • Fix Curl unlimited timeout when negative value is configured in api_timeout

0.6.0

16 Dec 07:43
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Default api_timeout is now 120 seconds instead of 10 seconds

Added

  • Add createSignal helper method to create ready-to-use signal

0.5.0

15 Dec 02:28
93668d0
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add user_agent_version configuration

0.4.1

08 Dec 01:31
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Allow older version (v4) of symfony/config dependency

0.4.0

01 Dec 04:47
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Breaking change: Make method AbstractClient::sendRequest private instead of public
  • Breaking change: Make method AbstractClient::request protected instead of public

Added

  • Add api_timeout configuration
  • Add an optional param $configs in Curl and FileGetContents constructors