From f49cc83f7425edc4a92c148c78dbff0e059796a0 Mon Sep 17 00:00:00 2001 From: Laurent Laville Date: Sat, 23 Nov 2024 14:10:09 +0000 Subject: [PATCH] prepare feature release 6.13 --- .changes/6.x/6.13.0.md | 19 +++++++++++++++++++ .../6.x/unreleased/Added-20241109-065921.yaml | 3 --- .../6.x/unreleased/Added-20241112-150434.yaml | 3 --- .../6.x/unreleased/Added-20241122-065323.yaml | 3 --- .../6.x/unreleased/Added-20241122-085617.yaml | 3 --- .../6.x/unreleased/Added-20241122-094446.yaml | 3 --- .../6.x/unreleased/Added-20241122-110653.yaml | 3 --- .../unreleased/Changed-20241106-054201.yaml | 3 --- .../unreleased/Changed-20241110-080647.yaml | 3 --- .../unreleased/Changed-20241120-102710.yaml | 3 --- CHANGELOG.md | 19 +++++++++++++++++++ autoload.php | 4 +--- docs/appendix/SUPPORTED-VERSIONS_6.x.md | 8 ++++++++ docs/installation.md | 6 +++--- resources/build.php | 2 +- 15 files changed, 51 insertions(+), 34 deletions(-) create mode 100644 .changes/6.x/6.13.0.md delete mode 100644 .changes/6.x/unreleased/Added-20241109-065921.yaml delete mode 100644 .changes/6.x/unreleased/Added-20241112-150434.yaml delete mode 100644 .changes/6.x/unreleased/Added-20241122-065323.yaml delete mode 100644 .changes/6.x/unreleased/Added-20241122-085617.yaml delete mode 100644 .changes/6.x/unreleased/Added-20241122-094446.yaml delete mode 100644 .changes/6.x/unreleased/Added-20241122-110653.yaml delete mode 100644 .changes/6.x/unreleased/Changed-20241106-054201.yaml delete mode 100644 .changes/6.x/unreleased/Changed-20241110-080647.yaml delete mode 100644 .changes/6.x/unreleased/Changed-20241120-102710.yaml diff --git a/.changes/6.x/6.13.0.md b/.changes/6.x/6.13.0.md new file mode 100644 index 000000000..6e837b2bf --- /dev/null +++ b/.changes/6.x/6.13.0.md @@ -0,0 +1,19 @@ + +## 6.13.0 - 2024-11-23 + +### Added + +- PHP 8.1.31 support +- PHP 8.2.26 support +- PHP 8.3.14 support +- PHP 8.4.1 support +- ability to customize generation of Doctrine Proxy Classes (values are `never`, `always` or `auto` by default to keep BC) +by config setting or env var (`APP_PROXY_GENERATE`) + +### Changed + +- update `http` reference to version 4.2.6 +- update `rdkafka` reference to version 6.0.5 +- update `xlswriter` reference to version 1.5.8 + +**Full Changelog**: [6.12.0...6.13.0](https://github.com/llaville/php-compatinfo-db/compare/6.12.0...6.13.0) diff --git a/.changes/6.x/unreleased/Added-20241109-065921.yaml b/.changes/6.x/unreleased/Added-20241109-065921.yaml deleted file mode 100644 index 64132dc2e..000000000 --- a/.changes/6.x/unreleased/Added-20241109-065921.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Added -body: PHP 8.4.0 support (until RC4) -time: 2024-11-09T06:59:21.006430835Z diff --git a/.changes/6.x/unreleased/Added-20241112-150434.yaml b/.changes/6.x/unreleased/Added-20241112-150434.yaml deleted file mode 100644 index 47d1dec1f..000000000 --- a/.changes/6.x/unreleased/Added-20241112-150434.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Added -body: ability to customize generation of Doctrine Proxy Classes by config setting or env var -time: 2024-11-12T15:04:34.960321143Z diff --git a/.changes/6.x/unreleased/Added-20241122-065323.yaml b/.changes/6.x/unreleased/Added-20241122-065323.yaml deleted file mode 100644 index d5de91b28..000000000 --- a/.changes/6.x/unreleased/Added-20241122-065323.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Added -body: PHP 8.2.26 support -time: 2024-11-22T06:53:23.893951085Z diff --git a/.changes/6.x/unreleased/Added-20241122-085617.yaml b/.changes/6.x/unreleased/Added-20241122-085617.yaml deleted file mode 100644 index 4da90603b..000000000 --- a/.changes/6.x/unreleased/Added-20241122-085617.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Added -body: PHP 8.3.14 support -time: 2024-11-22T08:56:17.917772427Z diff --git a/.changes/6.x/unreleased/Added-20241122-094446.yaml b/.changes/6.x/unreleased/Added-20241122-094446.yaml deleted file mode 100644 index 02b61fc2b..000000000 --- a/.changes/6.x/unreleased/Added-20241122-094446.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Added -body: PHP 8.1.31 support -time: 2024-11-22T09:44:46.47643308Z diff --git a/.changes/6.x/unreleased/Added-20241122-110653.yaml b/.changes/6.x/unreleased/Added-20241122-110653.yaml deleted file mode 100644 index 1af15a5a8..000000000 --- a/.changes/6.x/unreleased/Added-20241122-110653.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Added -body: PHP 8.4.1 support -time: 2024-11-22T11:06:53.537974533Z diff --git a/.changes/6.x/unreleased/Changed-20241106-054201.yaml b/.changes/6.x/unreleased/Changed-20241106-054201.yaml deleted file mode 100644 index 5da99ddc2..000000000 --- a/.changes/6.x/unreleased/Changed-20241106-054201.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Changed -body: update rdkafka reference to version 6.0.5 -time: 2024-11-06T05:42:01.551090903Z diff --git a/.changes/6.x/unreleased/Changed-20241110-080647.yaml b/.changes/6.x/unreleased/Changed-20241110-080647.yaml deleted file mode 100644 index 6b217e654..000000000 --- a/.changes/6.x/unreleased/Changed-20241110-080647.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Changed -body: update xlswriter reference to version 1.5.8 -time: 2024-11-10T08:06:47.393162223Z diff --git a/.changes/6.x/unreleased/Changed-20241120-102710.yaml b/.changes/6.x/unreleased/Changed-20241120-102710.yaml deleted file mode 100644 index 03f95b797..000000000 --- a/.changes/6.x/unreleased/Changed-20241120-102710.yaml +++ /dev/null @@ -1,3 +0,0 @@ -kind: Changed -body: update http reference to version 4.2.6 -time: 2024-11-20T10:27:10.674008349Z diff --git a/CHANGELOG.md b/CHANGELOG.md index 49cd73130..502c2f2f2 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -7,6 +7,25 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html), and is generated by [Changie](https://github.com/miniscruff/changie). +## 6.13.0 - 2024-11-23 + +### Added + +- PHP 8.1.31 support +- PHP 8.2.26 support +- PHP 8.3.14 support +- PHP 8.4.1 support +- ability to customize generation of Doctrine Proxy Classes (values are `never`, `always` or `auto` by default to keep BC) + by config setting or env var (`APP_PROXY_GENERATE`) + +### Changed + +- update `http` reference to version 4.2.6 +- update `rdkafka` reference to version 6.0.5 +- update `xlswriter` reference to version 1.5.8 + +**Full Changelog**: [6.12.0...6.13.0](https://github.com/llaville/php-compatinfo-db/compare/6.12.0...6.13.0) + ## 6.12.0 - 2024-10-29 ### Added diff --git a/autoload.php b/autoload.php index 87fccb673..5676ab52f 100644 --- a/autoload.php +++ b/autoload.php @@ -24,10 +24,8 @@ class Autoload { /** * The composer autoloader. - * - * @var \Composer\Autoload\ClassLoader */ - private static $composerAutoloader = null; + private static ?\Composer\Autoload\ClassLoader $composerAutoloader = null; public static function load(string $class): void { diff --git a/docs/appendix/SUPPORTED-VERSIONS_6.x.md b/docs/appendix/SUPPORTED-VERSIONS_6.x.md index ca806fa1c..4f8871aa4 100644 --- a/docs/appendix/SUPPORTED-VERSIONS_6.x.md +++ b/docs/appendix/SUPPORTED-VERSIONS_6.x.md @@ -1,6 +1,14 @@ # Versions 6.x + +| Version | Release | Module | PHP 8.1 | PHP 8.2 | PHP 8.3 | PHP 8.4 | +|---------|------------|-----------------|---------|---------|---------|---------| +| 6.13.0 | 2024-11-23 | | 8.1.31 | 8.2.26 | 8.3.14 | 8.4.1 | +| | | http 4.2.6 | | | | | +| | | rdkafka 6.0.5 | | | | | +| | | xlswriter 1.5.8 | | | | | + | Version | Release | Module | PHP 8.1 | PHP 8.2 | PHP 8.3 | |---------|------------|--------------------------|---------|---------|---------| | 6.12.0 | 2024-10-29 | | 8.1.30 | 8.2.25 | 8.3.13 | diff --git a/docs/installation.md b/docs/installation.md index 321f2f81c..d7e16b5de 100644 --- a/docs/installation.md +++ b/docs/installation.md @@ -56,7 +56,7 @@ You can also install application locally to your project with [Phive][phive] and ```xml - + ``` @@ -70,7 +70,7 @@ The recommended way to install this library is [through composer][composer]. If you don't know yet what is composer, have a look [on introduction][composer-intro]. ```shell -composer require bartlett/php-compatinfo-db ^6.11 +composer require bartlett/php-compatinfo-db ^6.13 ``` If you cannot install it because of a dependency conflict, or you prefer to install it for your project, we recommend @@ -88,7 +88,7 @@ vendor/bin/compatinfo-db The PHP CompatInfoDB can be directly used from [GitHub][github-repo] by cloning the repository into a directory of your choice. ```shell -git clone -b 6.11 https://github.com/llaville/php-compatinfo-db.git +git clone -b 6.13 https://github.com/llaville/php-compatinfo-db.git ``` ## Configuring the Database diff --git a/resources/build.php b/resources/build.php index 99cfc01c0..de0a3b9aa 100644 --- a/resources/build.php +++ b/resources/build.php @@ -18,7 +18,7 @@ use Symfony\Component\Console\Input\ArrayInput; use Symfony\Component\Console\Output\NullOutput; -require_once dirname(__DIR__) . '/config/bootstrap.php'; +require_once dirname(__DIR__) . '/vendor/autoload.php'; require_once dirname(__DIR__) . '/vendor-bin/umlwriter/vendor/autoload.php'; $script = $_SERVER['argv'][1] ?? null;