github emdash-cms/emdash emdash@0.12.0

latest releases: @emdash-cms/plugin-embeds@0.1.13, create-emdash@0.12.0, @emdash-cms/gutenberg-to-portable-text@0.12.0...
6 hours ago

Minor Changes

  • #997 7b45cba Thanks @ascorbic! - Adds support for a site-wide default Open Graph image. The setting is exposed in the admin SEO settings page (Settings -> SEO -> Default Social Image), resolved to a URL on read by getSiteSettings(), and automatically emitted as og:image / twitter:image (and BlogPosting JSON-LD image) by EmDashHead.astro whenever a page has no image of its own. Per-page images still take precedence.

    This wires up an existing data model that was previously defined in the schema and MCP tools but never used: stored values were not resolved and no template path read the setting.

    Emitted URLs are absolutized using SiteSettings.url, the page's siteUrl, or the request origin so crawlers and JSON-LD consumers that reject relative URLs work correctly.

    Also adds a localOnly prop to MediaPickerModal that suppresses the "Insert from URL" input and external provider tabs. Used by SEO settings to ensure the picker only returns locally-stored media (since the setting only persists a local mediaId).

    Media metadata updates and deletes now invalidate the worker-scoped site-settings cache, so resolved logo/favicon/default-social-image URLs and dimensions stay in sync with the underlying media row.

Patch Changes

  • #1004 35791ff Thanks @ascorbic! - Fixes a stale ref race in the slash command menu's keyboard handlers. The state ref was synced via useEffect (post-commit), so TipTap's Suggestion plugin could read stale state when invoking onKeyDown synchronously -- causing Enter to occasionally fail to execute commands and arrow navigation to skip selections on slower runs.

  • Updated dependencies [19576be, 35791ff, 7b45cba]:

    • @emdash-cms/admin@0.12.0
    • @emdash-cms/auth@0.12.0
    • @emdash-cms/gutenberg-to-portable-text@0.12.0
    • @emdash-cms/auth-atproto@0.2.5

Don't miss a new emdash release

NewReleases is sending notifications on new releases.