Skip to content

v2.7.0

Choose a tag to compare

@github-actions github-actions released this 30 Jul 16:17
· 113 commits to main since this release
Immutable release. Only release title and notes can be modified.
c414ae8

Added

  • BlogManager write API (#250, Keystone #183) — new methods autoDraft(), create(), update(), delete(), duplicate(), syncCategories(), syncTags(), uniqueSlug() on Modules\Blog\Managers\BlogManager. All writes wrapped in a DB transaction. Unique-slug allocation skips soft-deleted rows so a restored draft can't collide. create()/update() route filter-registered custom-field values through the HasCustomFields magic setter before save so a single INSERT/UPDATE captures both hardcoded columns and metadata JSON. update() stamps published_at = now() exactly once on the first draft→published transition — subsequent republishes preserve the original stamp.
  • PageManager write API (#250) — same seven methods on Modules\Pages\Managers\PageManager plus support for the hierarchical parent_id, order, and template attributes. duplicate() preserves template but resets status to Draft and clears published_at. Coexists with the existing hierarchy helpers (getPageTree, movePage, reorderPages) which stay unchanged.

Changed