Skip to content

Commit 8a0305d

Browse files
committed
Prepare v1.0.0 release
1 parent f42df36 commit 8a0305d

File tree

2 files changed

+47
-4
lines changed

2 files changed

+47
-4
lines changed

CHANGELOG.md

Lines changed: 29 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,34 @@
11
# Changelog
22

3+
## 1.0.0 (2020-05-28)
4+
5+
* Feature: Change `Compressor` and `Decompressor` to use more efficient streaming compression context.
6+
(#28 by @clue)
7+
8+
This also fixes any inconsistencies and supports proper error reporting for invalid data.
9+
Benchmark results suggest this improves both compression and decompression performance by ca. 25%.
10+
11+
* BC break: Require PHP 7+ with `ext-zlib` during installation and drop legacy PHP and legacy HHVM support.
12+
(#25, 26 and #28 by @clue)
13+
14+
We're committed to providing a smooth upgrade path for legacy setups.
15+
If you need to support legacy PHP versions and legacy HHVM, you may want to
16+
check out the legacy `v0.2.x` release branch.
17+
This legacy release branch also provides an installation candidate that does not
18+
require `ext-zlib` during installation but uses runtime checks instead.
19+
In this case, you can install this project like this:
20+
21+
```bash
22+
$ composer require "clue/zlib-react:^1.0||^0.2.2"
23+
```
24+
25+
* BC break: Remove deprecated APIs and mark `ZlibFilterStream` as internal only.
26+
(#27 by @clue)
27+
28+
* Improve test suite by updating PHPUnit, clean up test suite and
29+
add `.gitattributes` to exclude dev files from exports.
30+
(#29 by @clue)
31+
332
## 0.2.2 (2020-04-20)
433

534
* Feature: Add dedicated `Compressor` and `Decompressor` classes, deprecate `ZlibFilterStream`.

README.md

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,10 +3,9 @@
33
Streaming zlib compressor and decompressor for [ReactPHP](https://reactphp.org/),
44
supporting compression and decompression of GZIP, ZLIB and raw DEFLATE formats.
55

6-
> Note: This project is in beta stage! Feel free to report any issues you encounter.
7-
86
**Table of contents**
97

8+
* [Support us](#support-us)
109
* [Quickstart example](#quickstart-example)
1110
* [Formats](#formats)
1211
* [GZIP format](#gzip-format)
@@ -20,6 +19,16 @@ supporting compression and decompression of GZIP, ZLIB and raw DEFLATE formats.
2019
* [License](#license)
2120
* [More](#more)
2221

22+
## Support us
23+
24+
We invest a lot of time developing, maintaining and updating our awesome
25+
open-source projects. You can help us sustain this high-quality of our work by
26+
[becoming a sponsor on GitHub](https://github.com/sponsors/clue). Sponsors get
27+
numerous benefits in return, see our [sponsoring page](https://github.com/sponsors/clue)
28+
for details.
29+
30+
Let's take these projects to the next level together! 🚀
31+
2332
## Quickstart example
2433

2534
Once [installed](#install), you can use the following code to pipe a readable
@@ -166,11 +175,11 @@ For more details, see ReactPHP's
166175
The recommended way to install this library is [through Composer](https://getcomposer.org).
167176
[New to Composer?](https://getcomposer.org/doc/00-intro.md)
168177

169-
While in beta, this project does not currently follow [SemVer](https://semver.org/).
178+
This project follows [SemVer](https://semver.org/).
170179
This will install the latest supported version:
171180

172181
```bash
173-
$ composer require clue/zlib-react:^0.2.2
182+
$ composer require clue/zlib-react:^1.0
174183
```
175184

176185
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.
@@ -190,6 +199,11 @@ If you need to support legacy PHP versions and legacy HHVM, you may want to
190199
check out the legacy `v0.2.x` release branch.
191200
This legacy release branch also provides an installation candidate that does not
192201
require `ext-zlib` during installation but uses runtime checks instead.
202+
In this case, you can install this project like this:
203+
204+
```bash
205+
$ composer require "clue/zlib-react:^1.0||^0.2.2"
206+
```
193207

194208
## Tests
195209

0 commit comments

Comments
 (0)