Releases: crowdsecurity/php-cs-bouncer
Releases · crowdsecurity/php-cs-bouncer
0.16.0
Added
- Add geolocation feature to get remediation from
Country
scoped decisions (using MaxMind databases) - Add end-to-end tests GitHub action
- Add GitHub action to check links in markdown and update TOC
Changed
- Breaking change: Remove
live_mode
occurrences and usestream_mode
instead - Change PHP scripts for testing examples (auto-prepend, cron)
- Update docs
Fixed
- Fix debug log in
no-dev
environment - Fix empty logs in Unit Tests
0.15.0
Added
- Add tests for PHP 8.1 (memcached is excluded)
- Add GitHub action for Release process
- Add
CHANGELOG.md
Changed
- Remove
composer.lock
file - Use
BouncerException
for some specific errors
Fixed
- Fix auto-prepend script: set
debug_mode
anddisplay_errors
values before bouncer init - Fix
gregwar/captcha
for PHP 8.1 - Fix BouncerException arguments in
set_error_handler
method
v0.14.0
- Breaking change: Fix typo in constant name (
boucing
=>bouncing
) - Allow older versions of symfony config and monolog
- Split debug logic in 2 : debug and display
- Add redirect if captcha is resolved
- Update doc and scripts
v0.13.3
v0.13.2
v0.13.1
v0.13.0
v0.12.0
v0.11.0
Add a "Bounce" class to simplify specific implementations
(ex wordpress plugin, magento module etc).
This bounce class handle:
- The proxies allowlist (to trust the X-Forwarded-For header)
- Unexpected errors are catched to not block access to the content
- The wall HTTP responses
- The captcha business methods (manual refresh of the captcha, form generation, form control)
Add a "Standalone" implementation of the Bounce class
This implementation can be installed to any project using the php flag "auto_prepend_file". You can find a small guide in this release to help you to setup this standalone implementation.