Skip to content

Commit 02cf2ff

Browse files
committed
Prepare v1.0.0 release
1 parent 4bda6b3 commit 02cf2ff

File tree

3 files changed

+31
-4
lines changed

3 files changed

+31
-4
lines changed

CHANGELOG.md

+21
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,26 @@
11
# Changelog
22

3+
## 1.0.0 (2016-05-20)
4+
5+
* First stable release, now following SemVer
6+
7+
* BC break: Consistent public API, mark internal APIs as such
8+
(#38 by @clue)
9+
10+
```php
11+
// old
12+
$client->on('data', function (MessageInterface $message, Client $client) {
13+
// process an incoming message (raw message object)
14+
});
15+
16+
// new
17+
$client->on('data', function (MessageInterface $message) use ($client) {
18+
// process an incoming message (raw message object)
19+
});
20+
```
21+
22+
> Contains no other changes, so it's actually fully compatible with the v0.5.2 release.
23+
324
## 0.5.2 (2016-05-20)
425

526
* Fix: Do not send empty SELECT statement when no database has been given

README.md

+8-2
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
# clue/redis-react [![Build Status](https://travis-ci.org/clue/php-redis-react.svg?branch=master)](https://travis-ci.org/clue/php-redis-react)
22

3-
Async [Redis](http://redis.io/) client implementation built on top of [React PHP](http://reactphp.org/).
3+
Async [Redis](http://redis.io/) client implementation, built on top of [React PHP](http://reactphp.org/).
44

55
[Redis](http://redis.io/) is an open source, advanced, in-memory key-value database.
66
It offers a set of simple, atomic operations in order to work with its primitive data types.
@@ -237,7 +237,13 @@ The recommended way to install this library is [through Composer](http://getcomp
237237
This will install the latest supported version:
238238

239239
```bash
240-
$ composer require clue/redis-react:^0.5
240+
$ composer require clue/redis-react:^1.0
241+
```
242+
243+
If you care a lot about backwards compatibility, you may also use this:
244+
245+
```bash
246+
$ composer require "clue/redis-react:^1.0 || ^0.5"
241247
```
242248

243249
See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades.

composer.json

+2-2
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "clue/redis-react",
3-
"description": "Async redis client implementation",
4-
"keywords": ["redis", "client", "async", "react"],
3+
"description": "Async Redis client implementation, built on top of React PHP",
4+
"keywords": ["Redis", "client", "async", "reactphp"],
55
"homepage": "https://github.com/clue/php-redis-react",
66
"license": "MIT",
77
"authors": [

0 commit comments

Comments
 (0)