Skip to content

Commit a476b74

Browse files
committed
Prepare v1.0.0 release
1 parent e220a09 commit a476b74

File tree

2 files changed

+6
-53
lines changed

2 files changed

+6
-53
lines changed

CHANGELOG.md

Lines changed: 5 additions & 52 deletions
Original file line numberDiff line numberDiff line change
@@ -4,57 +4,10 @@ This file is a manually maintained list of changes for each release. Feel free
44
to add your changes here when sending pull requests. Also send corrections if
55
you spot any mistakes.
66

7-
## 0.5.0 (2014-06-13)
7+
## 1.0.0 (2014-10-23)
88

9-
* Feature: Automatically assign a random port for port 0
10-
([#8](https://github.com/clue/reactphp-datagram/pull/8))
11-
* Feature: First-class support for HHVM
12-
([#7](https://github.com/clue/reactphp-datagram/pull/7))
13-
* Support React v0.4 (while preserving BC)
14-
([#13](https://github.com/clue/reactphp-datagram/pull/13))
15-
* Use PSR-4 code layout, update homepage
9+
Initial tagged release
1610

17-
## 0.4.1 (2014-06-13)
18-
19-
* Fix: Uncaught Exception while processing ICMP rejection datagrams
20-
([#12](https://github.com/clue/reactphp-datagram/pull/12))
21-
22-
## 0.4.0 (2014-03-03)
23-
24-
* BC break: Unified socket addresses (string URIs instead of host+port)
25-
([#5](https://github.com/clue/reactphp-datagram/pull/5)):
26-
27-
* The `Factory` now only accepts a single-argument full socket address (i.e. host:port for UDP/IP):
28-
29-
```php
30-
// Previously:
31-
$factory->createServer(1337, 'localhost')->then(…);
32-
$factory->createClient('localhost', 1337)->then(…);
33-
// Now:
34-
$factory->createServer('localhost:1337')->then(…);
35-
$factory->createClient('localhost:1337')->then(…);
36-
```
37-
38-
* The methods `Socket::getAddress()` and `Socket::getPort()` have been removed.
39-
* Instead, the following two methods have been introduced which both return
40-
a full socket address:
41-
* `SocketInterface::getLocalAddress()`
42-
* `SocketInterface::getRemoteAddress()`
43-
* Small refactoring to ease extending base classes
44-
([#4](https://github.com/clue/reactphp-datagram/pull/4))
45-
46-
## 0.3.0 (2013-06-23)
47-
48-
* Feature: Add `Datagram\Socket::end()` method which closes the socket as soon
49-
as the remaining outgoing buffer has been sent.
50-
* Fix: Actually close underlying socket descriptor in `Datagram\Socket::close()`.
51-
52-
## 0.2.0 (2013-04-16)
53-
54-
* BC break: Whole new API, adapted to nodejs's Socket.dgram API.
55-
* BC break: Unified `Datagram\Socket` instead of `Datagram\Client` and `Datagram\Server`
56-
* Support react v0.3
57-
58-
## 0.1.0 (2013-01-21)
59-
60-
* First tagged release
11+
> This project has been migrated over from [clue/datagram](https://github.com/clue/php-datagram)
12+
> which has originally been released in January 2013.
13+
> Upgrading from clue/datagram v0.5.0? Use namespace `React\Datagram` instead of `Datagram` and you're ready to go!

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ The recommended way to install this library is [through composer](http://getcomp
3939
```JSON
4040
{
4141
"require": {
42-
"react/datagram": "0.5.*"
42+
"react/datagram": "~1.0"
4343
}
4444
}
4545
```

0 commit comments

Comments
 (0)