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.
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?-??-??
This release is not yet published
- Add
pushUsageMetrics
method toBouncer
class
- Breaking change: Move configuration classes to
CrowdSec\LapiClient\Configuration
namespace
3.3.2 - 2024-10-21
- Truncate long raw body in logs
3.3.1 - 2024-10-11
- Remove sensitive data from logs
3.3.0 - 2024-10-04
- Add
getAppSecDecision
method toBouncer
class - Add
appsec_url
,appsec_timeout_ms
andappsec_connect_timeout_ms
configurations
- Throws a
CrowdSec\LapiClient\TimeoutException
when a timeout is detected during client calls
3.2.0 - 2023-12-07
- Add
api_connect_timeout
configuration
3.1.0 - 2023-04-27
api_url
configuration must not be empty
3.0.0 - 2023-03-09
- 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 implementRequestHandlerInterface
2.0.0 - 2023-02-02
-
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 typeCrowdSec\Common\Client\RequestHandler\AbstractRequestHandler
-
Breaking change: Move
Bouncer
constants inConstants
-
1.0.1 - 2023-01-27
- Add public API declaration
1.0.0 - 2023-01-27
- Change version to
1.0.0
: first stable release
0.4.0 - 2023-01-12
- Unexpected configuration keys are automatically removed by a new
cleanConfigs
method - Update some logs
0.3.0 - 2023-01-05
- 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
- Lowercase all scope constants (
ip
,range
,country
)
0.1.0 - 2022-12-23
- Increase default timeout to 120 seconds and allow unlimited timeout for negative
api_timeout
setting value
- Add
user_agent_version
configuration
0.0.1 - 2022-12-08
- Initial release