| 1 |
# Changelog |
| 2 |
|
| 3 |
## 0.3.2 (2024-08-07) |
| 4 |
|
| 5 |
* Feature: Improve PHP 8.4+ support by avoiding implicitly nullable types. |
| 6 |
(#19 by @clue) |
| 7 |
|
| 8 |
* Update project structure, homepage and examples. |
| 9 |
Add `.gitattributes` to exclude dev files from exports. |
| 10 |
(#16, #20, #21 and #22 by @clue) |
| 11 |
|
| 12 |
* Update test suite to use GitHub actions for continuous integration (CI), |
| 13 |
run tests on all PHP versions up to PHP 8.3 and ensure 100% code coverage. |
| 14 |
(#15 by @SimonFrings and #17 and #18 by @clue) |
| 15 |
|
| 16 |
## 0.3.1 (2017-06-06) |
| 17 |
|
| 18 |
* Fix: Fix server-side parsing of legacy inline protocol when multiple requests are processed at once |
| 19 |
(#12 by @kelunik and #13 by @clue) |
| 20 |
|
| 21 |
## 0.3.0 (2014-01-27) |
| 22 |
|
| 23 |
* Feature: Add dedicated and faster `RequestParser` that also support the old |
| 24 |
inline request protocol. |
| 25 |
|
| 26 |
* Feature: Message serialization can now be handled directly by the Serializer |
| 27 |
again without having to construct the appropriate model first. |
| 28 |
|
| 29 |
* BC break: The `Factory` now has two distinct methods to create parsers: |
| 30 |
* `createResponseParser()` for a client-side library |
| 31 |
* `createRequestParser()` for a server-side library / testing framework |
| 32 |
|
| 33 |
* BC break: Simplified parser API, now `pushIncoming()` returns an array of all |
| 34 |
parsed message models. |
| 35 |
|
| 36 |
* BC break: The signature for getting a serialized message from a model was |
| 37 |
changed and now requires a Serializer passed: |
| 38 |
|
| 39 |
```php |
| 40 |
ModelInterface::getMessageSerialized($serializer) |
| 41 |
``` |
| 42 |
|
| 43 |
* Many, many performance improvements |
| 44 |
|
| 45 |
## 0.2.0 (2014-01-21) |
| 46 |
|
| 47 |
* Re-organize the whole API into dedicated |
| 48 |
* `Parser` (protocol reader) and |
| 49 |
* `Serializer` (protocol writer) sub-namespaces. (#4) |
| 50 |
|
| 51 |
* Use of the factory has now been unified: |
| 52 |
|
| 53 |
```php |
| 54 |
$factory = new Clue\Redis\Protocol\Factory(); |
| 55 |
$parser = $factory->createParser(); |
| 56 |
$serializer = $factory->createSerializer(); |
| 57 |
``` |
| 58 |
|
| 59 |
* Add a dedicated `Model` for each type of reply. Among others, this now allows |
| 60 |
you to distinguish a single line `StatusReply` from a binary-safe `BulkReply`. (#2) |
| 61 |
|
| 62 |
* Fix parsing binary values and do not trip over trailing/leading whitespace. (#4) |
| 63 |
|
| 64 |
* Improve parser and serializer performance by up to 20%. (#4) |
| 65 |
|
| 66 |
## 0.1.0 (2013-09-10) |
| 67 |
|
| 68 |
* First tagged release |
| 69 |
|