diff --git a/CHANGELOG.md b/CHANGELOG.md index c7dfff5..d6efec1 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,9 @@ # Change Log +### 4.0.0 - 29 Oct 2019 + +- Compatible with the 3.x branch, but removes support for old PHP versions and requires Symfony 4. + ### 3.5.0 - 30 May 2019 - Add `@default-table-fields` to specify the fields to use with the table formatter and other "human readable" output formats. diff --git a/README.md b/README.md index 59bcc7d..bd4cb89 100644 --- a/README.md +++ b/README.md @@ -8,10 +8,6 @@ Apply transformations to structured data to write output in different formats. [![Coverage Status](https://coveralls.io/repos/github/consolidation/output-formatters/badge.svg?branch=master)](https://coveralls.io/github/consolidation/output-formatters?branch=master) [![License](https://poser.pugx.org/consolidation/output-formatters/license)](https://packagist.org/packages/consolidation/output-formatters) -## Component Status - -Currently in use in [Robo](https://github.com/consolidation/Robo) (1.x+), [Drush](https://github.com/drush-ops/drush) (9.x+) and [Terminus](https://github.com/pantheon-systems/terminus) (1.x+). - ## Motivation Formatters are used to allow simple commandline tool commands to be implemented in a manner that is completely independent from the Symfony Console output interfaces. A command receives its input via its method parameters, and returns its result as structured data (e.g. a php standard object or array). The structured data is then formatted by a formatter, and the result is printed. @@ -23,10 +19,9 @@ This process is managed by the [Consolidation/AnnotationCommand](https://github. This is a library intended to be used in some other project. Require from your composer.json file: ``` "require": { - "consolidation/output-formatters": "~3" + "consolidation/output-formatters": "^4" }, ``` -If you require the feature that allows a data table to be automatically reduced to a single element when the `string` format is selected, then you should require version ^2 instead. In most other respects, the 1.x and 2.x versions are compatible. See the [CHANGELOG](CHANGELOG.md) for details. ## Example Formatter