Skip to content

Releases: crowdsecurity/php-lapi-client

3.6.0

31 Jan 00:29
d99b00b
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Allow Monolog 3 package (Use crowdsec/common ^3.0.0 dependency)

3.5.0

16 Jan 02:46
8697fb3
Compare
Choose a tag to compare

Compare with previous release

Changed

  • Allow Symfony 7 packages

3.4.0

09 Jan 02:11
bec1549
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add pushUsageMetrics method to Bouncer class

3.3.2

21 Oct 08:24
77f8703
Compare
Choose a tag to compare

Compare with previous release

Fixed

  • Truncate long raw body in logs

3.3.1

11 Oct 04:53
d2a27f4
Compare
Choose a tag to compare

Compare with previous release

Fixed

  • Remove sensitive data from logs

3.3.0

04 Oct 02:21
2d2f64c
Compare
Choose a tag to compare

Compare with previous release

Added

  • Add getAppSecDecision method to Bouncer class
  • Add appsec_url, appsec_timeout_ms and appsec_connect_timeout_ms configurations

Changed

  • Throws a CrowdSec\LapiClient\TimeoutException when a timeout is detected during client calls

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