Repository navigation
Releases: graze/morphism
Release list
v7.1.0
Highlights
Adds support for PHP 7.4 through 8.5 and modernises the dev toolchain. Backward-compatible for consumers — only the supported PHP range widens; all tooling bumps are dev-only.
Changes
- PHP support:
phpconstraint widened to^7.4 || ^8.0(tested on 7.4, 8.0, 8.1, 8.2, 8.3, 8.4, 8.5). - Dev tooling: PHPUnit 9, PHP_CodeSniffer 4, graze/standards 3, Mockery 1.6.
- Tests: migrated to PHPUnit 9 APIs (
expectException(),assertMatchesRegularExpression,assertIsArray) andphpunit.xml.distto the v9 schema. - PHP 8 cleanliness: removed deprecations across the whole range (
strcasecmpnull args,${var}interpolation,ReflectionProperty::setAccessible()). - CI: matrix now covers PHP 7.4–8.5; dropped the unused Scrutinizer coverage upload.
- README: added a Requirements section; replaced the Travis badge with GitHub Actions; removed unused Scrutinizer/MicroBadger badges and banner.
Full Changelog: v7.0.1...v7.1.0
v7.0.1
Changes
- Bumped the test/dev database in
docker-compose.ymlfrommysql:8.0tomysql:8.4.
Notes
No consumer-facing changes — src/ and the Dockerfile are unchanged from v7.0.0, so the published Composer package and graze/morphism Docker image are functionally identical to the previous release. This patch only records that morphism connects cleanly to MySQL 8.4 (which defaults to caching_sha2_password) via PDO/mysqlnd; the full functional flow (diff, dump, mysqldump, lint, extract) was verified against 8.4 in CI.
Full Changelog: v7.0.0...v7.0.1
v7.0.0
Breaking changes
- Dropped PHP 7.2 and 7.3 support. Minimum PHP is now 7.4 (
composer.jsonrequires^7.4). - Bumped
symfony/consoleandsymfony/yamlto^5(from^2 | ^3 | ^4). This restores Composer installability now that the older Symfony releases are blocked by security advisories.
Features
- Multi-arch Docker images. A new GitHub Actions workflow builds and pushes
linux/amd64+linux/arm64manifests to Docker Hubgraze/morphismonvX.Y.Ztag pushes, fixingno matching manifest for linux/arm64/v8pulls on Apple Silicon. - New
make build-docker(host-arch,--load) andmake build-docker-multiarch(PLATFORMS, opt-inPUSH=1) buildx targets for local builds.
Internal
Command::execute()now returnsint(required by Symfony Console v5).- Removed the legacy Docker Hub Automated Builds
hooks/buildscript. - Pinned
phpunit/phpunitto^8and trimmed the CI matrix to PHP 7.4.
Full Changelog: v6.0.5...v7.0.0
Remove int width and zerofill for > MySQL 8.0.19
Remove int width and zerofill for > MySQL 8.0.19
Charset & Collation diff utf8mb3 as utf8
Charset & Collation diff utf8mb3 as utf8
Add utf8mb3(uft8 alias) for MySQL 8
Add utf8mb3(uft8 alias) for MySQL 8
Add JSON data type
Adds column definition for JSON data type.
Add utf8mb4_0900_ai_ci collation
utf8mb4_0900_ai_ci is the MySQL 8 default.
MySQL 8 support
- Add support for MySQL 8
- Drop support for PHP 7.1
Support foreign keys
- Foreigns keys are now supported during diffs.
- Fixes an issue with MariaDB default null columns.