Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 0 additions & 5 deletions .changeset/fix-media-library-infinite-scroll.md

This file was deleted.

6 changes: 0 additions & 6 deletions .changeset/fix-slash-menu-stale-ref.md

This file was deleted.

14 changes: 0 additions & 14 deletions .changeset/site-default-og-image.md

This file was deleted.

8 changes: 8 additions & 0 deletions fixtures/perf-site/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @emdash-cms/fixture-perf-site

## 0.0.8

### Patch Changes

- Updated dependencies [[`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa), [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072)]:
- emdash@0.12.0
- @emdash-cms/cloudflare@0.12.0

## 0.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion fixtures/perf-site/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/fixture-perf-site",
"version": "0.0.7",
"version": "0.0.8",
"private": true,
"type": "module",
"description": "Fixture site for query-count perf snapshots. Runs under sqlite+node or d1+cloudflare based on EMDASH_FIXTURE_TARGET.",
Expand Down
8 changes: 8 additions & 0 deletions infra/blog-demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @emdash-cms/perf-demo-site

## 0.0.8

### Patch Changes

- Updated dependencies [[`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa), [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072)]:
- emdash@0.12.0
- @emdash-cms/cloudflare@0.12.0

## 0.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion infra/blog-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/perf-demo-site",
"version": "0.0.7",
"version": "0.0.8",
"private": true,
"type": "module",
"scripts": {
Expand Down
8 changes: 8 additions & 0 deletions infra/cache-demo/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @emdash-cms/cache-demo-site

## 0.0.8

### Patch Changes

- Updated dependencies [[`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa), [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072)]:
- emdash@0.12.0
- @emdash-cms/cloudflare@0.12.0

## 0.0.7

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion infra/cache-demo/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/cache-demo-site",
"version": "0.0.7",
"version": "0.0.8",
"private": true,
"type": "module",
"scripts": {
Expand Down
23 changes: 23 additions & 0 deletions packages/admin/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,28 @@
# @emdash-cms/admin

## 0.12.0

### Minor Changes

- [#997](https://github.com/emdash-cms/emdash/pull/997) [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072) Thanks [@ascorbic](https://github.com/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

- [#996](https://github.com/emdash-cms/emdash/pull/996) [`19576be`](https://github.com/emdash-cms/emdash/commit/19576be43134359596ca7705f84fd645bd2f3824) Thanks [@r2sake](https://github.com/r2sake)! - Fix media library admin page and the media picker modal (used by the rich text editor and image fields when embedding media into content) to support libraries larger than 50 items by wiring up cursor-based infinite scroll (mirrors the content list fix from #135)

- [#1004](https://github.com/emdash-cms/emdash/pull/1004) [`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa) Thanks [@ascorbic](https://github.com/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 []:
- @emdash-cms/blocks@0.12.0

## 0.11.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/admin/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/admin",
"version": "0.11.1",
"version": "0.12.0",
"description": "Admin UI for EmDash CMS",
"type": "module",
"main": "dist/index.js",
Expand Down
8 changes: 8 additions & 0 deletions packages/auth-atproto/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @emdash-cms/auth-atproto

## 0.2.5

### Patch Changes

- Updated dependencies [[`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa), [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072)]:
- emdash@0.12.0
- @emdash-cms/auth@0.12.0

## 0.2.4

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/auth-atproto/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/auth-atproto",
"version": "0.2.4",
"version": "0.2.5",
"description": "AT Protocol / Atmosphere authentication provider for EmDash CMS",
"type": "module",
"main": "src/auth.ts",
Expand All @@ -26,7 +26,7 @@
"license": "MIT",
"peerDependencies": {
"astro": ">=5",
"emdash": "workspace:>=0.11.1",
"emdash": "workspace:>=0.12.0",
"react": ">=18"
},
"devDependencies": {
Expand Down
2 changes: 2 additions & 0 deletions packages/auth/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @emdash-cms/auth

## 0.12.0

## 0.11.1

## 0.11.0
Expand Down
2 changes: 1 addition & 1 deletion packages/auth/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/auth",
"version": "0.11.1",
"version": "0.12.0",
"description": "Passkey-first authentication for EmDash",
"type": "module",
"main": "dist/index.mjs",
Expand Down
2 changes: 2 additions & 0 deletions packages/blocks/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @emdash-cms/blocks

## 0.12.0

## 0.11.1

## 0.11.0
Expand Down
2 changes: 1 addition & 1 deletion packages/blocks/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/blocks",
"version": "0.11.1",
"version": "0.12.0",
"description": "Declarative plugin UI blocks for EmDash CMS",
"type": "module",
"main": "dist/index.js",
Expand Down
7 changes: 7 additions & 0 deletions packages/cloudflare/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# @emdash-cms/cloudflare

## 0.12.0

### Patch Changes

- Updated dependencies [[`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa), [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072)]:
- emdash@0.12.0

## 0.11.1

### Patch Changes
Expand Down
2 changes: 1 addition & 1 deletion packages/cloudflare/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/cloudflare",
"version": "0.11.1",
"version": "0.12.0",
"description": "Cloudflare adapters for EmDash - D1, R2, Access, and Worker Loader sandbox",
"type": "module",
"main": "dist/index.mjs",
Expand Down
24 changes: 24 additions & 0 deletions packages/core/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,29 @@
# emdash

## 0.12.0

### Minor Changes

- [#997](https://github.com/emdash-cms/emdash/pull/997) [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072) Thanks [@ascorbic](https://github.com/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](https://github.com/emdash-cms/emdash/pull/1004) [`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa) Thanks [@ascorbic](https://github.com/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`](https://github.com/emdash-cms/emdash/commit/19576be43134359596ca7705f84fd645bd2f3824), [`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa), [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072)]:
- @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

## 0.11.1

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/core/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "emdash",
"version": "0.11.1",
"version": "0.12.0",
"description": "Astro-native CMS with WordPress migration support",
"type": "module",
"main": "dist/index.mjs",
Expand Down Expand Up @@ -215,7 +215,7 @@
},
"peerDependencies": {
"@astrojs/react": ">=5.0.0-beta.0",
"@emdash-cms/auth-atproto": "workspace:>=0.2.4",
"@emdash-cms/auth-atproto": "workspace:>=0.2.5",
"astro": ">=6.0.0-beta.0",
"react": ">=18.0.0",
"react-dom": ">=18.0.0"
Expand Down
2 changes: 2 additions & 0 deletions packages/create-emdash/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# create-emdash

## 0.12.0

## 0.11.1

## 0.11.0
Expand Down
2 changes: 1 addition & 1 deletion packages/create-emdash/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "create-emdash",
"version": "0.11.1",
"version": "0.12.0",
"description": "Create a new EmDash CMS project",
"type": "module",
"bin": "./dist/index.mjs",
Expand Down
2 changes: 2 additions & 0 deletions packages/gutenberg-to-portable-text/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @emdash-cms/gutenberg-to-portable-text

## 0.12.0

## 0.11.1

## 0.11.0
Expand Down
2 changes: 1 addition & 1 deletion packages/gutenberg-to-portable-text/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/gutenberg-to-portable-text",
"version": "0.11.1",
"version": "0.12.0",
"description": "Convert WordPress Gutenberg blocks to Portable Text",
"type": "module",
"main": "dist/index.mjs",
Expand Down
2 changes: 1 addition & 1 deletion packages/plugins/api-test/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@
"author": "Matt Kane",
"license": "MIT",
"peerDependencies": {
"emdash": "workspace:>=0.11.1",
"emdash": "workspace:>=0.12.0",
"react": "^18.0.0 || ^19.0.0",
"@phosphor-icons/react": "^2.1.10"
},
Expand Down
8 changes: 8 additions & 0 deletions packages/plugins/embeds/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,13 @@
# @emdash-cms/plugin-embeds

## 0.1.13

### Patch Changes

- Updated dependencies [[`35791ff`](https://github.com/emdash-cms/emdash/commit/35791ff9f68c10c6d3ff15ee0ab407baef09c2aa), [`7b45cba`](https://github.com/emdash-cms/emdash/commit/7b45cba66143c3a75bbd880abff85303c1fd6072)]:
- emdash@0.12.0
- @emdash-cms/blocks@0.12.0

## 0.1.12

### Patch Changes
Expand Down
4 changes: 2 additions & 2 deletions packages/plugins/embeds/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/plugin-embeds",
"version": "0.1.12",
"version": "0.1.13",
"description": "Embed blocks for EmDash CMS - YouTube, Vimeo, Twitter, Bluesky, Mastodon, and more",
"type": "module",
"main": "src/index.ts",
Expand All @@ -25,7 +25,7 @@
"license": "MIT",
"peerDependencies": {
"astro": ">=6.0.0-beta.0",
"emdash": "workspace:>=0.11.1"
"emdash": "workspace:>=0.12.0"
},
"dependencies": {
"@emdash-cms/blocks": "workspace:*",
Expand Down
2 changes: 2 additions & 0 deletions packages/x402/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
# @emdash-cms/x402

## 0.12.0

## 0.11.1

## 0.11.0
Expand Down
2 changes: 1 addition & 1 deletion packages/x402/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@emdash-cms/x402",
"version": "0.11.1",
"version": "0.12.0",
"description": "x402 payment protocol integration for Astro sites",
"license": "MIT",
"repository": {
Expand Down
8 changes: 4 additions & 4 deletions pnpm-lock.yaml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading