PHP Supported Versions as a SPIP Plugin
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 

180 lines
4.9 KiB

# Changelog
All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html) and
[Conventional Commits](https://www.conventionalcommits.org/en/v1.0.0/).
## [Unreleased]
### Added
- releases upgardes (SPIP 4.1.1, SPIP 4.0.6)
- releases upgrades (SPIP 4.1.0)
- releases upgrades (SPIP 4.1.0-rc)
- releases upgrades (SPIP 4.0.5, SPIP 3.2.14)
- releases upgrades (SPIP 4.1.0-alpha, SPIP 4.1.0-beta)
- releases upgrades (SPIP 4.0.2, SPIP 4.0.3, SPIP 4.0.4 with extended security support, SPIP 3.2.13)
- Spanish translation
- `<supportedversions|configuration>` model `|SupportedVersions::branchesByState` filter are dependent on the presence of the `system` attribute in release files.
- Apache rewrite rule to keep compatibility with `spip_loader.php` v5.0.1
- api v2 php requirements based on branch, not release
### Changed
- show 2 security versions in api v2
- 2 stable versions in API
## [0.7.0] - 2022-01-08
### Added
- releases upgrades (SPIP 4.0.1, SPIP 3.2.12)
- add last eol release to `spip_loader.api`
- logical operators for php extensions
- add sha1 file in `releases.json`, `spip_loader.api` and `<supportedversions|release_notes`> model
- `spip_loader.api` experimental v3
- `spip_loader.api` Last_Modified header based on `data/releases.json` and `data/pre_releases.json` mtime
### Changed
- `spip_loader.api` default version is 2 as current version. See [spip_loader_list.json](https://git.spip.net/spip-contrib-outils/spip_loader/src/commit/9853383d7571640f153dc32067b038d96cb160a3/spip_loader_list.json)
### Deprecated
- `spip_loader_list.json` page
- `spip_loader.api` v1
## [0.6.0] - 2021-08-14
### Added
- releases upgrades (SPIP 4.0.0-beta, SPIP 4.0.0)
- `<supportedversions|spiploaderlist_X>` models (v1 and experimental v2)
- `spip_loader_list.json` page
- `spip_loader.api` pages for apache httpd server with rewrite mode and `.htaccess` default file behaviour
- `|SupportedVersions::branchesByState` filter
- `<supportedversions|configuration>` model
- `|SupportedVersions::configuration` filter
### Changed
- `php` attribute is moved from root branch descriptor to `technologies.require.php` in JSON format for releases. Edited with :
```bash
jq '[.[]|{branch, initial_release, active_support, eol, technologies: {require: {php: .php}}}]' tests/releases/init.json
jq '[.[]|{branch, initial_release, active_support, eol, last_version_release, last_date_release, technologies: {require: {php: .php}}, releases}]' data/releases.json
jq '.' data/pre_releases.json
```
## [0.5.0] - 2021-05-19
### Added
- `|SupportedVersions::getBranchesFromState` filter
### Changed
- `<supportedversions|eol>` model (one date column, no footnotes)
- SPIP4.0 minimum version is required
- thus, PHP7.3 minimum version is required
### Removed
- `|SupportedVersions::phpMatrixWithEol` filter
- `|SupportedVersions::eoledBranches` filter
## [0.4.1] - 2021-05-18
### Added
- `<supportedversions|stable`> model
- Arabic translation
- `|SupportedVersions::getBranchValues` filter
- CI/CD [PHPStan](https://phpstan.org/) dev tool
- [Contributing](CONTRIBUTING.md) file
### Changed
- PHP7.2 minimum version is required
- `not-planned` state in `|SupportedVersions::state` filter if an empty initial_release date is given
## [0.4.0] - 2021-05-16
### Added
- CI/CD Pipeline
- `<supportedversions|compatibility`> model
- releases upgrades (SPIP3.2.11)
- SPIP4.x release announcement
- `<supportedversions|release_notes`> model
- `<supportedversions|pre_releases`> model
- `pre_releases.json` page
## [0.3.0] - 2020-10-12
### Changed
- table model displays the last release date and the version number over the branch name
### Added
- `<supportedversions|latest>` model
- `<supportedversions|eol>` model
- Unit Tests with PHPUnit
- Filter `|SupportedVersions::stateOrGradient`
- Filter `|SupportedVersions::rectWidth`
- Ability to display future versions if a release date is planned
### Removed
- Filter `|SupportedVersions::stableOrGradient`
- Filter `|SupportedVersions::securityOrGradient`
## [0.2.4] - 2020-10-02
### Changed
- releases upgrades (SPIP3.1.14)
## [0.2.3] - 2020-09-30
### Changed
- releases upgrades (SPIP3.2.8 and SPIP3.1.13)
## [0.2.1] - 2020-08-21
### Fixed
- releases exposition
## [0.2.0] - 2020-07-05
### Changed
- i18n updates
- releases upgrades
### Added
- `<supportedversions|releases`> model
- `releases.json` page
## [0.1.0] - 2019-03-17
### Added
- `#SUPPORTED_VERSIONS` tag
- `SupportedVersions` Filters class wich includes :
- `state`
- `top` and `topForText`
- `width` and `height`
- `branchesToShow`
- `years`
- `horizCoord`
- `stableOrGradient`
- `securityOrGradient`
- `<supportedversions|table>`, `<supportedversions|calendar>` and `<supportedversions|legend>` models
- `supported-versions.svg` page