From 0ec2efa6a5325457a36829e6bfc860937f6397f3 Mon Sep 17 00:00:00 2001 From: Caio Fernandes Date: Sat, 10 Oct 2026 19:54:39 -0300 Subject: [PATCH] =?UTF-8?q?deps!:=20require=20pivotphp/core=20^5.0=20(SPEC?= =?UTF-8?q?-076)=20=E2=80=94=203.0.0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- CHANGELOG.md | 9 +++++++++ README.md | 2 +- composer.json | 2 +- 3 files changed, 11 insertions(+), 2 deletions(-) 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",