Skip to content

v2.0.0-beta.1

Pre-release
Pre-release

Choose a tag to compare

@davddo davddo released this 09 Oct 12:11
· 74 commits to next since this release

2.0.0-beta.1 (2026-10-09)

Bug Fixes

  • query cache returned outdated results after writes (f43ec3a), closes #15
  • release: publish 2.0 prereleases as beta versions (9806178)

chore

  • deps: update dependencies to their latest versions (6fabc2d)

  • feat!: safer defaults for scripts loading and the schema viewer (03b3532)

  • feat!: model events no longer register WordPress hooks (72f38d5), closes #16

  • feat!: complete interfaces, fail loudly on unknown methods, empty PHPStan baseline (89aac12)

  • fix!: date metas use the WordPress date format (948e964)

  • feat!: require PHP 8.2, illuminate/collections 11 or 12 and Carbon 3 (b0c6b0b)

Features

  • coretik() helper and Acorn compatibility (2742886)

BREAKING CHANGES

  • deps: pelago/emogrifier ^8.2 requires sabberworm/php-css-parser ^9 and drops Symfony 4.4 and 6.0 to 6.2 components.

  • scripts enqueued with the assets loader are no longer async by default; the schema viewer is disabled without WP_DEBUG.

  • the protected hookName() and getInternalId() methods are removed; the Actions trait no longer uses the Hooks trait itself (models only).

  • interfaces declare new methods; unknown methods on App, builders and queries throw a BadMethodCallException; Query methods set/childOf/all/limit/in/notIn/not/whereMeta/whereTax have typed signatures; parent() returns ?Model.

  • date metas are stored as Y-m-d H:i:s instead of Y-m-d H:i:s.u.

  • PHP 8.2 is required; illuminate/collections ^11 || ^12 and nesbot/carbon ^3 replace ^10 and ^2. Carbon 3 diffIn*() methods return signed floats.