Skip to content

Releases: graze/morphism

v7.1.0

Choose a tag to compare

@rick-lam rick-lam released this 28 May 21:06
0472c61

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: php constraint 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) and phpunit.xml.dist to the v9 schema.
  • PHP 8 cleanliness: removed deprecations across the whole range (strcasecmp null 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

Choose a tag to compare

@rick-lam rick-lam released this 27 May 09:19
7018b97

Changes

  • Bumped the test/dev database in docker-compose.yml from mysql:8.0 to mysql: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

Choose a tag to compare

@rick-lam rick-lam released this 27 May 08:18
5be135b

Breaking changes

  • Dropped PHP 7.2 and 7.3 support. Minimum PHP is now 7.4 (composer.json requires ^7.4).
  • Bumped symfony/console and symfony/yaml to ^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/arm64 manifests to Docker Hub graze/morphism on vX.Y.Z tag pushes, fixing no matching manifest for linux/arm64/v8 pulls on Apple Silicon.
  • New make build-docker (host-arch, --load) and make build-docker-multiarch (PLATFORMS, opt-in PUSH=1) buildx targets for local builds.

Internal

  • Command::execute() now returns int (required by Symfony Console v5).
  • Removed the legacy Docker Hub Automated Builds hooks/build script.
  • Pinned phpunit/phpunit to ^8 and 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

Choose a tag to compare

@rick-lam rick-lam released this 01 May 12:38
8aea35e

Remove int width and zerofill for > MySQL 8.0.19

Charset & Collation diff utf8mb3 as utf8

Choose a tag to compare

@rick-lam rick-lam released this 01 May 09:10
a89058f

Charset & Collation diff utf8mb3 as utf8

Add utf8mb3(uft8 alias) for MySQL 8

Choose a tag to compare

@rick-lam rick-lam released this 17 Apr 15:43
b4c7027

Add utf8mb3(uft8 alias) for MySQL 8

Add JSON data type

Choose a tag to compare

@brendankay brendankay released this 30 Apr 03:37
d274d74

Adds column definition for JSON data type.

Add utf8mb4_0900_ai_ci collation

Choose a tag to compare

@brendankay brendankay released this 02 Mar 23:27

utf8mb4_0900_ai_ci is the MySQL 8 default.

MySQL 8 support

Choose a tag to compare

@brendankay brendankay released this 26 Feb 10:09
09bff69
  • Add support for MySQL 8
  • Drop support for PHP 7.1

Support foreign keys

Choose a tag to compare

@brendankay brendankay released this 04 Aug 22:15
96b0295
  • Foreigns keys are now supported during diffs.
  • Fixes an issue with MariaDB default null columns.