Releases: escalated-dev/escalated-wordpress
Releases · escalated-dev/escalated-wordpress
v1.0.1
Escalated v1.0.1
Bug fix release addressing CI test failures and schema issues.
Fixed
- API token column mismatch —
ApiTokenmodel referencedtoken_hashcolumn but the database schema usestoken. Fixedcreate_token()andfind_by_token()methods. - Missing
updated_atcolumn — Addedupdated_atcolumn to theapi_tokenstable schema, whichupdate_last_used()andupdate()both write to. - Static method call error —
TicketService::create()was called statically from the ticket controller but is an instance method. Now usesTicket::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