| 1 |
# Changelog |
| 2 |
|
| 3 |
## 1.6.0 (2022-04-14) |
| 4 |
|
| 5 |
* Feature: Forward compatibility with PHP 8.1 release. |
| 6 |
(#67 and #68 by @clue) |
| 7 |
|
| 8 |
* Fix: Fix reporting refused connections on Windows. |
| 9 |
(#69 by @clue) |
| 10 |
|
| 11 |
* Improve CI setup and documentation. |
| 12 |
(#70 and #65 by @clue, #64 by @szepeviktor and #66 by @PaulRotmann) |
| 13 |
|
| 14 |
## 1.5.0 (2020-11-27) |
| 15 |
|
| 16 |
* Feature: Support PHP 8 and drop legacy HHVM support. |
| 17 |
(#60 and #61 by @clue) |
| 18 |
|
| 19 |
* Improve test suite and add `.gitattributes` to exclude dev files from export. |
| 20 |
Update to PHPUnit 9 and simplify test matrix. |
| 21 |
(#50, #51, #58 and #63 by @clue and #57 by @SimonFrings) |
| 22 |
|
| 23 |
## 1.4.1 (2019-10-28) |
| 24 |
|
| 25 |
* Fix: Fix error reporting when invoking methods on closed socket instance. |
| 26 |
(#48 by @clue) |
| 27 |
|
| 28 |
* Improve test suite to run tests on Windows via Travis CI. |
| 29 |
(#49 by @clue) |
| 30 |
|
| 31 |
## 1.4.0 (2019-01-22) |
| 32 |
|
| 33 |
* Feature: Improve Windows support (async connections and Unix domain sockets). |
| 34 |
(#43 by @clue) |
| 35 |
|
| 36 |
* Improve test suite by adding forward compatibility with PHPUnit 7 and PHPUnit 6. |
| 37 |
(#42 by @clue) |
| 38 |
|
| 39 |
## 1.3.0 (2018-06-10) |
| 40 |
|
| 41 |
* Feature: Add `$timeout` parameter for `Factory::createClient()` |
| 42 |
(#39 by @Elbandi and @clue) |
| 43 |
|
| 44 |
```php |
| 45 |
// connect to Google, but wait no longer than 2.5s for connection |
| 46 |
$socket = $factory->createClient('www.google.com:80', 2.5); |
| 47 |
``` |
| 48 |
|
| 49 |
* Improve test suite by adding PHPUnit to require-dev, |
| 50 |
update test suite to test against legacy PHP 5.3 through PHP 7.2 and |
| 51 |
optionally skip functional integration tests requiring internet. |
| 52 |
(#26 by @ascii-soup, #28, #29, #37 and #38 by @clue) |
| 53 |
|
| 54 |
## 1.2.0 (2015-03-18) |
| 55 |
|
| 56 |
* Feature: Expose optional `$type` parameter for `Socket::read()` |
| 57 |
([#16](https://github.com/clue/php-socket-raw/pull/16) by @Elbandi) |
| 58 |
|
| 59 |
## 1.1.0 (2014-10-24) |
| 60 |
|
| 61 |
* Feature: Accept float timeouts like `0.5` for `Socket::selectRead()` and `Socket::selectWrite()`. |
| 62 |
([#8](https://github.com/clue/php-socket-raw/issues/8)) |
| 63 |
|
| 64 |
* Feature: Add new `Socket::connectTimeout()` method. |
| 65 |
([#11](https://github.com/clue/php-socket-raw/pull/11)) |
| 66 |
|
| 67 |
* Fix: Close invalid socket resource when `Factory` fails to create a `Socket`. |
| 68 |
([#12](https://github.com/clue/php-socket-raw/pull/12)) |
| 69 |
|
| 70 |
* Fix: Calling `accept()` on an idle server socket emits right error code and message. |
| 71 |
([#14](https://github.com/clue/php-socket-raw/pull/14)) |
| 72 |
|
| 73 |
## 1.0.0 (2014-05-10) |
| 74 |
|
| 75 |
* Feature: Improved errors reporting through dedicated `Exception` |
| 76 |
([#6](https://github.com/clue/socket-raw/pull/6)) |
| 77 |
* Feature: Support HHVM |
| 78 |
([#5](https://github.com/clue/socket-raw/pull/5)) |
| 79 |
* Use PSR-4 layout |
| 80 |
([#3](https://github.com/clue/socket-raw/pull/3)) |
| 81 |
* Continuous integration via Travis CI |
| 82 |
|
| 83 |
## 0.1.2 (2013-05-09) |
| 84 |
|
| 85 |
* Fix: The `Factory::createUdg()` now returns the right socket type. |
| 86 |
* Fix: Fix ICMPv6 addressing to not require square brackets because it does not |
| 87 |
use ports. |
| 88 |
* Extended test suite. |
| 89 |
|
| 90 |
## 0.1.1 (2013-04-18) |
| 91 |
|
| 92 |
* Fix: Raw sockets now correctly report no port instead of a `0` port. |
| 93 |
|
| 94 |
## 0.1.0 (2013-04-10) |
| 95 |
|
| 96 |
* First tagged release |