Skip to content

Commit

Permalink
prepare feature release 6.14
Browse files Browse the repository at this point in the history
  • Loading branch information
llaville committed Jan 8, 2025
1 parent fe8f80b commit 7157baf
Show file tree
Hide file tree
Showing 20 changed files with 98 additions and 53 deletions.
26 changes: 26 additions & 0 deletions .changes/6.x/6.14.0.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,26 @@

## 6.14.0 - 2025-01-08

### Added

- Some native Doctrine commands to help developers to debug their environment/installation
- PHP 8.2.27 support
- PHP 8.3.15 support
- PHP 8.4.2 support

### Changed

- update `memcached` reference to version 3.3.0
- update `xdebug` reference to version 3.4.1
- Use [class constructor property promotion](https://php.watch/versions/8.0/constructor-property-promotion) PHP 8.0 syntax and [read only properties](https://php.watch/versions/8.1/readonly) PHP 8.1 syntax

### Removed

- config/bootstrap.php file; use direct autoload.php instead

### Fixed

- cannot use PHAR version with APP_ENV other than prod (default)
- missing magic constant __PROPERTY__ introduced with PHP 8.4

**Full Changelog**: [6.13.2...6.14.0](https://github.com/llaville/php-compatinfo-db/compare/6.13.2...6.14.0)
3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Added-20241215-065024.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Added-20241221-081445.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Added-20241221-082121.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Added-20241221-154350.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Changed-20241210-052033.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Changed-20241216-083815.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Changed-20250108-054425.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Fixed-20241216-064040.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Fixed-20241221-055443.yaml

This file was deleted.

3 changes: 0 additions & 3 deletions .changes/6.x/unreleased/Removed-20241216-084233.yaml

This file was deleted.

4 changes: 2 additions & 2 deletions .github/workflows/gh-pages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ on:
push:
branches:
- master
- "6.13"
- "6.14"
paths:
- docs/**
pull_request:
Expand All @@ -15,6 +15,6 @@ jobs:
deploy:
uses: llaville/.github/.github/workflows/gh-pages.yml@master
with:
destination-dir: "6.13"
destination-dir: "6.14"
force-orphan: false
hook-script: "resources/gh-pages-hook.sh"
26 changes: 26 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,32 @@ 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.14.0 - 2025-01-08

### Added

- Some native Doctrine commands to help developers to debug their environment/installation
- PHP 8.2.27 support
- PHP 8.3.15 support
- PHP 8.4.2 support

### Changed

- update `memcached` reference to version 3.3.0
- update `xdebug` reference to version 3.4.1
- Use [class constructor property promotion](https://php.watch/versions/8.0/constructor-property-promotion) PHP 8.0 syntax and [read only properties](https://php.watch/versions/8.1/readonly) PHP 8.1 syntax

### Removed

- config/bootstrap.php file; use direct autoload.php instead

### Fixed

- cannot use PHAR version with APP_ENV other than prod (default)
- missing magic constant __PROPERTY__ introduced with PHP 8.4

**Full Changelog**: [6.13.2...6.14.0](https://github.com/llaville/php-compatinfo-db/compare/6.13.2...6.14.0)

## 6.13.2 - 2024-12-03

### Fixed
Expand Down
2 changes: 1 addition & 1 deletion Dockerfile
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ ARG PHP_VERSION=8.1

FROM php:${PHP_VERSION}-cli-alpine

ARG PACKAGE_CONSTRAINT=6.13.x-dev
ARG PACKAGE_CONSTRAINT=6.14.x-dev

# https://github.com/opencontainers/image-spec/blob/main/annotations.md

Expand Down
37 changes: 25 additions & 12 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@
|:---------------|:----------------------------------------------:|:---------------------------------------------------------------:|:------------------------------------------------------------:|:-------------------------------------------------:|:-------------------------------------------------------------------:|
| Stable v5.14.x | [![Branch 5.14][Branch_514x-img]][Branch_514x] | [![Minimum PHP Version)][PHPVersion_514x-img]][PHPVersion_514x] | [![Stable Version 5.14][Packagist_514x-img]][Packagist_514x] | [![License 5.14][License_514x-img]][License_514x] | [![Documentation 5.14][Documentation_514x-img]][Documentation_514x] |
| Stable v6.13.x | [![Branch 6.13][Branch_613x-img]][Branch_613x] | [![Minimum PHP Version)][PHPVersion_613x-img]][PHPVersion_613x] | [![Stable Version 6.13][Packagist_613x-img]][Packagist_613x] | [![License 6.13][License_613x-img]][License_613x] | [![Documentation 6.13][Documentation_613x-img]][Documentation_613x] |
| Stable v6.14.x | [![Branch 6.14][Branch_614x-img]][Branch_614x] | [![Minimum PHP Version)][PHPVersion_614x-img]][PHPVersion_614x] | [![Stable Version 6.14][Packagist_614x-img]][Packagist_614x] | [![License 6.14][License_614x-img]][License_614x] | [![Documentation 6.14][Documentation_614x-img]][Documentation_614x] |

[Branch_514x-img]: https://img.shields.io/badge/branch-5.14-orange
[Branch_514x]: https://github.com/llaville/php-compatinfo-db/tree/5.14
Expand All @@ -28,28 +29,40 @@
[Documentation_613x-img]: https://img.shields.io/badge/documentation-v6.13-green
[Documentation_613x]: https://github.com/llaville/php-compatinfo-db/tree/6.13/docs

[Branch_614x-img]: https://img.shields.io/badge/branch-6.14-orange
[Branch_614x]: https://github.com/llaville/php-compatinfo-db/tree/6.14
[PHPVersion_614x-img]: https://img.shields.io/packagist/php-v/bartlett/php-compatinfo-db/6.14.0
[PHPVersion_614x]: https://www.php.net/supported-versions.php
[Packagist_614x-img]: https://img.shields.io/badge/packagist-v6.14.0-blue
[Packagist_614x]: https://packagist.org/packages/bartlett/php-compatinfo-db
[License_614x-img]: https://img.shields.io/packagist/l/bartlett/php-compatinfo-db
[License_614x]: https://github.com/llaville/php-compatinfo-db/blob/6.14/LICENSE
[Documentation_614x-img]: https://img.shields.io/badge/documentation-v6.14-green
[Documentation_614x]: https://github.com/llaville/php-compatinfo-db/tree/6.14/docs

Main goal of this project is to provide a standalone database that references
all functions, constants, classes, interfaces on PHP standard distribution and about 110 extensions.

This database is currently only support by its initial project [php-compatinfo](https://github.com/llaville/php-compatinfo)

## Version Compatibility

| CompatInfoDB | PHP | CompatInfo |
|----------------------|----------------------|---------------------|
| `3.6.x` to `3.16.x` | `>= 7.2` | `5.5` |
| `3.6.x` to `3.16.x` | `>= 7.4` | `6.0` |
| `3.17.x` to `3.18.x` | `>= 7.4` | `6.1` |
| `4.0.x` to `4.1.x` | `>= 7.4` | `6.2`, `6.3` |
| `4.2.x` to `4.5.x` | `>= 7.4` | `6.4` |
| `4.6.x` to `4.11.x` | `>= 7.4` | `6.5` |
| `5.0.x` to `5.14.x` | `>= 8.0` and `< 8.3` | `7.0` |
| `6.0.x` to `6.13.x` | `>= 8.1` | `7.0`, `7.1`, `7.2` |
| CompatInfoDB | PHP | CompatInfo |
|----------------------|----------------------|--------------|
| `3.6.x` to `3.16.x` | `>= 7.2` | `5.5` |
| `3.6.x` to `3.16.x` | `>= 7.4` | `6.0` |
| `3.17.x` to `3.18.x` | `>= 7.4` | `6.1` |
| `4.0.x` to `4.1.x` | `>= 7.4` | `6.2`, `6.3` |
| `4.2.x` to `4.5.x` | `>= 7.4` | `6.4` |
| `4.6.x` to `4.11.x` | `>= 7.4` | `6.5` |
| `5.0.x` to `5.14.x` | `>= 8.0` and `< 8.3` | `7.0` |
| `6.0.x` to `6.14.x` | `>= 8.1` | `7.0`, `7.1` |
| `6.14.x` | `>= 8.1` | `7.2` |

## Documentation

All the documentation is available on [website](https://llaville.github.io/php-compatinfo-db/6.13),
generated from the [docs](https://github.com/llaville/php-compatinfo-db/tree/6.13/docs) folder.
All the documentation is available on [website](https://llaville.github.io/php-compatinfo-db/6.14),
generated from the [docs](https://github.com/llaville/php-compatinfo-db/tree/6.14/docs) folder.

## Contributors

Expand Down
10 changes: 10 additions & 0 deletions docs/appendix/SUPPORTED-VERSIONS_6.x.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,16 @@
<!-- markdownlint-disable MD013 -->
# Releases 6.x

## Releases 6.14.x

| Release | Extension | PHP 8.4 | PHP 8.3 | PHP 8.2 | PHP 8.1 | PHP 8.0 | PHP 7.4 | PHP 7.3 | PHP 7.2 | PHP 7.1 | PHP 7.0 | PHP 5.6 |
|------------------------------:|:----------|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|:-------:|
| [6.14.0][6.14.0] - 2025-01-08 | | 8.4.2 | 8.3.15 | 8.2.27 | 8.1.31 | | | | | | | |
| [3.4.1][xdebug-3.4.1] | xdebug | &check; | &check; | &check; | &check; | | | | | | | |

[6.14.0]: https://github.com/llaville/php-compatinfo-db/releases/tag/6.14.0
[xdebug-3.4.1]: https://pecl.php.net/package/xdebug/3.4.1

## Releases 6.13.x

| Release | Extension | PHP 8.4 | PHP 8.3 | PHP 8.2 | PHP 8.1 | PHP 8.0 | PHP 7.4 | PHP 7.3 | PHP 7.2 | PHP 7.1 | PHP 7.0 | PHP 5.6 |
Expand Down
6 changes: 3 additions & 3 deletions docs/appendix/supported-versions.md
Original file line number Diff line number Diff line change
Expand Up @@ -65,8 +65,8 @@
## [Versions 6.x](SUPPORTED-VERSIONS_6.x.md)

* PHP 8.1.26 until 8.1.31
* PHP 8.2.13 until 8.2.26
* PHP 8.3.0 until 8.3.14
* PHP 8.4.1
* PHP 8.2.13 until 8.2.27
* PHP 8.3.0 until 8.3.15
* PHP 8.4.1 until 8.4.2

Currently, [115 extensions](SUPPORTED-EXTENSIONS.md) referenced in the database.
6 changes: 3 additions & 3 deletions docs/installation.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ You can also install application locally to your project with [Phive][phive] and
```xml
<?xml version="1.0" encoding="UTF-8"?>
<phive xmlns="https://phar.io/phive">
<phar name="llaville/php-compatinfo-db" version="^6.13" copy="false" />
<phar name="llaville/php-compatinfo-db" version="^6.14" copy="false" />
</phive>
```

Expand All @@ -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.13
composer require bartlett/php-compatinfo-db ^6.14
```

If you cannot install it because of a dependency conflict, or you prefer to install it for your project, we recommend
Expand All @@ -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.13 https://github.com/llaville/php-compatinfo-db.git
git clone -b 6.14 https://github.com/llaville/php-compatinfo-db.git
```

## Configuring the Database
Expand Down
2 changes: 1 addition & 1 deletion mkdocs.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
---
site_name: PHP CompatinfoDB
site_url: https://llaville.github.io/php-compatinfo-db/6.13
site_url: https://llaville.github.io/php-compatinfo-db/6.14
repo_url: https://github.com/llaville/php-compatinfo-db # https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#repository
site_author: Laurent Laville
edit_uri: "" # hide edit button -- https://squidfunk.github.io/mkdocs-material/setup/adding-a-git-repository/#edit-button
Expand Down
2 changes: 1 addition & 1 deletion src/Presentation/Console/Command/AboutCommand.php
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ protected function execute(InputInterface $input, OutputInterface $output): int
/** @var ApplicationInterface $app */
$app = $this->getApplication();

$defaultVersion = '6.13';
$defaultVersion = '6.14';

$lines = [
sprintf(
Expand Down

0 comments on commit 7157baf

Please sign in to comment.