From 6f565332f5531b7722d1e9c445314b91862f6d6c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Wed, 7 Aug 2024 13:06:28 +0200 Subject: [PATCH] Prepare v0.3.2 release --- CHANGELOG.md | 25 ++++++++++++++++++++++--- README.md | 10 +++++++--- 2 files changed, 29 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index d037017..4ee8b88 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,18 @@ # Changelog +## 0.3.2 (2024-08-07) + +* Feature: Improve PHP 8.4+ support by avoiding implicitly nullable types. + (#19 by @clue) + +* Update project structure, homepage and examples. + Add `.gitattributes` to exclude dev files from exports. + (#16, #20, #21 and #22 by @clue) + +* Update test suite to use GitHub actions for continuous integration (CI), + run tests on all PHP versions up to PHP 8.3 and ensure 100% code coverage. + (#15 by @SimonFrings and #17 and #18 by @clue) + ## 0.3.1 (2017-06-06) * Fix: Fix server-side parsing of legacy inline protocol when multiple requests are processed at once @@ -9,19 +22,25 @@ * Feature: Add dedicated and faster `RequestParser` that also support the old inline request protocol. + * Feature: Message serialization can now be handled directly by the Serializer again without having to construct the appropriate model first. + * BC break: The `Factory` now has two distinct methods to create parsers: * `createResponseParser()` for a client-side library * `createRequestParser()` for a server-side library / testing framework + * BC break: Simplified parser API, now `pushIncoming()` returns an array of all parsed message models. + * BC break: The signature for getting a serialized message from a model was changed and now requires a Serializer passed: + ```php -ModelInterface::getMessageSerialized($serializer) -``` -* Many, many performance improvements + ModelInterface::getMessageSerialized($serializer) + ``` + + * Many, many performance improvements ## 0.2.0 (2014-01-21) diff --git a/README.md b/README.md index 2c7ae13..8b00f13 100644 --- a/README.md +++ b/README.md @@ -139,16 +139,20 @@ assert($model implement Model\MultiBulkReply); It's very unlikely you'll want to use this protocol parser standalone. It should be added as a dependency to your Redis client implementation instead. -The recommended way to install this library is [through Composer](https://getcomposer.org). +The recommended way to install this library is [through Composer](https://getcomposer.org/). [New to Composer?](https://getcomposer.org/doc/00-intro.md) This will install the latest supported version: ```bash -composer require clue/redis-protocol:^0.3.1 +composer require clue/redis-protocol:^0.3.2 ``` -More details and upgrade guides can be found in the [CHANGELOG](CHANGELOG.md). +See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades. + +This project aims to run on any platform and thus does not require any PHP +extensions and supports running on legacy PHP 5.3 through current PHP 8+. +It's *highly recommended to use the latest supported PHP version* for this project. ## Tests