Skip to content

Commit e3b6ee5

Browse files
docs(*): Add CHANGELOG and update readme.txt
1 parent ee92e99 commit e3b6ee5

File tree

3 files changed

+262
-14
lines changed

3 files changed

+262
-14
lines changed

.distignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
/.git
33
/.github
44
/.vagrant
5+
/.vscode
56
/docker
67
/docs
78
/node_modules
@@ -33,11 +34,13 @@ docker-compose.yml
3334
*.sh
3435
*.log
3536
README.md
37+
CHANGELOG.md
3638
.DS_Store
3739
composer.json
3840
composer.lock
3941
/logs/**
4042
**/*Test.php
4143
Vagrantfile
4244
.distignore
43-
.gitignore
45+
.gitignore
46+
prettier.config.js

CHANGELOG.md

Lines changed: 232 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,232 @@
1+
# Changelog
2+
All notable changes to this project will be documented in this file.
3+
4+
The format is based on [Keep a Changelog](http://keepachangelog.com/en)
5+
and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).
6+
7+
## [1.2.3] - 2021-12-16
8+
9+
### Added
10+
- Add CHANGELOG file
11+
12+
## [1.2.2] - 2021-12-09
13+
14+
### Changed
15+
- Fix service-contracts version to avoid svn error due to PHP 8 code style
16+
17+
18+
## [1.2.1] - 2021-12-09
19+
20+
### Changed
21+
- Fix symfony polyfill-mbstring version to avoid wordpress svn pre-commit hook error
22+
- Fix PHP version to 7.2 as we have to run `composer install` on a PHP 7.2 environment
23+
24+
## [1.2.0] - 2021-12-09
25+
26+
### Added
27+
- Add end to end github actions test
28+
29+
### Removed
30+
- Remove useless configuration to enable standalone mode. This mode should be entirely determined by the presence of
31+
an auto_prepend_file PHP directive (php.ini, Apache, nginx, ...)
32+
33+
### Fixed
34+
- Fix issue that cause warning message error on front in standalone mode
35+
- Fix behavior : bounce should not be done twice in standalone mode
36+
37+
## [1.1.2] - 2021-12-02
38+
39+
### Fixed
40+
- Use displayErrors variable to decide if we throw error or not
41+
42+
## [1.1.1] - 2021-12-02
43+
44+
### Fixed
45+
- Fix release script
46+
47+
## [1.1.0] - 2021-12-02
48+
49+
### Changed
50+
- Use `0.14.0` version of crowdsec php lib
51+
- Handle typo fixing for retro compatibility (`flex_boucing`=>`flex_bouncing` and `normal_boucing`=>`normal_bouncing`)
52+
- Split of debug in 2 configurations : debug and display_errors
53+
54+
## [1.0.7] - 2021-10-22
55+
56+
### Added
57+
- Add compatibility test for WordPress 5.8
58+
59+
## [1.0.6] - 2021-08-24
60+
61+
### Changed
62+
- Handle invalid input Ip format when the scope decision is set to "Ip"
63+
64+
## [1.0.5] - 2021-07-01
65+
66+
### Changed
67+
- Close php session after bouncing
68+
69+
## [1.0.4] - 2021-06-25
70+
71+
### Changed
72+
- Fix a bug at install/update process of the plugin.
73+
74+
## [1.0.3] - 2021-06-24
75+
76+
### Fixed
77+
- This release is just a small fix to let the WordPress Marketplace consider the "1.0.3" as stable and propose this
78+
version to be downloaded. (yes, the previous fix was not enough)
79+
80+
## [1.0.2] - 2021-06-24
81+
82+
### Fixed
83+
- This release is just a small fix to let the WordPress Marketplace consider the "1.0.2" as stable and propose this
84+
version to be downloaded.
85+
86+
87+
## [1.0.1] - 2021-06-24
88+
89+
### Changed
90+
- Update the package metadata to indicate to the Wordpress Marketplace that this plugin has been successuly tested
91+
with the latest Wordpress 5.7 release (PHP 7.3, 7.4, 8.0)
92+
- Update E2E tests dependencies
93+
94+
### Fixed
95+
- Fix a problem when running dev environment on linux hosts : the "enable_ipv6" docker compose attribute was no more
96+
accepted since in docker compose v3.
97+
98+
99+
## [1.0.0] - 2021-06-24
100+
101+
### Added
102+
103+
- Add Standalone mode: an option allowing the PHP engine to no longer have to load the WordPress core during the
104+
bouncing stage. To be able to apply this mode, the webmaster has to set the auto_prepend_file PHP flag to the
105+
script we provide.
106+
- Add debug mode: user can enable the debug mode directly from the CrowdSec advanced settings panel. A more verbose log
107+
will be written when this flag is enabled.
108+
- Add WordPress 5.7 support
109+
- Add PHP 8.0 support
110+
111+
### Changed
112+
- Store Plugin in a flat file. This is a step to prepare the standalone mode.
113+
- Prevent proxies from caching the wall pages. When the WP is covered by a reverse proxy (like a CDN, Varnish, Nginx
114+
reverse proxy etc), the wall page (ban or catpcha) is no more cached.
115+
116+
117+
### Fixed
118+
- Fix incompatibilities with other plugin (session_start). When another plugin uses PHP sessions, using the two
119+
plugins together trigger a PHP notice (session_start already sent). This has been fixed.
120+
121+
122+
## [0.6.0] - 2021-01-23
123+
124+
### Added
125+
- Add ipv6 support
126+
127+
## [0.5.4] - 2021-01-14
128+
129+
### Changed
130+
- Update doc
131+
132+
## [0.5.3] - 2021-01-14
133+
134+
### Changed
135+
- Update doc and assets
136+
137+
## [0.5.2] - 2021-01-14
138+
139+
### Changed
140+
- Update doc and assets
141+
142+
143+
## [0.5.1] - 2021-01-14
144+
145+
### Changed
146+
- Update doc and assets
147+
148+
## [0.5.0] - 2021-01-13
149+
150+
### Changed
151+
- Allow user to customize public pages
152+
153+
## [0.4.5] - 2021-01-12
154+
155+
### Changed
156+
- Update deps
157+
- Use `.env` file for docker-compose
158+
- Update doc
159+
160+
## [0.4.4] - 2021-01-12
161+
162+
### Changed
163+
- Improve dev environment
164+
165+
## [0.4.3] - 2021-01-05
166+
167+
### Changed
168+
- Improve log system
169+
170+
## [0.4.2] - 2021-01-05
171+
172+
### Changed
173+
- Improve security
174+
175+
## [0.4.1] - 2020-12-26
176+
177+
### Added
178+
- Add more tests
179+
180+
181+
## [0.4.0] - 2020-12-24
182+
183+
### Added
184+
- Add cdn ip ranges
185+
- Add WordPress support from 4.9 to 5.6
186+
- Add functional tests for every WordPress version
187+
- Add wp scan dev tool
188+
189+
190+
## [0.3.0] - 2020-12-22
191+
192+
### Added
193+
- Add redis and memcached connection checks
194+
- Make a lint pass
195+
196+
197+
## [0.2.0] - 2020-12-22
198+
199+
### Added
200+
201+
- Use the new bouncer constructor syntax
202+
- Allow hiding cs mentions
203+
- Remove todo mentions
204+
- Hide paranoid mode as it is wip
205+
- Add versioning process
206+
207+
## [0.1.0] - 2020-12-22
208+
209+
### Added
210+
211+
- Initial release
212+
213+
214+
215+
216+
217+
218+
219+
220+
221+
222+
223+
224+
225+
226+
227+
228+
229+
230+
231+
232+

