diff --git a/CHANGELOG.md b/CHANGELOG.md index 467a7de..ef69ea3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,6 +5,15 @@ All notable changes to the PivotPHP Skeleton project will be documented in this The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [3.0.0] - 2026-10-10 + +### Changed + +- **Requires `pivotphp/core: ^5.0`** (was `^4.1.1`), which brings `pivotphp/core-routing` 3.0: each + `Application` owns its router (SPEC-076). The template itself needs no code change — it only + registers routes through `$app` — but projects that call `Router::get()`/`Router::group()` statically + must move to `$app->get()`/`$app->group()` (see the core's `docs/MIGRATION_GUIDE.md`, "4.x → 5.0"). + ## [2.0.3] - 2026-10-10 ### Changed diff --git a/README.md b/README.md index db7d66d..ca82219 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # PivotPHP Skeleton -Project template for [PivotPHP](https://github.com/PivotPHP/pivotphp-core) 4 — an Express.js-style PHP +Project template for [PivotPHP](https://github.com/PivotPHP/pivotphp-core) 5 — an Express.js-style PHP API on PSR-7/PSR-15. ## Quick start diff --git a/composer.json b/composer.json index fcb97d6..334ae7d 100644 --- a/composer.json +++ b/composer.json @@ -24,7 +24,7 @@ "prefer-stable": true, "require": { "php": "^8.1", - "pivotphp/core": "^4.1.1" + "pivotphp/core": "^5.0" }, "require-dev": { "nyholm/psr7": "^1.8",