Skip to content

Release v1.10.2

Latest

Choose a tag to compare

@glitter-gim glitter-gim released this 25 Jul 18:06

Fixed

Improved database metadata compatibility during installation

Resolved a compatibility issue in the migration that reads column metadata from information_schema.columns.

Previously, the migration assumed that metadata was always returned as a lowercase stdClass object. Depending on the database driver or PDO fetch configuration, metadata could instead be returned with uppercase column names or as an associative array, causing installation failures with errors such as Undefined property or Attempt to read property on array.

This release introduces a normalization layer that:

  • Supports both stdClass objects and associative arrays.
  • Handles column names regardless of letter case.
  • Validates required metadata fields before use.
  • Produces clear exception messages when required metadata is unavailable.

Added regression tests

Added compatibility tests covering:

  • Lowercase object metadata
  • Uppercase object metadata
  • Mixed-case associative array metadata
  • Missing metadata field handling

These tests help prevent future regressions across different database and driver configurations.

Notes

  • No database schema changes.
  • No data migration required.
  • Existing installations can update directly to v1.10.2.
  • New installations benefit from improved compatibility across varying database metadata return formats.