All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Nothing
- Update to PHPStan 2.0
- Nothing
- Drop support for PHP 8.2
- Nothing
- Add new
DatabaseTestCase::createRepository()
protected method to create default or custom repositories without duplicating code.
- Update shlinkio coding standard to v2.4
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Make sure child processes run for CLI tests inherit parent process env vars
- Support providing request options when calling
ApiTestCase::callShortUrl
- Nothing
- Nothing
- Nothing
- Nothing
- Add support for PHPUnit 11
- Simplify generating code coverage for CLI and API tests
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Skip capturing coverage in
CoverageMiddleware
if coverage ID cannot be resolved
- Add support for Doctrine ORM 3.0
- Nothing
- Nothing
- Nothing
- Nothing
- Add helpers to build and export code coverage
- Nothing
- Nothing
- Nothing
- Nothing
- Add coverage helpers for E2E tests (CLI and API)
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Make sure CLI tests run provided commands with
--no-ansi
- Add support for PHP 8.3
- Nothing
- Deprecated support for openswoole.
- Drop support for PHP 8.1
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Make sure ApiTests send coverage ID for short URL calls
- Improve code coverage resolution for API and CLI tests
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Add support for
shlinkio/shlink-json
.
- Nothing
- Nothing
- Nothing
- Nothing
- Updated to PHPUnit 10
- Nothing
- Nothing
- Nothing
- Allowed User Agent to be provided to
ApiTestCase::callShortUrl
.
- Updated dependencies
- Nothing
- Nothing
- Nothing
- Allowed to overwrite db commands for drop schema and run SQL on the TestHelper.
- Nothing
- Nothing
- Nothing
- Nothing
- Added support to provide already prefixed URLs on API tests.
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Dropped support for PHP 8.0
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Fixed database deletion being run as mandatory, while it might not exist
- #5 Added new
CliTestCase
with helper functions to E2E test Shlink from the CLI.
- Explicitly added trusted plugins to composer.json
- Nothing
- Dropped support for Symfony 5
- Nothing
- Added
X-Coverage-Id
header that is sent on every request to Shlink with the FQCN of the tests.
- Nothing
- Nothing
- Nothing
- Nothing
- Added support for symfony/process 6.0
- Added support for PHP 8.1
- Updated to phpstan 1.2
- Nothing
- Nothing
- Nothing
- Allowed to customize the commands to run when invoking
TestHelper::createTestDb
.
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- Improved error handling on dependencies provided via setter for ApiTestCase and DatabaseTestCase
- Added experimental builds under PHP 8.1
- Increased required phpstan level to 8
- Nothing
- Dropped support for PHP 7.4
- Nothing
- Improved
TestHelper::createTestDb
method, so that it tries to run the migrations too, which helps spot issues on them.
- Nothing
- Nothing
- Dropped support for guzzle 6.*
- Nothing
- #17 Update
DatabaseTestCase
so that it wraps every test in a transaction that is then rolled back.
- Nothing
- Nothing
- Nothing
- Nothing
- Update
ApiTestCase
so that it allows providing the API key value when callingcallApiWithKey
.
- Migrated build to Github Actions.
- Nothing
- Nothing
- Nothing
- Explicitly added PHP 8 as a supported PHP version.
- Added PHP 8 to the build matrix, allowing failures on it.
- Nothing
- Nothing
- Nothing
- Added support for Guzzle 7.
- Nothing
- Nothing
- Nothing
- Nothing
- Updated to PHPUnit 9.
- Nothing
- Nothing
- Nothing
- Nothing
- Nothing
- #6 API tests will now perform API requests to v2 endpoints.
- #8 Updated coding-standard (v2.1) and phpstan (v0.12) dependencies.
- Nothing
- #7 Dropped support for PHP 7.2 and 7.3
- Nothing
- Updated dependencies.
- Nothing
- Nothing
- Nothing
- Nothing
- Improved
ApiTestCase::getJsonResponsePayload
so that it throws an error if provided response's body could not be parsed.
- Nothing
- Nothing
- Nothing
- Nothing
- First release
- Nothing
- Nothing
- Nothing
- Nothing