diff --git a/.github/workflows/schedule.yml b/.github/workflows/schedule.yml index 209512552..271f74933 100644 --- a/.github/workflows/schedule.yml +++ b/.github/workflows/schedule.yml @@ -37,5 +37,5 @@ jobs: git config --local user.email 'roman25052006.kelesh@gmail.com' set +e git add CHANGELOG.md - git commit -m "Update CHANGELOG.md ๐Ÿ“–" + git commit -m "changelog: Update CHANGELOG.md ๐Ÿ“–" git push https://${{ secrets.GITHUB_TOKEN }}@github.com/${{ github.repository }}.git master diff --git a/CHANGELOG.md b/CHANGELOG.md index 19f1dc9f6..2f67da212 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -4,10 +4,23 @@ ## [nightly](https://nightly.link/torrentpier/torrentpier/workflows/ci/master/TorrentPier-master) +### ๐Ÿš€ Features + +- [**breaking**] Implement centralized Config class to replace global $bb_cfg array ([#1953](https://github.com/torrentpier/torrentpier/pull/1953)) - ([bf9100f](https://github.com/torrentpier/torrentpier/commit/bf9100fbfa74768edb01c62636198a44739d9923)) + +### ๐Ÿ› Bug Fixes + +- *(installer)* Strip protocol from TP_HOST to keep only hostname ([#1952](https://github.com/torrentpier/torrentpier/pull/1952)) - ([81bf67c](https://github.com/torrentpier/torrentpier/commit/81bf67c2be85d49e988b7802ca7e9738ff580031)) +- *(sql)* Resolve only_full_group_by compatibility issues in tracker cleanup ([#1951](https://github.com/torrentpier/torrentpier/pull/1951)) - ([37a0675](https://github.com/torrentpier/torrentpier/commit/37a0675adfb02014e7068f4aa82301e29f39eab6)) + ### ๐Ÿ“ฆ Dependencies - *(deps)* Bump filp/whoops from 2.18.2 to 2.18.3 ([#1948](https://github.com/torrentpier/torrentpier/pull/1948)) - ([b477680](https://github.com/torrentpier/torrentpier/commit/b4776804a408217229caa327c79849cf13ce2aa5)) +### ๐Ÿšœ Refactor + +- *(config)* [**breaking**] Encapsulate global $bb_cfg array in Config class ([#1950](https://github.com/torrentpier/torrentpier/pull/1950)) - ([5842994](https://github.com/torrentpier/torrentpier/commit/5842994782dfa62788f8427c55045abdbfb5b8e9)) + ### โš™๏ธ Miscellaneous - *(_release.php)* Finally! Removed some useless params ([#1947](https://github.com/torrentpier/torrentpier/pull/1947)) - ([9c7d270](https://github.com/torrentpier/torrentpier/commit/9c7d270598c0153fb82f4b7ad96f5b59399b2159)) diff --git a/UPGRADE_GUIDE.md b/UPGRADE_GUIDE.md index 5dfa67741..4b929d2da 100644 --- a/UPGRADE_GUIDE.md +++ b/UPGRADE_GUIDE.md @@ -6,7 +6,10 @@ This guide helps you upgrade your TorrentPier installation to the latest version - [Configuration System Migration](#configuration-system-migration) - [Censor System Migration](#censor-system-migration) +<<<<<<< docs-Add-Select-class-migration-guide - [Select System Migration](#select-system-migration) +======= +>>>>>>> dev/005 - [Development System Migration](#development-system-migration) - [Breaking Changes](#breaking-changes) - [Best Practices](#best-practices) @@ -162,6 +165,7 @@ When you update censored words in the admin panel, the system now automatically: 2. Reloads the singleton instance with fresh words 3. Applies changes immediately without requiring page refresh +<<<<<<< docs-Add-Select-class-migration-guide ## ๐Ÿ“‹ Select System Migration The Select class has been moved and reorganized for better structure and consistency within the legacy system organization. @@ -230,6 +234,8 @@ use TorrentPier\Legacy\Select; use TorrentPier\Legacy\Common\Select; ``` +======= +>>>>>>> dev/005 ## ๐Ÿ› ๏ธ Development System Migration The development and debugging system has been refactored to use a singleton pattern, providing better resource management and consistency across the application. @@ -333,7 +339,10 @@ $environment = [ - Direct `$wordCensor` access โ†’ Use `censor()` methods - `new TorrentPier\Dev()` โ†’ Use `dev()` global function - Static `Dev::` methods โ†’ Use `dev()` instance methods +<<<<<<< docs-Add-Select-class-migration-guide - `\TorrentPier\Legacy\Select::` โ†’ Use `\TorrentPier\Legacy\Common\Select::` +======= +>>>>>>> dev/005 ### File Structure Changes - New `/src/` directory for modern PHP classes @@ -380,6 +389,7 @@ function processUserInput(string $text): string { $censoredText = censor()->censorString($input); ``` +<<<<<<< docs-Add-Select-class-migration-guide ### Select Usage ```php // โœ… Use the new namespace consistently @@ -397,6 +407,8 @@ class AdminPanel { } ``` +======= +>>>>>>> dev/005 ### Development and Debugging ```php // โœ… Use instance methods for debugging diff --git a/cliff.toml b/cliff.toml index 1753dd8a4..1798567f1 100644 --- a/cliff.toml +++ b/cliff.toml @@ -105,7 +105,7 @@ commit_parsers = [ { message = "^refactor", group = "๐Ÿšœ Refactor" }, { message = "^style", group = "๐ŸŽจ Styling" }, { message = "^test", group = "๐Ÿงช Testing" }, - { message = "^ignore|^release", skip = true }, + { message = "^ignore|^release|^changelog", skip = true }, { message = "^chore|^ci|^misc", group = "โš™๏ธ Miscellaneous" }, { body = ".*security", group = "๐Ÿ›ก๏ธ Security" }, { message = "^revert", group = "โ—€๏ธ Revert" },