From 9d2e0265c5d90f5dd601bc65ff717e05cec19b47 Mon Sep 17 00:00:00 2001 From: Ignace Nyamagana Butera Date: Tue, 4 Jan 2022 01:01:16 +0100 Subject: [PATCH] Prepare 9.8.0 release --- CHANGELOG.md | 68 ++++++++++++++++++++++++++++++++++----------------- README.md | 27 +++++++++++++++----- composer.json | 8 +++--- 3 files changed, 71 insertions(+), 32 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bd594f87..9816a040 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -2,7 +2,7 @@ All Notable changes to `Csv` will be documented in this file -## Next - TBD +## [9.8.0] - 2022-01-04 ### Added @@ -25,7 +25,7 @@ All Notable changes to `Csv` will be documented in this file - Remove internal `EmptyEscapeParser` Polyfill used in `Reader` class - Remove PHP7.4 polyfill features in `Writer` class -## 9.7.4 - 2021-11-30 +## [9.7.4] - 2021-11-30 ### Added @@ -44,7 +44,7 @@ thanks to [@robertfausk](https://github.com/robertfausk) and [@Lehmub](https://g - None -## 9.7.3 - 2021-11-21 +## [9.7.3] - 2021-11-21 ### Added @@ -64,7 +64,7 @@ thanks to [@robertfausk](https://github.com/robertfausk) and [@Lehmub](https://g - None -## 9.7.2 - 2021-10-05 +## [9.7.2] - 2021-10-05 ### Added @@ -85,7 +85,7 @@ thanks to [@robertfausk](https://github.com/robertfausk) and [@Lehmub](https://g - None -## 9.7.1 - 2021-04-17 +## [9.7.1] - 2021-04-17 ### Added @@ -103,7 +103,7 @@ thanks to [@robertfausk](https://github.com/robertfausk) and [@Lehmub](https://g - None -## 9.7.0 - 2021-03-26 +## [9.7.0] - 2021-03-26 ### Added @@ -140,7 +140,7 @@ thanks to [@robertfausk](https://github.com/robertfausk) and [@Lehmub](https://g - PHP7.2 support - `League\Csv\AbstractCsv::$stream_filter_mode` -## 9.6.2 - 2020-12-10 +## [9.6.2] - 2020-12-10 ### Added @@ -158,7 +158,7 @@ thanks to [@robertfausk](https://github.com/robertfausk) and [@Lehmub](https://g - Removing Travis and Scrutinizr as development tools -## 9.6.1 - 2020-09-05 +## [9.6.1] - 2020-09-05 ### Added @@ -176,7 +176,7 @@ thanks to [@robertfausk](https://github.com/robertfausk) and [@Lehmub](https://g - None -## 9.6.0 - 2020-03-17 +## [9.6.0] - 2020-03-17 ### Added @@ -201,7 +201,7 @@ thanks to [@robertfausk](https://github.com/robertfausk) and [@Lehmub](https://g - Internal polyfill for `is_nullable_int` - Support for PHP7.0 and PHP7.1 -## 9.5.0 - 2019-12-15 +## [9.5.0] - 2019-12-15 ### Added @@ -225,7 +225,7 @@ feature proposed and developed by [Darren Miller](https://github.com/dmlogic) - Nothing -## 9.4.1 - 2019-10-17 +## [9.4.1] - 2019-10-17 ### Added @@ -243,7 +243,7 @@ feature proposed and developed by [Darren Miller](https://github.com/dmlogic) - Nothing -## 9.4.0 - 2019-10-02 +## [9.4.0] - 2019-10-02 ### Added @@ -269,7 +269,7 @@ feature proposed and developed by [Darren Miller](https://github.com/dmlogic) - Nothing -## 9.3.0 - 2019-07-30 +## [9.3.0] - 2019-07-30 ### Added @@ -291,7 +291,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.2.1 - 2019-06-08 +## [9.2.1] - 2019-06-08 ### Added @@ -310,7 +310,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.2.0 - 2019-03-08 +## [9.2.0] - 2019-03-08 ### Added @@ -340,7 +340,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.1.4 - 2018-05-01 +## [9.1.4] - 2018-05-01 ### Added @@ -359,7 +359,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.1.3 - 2018-03-12 +## [9.1.3] - 2018-03-12 ### Added @@ -379,7 +379,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.1.2 - 2018-02-05 +## [9.1.2] - 2018-02-05 ### Added @@ -398,7 +398,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.1.1 - 2017-11-28 +## [9.1.1] - 2017-11-28 ### Added @@ -418,7 +418,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.1.0 - 2017-10-20 +## [9.1.0] - 2017-10-20 ### Added @@ -442,7 +442,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.0.1 - 2017-08-21 +## [9.0.1] - 2017-08-21 ### Added @@ -460,7 +460,7 @@ protected methods `HTMLConverter::addHTMLAttributes` and `HTMLConverter::appendH - Nothing -## 9.0.0 - 2017-08-18 +## [9.0.0] - 2017-08-18 ### Added @@ -1247,3 +1247,27 @@ to manage BOM character with CSV. ## 1.0.0 - 2013-12-03 Initial Release of `Bakame\Csv` + +[Next]: https://github.com/thephpleague/csv/compare/9.8.0...master +[9.8.0]: https://github.com/thephpleague/csv/compare/9.7.4...9.8.0 +[9.7.4]: https://github.com/thephpleague/csv/compare/9.7.3...9.7.4 +[9.7.3]: https://github.com/thephpleague/csv/compare/9.7.2...9.7.3 +[9.7.2]: https://github.com/thephpleague/csv/compare/9.7.1...9.7.2 +[9.7.1]: https://github.com/thephpleague/csv/compare/9.7.0...9.7.1 +[9.7.0]: https://github.com/thephpleague/csv/compare/9.6.2...9.7.0 +[9.6.2]: https://github.com/thephpleague/csv/compare/9.6.1...9.6.2 +[9.6.1]: https://github.com/thephpleague/csv/compare/9.6.0...9.6.1 +[9.6.0]: https://github.com/thephpleague/csv/compare/9.5.0...9.6.0 +[9.5.0]: https://github.com/thephpleague/csv/compare/9.4.1...9.5.0 +[9.4.1]: https://github.com/thephpleague/csv/compare/9.4.0...9.4.1 +[9.4.0]: https://github.com/thephpleague/csv/compare/9.3.0...9.4.0 +[9.3.0]: https://github.com/thephpleague/csv/compare/9.2.1...9.3.0 +[9.2.1]: https://github.com/thephpleague/csv/compare/9.2.0...9.2.1 +[9.2.0]: https://github.com/thephpleague/csv/compare/9.1.4...9.2.0 +[9.1.4]: https://github.com/thephpleague/csv/compare/9.1.3...9.1.4 +[9.1.3]: https://github.com/thephpleague/csv/compare/9.1.2...9.1.3 +[9.1.2]: https://github.com/thephpleague/csv/compare/9.1.1...9.1.2 +[9.1.1]: https://github.com/thephpleague/csv/compare/9.1.0...9.1.1 +[9.1.0]: https://github.com/thephpleague/csv/compare/9.0.1...9.1.0 +[9.0.1]: https://github.com/thephpleague/csv/compare/9.0.0...9.0.1 +[9.0.0]: https://github.com/thephpleague/csv/compare/8.2.2...9.0.0 diff --git a/README.md b/README.md index 34261dd1..2501e6ab 100644 --- a/README.md +++ b/README.md @@ -5,13 +5,13 @@ [![Build](https://github.com/thephpleague/csv/workflows/build/badge.svg)](https://github.com/thephpleague/csv/actions?query=workflow%3A%22build%22) [![Total Downloads](https://img.shields.io/packagist/dt/league/csv.svg?style=flat-square)](https://packagist.org/packages/league/csv) -Csv is a simple library to ease CSV parsing, writing and filtering in -PHP. The goal of the library is to be powerful while remaining lightweight, +Csv is a library to ease parsing, writing and filtering CSV in PHP. +The library goal is to be powerful while remaining lightweight, by utilizing PHP native classes whenever possible. ## Highlights -- Simple API +- Easy to use API - Read and Write to CSV documents in a memory efficient and scalable way - Support PHP stream filtering capabilities - Transform CSV documents into popular format (JSON, XML or HTML) @@ -25,7 +25,21 @@ Full documentation can be found at [csv.thephpleague.com](https://csv.thephpleag ## System Requirements -You need **PHP >= 7.4** and the `mbstring` extension to use `Csv` but the latest stable version of PHP is recommended. +You need the `mbstring` extension to use `Csv` and the latest stable version of PHP is recommended. + +Please find below the PHP support for `Csv` version 9. + +| Min. Library Version | Min. PHP Version | Max. Supported PHP Version | +|----------------------|------------------|----------------------------| +| 9.0.0 | PHP 7.0.10 | PHP 7.1.x | +| 9.1.2 | PHP 7.0.10 | PHP 7.2.x | +| 9.2.0 | PHP 7.0.10 | PHP 7.4.x | +| 9.6.0 | PHP 7.2.5 | PHP 7.4.x | +| 9.6.2 | PHP 7.2.5 | PHP 8.0.x | +| 9.7.0 | PHP 7.3.0 | PHP 8.0.x | +| 9.7.3 | PHP 7.3.0 | PHP 8.1.x | +| 9.8.0 | PHP 7.4.0 | PHP 8.1.x | + ## Install @@ -37,7 +51,8 @@ composer require league/csv ## Configuration -**Warning:** If your CSV document was created or is read on a Macintosh computer, add the following lines before using the library to help [PHP detect line ending](http://php.net/manual/en/function.fgetcsv.php#refsect1-function.fgetcsv-returnvalues). +**Warning:** If your CSV document was created or is read on a Macintosh computer, add the following lines before +using the library to help [PHP detect line ending](http://php.net/manual/en/function.fgetcsv.php#refsect1-function.fgetcsv-returnvalues). ```php if (!ini_get("auto_detect_line_endings")) { @@ -47,7 +62,7 @@ if (!ini_get("auto_detect_line_endings")) { ## Testing -`League\Csv` has a : +The library has a : - a [PHPUnit](https://phpunit.de) test suite - a coding style compliance test suite using [PHP CS Fixer](https://cs.symfony.com/). diff --git a/composer.json b/composer.json index ca8fb36b..ebaea31e 100644 --- a/composer.json +++ b/composer.json @@ -33,10 +33,10 @@ "require-dev": { "ext-curl" : "*", "ext-dom": "*", - "friendsofphp/php-cs-fixer": "^3.0", - "phpunit/phpunit" : "^9.5", - "phpstan/phpstan": "^1.0", - "phpstan/phpstan-strict-rules": "^1.0", + "friendsofphp/php-cs-fixer": "^v3.4.0", + "phpunit/phpunit" : "^9.5.11", + "phpstan/phpstan": "^1.3.0", + "phpstan/phpstan-strict-rules": "^1.1.0", "phpstan/phpstan-phpunit": "^1.0.0" }, "autoload": {