readme.txt

Lines changed: 26 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -44,26 +44,39 @@ This WordPress plugin is a "bouncer", which purpose is to block detected attacks
4444

4545
== Changelog ==
4646

47-
= 0.5 =
48-
* Users can customize both ban and captcha walls
47+
= 1.2 (2021-12-09) =
4948

50-
= 0.4 =
51-
* Users can set CDN IP ranges to trust
49+
- Fix issue that cause warning message error on front in standalone mode
50+
- Fix behavior : bounce should not be done twice in standalone mode
51+
- Remove useless configuration to enable standalone mode
5252

53-
= 0.3 =
54-
* Add Redis and Memcached support for caching data
53+
= 1.1 (2021-12-02) =
5554

56-
= 0.2 =
57-
* Make public CrowdSec mentions hiddable
55+
- Use `0.14.0` version of crowdsec php lib
56+
- Handle typo fixing for retro compatibility (`flex_boucing`=>`flex_bouncing` and `normal_boucing`=>`normal_bouncing`)
57+
- Split of debug in 2 configurations : debug and display_errors
5858

59-
= 0.1 =
60-
* Avoid useless bouncing cases
61-
* Add advanced settings page
59+
= 1.0 (2021-06-24) =
60+
61+
- Add Standalone mode: an option allowing the PHP engine to no longer have to load the WordPress core during the
62+
bouncing stage. To be able to apply this mode, the webmaster has to set the auto_prepend_file PHP flag to the
63+
script we provide.
64+
- Add debug mode: user can enable the debug mode directly from the CrowdSec advanced settings panel. A more verbose log
65+
will be written when this flag is enabled.
66+
- Add WordPress 5.7 support
67+
- Add PHP 8.0 support
68+
69+
70+
[Read the full Changelog](https://github.com/crowdsecurity/cs-wordpress-bouncer/blob/main/README.md)
6271

6372
== Upgrade Notice ==
6473

65-
= 0.5 =
66-
The user can customize the ban wall and captcha wall
74+
= 1.2 =
75+
If you are using the standalone mode, you should upgrade as this release fixes some issues.
76+
77+
= 1.1 =
78+
With this release, you can enable debug log without throwing error on browser as there are now two separate configurations.
79+
6780

6881
== CrowdSec ==
6982

0 commit comments

Comments
 (0)