Skip to content

Releases

2.8.0

Choose a tag to compare

@mathsgod mathsgod released this 27 Oct 04:44

PHP compatibility update for the PUXT v2 series. Minimum PHP version is now 8.3.

Changes

  • Require PHP ^8.3 and League Route ^7.0.
  • Upgrade Flysystem to ^3.36 and Diactoros to ^3.9.
  • Replace laminas/laminas-config with PUXT\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\Config imports/type hints to PUXT\Config. Config exceptions now live in PUXT\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

Choose a tag to compare

@mathsgod mathsgod released this 07 Feb 04:50

Full Changelog: 3.1.1...3.2.0

3.1.1

Choose a tag to compare

@mathsgod mathsgod released this 05 Jul 05:25

Full Changelog: 3.1.0...3.1.1

3.1.0

Choose a tag to compare

@mathsgod mathsgod released this 09 Jan 04:50
🔨 修復(App.php):修正了對請求屬性的處理,現在將App類別的實例添加為請求屬性。

3.0.10

Choose a tag to compare

@mathsgod mathsgod released this 14 Sep 03:01
📦 更新(composer.json):將league/flysystem的版本要求更新為"^2.3 || ^3.0"

3.0.9: 🐛 修正(composer.json):更新laminas/laminas-diactoros套件版本要求至^2.11 || ^3.0

Choose a tag to compare

@mathsgod mathsgod released this 31 Aug 04:49
🐛 修正(index.php):移除多餘的空行
🐛 修正(PHPRequestHandler.php):修正回傳JsonResponse時的空行問題

3.0.8

Choose a tag to compare

@mathsgod mathsgod released this 31 Jul 04:05
🐛 修正(App.php):在檢查根目錄索引檔案時,僅在$this->base存在時才設置$data[""]的值

3.0.7

Choose a tag to compare

@mathsgod mathsgod released this 31 Jul 03:46
📝 docs(README.md):新增如何設定BASE_PATH的說明

3.0.6

Choose a tag to compare

@mathsgod mathsgod released this 26 Jun 02:51
📝 docs(README.md):新增如何設定BASE_PATH的說明

3.0.5: 🐛 修正(App.php):修正pipe函數的參數註解

Choose a tag to compare

@mathsgod mathsgod released this 23 Jun 10:42
🐛 修正(App.php):修正if語句中的isset判斷