Skip to content

Releases: escalated-dev/escalated-wordpress

v1.0.1

16 Feb 05:11

Choose a tag to compare

Escalated v1.0.1

Bug fix release addressing CI test failures and schema issues.

Fixed

  • API token column mismatchApiToken model referenced token_hash column but the database schema uses token. Fixed create_token() and find_by_token() methods.
  • Missing updated_at column — Added updated_at column to the api_tokens table schema, which update_last_used() and update() both write to.
  • Static method call errorTicketService::create() was called statically from the ticket controller but is an instance method. Now uses Ticket::create() directly.
  • PHPUnit compatibility — Downgraded from PHPUnit 10 to 9.6 for WordPress test library compatibility. Fixed test file naming to match class names.
  • Composer platform constraint — Added config.platform.php: "8.1.0" to prevent resolving packages that require PHP 8.4+.
  • API test token hashing — Test setup now stores SHA-256 hashed tokens in the database, matching how find_by_token() performs lookups.
  • Test bootstrap activation — Plugin activation now runs once in the test bootstrap before test transactions start, ensuring dbDelta() table creation isn't affected by the per-test transaction wrapper.

Full Changelog: v1.0.0...v1.0.1

v1.0.0

16 Feb 00:56

Choose a tag to compare