Skip to content

Commit 538d9ae

Browse files
jdevalkclaude
andcommitted
feat: taxonomy keywords + articleSection in Article schema (v0.11.0)
Bumps peerDependency to emdash@^0.6.0 for eager term hydration. Reads data.terms from getEmDashEntry (cache hit when template already fetched the entry) and maps all taxonomy terms to Article keywords; terms from any categor* taxonomy also populate articleSection. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
1 parent f7f8e80 commit 538d9ae

8 files changed

Lines changed: 7824 additions & 6 deletions

File tree

CHANGELOG.md

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,16 @@ All notable changes to this project will be documented in this file.
55
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
66
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
77

8+
## [0.11.0] - 2026-04-21
9+
10+
### Changed
11+
12+
- **`peerDependencies.emdash` bumped to `^0.6.0`.** Picks up eager taxonomy-term hydration on `getEmDashEntry` results (emdash PR #626), plus the toolbar portableText fix (#685) and several cold-start / D1 replica performance improvements.
13+
14+
### Added
15+
16+
- **Taxonomy keywords and section in Article schema.** For content pages the plugin now calls `getEmDashEntry` to read the entry's eagerly-hydrated `data.terms` map (zero extra DB queries when the Astro template already fetched the entry in the same request). All assigned taxonomy terms are joined into the `keywords` field of the `BlogPosting` node. Terms from any taxonomy whose name starts with `categor` are additionally mapped to `articleSection`.
17+
818
## [0.10.0] - 2026-04-14
919

1020
### Changed

package.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@jdevalk/emdash-plugin-seo",
3-
"version": "0.10.0",
3+
"version": "0.11.0",
44
"description": "SEO plugin for EmDash CMS — meta tags, Open Graph, canonical URLs, robots directives, and JSON-LD schema markup",
55
"type": "module",
66
"exports": {
@@ -30,14 +30,14 @@
3030
"test": "vitest run"
3131
},
3232
"peerDependencies": {
33-
"emdash": "^0.5.0"
33+
"emdash": "^0.6.0"
3434
},
3535
"dependencies": {
3636
"@jdevalk/astro-seo-graph": "^0.7.0",
3737
"@jdevalk/seo-graph-core": "^0.6.0"
3838
},
3939
"devDependencies": {
40-
"emdash": "^0.5.0",
40+
"emdash": "^0.6.0",
4141
"typescript": "^5.6.0",
4242
"vitest": "^2.1.0"
4343
}

0 commit comments

Comments
 (0)