Repository navigation
Releases
Releases · mathsgod/puxt
2.8.0
PHP compatibility update for the PUXT v2 series. Minimum PHP version is now 8.3.
Changes
- Require PHP
^8.3and League Route^7.0. - Upgrade Flysystem to
^3.36and Diactoros to^3.9. - Replace
laminas/laminas-configwithPUXT\Config, preserving core configuration behavior and the upstream BSD-3-Clause attribution. - Fix declared properties, optional-key access and nullable parameter declarations for newer PHP versions.
- Add regression tests for routing, HTTP methods, JSON, templates/layouts, middleware, plugins and configuration.
Upgrade notes
- PHP 8.2 and earlier are no longer supported.
- Update explicit
Laminas\Config\Configimports/type hints toPUXT\Config. Config exceptions now live inPUXT\Config\Exception. - Laminas Config Reader, Writer, Factory and Processor APIs are not included.
- Route 7 requires PSR HTTP Message 2, Container 2 and Simple Cache 3; applications and integrations must have compatible dependencies.
- PUXT-VX 2.2.2 has incompatible Flysystem/Diactoros constraints and requires a separate upgrade. VX integration has not yet been validated.
Validation
30 tests and 90 assertions pass on PHP 8.3.6, 8.4.22 and 8.5.12 with no warnings or deprecations. Composer validation and platform checks pass.
3.2.0
3.1.1
3.1.0
3.0.10
3.0.9: 🐛 修正(composer.json):更新laminas/laminas-diactoros套件版本要求至^2.11 || ^3.0
🐛 修正(index.php):移除多餘的空行 🐛 修正(PHPRequestHandler.php):修正回傳JsonResponse時的空行問題
3.0.8
3.0.7
3.0.6
3.0.5: 🐛 修正(App.php):修正pipe函數的參數註解
🐛 修正(App.php):修正if語句中的isset判斷