diff --git a/CHANGELOG.md b/CHANGELOG.md index 149e2686..442c082c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,6 +2,19 @@ ## Version 3.x (for phpBB 3.3) +### 3.1.0 - 2026-09-02 + +- Added a language dashboard for managing every installed language and viewing each ruleset's rule count and publication status. +- Added support for copying complete rulesets between languages, including their hierarchy, order, titles, messages, anchors, and formatting settings. +- Added draft and published states for translated rulesets, allowing translations to be prepared privately before publication. +- Added a customisable introduction for each language's rules page. +- Added compound list numbering (for example, 1, 1.1, and 1.1.1) and improved ordered and unordered prefixes across deeply nested rules. +- Improved rules-page responsiveness and indented nested categories in the category navigation panel. +- Improved compatibility with phpBB configuration-menu and Who Is Online route API changes. +- Improved Unicode handling for rule titles and anchors, including emoji-safe title storage and stricter anchor validation. +- Updated missing language keys and added correct plural forms across language packs. +- Added Portuguese language pack. + ### 3.0.1 - 2024-01-18 - Rules in the ACP are clickable again, fixes an issue introduced in v3.0.0.. diff --git a/composer.json b/composer.json index c84ee29d..2af99031 100644 --- a/composer.json +++ b/composer.json @@ -3,7 +3,7 @@ "type": "phpbb-extension", "description": "An extension which allows you to create a set of rules for your phpBB forum", "homepage": "https://www.phpbb.com/customise/db/extension/boardrules/", - "version": "3.1.0-dev", + "version": "3.1.0", "keywords": ["phpbb", "extension", "rules"], "license": "GPL-2.0-only", "authors": [ diff --git a/exception/base.php b/exception/base.php index 881532ea..40afea89 100644 --- a/exception/base.php +++ b/exception/base.php @@ -33,7 +33,7 @@ class base extends \Exception * @param \Exception|null $previous * @access public */ - public function __construct($message = null, $code = 0, ?\Exception $previous = null) + public function __construct($message = null, $code = 0, \Exception $previous = null) { parent::__construct();