Skip to content

Commit 0cf1e8a

Browse files
feat(*): Remove blaas subscription button (#170)
* feat(blaas): Remove blaas subscription button * feat(*): Add compatibility for WordPress 6.9 * test(e2e): Be less restrictive on metrics test * test(e2e): Clear cache for 6.9
1 parent bd790c0 commit 0cf1e8a

17 files changed

+109
-87
lines changed

.githooks/commit-msg

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/doc-links.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ jobs:
1818
steps:
1919

2020
- name: Clone sources
21-
uses: actions/checkout@v4
21+
uses: actions/checkout@v5
2222
with:
2323
path: extension
2424

.github/workflows/end-to-end-auto-prepend-test-suite.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,9 +34,9 @@ jobs:
3434
php-version: '7.2'
3535
- wp-version: '6.0'
3636
php-version: '8.0'
37-
- wp-version: '6.8'
37+
- wp-version: '6.9'
3838
php-version: '7.2'
39-
- wp-version: '6.8'
39+
- wp-version: '6.9'
4040
php-version: '8.3'
4141

4242
name: End-to-end auto-prepend-file mode test suite
@@ -100,7 +100,7 @@ jobs:
100100
ddev wp core install --url='https://${{ env.WP_VERSION_CODE }}.ddev.site' --title='WordPress' --admin_user='admin' --admin_password='admin123' --admin_email='[email protected]'
101101
102102
- name: Clone ${{ env.EXTENSION_NAME }} files
103-
uses: actions/checkout@v4
103+
uses: actions/checkout@v5
104104
with:
105105
path: ${{ env.EXTENSION_PATH }}
106106

.github/workflows/end-to-end-multisite.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,7 @@ jobs:
2626
# Latest minor version of each major version
2727
# Minimum PHP version compatible with all WordPress versions
2828
matrix:
29-
wp-version: [ "4.9", "5.9", "6.8" ]
29+
wp-version: [ "4.9", "5.9", "6.9" ]
3030
php-version: [ "7.2" ]
3131
subsite: ["site1", "site2"]
3232

@@ -103,7 +103,7 @@ jobs:
103103
ddev wp site create --slug="site2" --title="WordPress Site2"
104104
105105
- name: Clone ${{ env.EXTENSION_NAME }} files
106-
uses: actions/checkout@v4
106+
uses: actions/checkout@v5
107107
with:
108108
path: ${{ env.EXTENSION_PATH }}
109109

.github/workflows/end-to-end-test-suite.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ jobs:
4141
php-version: '7.2'
4242
- wp-version: '6.0'
4343
php-version: '8.0'
44-
- wp-version: '6.8'
44+
- wp-version: '6.9'
4545
php-version: '7.2'
46-
- wp-version: '6.8'
46+
- wp-version: '6.9'
4747
php-version: '8.3'
4848

4949
name: End-to-end test suite
@@ -107,7 +107,7 @@ jobs:
107107
ddev wp core install --url='https://${{ env.WP_VERSION_CODE }}.ddev.site' --title='WordPress' --admin_user='admin' --admin_password='admin123' --admin_email='[email protected]'
108108
109109
- name: Clone ${{ env.EXTENSION_NAME }} files
110-
uses: actions/checkout@v4
110+
uses: actions/checkout@v5
111111
with:
112112
path: ${{ env.EXTENSION_PATH }}
113113

.github/workflows/release-test.yml

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -39,9 +39,9 @@ jobs:
3939
php-version: '7.2'
4040
- wp-version: '6.0'
4141
php-version: '8.0'
42-
- wp-version: '6.8'
42+
- wp-version: '6.9'
4343
php-version: '7.2'
44-
- wp-version: '6.8'
44+
- wp-version: '6.9'
4545
php-version: '8.3'
4646

4747
name: End-to-end release test suite
@@ -112,15 +112,15 @@ jobs:
112112
113113
- name: Clone files from last release
114114
if: github.event.inputs.check_head_zip != 'true'
115-
uses: actions/checkout@v4
115+
uses: actions/checkout@v5
116116
with:
117117
path: raw_sources
118118
ref: "v${{ env.LAST_TAG }}"
119119
repository: "${{ env.GITHUB_ORIGIN }}"
120120

121121
- name: Clone files from HEAD
122122
if: github.event.inputs.check_head_zip == 'true'
123-
uses: actions/checkout@v4
123+
uses: actions/checkout@v5
124124
with:
125125
path: raw_sources
126126

.github/workflows/release.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ on:
66
tag_name:
77
type: string
88
required: true
9+
description: Tag with v prefix
910
deploy_to_wordpress:
1011
type: boolean
1112
description: Deploy to WordPress
@@ -41,7 +42,7 @@ jobs:
4142
echo "version_number=$(echo ${{ github.event.inputs.tag_name }} | sed 's/v//g' )" >> $GITHUB_OUTPUT
4243
4344
- name: Clone sources
44-
uses: actions/checkout@v4
45+
uses: actions/checkout@v5
4546

4647
- name: Check version consistency in files
4748
# Check crowdsec.php (2), readme.txt (1), inc/Constants.php (1) and CHANGELOG.md (3)

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ 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](https://semver.org/spec/v2.0.0.html).
66

7+
---
8+
9+
## [2.12.0](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.12.0) - 2025-12-05
10+
[_Compare with previous release_](https://github.com/crowdsecurity/cs-wordpress-bouncer/compare/v2.11.0...v2.12.0)
11+
12+
### Added
13+
14+
- Add compatibility with WordPress 6.9
15+
16+
### Removed
17+
18+
- Remove Blocklist as a Service (BLaaS) subscription button
19+
20+
721
---
822

923
## [2.11.1](https://github.com/crowdsecurity/cs-wordpress-bouncer/releases/tag/v2.11.1) - 2025-06-13

crowdsec.php

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,16 +4,16 @@
44
* Plugin URI: https://github.com/crowdsecurity/cs-wordpress-bouncer
55
* Description: Safer Together. Protect your WordPress application with CrowdSec.
66
* Tags: security, captcha, ip-blocker, crowdsec, hacker-protection, appsec
7-
* Version: 2.11.1
7+
* Version: 2.12.0
88
* Author: CrowdSec
99
* Author URI: https://www.crowdsec.net/
1010
* Github: https://github.com/crowdsecurity/cs-wordpress-bouncer
1111
* License: MIT
1212
* License URI: https://opensource.org/licenses/MIT
1313
* Requires PHP: 7.2
1414
* Requires at least: 4.9
15-
* Tested up to: 6.8
16-
* Stable tag: 2.11.1
15+
* Tested up to: 6.9
16+
* Stable tag: 2.12.0
1717
* Text Domain: crowdsec-wp
1818
* First release: 2021.
1919
*/

docs/DEVELOPER.md

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -409,14 +409,6 @@ Example:
409409

410410
feat(admin): Add css for admin actions
411411

412-
413-
You can use the `commit-msg` git hook that you will find in the `.githooks` folder :
414-
415-
```
416-
cp .githooks/commit-msg .git/hooks/commit-msg
417-
chmod +x .git/hooks/commit-msg
418-
```
419-
420412
### Allowed message `type` values
421413

422414
- chore (automatic tasks; no production code change)
@@ -443,7 +435,7 @@ npm install -g doctoc
443435
Then, run it in the documentation folder:
444436

445437
```bash
446-
doctoc docs/*
438+
doctoc docs/* --maxlevel 4
447439
```
448440

449441

0 commit comments

Comments
 (0)