Skip to content

Latest commit

 

History

History
630 lines (432 loc) · 23.8 KB

CHANGELOG.md

File metadata and controls

630 lines (432 loc) · 23.8 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.


2.7.0 - 2024-??-??

Compare with previous release

Added

  • Add AppSec component support

Changed

  • Make some fields required when necessary in the settings page (LAPI URL, Api key if authentication type is Api key, etc.)
  • Update the standalone settings file if the file is already present (even if the setting is disabled)

2.6.7 - 2024-07-26

Compare with previous release

Added

  • Add compatibility with WordPress 6.6

2.6.6 - 2024-06-20

Compare with previous release

Fixed

  • Remove Twig dependency to avoid conflict with other plugins or themes (see issue 153)

2.6.5 - 2024-06-20

Compare with previous release

  • No change in this version (wrong release process)

2.6.4 - 2024-06-13

Compare with previous release

Fixed

  • Fix Redis connection error when using user and password in DSN

2.6.3 - 2024-04-05

Compare with previous release

Added

  • Add compatibility with WordPress 6.5

2.6.2 - 2024-03-29

Compare with previous release

Fixed

  • Use CrowdSecWordPressBouncer namespace to avoid conflict with other plugins or themes

2.6.1 - 2024-03-14

Compare with previous release

Fixed

  • Fix incorrect log and cache paths in admin view

2.6.0 - 2024-03-14

Compare with previous release

Changed

  • Move logs and cache folders to wp-content/uploads/crowdsec to avoid deletion on plugin update and pass checksum validation
  • Write standalone-settings.php file only if the new setting Enable auto_prepend_file mode is on.

Added

  • Add a Enable auto_prepend_file mode setting.

2.5.2 - 2023-11-23

Compare with previous release

Added

  • Add compatibility with WordPress 6.4

2.5.1 - 2023-09-14

Compare with previous release

Added

  • Add compatibility with WordPress 6.3

2.5.0 - 2023-06-01

Compare with previous release

Added

  • Add WordPress multisite compatibility

2.4.1 - 2023-04-28

Compare with previous release

Changed

  • No change. Release to test update process hook.

2.4.0 - 2023-04-28

Compare with previous release

Changed

  • Use absolute path for TLS files
  • Use absolute path for geolocation files

Added

  • Add an action after plugin upgrade to recreate standalone settings file

2.3.1 - 2023-04-06

Compare with previous release

Fixed

  • Use root .htaccess instead of multiple subfolders .htaccess

2.3.0 - 2023-04-06

Compare with previous release

Security

  • Add .htaccess files to deny direct access of plugin sensitive folders

2.2.0 - 2023-03-30

Compare with previous release

Changed

  • Do not use cache tags
  • Do not rotate log files

Added

  • Add tests for WordPress 6.2

2.1.0 - 2023-03-23

Compare with previous release

