Skip to content

v2.2.0

Choose a tag to compare

@github-actions github-actions released this 04 Jun 15:04
· 8 commits to main since this release
Immutable release. Only release title and notes can be modified.
1206de4

Added

  • Post::previous_post and Post::next_post accessors (#154, #157) — published-adjacent post lookups so the artisanpack-ui/visual-editor PostResolver can stamp navigation block payloads. Lookup is ordered by published_at, with id as a deterministic tie-breaker when timestamps collide.
  • HasRenderedBlockContent concern on Post and Page (#155, #156) — exposes a rendered_content accessor so PostResolver in artisanpack-ui/visual-editor can stamp the _resolvedContent HTML payload directly from the model.
  • "Using with the visual editor" README section (#150, #159) — documents the opt-in bridge to the artisanpack-ui/visual-editor package, including the block_content column, HasBlockContent polyfill, _resolved* attribute flow, and the new previous_post / next_post / rendered_content accessors.

Security

  • Hardened CI and release GitHub Actions workflows (#140, #158) — added least-privilege permissions: blocks to .github/workflows/ci.yml and .github/workflows/release.yml so workflow tokens no longer inherit broad write scopes by default.