Skip to content

Latest commit

 

History

History
155 lines (80 loc) · 4.3 KB

CHANGELOG.md

File metadata and controls

155 lines (80 loc) · 4.3 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.


2.3.2 - 2024-10-18

Compare with previous release

Fixed

  • Remove Content-Length header during file_get_contents call for AppSec request
  • Remove Host header during file_get_contents call for AppSec request only

2.3.1 - 2024-10-16

Compare with previous release

Fixed

  • Remove Host header for file_get_contents request handler
  • Check status code before trying to decode the response body

2.3.0 - 2024-10-04

Compare with previous release

Added

  • Add AppSec requests support

Changed

  • Throws a CrowdSec\Common\Client\TimeoutException for curl and file_get_contents request handlers when a timeout is detected

2.2.0 - 2023-12-07

Compare with previous release

Added

  • Add api_connect_timeout configuration for Curl request handler

2.1.1 - 2023-07-12

Compare with previous release

Fixed

  • Fix scenario regular expression to handle longer name

2.1.0 - 2023-03-30

Compare with previous release

Added

  • Add no_rotation configuration for FileLog logger

2.0.0 - 2023-03-09

Compare with previous release

Changed

  • Breaking change: If not null, the second param of the AbstractClient::__contruct method must implement RequestHandlerInterface
  • Change visibility of RequestHandler/FileGetContents::convertHeadersToString method from private to protected

Added

  • Add ORIGIN_CAPI and ORIGIN_LISTS constants

1.3.0 - 2023-02-23

Compare with previous release

Added

  • Add VERSION_REGEX constant

1.2.0 - 2023-02-02

Compare with previous release

Added

  • Add default Exception class
  • Add ConsoleLog logger
  • Log message format can be modified with a format configuration

1.1.0 - 2023-01-27

Compare with previous release

Added

  • Add RequestHandlerInterface implemented by the AbstractRequestHandler class

1.0.0 - 2023-01-27

Compare with previous release

Changed

  • Change version to 1.0.0: first stable release

Added

  • Add public API declaration

0.0.1 - 2023-01-26

Added

  • Initial release