Repository navigation
chore: v2.6.0 - Add meta.verification to docu.json for site-verification tags - #483
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: memory-guided (release config). I checked this Changesets release PR against the pending changeset, the linked-versioning config and the npm registry. Verdict: READY.
@docubook/flame2.5.0 → 2.5.1: consumes.changeset/plugin-onload-stateful-filter.mdfrom #482. The newCHANGELOG.mdentry matches the changeset text word for word, and its claims match the code — theTypeErrormessage is atplugin-builder.ts:241and is covered inplugin.test.ts.- Release scope: only flame is versioned, which is correct. Nothing under
packages/*depends on flame.plugins/search-algoliadeclares aworkspace:^peer on flame, and 2.5.1 stays inside its^2.5.0range, so the plugin needs no bump.pnpm test:release-planpasses, and npm currently lists 2.5.0 as the latest flame version, so 2.5.1 doesn't collide with an existing release.
claude-opus-5-5 | 𝕏
83eabcd to
1a029c0
Compare
onLoad handler now runs on every matching file when its filter has…There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: memory-guided (release config). Since the last review, the Changesets action regenerated this PR to also release .changeset/plugin-inline-script-nonce.md from #484. Verdict: READY.
- Added the #484 entry to the
@docubook/flame2.5.1 changelog: the text matches the changeset word for word, and its claims match the code.PageContext.nonceis declared inplugin.ts:39-45, theinjectHead/injectBodyJSDoc tells plugin authors to addnonce="${ctx.nonce}", andpreview.tsandpreview.impl.tsnow userotateNonceto swap only the nonce the build wrote. - Kept the release scope the same: it still bumps only flame, 2.5.0 → 2.5.1. The new changeset is a flame
patch, so no other linked package versions, and 2.5.1 still fits the^2.5.0peer range inplugins/search-algolia. npm still lists 2.5.0 as the latest flame.
claude-opus-5-5 | 𝕏
1a029c0 to
363de92
Compare
flame build now fails when a plugin hook throws
There was a problem hiding this comment.
ℹ️ No blocking issues. One release-notes inconsistency is noted inline.
Reviewed changes
Mode: memory-guided (release config). Since the last review, the Changesets action regenerated this PR to also release .changeset/strict-plugin-hooks.md from #485, which moves the release from a patch to a minor. Verdict: READY WITH MINOR FIXES.
- Bumped
@docubook/flameto 2.6.0 instead of 2.5.1: #485 is a flameminorchangeset, so the version is correct. Its changelog text matches the changeset word for word, and its claims match the code.BuildPluginBuildertakes{ strict }(plugin-builder.ts:30),build.ts:391andbuild.impl.ts:393passstrict: true, and dev keeps the lenient default. - Added a
### Minor Changessection above the existing patch entries: #484 and #482 are now listed under### Patch Changesin the 2.6.0 entry, and their text is unchanged. - Kept the release scope the same: still flame only.
plugins/search-algoliapeers on flame viaworkspace:^, and Changesets 3 bumps a peer dependent only when its range is left, which 2.6.0 does not do.pnpm test:release-planpasses, and npm lists 2.5.0 as the latest flame, so 2.6.0 is a new version.
claude-opus-5-5 | 𝕏
|
Fixed the one review thread (contradictory 2.6.0 release notes) in #486, a new PR against The fix is in the changeset on
|
363de92 to
4c9bff6
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: memory-guided (release config). Since the last review, the Changesets action regenerated this PR after #486 merged into main. Verdict: READY.
- Removed the outdated
onStartclause from the #482 entry: the 2.6.0CHANGELOG.mdentry now ends at the[plugin] onLoad requires a RegExp \filter`message, matching the updated.changeset/plugin-onload-stateful-filter.md. It no longer contradicts the [#485](https://github.com/DocuBook/docubook/pull/485) entry, which saysflame build` now fails when a hook throws. The earlier thread about this is resolved. - Kept the release scope the same: this release still versions only flame, 2.5.0 → 2.6.0, and the
#485,#484and#482entries keep the same order and text otherwise.
claude-opus-5-5 | 𝕏
4c9bff6 to
daa0d9c
Compare
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: memory-guided (release config). Since the last review, the Changesets action regenerated this PR after #487 merged into main, so the release now also includes @docubook/plugin-search-algolia. Verdict: READY.
- Bumped
@docubook/plugin-search-algoliafrom 0.1.1 to 0.1.2: this comes from thepatchin.changeset/algolia-history-remove-button.md. The newCHANGELOG.mdentry matches the changeset word for word, and its claim matches the code:src/client/style.css:107shows.DocSearch-Hit-action-buttoninside.DocSearch-Sidepanel-RecentConversation, andsrc/__tests__/style.test.tstests both the upstream rule that hides the button and the plugin rule that shows it. - Kept the flame release the same: flame still goes from 2.5.0 to 2.6.0, and its entries and their order are unchanged. The plugin is outside the linked group, so the plugin patch doesn't change any other package's version.
pnpm test:release-planpasses. npm doesn't have flame 2.6.0 or plugin 0.1.2 yet, so neither version is taken. flame'snpm:@docubook/plugin-search-algolia@^0.1.0devDep alias accepts 0.1.2, so the lockfile doesn't need to change.
ℹ️ Plugin 0.1.2 will need flame 2.6.0 or later
The plugin's peer dependency "@docubook/flame": "workspace:^" is rewritten at publish time to ^2.6.0. On npm, 0.1.1 declares ^2.5.0. The fix in 0.1.2 only changes CSS, but sites on flame 2.5.x will still get a peer-dependency warning, or an npm ERESOLVE error if flame is pinned, until they upgrade flame too. This is how workspace:^ normally works and is fine to merge as is. It's noted here so the release notes don't come as a surprise.
Technical details
# Plugin peer range follows flame's release version
## Affected sites
- plugins/search-algolia/package.json — `peerDependencies["@docubook/flame"]: "workspace:^"` publishes as `^2.6.0`
## Required outcome
- None for this release. If the plugin should keep supporting older flame minors, its peer range has to be decoupled from the workspace version (e.g. an explicit `^2.5.0`). That is a policy decision for the maintainers.claude-opus-5-5 | 𝕏
…ication tags - @docubook/flame (minor): Add `meta.verification` to `docu.json` for site-verification tags - @docubook/flame (minor): `flame build` now fails when a plugin hook throws - @docubook/plugin-search-algolia (patch): Conversations in the Ask AI history can be removed again - @docubook/flame (patch): Plugins can now run inline scripts on the deployed site - @docubook/flame (patch): A plugin's `onLoad` handler now runs on every matching file when its `filter` has the `g` or `y` flag
daa0d9c to
54443ca
Compare
flame build now fails when a plugin hook throwsmeta.verification to docu.json for site-verification tags
There was a problem hiding this comment.
✅ No new issues found.
Reviewed changes
Mode: memory-guided (release config). Since the last review, the Changesets action regenerated this PR after #488 merged into main, adding .changeset/meta-verification.md to the release. Verdict: READY.
- Added the #488 entry under
### Minor Changesin flame 2.6.0: the text matches the changeset word for word, and its claims match the code.verificationTags()(html.shared.ts:73) escapes and writes one<meta>per entry.build.tspassesmeta.verificationfor doc pages, the landing page and the 404 page (lines 297, 665, 710), andbuild.impl.tsdoes the same at lines 296, 669 and 714, so Bun and Node/Deno builds match.html.test.ts,schema.test.tsandplugin-integration.test.tscover it. - Kept the release scope the same: #488 is a flame
minor, and #485 already made this a minor, so flame stays at 2.6.0 and no other linked package gets a version. The plugin's "Updated dependencies" line now also listsdffd7d2, and the plugin stays at 0.1.2. npm still shows flame 2.5.0 and plugin 0.1.1 as the newest versions, so neither new version is taken.
claude-opus-5-5 | 𝕏

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@docubook/[email protected]
Minor Changes
#488
dffd7d2Thanks @gitfromwildan! - Addmeta.verificationtodocu.jsonfor site-verification tags. Each entry, keyed by meta name, becomes a<meta>tag in the<head>of every page Flame builds, including the landing page, so the Algolia Crawler or Google Search Console can verify your domain:{ "algolia-site-verification": "ADCCB4B3D3A8BDCE" }renders<meta name="algolia-site-verification" content="ADCCB4B3D3A8BDCE">.#485
a3f1f1bThanks @gitfromwildan! -flame buildnow fails when a plugin hook throws. Before, an error inonStart,onLoad,transformFrontmatter,transformHtmloronEndwas logged and the build exited with code 0, shipping pages without that hook's work, such as content anonLoadplugin was meant to remove. The build now exits with code 1, and a page whose hook failed is not written. The error names the hook and, for page hooks, the source file.flame devstill logs hook errors and keeps serving. If a plugin used to throw from a hook on purpose to report a soft problem, make it log a warning instead.Patch Changes
#484
daf7c13Thanks @gitfromwildan! - Plugins can now run inline scripts on the deployed site.PageContexthas a newnoncefield, the page's CSP nonce: write<script nonce="${ctx.nonce}">ininjectHeadorinjectBody. Before, the page's Content Security Policy blocked every inline plugin script, even thoughflame previewran them. Flame does not add the nonce to plugin output itself, so a<script>that reaches the page through an unescaped value stays blocked.flame previewnow only replaces the nonce the build wrote, so it blocks the same scripts as the deployed site.#482
63f60aaThanks @gitfromwildan! - A plugin'sonLoadhandler now runs on every matching file when itsfilterhas thegoryflag. Before,RegExp#testresumed from the previous match, so every other matching file skipped the handler and was built from its unchanged source. A filter that is not aRegExpnow fails insetup()with[plugin] onLoad requires a RegExp \filter``.@docubook/[email protected]
Patch Changes
b5a3310Thanks @gitfromwildan! - Conversations in the Ask AI history can be removed again. The remove (×) button on each conversation was hidden: the Sidepanel reuses the search dialog's.DocSearch-Hit-action-button, which the dialog stylesheet hides outside a selected search hit, and the plugin loads both stylesheets. The plugin's stylesheet now shows the button in the conversation history.dffd7d2,daf7c13,63f60aa,a3f1f1b]: