Update dependency blume to v1.7.0 - #688
Merged
timmo001 merged 1 commit intoSep 18, 2026
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
1.6.5→1.7.0Release Notes
haydenbleasel/blume (blume)
v1.7.0Compare Source
Minor Changes
78aadc8: Bundle Mermaid and the EPUB generator only for sites that use them. Both were dynamic imports, so they never loaded on a page that didn't need them, but they were still built on everyblume build— over 3 MB of client chunks (ELK, Cytoscape, KaTeX, every diagram type) that most sites never serve, and most of the client build's memory. The generated runtime now decides at generation time whether any page has a mermaid fence and whetherexport.epubis on, and leaves the libraries out of the module graph otherwise; the dev server also stops pre-bundling them for sites that don't need them.51eb2ac: Leave collapsed sidebar sections out of the page. Ingroupandpagedisplay modes, a section that isn't open on the current page no longer ships its rows in that page's HTML; the empty disclosure or panel fetches a prerendered fragment on first open (prefetched on hover or focus, and kept for the visit), so a large site's pages carry only the open section instead of every section on every page. Group ids are now stable across tab-scoped views of the sidebar.Patch Changes
ede3c94: Cache rendered OG cards between builds. Each card is stored undernode_modules/.cache/blume/og, keyed by everything that decides its pixels (title, description, branding, palette, fonts, and the Blume version), so a rebuild renders only the cards whose inputs changed and reads the rest back from disk. The build log reports how many cards were reused, and cards no page asks for any more are pruned after each build.a43c1d9: Paint code-block language icons from the theme instead of inlining an SVG in every block. A block now carriesdata-icon="<slug>"and the theme masks the brand path onto it, with one rule per language the site's Markdown uses, so a page with twenty TypeScript blocks no longer repeats the same 1 kB logo twenty times. Set icons rendered by the Icon component are deduplicated the same way, through a per-page sprite.7b7d585: Prerender pages concurrently. The build now renders up to eight pages at once (one per available CPU below that), so the main thread renders the next page while a page's OG card renders on a native thread and its HTML is written to disk, instead of idling behind each page's off-thread work. A 1,400-page site's route generation phase runs in roughly half the time.903eec0: Render the sidebar's group rows (collapsible summaries, flat headings, drill-in buttons, and the links inside them) through theme utility classes, as page rows already are, so a sidebar with many groups adds a few dozen bytes per group to every page instead of several hundred.7b7d585: Shrink the sidebar's per-page cost. Every page's HTML carries the whole sidebar, so on a large site the sidebar was most of every page: each row now renders as a single theme utility class (blume-nav-link) instead of a dozen Tailwind classes, a bare row drops its inner spans, and groups that don't contain the current page are rendered once per build and reused across pages. A 1,400-page site's pages go from about 570 kB to under 190 kB each, and the build's HTML output shrinks and renders accordingly.4005c27: Load the curated Google fonts that ship as variable fonts (every preset except IBM Plex Mono, IBM Plex Serif, and Space Mono) as one weight range, so each page declares one@font-faceper style instead of one per weight — the same font files, a quarter of the inline font CSS. A configured"100..900"range now reaches Astro in the form it understands; it previously loaded nothing for that weight.071e35d: Fixblume devandblume buildfailing on Windows withCannot find module '@astrojs/mdx'under Bun's isolated linker. The hidden runtime'snode_moduleslink is now a directory symlink (falling back to a junction where symlinks need elevated privileges), because Windows can't follow the relative symlinks Bun writes into Blume's dependency directory when they're reached through a junction.v1.6.6Compare Source
Patch Changes
2c373ef: Stop repeatingAPIin generated descriptions when the name already says it. API reference overview and operation meta descriptions no longer turn a spec titledExample API(orPayments APIs,Example API v2) intoExample API API, and the generated/openapi.jsontitle no longer doubles the word for a site titled the same way.520a660: Write the deploy artifacts from the integration'sastro:build:donehook instead of afterastro buildreturns: the search index and hosted-provider sync,llms.txt,sitemap.xml,robots.txt,agent-readability.json, the.well-knowndiscovery files, Agent Skills, and the platform_redirects/_headersfiles now land in the directory Astro reports as its client output during the build.blume buildoutput is unchanged. An ejected app keeps producing all of them from plainastro build— its config tells the hook to scan the project — soblume ejectno longer warns that they are lost.a63c10e: Serve the prerendered per-page JSON documents on Cloudflare server builds whose requests run through the Worker: the wrapper answers them from the asset binding (conditional revalidations included) instead of letting Astro hand them to the/api/catch-all, and.jsonfiles stay on the static path under a deployment base or the coarse worker-first fallback.1197e8b: Opt Cloudflare server builds out of Astro sessions withsession: falseinstead of configuring an in-memory session driver. Blume never readsAstro.session; the driver only existed to keep@astrojs/cloudflarefrom declaring aSESSIONKV binding, which Astro's opt-out now does directly.1328384: Declare Blume's page front-matter schema on the generated content collections, soentry.datain the runtime is typed and normalized the same way the scan's page metadata is. Custom front-matter keys pass through, and a page the scan already dropped as invalid resolves to defaults instead of failing Astro's content sync.4f5660b: HonorAccept: text/markdownand send the homepage agent-discoveryLinkheader inblume devwhendeployment.baseis set. Astro's dev server rewrites the base off the URL before Blume's handler runs, so stripping it a second time left every request unmatched.bbdaa55: Keep the dev server up across page adds, removes, and folder renames.blume devused to stop and recreate the Astro server on every route-set change; it now asks Astro's content layer to re-sync (refreshContent) and republishes the Markdown-negotiation routes in memory, so the generated config no longer changes with content and Astro never restarts in place for it. A moved page answers under its new route within a second, and editing an<include>partial re-syncs the store the same way instead of touching page mtimes.6b9f367: Drop theimage-sizedependency. Its ICNS, HEIF/AVIF, and JXL parsers can be driven into an infinite loop by a crafted file with a zero-sized box or entry, which would hangblume auditor a build, and no patched release exists. The audit's Open Graph image checks now read dimensions through sharp, the image optimizer the build already ships, which covers the same formats and rejects malformed input instead of looping on it. SVG logos for the header and the OG card are measured by a small root-tag parser with the same rules as before: explicitwidth/height, aviewBoxfallback, and CSS units at 96dpi.7ee1100: Show Blume's config and content errors in the browser error overlay duringblume devon published installs. The dev-server handle was a module-level variable, and the CLI bundle and the copy of the integration Vite loads are separate module instances, so the overlay only ever worked inside the Blume repository itself. The handle now lives onglobalThis, like the runtime data registry.6b26322: Improve Ask AI grounding for conversational follow-ups and long structured pages. A bare follow-up ("Why?", "And then?") retrieves from the earlier user turn, a short follow-up keeps that turn's best match in view behind its own, and a question that names its subject always leads. Excerpts now keep whole Markdown sections — heading, list, and code fence intact — chosen by how well they cover the question rather than by length, and pages are parsed once per endpoint instead of per request. A closing code fence must now be bare, as CommonMark requires, so a same-length fence line with an info string inside an open block no longer ends it.8d32eb3: Keep<include>-bearing Markdown pages fresh through Astro's documented loader context instead of patching the content store's writes. The collection loader now records a digest of each including page's partials in the collection's meta store and evicts the page's entry when that digest changes, so Astro's glob loader re-renders it on the next sync exactly as it would a new file. Same behavior on a partial edit in dev and on a warm-cache production build; no more replaying the store's private import bookkeeping.e9cd88f: Declare theblume:*virtual modules through Astro'sinjectTypeshook instead of a generatedsrc/env.d.ts. The declarations now live under.astro/integrations/blume/and are referenced from Astro's owntypes.d.ts, so every project that mounts the integration — the hidden runtime and an ejected app alike — gets them without a hand-written file. A projecttsconfig.jsonno longer needs.blume/src/env.d.tsin itsinclude.3e58b91: Load only the selected CLI command, reducing startup time for every command.f04afce: Read the Vercel function bundle audit's imports withes-module-lexerinstead of a text scan, so code samples inside the MCP data chunk (a page quotingimport { config } from 'dotenv'orawait import('bcryptjs')) no longer failblume buildas missing packages.3422d29: Read provider secrets through Astro'sgetSecret()fromastro:env/serverinstead ofprocess.env: the Ask AI endpoint's provider key (and the AI Gateway key, now passed to the gateway provider explicitly), the Mixedbread search endpoint's key, and<GithubInfo>'sGITHUB_TOKEN. Each adapter supplies secrets its own way, so a Cloudflare deployment's Worker bindings now reach these endpoints the same as environment variables do on Node and Vercel.9dde9cb: Default<html lang>anddirin every document shell to the locale Astro resolves from the URL (Astro.currentLocale), then the site's default locale. A custompages/page or a Scalar reference page under/fr/rendered aslang="en"unless it passedlocaleitself; the content catch-all still passes the manifest's locale, which also covers fallback pages.8bbf9a1: Set Astro'strailingSlash: "never"in the generated config instead of hand-splicing a trailing-slash redirect into the Vercel routing config. Blume already treats the slashless URL as the one address for a page (canonicals, sitemap, hreflang), so Astro now enforces it too:blume devanswers/guide/with a 404 that names the setting, an on-demand server route redirects to/guide, and the Vercel adapter emits the same 308 route from the config that Blume used to splice by hand. Prerendered pages on static hosts are served exactly as before.Configuration
📅 Schedule: (UTC)
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate CLI.