Added

  • Add a custom_user_agent setting for debug (#95)

Fixed

  • Fix error on fresh install because Api key is required even if bouncing is disabled

2.0.4 - 2023-03-09

Compare with previous release

Fixed

  • If a database option is empty, we add the default value to avoid configuration PHP error (#133)

2.0.3 - 2023-02-16

Compare with previous release

Fixed

  • If display_errors setting is true, error is thrown only if bouncer has been successfully instantiated

2.0.2 - 2023-02-16

Compare with previous release

Fixed

  • Cast missing database options to string if necessary (#127)

2.0.1 - 2023-02-14

Compare with previous release

Fixed

  • Fix missing TwigTest.php in release zip that broke captcha and ban walls
  • Fix bad memcached dsn check
  • Fix clean and bad ip resync values when disabling stream mode

2.0.0 - 2023-02-09

Compare with previous release

Changed

  • All source code has been refactored using new CrowdSec PHP librairies:
    • Logs messages have been changed
    • User Agent sent to CrowdSec LAPI has been changed to csphplapi_WordPress/vX.Y.Z

Removed

  • Remove Geolocation save result setting. To disable Geolocation result saving, we can set 0 in the Geolocation cache lifetime setting

1.11.0 - 2022-12-22

Compare with previous release

Added

  • Add LAPI request timeout setting (default to 120 seconds)

1.10.0 - 2022-12-01

Compare with previous release

Changed

  • Modify ban and captcha walls templating for W3C validity
  • Do not use cache tags for memcached as it is discouraged
  • Replace unauthorized chars by underscore _ in cache keys

Added

  • Add tests for WordPress 6.1

1.9.0 - 2022-09-15

Compare with previous release

Added

  • Add TLS authentication feature

Fixed

  • Fix false negative connection test from admin when trust_ip_forward_array setting is not in database

1.8.1 - 2022-08-18

Compare with previous release

Fixed

  • Set missing default values in settings

1.8.0 - 2022-08-04

Compare with previous release

Added

  • Add use_curl configuration: should be used if allow_url_fopen is disabled and curl is available
  • Add disable_prod_log configuration

Changed

  • Change log path to wp-content/plugins/crowdsec/logs
  • By default, the bouncing_level setting is bouncing_disabled (instead of normal_bouncing)

1.7.0 - 2022-07-21

Compare with previous release

Added

  • Add geolocation feature

Changed

  • Do not throw exception if empty api url as it is the default after a fresh install and activation
  • Changed default value for some boolean value as WordPress config are always string

1.6.0 - 2022-06-30

Compare with previous release

Added

  • Add "Test bouncing" action in settings view

1.5.1 - 2022-06-24

Compare with previous release

Added

  • Add tests for WordPress 6.0

1.5.0 - 2022-06-09

Compare with previous release

Added

  • Add configuration to set captcha flow cache lifetime

Changed

  • Use cache instead of session to store some captcha flow values

Fixed

  • Fix wrong deleted decisions count during cache refresh

1.4.3 - 2022-05-13

Compare with previous release

Fixed

  • Do not bounce if headers are already sent

1.4.2 - 2022-05-13

Compare with previous release

Added

  • Add WordPress debug log if bouncer logger is not ready

1.4.1 - 2022-04-10

Compare with previous release

Fixed

  • Close the session after bounce process

1.4.0 - 2022-04-07

Compare with previous release

Changed

  • Do not bounce PHP CLI

1.3.2 - 2022-03-10

Compare with previous release

Fixed

  • Fix debug log for marketplace deployed version

1.3.1 - 2022-03-10

Compare with previous release

Fixed

  • Fix gregwar/captcha for PHP 8.1 compatibility (by using version 0.15.0 of crowdsec/bouncer lib)

1.3.0 - 2022-02-03

Compare with previous release

Changed

  • Use static settings only in standalone mode

1.2.5 - 2022-01-27

Compare with previous release

Added

  • Add test for WordPress 5.9

1.2.4 - 2021-12-16

Compare with previous release

Fixed

  • Fix CHANGELOG link in readme.txt

1.2.3 - 2021-12-16

Compare with previous release

Added

  • Add CHANGELOG file

1.2.2 - 2021-12-09

Compare with previous release

Changed

  • Fix service-contracts version to avoid svn error due to PHP 8 code style

1.2.1 - 2021-12-09

Compare with previous release

Changed

  • Fix symfony polyfill-mbstring version to avoid wordpress svn pre-commit hook error
  • Fix PHP version to 7.2 as we have to run composer install on a PHP 7.2 environment

1.2.0 - 2021-12-09

Compare with previous release

Added

  • Add end to end GitHub actions test

Removed

  • Remove useless configuration to enable standalone mode. This mode should be entirely determined by the presence of an auto_prepend_file PHP directive (php.ini, Apache, nginx, ...)

Fixed

  • Fix issue that cause warning message error on front in standalone mode
  • Fix behavior : bounce should not be done twice in standalone mode

1.1.2 - 2021-12-02

Compare with previous release

Fixed

  • Use displayErrors variable to decide if we throw error or not

1.1.1 - 2021-12-02

Compare with previous release

Fixed

  • Fix release script

1.1.0 - 2021-12-02

Compare with previous release

Changed

  • Use 0.14.0 version of crowdsec php lib
  • Handle typo fixing for retro compatibility (flex_boucing=>flex_bouncing and normal_boucing=>normal_bouncing)
  • Split of debug in 2 configurations : debug and display_errors

1.0.7 - 2021-10-22

Compare with previous release

Added

  • Add compatibility test for WordPress 5.8

1.0.6 - 2021-08-24

Compare with previous release

Changed

  • Handle invalid input Ip format when the scope decision is set to "Ip"

1.0.5 - 2021-07-01

Compare with previous release

Changed

  • Close php session after bouncing

1.0.4 - 2021-06-25

Compare with previous release

Changed

  • Fix a bug at install/update process of the plugin.

1.0.3 - 2021-06-24

Compare with previous release

Fixed

  • This release is just a small fix to let the WordPress Marketplace consider the "1.0.3" as stable and propose this version to be downloaded. (yes, the previous fix was not enough)

1.0.2 - 2021-06-24

Compare with previous release

Fixed

  • This release is just a small fix to let the WordPress Marketplace consider the "1.0.2" as stable and propose this version to be downloaded.

1.0.1 - 2021-06-24

Compare with previous release

Changed

  • Update the package metadata to indicate to the Wordpress Marketplace that this plugin has been successuly tested with the latest Wordpress 5.7 release (PHP 7.3, 7.4, 8.0)
  • Update E2E tests dependencies

Fixed

  • Fix a problem when running dev environment on linux hosts : the "enable_ipv6" docker compose attribute was no more accepted since in docker compose v3.

1.0.0 - 2021-06-24

Compare with previous release

Added

  • Add Standalone mode: an option allowing the PHP engine to no longer have to load the WordPress core during the bouncing stage. To be able to apply this mode, the webmaster has to set the auto_prepend_file PHP flag to the script we provide.
  • Add debug mode: user can enable the debug mode directly from the CrowdSec advanced settings panel. A more verbose log will be written when this flag is enabled.
  • Add WordPress 5.7 support
  • Add PHP 8.0 support

Changed

  • Store Plugin in a flat file. This is a step to prepare the standalone mode.
  • Prevent proxies from caching the wall pages. When the WP is covered by a reverse proxy (like a CDN, Varnish, Nginx reverse proxy etc), the wall page (ban or catpcha) is no more cached.

Fixed

  • Fix incompatibilities with other plugin (session_start). When another plugin uses PHP sessions, using the two plugins together trigger a PHP notice (session_start already sent). This has been fixed.

0.6.0 - 2021-01-23

Compare with previous release

Added

  • Add ipv6 support

0.5.4 - 2021-01-14

Compare with previous release

Changed

  • Update doc

0.5.3 - 2021-01-14

Compare with previous release

Changed

  • Update doc and assets

0.5.2 - 2021-01-14

Compare with previous release

Changed

  • Update doc and assets

0.5.1 - 2021-01-14

Compare with previous release

Changed

  • Update doc and assets

0.5.0 - 2021-01-13

Compare with previous release

Changed

  • Allow user to customize public pages

0.4.5 - 2021-01-12

Compare with previous release

Changed

  • Update deps
  • Use .env file for docker-compose
  • Update doc

0.4.4 - 2021-01-12

Compare with previous release

Changed

  • Improve dev environment

0.4.3 - 2021-01-05

Compare with previous release

Changed

  • Improve log system

0.4.2 - 2021-01-05

Compare with previous release

Changed

  • Improve security

0.4.1 - 2020-12-26

Compare with previous release

Added

  • Add more tests

0.4.0 - 2020-12-24

Compare with previous release

Added

  • Add cdn ip ranges
  • Add WordPress support from 4.9 to 5.6
  • Add functional tests for every WordPress version
  • Add wp scan dev tool

0.3.0 - 2020-12-22

Compare with previous release

Added

  • Add redis and memcached connection checks
  • Make a lint pass

0.2.0 - 2020-12-22

Compare with previous release

Added

  • Use the new bouncer constructor syntax
  • Allow hiding cs mentions
  • Remove todo mentions
  • Hide paranoid mode as it is wip
  • Add versioning process

0.1.0 - 2020-12-22

Added

  • Initial release