Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 3 additions & 3 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down Expand Up @@ -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
4 changes: 2 additions & 2 deletions docs/Installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -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"
}
}
```
Expand Down
2 changes: 1 addition & 1 deletion docs/Migration-Guide.md
Original file line number Diff line number Diff line change
Expand Up @@ -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 |

Expand Down