- Move coverage reports to phpunit.coverage.xml.dist: a coverage driver is optional and failOnWarning would turn its absence into a failed gate. - Add a composer coverage script and document the requirement. - Exclude development-only files from the distribution archive via export-ignore. - Add a Gitea Actions workflow running composer check on PHP 8.3 and 8.4. - Add CHANGELOG.md following Keep a Changelog. - Add Packagist and CI badges to the README.
19 lines
803 B
Markdown
19 lines
803 B
Markdown
# Changelog
|
|
|
|
All notable changes to this project are documented here. The format follows
|
|
[Keep a Changelog](https://keepachangelog.com/en/1.1.0/) and the project adheres to
|
|
[Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
|
|
## [Unreleased]
|
|
|
|
### Added
|
|
|
|
- `Controller`, `CrudController`, `Router`, `Request`, `JsonRequest`, `Response`, `Route`,
|
|
`ResourceGateway`, `Middleware` and `Pipeline`.
|
|
- Routing with path parameters, 404 and 405 responses carrying an `Allow` header.
|
|
- Generic CRUD over a `ResourceGateway` port implemented by the application.
|
|
- Security middlewares: `BearerAuth`, `RequireRole`, `RateLimit`, `Cors`.
|
|
- Transport middlewares: `Logging`, `ContentNegotiation`.
|
|
- Nine typed HTTP exceptions with snake_case JSON bodies.
|
|
- MIT license and Composer metadata for Packagist.
|