Skip to content

v1.2.4

Latest

Choose a tag to compare

@MFYDev MFYDev released this 20 Jan 06:20
· 2 commits to main since this release

This release fixes a critical issue where draft posts were being leaked into search results. The indexing pipeline now properly filters posts by status, ensuring only published content appears in search.

🐛 Bug Fixes

  • Fixed draft post leakage - Draft, scheduled, and other unpublished posts were previously being indexed and appearing in search results. The sync process now filters posts to only
    include published and sent (email-only) statuses.

✨ New Features

  • Email-only post support - Newsletter/email-only posts (status: sent) are now included in search results alongside regular published posts.

🔧 Technical Changes

  • Added filter: 'status:[published,sent]' to the Ghost Admin API query in fetchAllPosts() (packages/core/src/index.ts)

⚠️ Migration Notes

If you have an existing Meilisearch index that may contain draft posts, you should clear and re-sync:

Clear existing index
ghost-meilisearch clear --config config.json

Re-sync only published posts
ghost-meilisearch sync --config config.json