diff --git a/CHANGELOG.md b/CHANGELOG.md index ad33cb6..def764c 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -5,14 +5,14 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and this project adheres to [Semantic Versioning 2.0.0](https://semver.org/). -## [Unreleased] +## [3.0.0] - 2026-11-22 ### Changed (breaking) - **Requires PHP `^8.2`.** Support for PHP 8.1 is dropped; CI now runs PHP 8.2, 8.3, 8.4 and 8.5. - **Coding standard moved to PER-CS** through the shared `.php-cs-fixer.dist.php`; the whole code base was reformatted. -## [2.0.0] — TBD +## [2.0.0] - 2026-05-24 ### Highlights @@ -119,5 +119,5 @@ PHP 8.1+ typing. See [`docs/migration-1.x-to-2.x.md`](./docs/migration-1.x-to-2.x.md) for a step-by-step upgrade guide. -[Unreleased]: https://github.com/InitPHP/Socket/compare/v2.0.0...HEAD +[3.0.0]: https://github.com/InitPHP/Socket/compare/2.0.0...3.0.0 [2.0.0]: https://github.com/InitPHP/Socket/releases/tag/v2.0.0 diff --git a/docs/Installation.md b/docs/Installation.md index 65eacf4..f41c093 100644 --- a/docs/Installation.md +++ b/docs/Installation.md @@ -6,12 +6,12 @@ composer require initphp/socket ``` -The package follows [Semantic Versioning](https://semver.org/). The current major is **2.x**. +The package follows [Semantic Versioning](https://semver.org/). The current major is **3.x**. ```json { "require": { - "initphp/socket": "^2.0" + "initphp/socket": "^3.0" } } ``` diff --git a/docs/Migration-Guide.md b/docs/Migration-Guide.md index d14888d..7edcba7 100644 --- a/docs/Migration-Guide.md +++ b/docs/Migration-Guide.md @@ -8,7 +8,7 @@ This guide is a step-by-step upgrade. The public surface stays small, so the wor | Aspect | 1.x | 2.x | |---|---|---| -| PHP | `>=7.4` | `^8.2` (2.0.0 itself required `^8.1`) | +| PHP | `>=7.4` | `^8.1` in 2.x; `^8.2` from 3.0.0 | | Required extensions | `ext-sockets` | `ext-sockets`, `ext-openssl` | | CI tested versions | n/a | 8.2, 8.3, 8.4, 8.5 |