Skip to content

Latest commit

 

History

History
185 lines (101 loc) · 5.57 KB

CHANGELOG.md

File metadata and controls

185 lines (101 loc) · 5.57 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog and this project adheres to Semantic Versioning.

SemVer public API

The public API of this library consists of all public or protected methods, properties and constants belonging to the src folder.

As far as possible, we try to adhere to Symfony guidelines when deciding whether a change is a breaking change or not.


4.0.0 - 202?-??-??

Compare with previous release

This release is not yet published

Added

  • Add pushUsageMetrics method to Bouncer class

Changed

  • Breaking change: Move configuration classes to CrowdSec\LapiClient\Configuration namespace

3.3.2 - 2024-10-21

Compare with previous release

Fixed

  • Truncate long raw body in logs

3.3.1 - 2024-10-11

Compare with previous release

Fixed

  • Remove sensitive data from logs

3.3.0 - 2024-10-04

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 - 2023-12-07

Compare with previous release

Added

  • Add api_connect_timeout configuration

3.1.0 - 2023-04-27

Compare with previous release

Changed

  • api_url configuration must not be empty

3.0.0 - 2023-03-09

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 - 2023-02-02

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 - 2023-01-27

Compare with previous release

Added

  • Add public API declaration

1.0.0 - 2023-01-27

Compare with previous release

Changed

  • Change version to 1.0.0: first stable release

0.4.0 - 2023-01-12

Compare with previous release

Changed

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

0.3.0 - 2023-01-05

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 - 2022-12-29

Compare with previous release

Changed

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

0.1.0 - 2022-12-23

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

0.0.1 - 2022-12-08

Added

  • Initial release