Skip to content

Commit d744295

Browse files
feat(*): Prepare release 0.17.0
1 parent b64d8d6 commit d744295

File tree

2 files changed

+26
-6
lines changed

2 files changed

+26
-6
lines changed

CHANGELOG.md

+23-3
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,23 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/)
55
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
66

7+
## [0.17.0] - 2022-03-17
8+
9+
### Changed
10+
- *Breaking change*: Refactor some logic of important methods (`init`, `run`, `safelyBounce`, `getBouncerInstance`)
11+
- *Breaking change*: Change the configurations' verification by using `symfony/config` logic whenever it is possible
12+
- *Breaking change*: Change scripts path, name and content (specifically auto-prepend-file' scripts and settings)
13+
- *Breaking change*: Change `IBounce` interface
14+
- *Breaking change*: Rename `StandAloneBounce` class by `StandaloneBounce`
15+
- Rewrite documentations
16+
17+
### Fixed
18+
- Fix `api_timeout` configuration
19+
20+
### Removed
21+
- Remove all unmaintained test and development docker files, sh scripts and associated documentation
22+
- Remove `StandaloneBounce::isConfigValid` method as all is already checked
23+
724

825
## [0.16.0] - 2022-03-10
926
### Added
@@ -26,19 +43,22 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
2643
- Add GitHub action for Release process
2744
- Add `CHANGELOG.md`
2845
### Changed
29-
- Remove `composer.lock` file
3046
- Use `BouncerException` for some specific errors
3147
### Fixed
3248
- Fix auto-prepend script: set `debug_mode` and `display_errors` values before bouncer init
3349
- Fix `gregwar/captcha` for PHP 8.1
3450
- Fix BouncerException arguments in `set_error_handler` method
3551

52+
### Removed
53+
- Remove `composer.lock` file
54+
55+
3656
## [0.14.0] - 2021-11-18
3757
### Changed
58+
- *Breaking change*: Fix typo in constant name (`boucing`=> `bouncing`)
3859
- Allow older versions of symfony config and monolog
3960
- Split debug logic in 2 : debug and display
4061
- Redirect if captcha is resolved
41-
- Fix typo in constant name (`boucing`=> `bouncing`)
4262
- Update doc and scripts
4363

4464
## [0.13.3] - 2021-09-21
@@ -152,7 +172,7 @@ and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.
152172

153173
## [0.4.1] - 2020-12-12
154174
### Added
155-
- Use github flow
175+
- Use GitHub flow
156176

157177
## [0.4.0] - 2020-12-12
158178
### Added

src/Constants.php

+3-3
Original file line numberDiff line numberDiff line change
@@ -20,12 +20,12 @@ class Constants
2020
public const DEFAULT_LAPI_URL = 'http://localhost:8080';
2121

2222
/** @var string The last version of this library */
23-
public const VERSION = 'v0.16.0';
23+
public const VERSION = 'v0.17.0';
2424

25-
/** @var string The user agent used to send request to LAPI or CAPI */
25+
/** @var string The user agent used to send request to LAPI */
2626
public const BASE_USER_AGENT = 'PHP CrowdSec Bouncer/'.self::VERSION;
2727

28-
/** @var int The timeout when calling LAPI or CAPI */
28+
/** @var int The timeout when calling LAPI */
2929
public const API_TIMEOUT = 1;
3030

3131
/** @var int The duration we keep a clean IP in cache 5s */

0 commit comments

Comments
 (0)