Skip to content

Releases: crowdsecurity/php-cs-bouncer

0.16.0

10 Mar 05:24
Compare
Choose a tag to compare

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 use stream_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

24 Feb 01:33
Compare
Choose a tag to compare

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 and display_errors values before bouncer init
  • Fix gregwar/captcha for PHP 8.1
  • Fix BouncerException arguments in set_error_handler method

v0.14.0

18 Nov 10:12
Compare
Choose a tag to compare
  • 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

21 Sep 14:27
Compare
Choose a tag to compare
  • Merge pull request #53 from crowdsecurity/fix_session_handling

    fix session handling with standalone library

  • bump version to v0.13.3

v0.13.2

23 Aug 18:11
Compare
Choose a tag to compare
  • Merge pull request #52 from crowdsecurity/handle-invalid-ip-format

handle invalid ip format

  • bump version to v0.13.2

v0.13.1

01 Jul 12:25
Compare
Choose a tag to compare
  • Merge pull request #50 from crowdsecurity/close-php-session-after-boucing

    close php session after boucing

  • bump version to v0.13.1

v0.13.0

24 Jun 07:22
Compare
Choose a tag to compare

Fix standalone mode

v0.12.0

23 Jun 22:30
Compare
Choose a tag to compare

Add standalone mode

v0.11.0

23 Jun 20:57
Compare
Choose a tag to compare

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.

v0.10.0

23 Jan 00:33
Compare
Choose a tag to compare

Add Ipv6 support