Skip to content

Releases: crowdsecurity/php-lapi-client

3.2.0

07 Dec 02:18
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add api_connect_timeout configuration

3.1.0

27 Apr 12:55
ac15b04
Compare
Choose a tag to compare

Compare with previous release

Changed

  • api_url configuration must not be empty

3.0.0

09 Mar 01:28
86e85c2
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: If not null, the second param of Bouncer constructor must implement RequestHandlerInterface

2.0.0

02 Feb 04:26
ecf9afe
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 second param of Bouncer constructor must be of type
      CrowdSec\Common\Client\RequestHandler\AbstractRequestHandler
    • Breaking change: Move Bouncer constants in Constants

1.0.1

27 Jan 05:06
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add public API declaration

1.0.0

27 Jan 01:44
f5c6c08
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Change version to 1.0.0: first stable release

0.4.0

12 Jan 01:05
c694432
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.3.0

05 Jan 01:48
bc1de4f
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Do not throw error on LAPI 404 response
  • Use compressed requests for Curl
  • Use message log instead of a context message field

0.2.0

29 Dec 01:07
20f47f3
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Lowercase all scope constants (ip, range, country)

0.1.0

23 Dec 09:19
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Increase default timeout to 120 seconds and allow unlimited timeout for negative api_timeout setting value

Added

  • Add user_agent_version configuration