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.
2.4.0 - 2025-01-16
- Allow Symfony 7 packages
2.3.2 - 2024-10-18
- Remove
Content-Length
header duringfile_get_contents
call for AppSec request - Remove
Host
header duringfile_get_contents
call for AppSec request only
2.3.1 - 2024-10-16
- Remove
Host
header forfile_get_contents
request handler - Check status code before trying to decode the response body
2.3.0 - 2024-10-04
- Add AppSec requests support
- Throws a
CrowdSec\Common\Client\TimeoutException
forcurl
andfile_get_contents
request handlers when a timeout is detected
2.2.0 - 2023-12-07
- Add
api_connect_timeout
configuration forCurl
request handler
2.1.1 - 2023-07-12
- Fix scenario regular expression to handle longer name
2.1.0 - 2023-03-30
- Add
no_rotation
configuration forFileLog
logger
2.0.0 - 2023-03-09
- Breaking change: If not null, the second param of the
AbstractClient::__contruct
method must implementRequestHandlerInterface
- Change visibility of
RequestHandler/FileGetContents::convertHeadersToString
method from private to protected
- Add
ORIGIN_CAPI
andORIGIN_LISTS
constants
1.3.0 - 2023-02-23
- Add
VERSION_REGEX
constant
1.2.0 - 2023-02-02
- Add default
Exception
class - Add
ConsoleLog
logger - Log message format can be modified with a
format
configuration
1.1.0 - 2023-01-27
- Add
RequestHandlerInterface
implemented by theAbstractRequestHandler
class
1.0.0 - 2023-01-27
- Change version to
1.0.0
: first stable release
- Add public API declaration
0.0.1 - 2023-01-26
- Initial release