From 70babf56420bd07c4b4a8a6d8f9050d16e51e73d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Christian=20L=C3=BCck?= Date: Wed, 28 Feb 2018 10:34:17 +0100 Subject: [PATCH] Prepare v1.4.0 release --- CHANGELOG.md | 19 +++++++++++++++++++ README.md | 12 ++++++++++-- 2 files changed, 29 insertions(+), 2 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 937ae12..ab7a84d 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,24 @@ # Changelog +## 1.4.0 (2018-02-28) + +* Feature: Update DNS dependency to support loading system default DNS + nameserver config on all supported platforms + (`/etc/resolv.conf` on Unix/Linux/Mac/Docker/WSL and WMIC on Windows) + (#23 by @clue) + + This means that connecting to hosts that are managed by a local DNS server, + such as a corporate DNS server or when using Docker containers, will now + work as expected across all platforms with no changes required: + + ```php + $factory = new Factory($loop); + $factory->createClient('intranet.example:5353'); + ``` + +* Improve README + (#22 by @jsor) + ## 1.3.0 (2017-09-25) * Feature: Always use `Resolver` with default DNS to match Socket component diff --git a/README.md b/README.md index 9f34a34..d37367d 100644 --- a/README.md +++ b/README.md @@ -1,6 +1,6 @@ # Datagram -[![Build Status](https://travis-ci.org/reactphp/datagram.svg?branch=master)](https://travis-ci.org/reactphp/datagram) [![Code Climate](https://codeclimate.com/github/reactphp/datagram/badges/gpa.svg)](https://codeclimate.com/github/reactphp/datagram) +[![Build Status](https://travis-ci.org/reactphp/datagram.svg?branch=master)](https://travis-ci.org/reactphp/datagram) Event-driven UDP datagram socket client and server for [ReactPHP](https://reactphp.org). @@ -36,12 +36,20 @@ This library's API is modelled after node.js's API for The recommended way to install this library is [through Composer](https://getcomposer.org). [New to Composer?](https://getcomposer.org/doc/00-intro.md) +This project follows [SemVer](http://semver.org/). +This will install the latest supported version: + ```bash -$ composer require react/datagram:^1.3 +$ composer require react/datagram:^1.4 ``` See also the [CHANGELOG](CHANGELOG.md) for details about version upgrades. +This project aims to run on any platform and thus does not require any PHP +extensions and supports running on legacy PHP 5.3 through current PHP 7+ and +HHVM. +It's *highly recommended to use PHP 7+* for this project. + ## Tests To run the test suite, you first need to clone this repo and then install all