Skip to content

0.39

Latest

Choose a tag to compare

@karero karero released this 28 Nov 16:21
Immutable release. Only release title and notes can be modified.
6bd794e

Croftweaver 0.39 — every language in step 🌍

As always: your favorite AI assistant takes you by the hand. Just ask it, in your own words, and it does the work.

What's new:

  • 🌍 Your pages stay in step in every language. When a page exists in two, three or more languages, your assistant now makes each change in every version at once. If a number differs between versions, it tells you in plain words and asks: "100 and 150 only on the English page, 80 and 120 only on the German one. Is that meant?" A new test flags versions that have a different number of headings or pictures.
  • 🧭 A new page looks at the pages you already have. When you add a page, its brief now lists your pages that aim at the same search, with a decision for each: a new page, or extend the old one instead. When another page's title, heading or description names the same subject, your assistant asks you before it writes anything; otherwise you see its decisions when you give the go.
  • 📸 Your main pictures share one style. Make a few pictures in your favorite image tool, and your assistant reads their style and keeps it in your brand file. For every new page it fills in a ready prompt, so each new picture looks like it belongs.
  • 🎯 The positioning test reads what your visitors read first. It now takes the sentence right under the page heading as the intro, not a small label above it.
  • ☁️ A newer upload tool, with no surprise at the login. Cloudflare's upload tool is updated; its makers fixed two ways a first upload could fail. When it first asks you to log in, Cloudflare now also asks for a billing permission; the publishing guide tells you this beforehand, how to avoid it, and how to take it back.
  • 🧹 Behind the scenes. Eight batches of small fixes across the link checks, the update helper, publishing and the review tools.

Recently added:

  • 🔗 (0.38) New pages arrive linked and ready for AI answers. Your assistant checks that AI answers can quote a new page and that your other pages link to it, before the code review.
  • 🖼️ (0.38) The Astro logo can't sneak back into your tab. The build stops when it finds Astro's default icon.

New here? How to start: download croftweaver.zip below, unzip it, and paste the starter prompt from the README into your AI assistant. It takes you by the hand from there. Works on macOS, Linux, WSL, and Git Bash on Windows. To check the download, put SHA256SUMS beside it and follow the README's two-line check.

Already have a site?

  • 💬 Ask your assistant: "check if my site needs any updates from the latest Croftweaver version". Go through what it suggests together: nothing changes on its own.
  • 🌍 The new language test may go red at first. tests/language-versions.spec.ts comes in as a new file. It fails where your language versions differ today in headings, pictures or the versions they list; mark text that belongs to one language with data-versions-exempt="why". A site with only one language skips it. If your site's AGENTS.md has no rule about language versions yet, take that rule from the latest starter's AGENTS.md, so your assistant runs the test after each edit and tells you about numbers that differ.
  • 🎯 Kept your own list in tests/positioning.spec.ts? Merge the one changed line by hand: intro: txt(main.querySelector('h1 + p')). A page whose term sits only above its heading, or only in a box right under the heading, now fails: put the term in the heading or in the paragraph right under it.
  • 🚀 Taking the new publishing script? Take scripts/ship.sh together with tests/check_ship_push.sh (both now 0.38). It tells you more when it can't reach your site, and reminds you to check a site that is still live on Pages.
  • 🧪 Tests on a Mac with an Intel copy of Node, or on Windows on ARM? Ask your assistant to "take the headless-shell check in playwright.config.ts from the latest Croftweaver starter" (hasHeadlessShell and the lines above it): your test runs then find the browser Playwright installed. Your site itself was never affected.
  • 🔑 Moving to Cloudflare Workers? node move-to-workers.mjs token-link <your account ID> now prints one link that opens Cloudflare's token page already filled in. You choose your domain and 7 days, look it over, and create the token: a few clicks instead of 17.
  • 🔒 Update Node.js on your computer. Run node --version: if it's older than 22.23.5, 24.22.3 or 26.13.1 (for your line), update it.
  • 📚 Want every detail? The 0.38 and 0.37 notes list each part, and the move guide covers moving to Workers.

For the technically curious, 0.39
  • Starter: new tests/language-versions.spec.ts compares a page's hreflang versions (fails on heading, image or version-list differences and on an empty data-versions-exempt; warns on differing numbers); skill text and AGENTS.md tell the assistant to change every version and name each differing number — PR #630.
  • website-new-page: the brief lists the site's own pages that aim at the same search (sitemap, page documents, Search Console) and asks before the draft, or records the decision — PR #646, PR #648.
  • image: a key-visual section, one photo style per site kept in BRAND.md with a prompt template, and references/key-visual.md — PR #640.
  • Starter and facts-check: the positioning intro is h1 + p — PR #639.
  • Starter: Wrangler 4.168.0, @axe-core/playwright 4.14.1, @types/node 26.6.11; PUBLISHING.md and CLOUDFLARE_FIRST_DEPLOY.md name the login's billing permission, the token alternative and npx wrangler logout — PR #654, PR #655.
  • Starter: playwright.config.ts counts the headless shell only as this platform's executable file, and picks the folder as Playwright does (Apple chip under Rosetta, Windows on ARM as x64, PLAYWRIGHT_HOST_PLATFORM_OVERRIDE) — PR #629, PR #632.
  • Move script: token-link prints a prefilled Cloudflare token link; refusals that need a new token name it — PR #637.
  • ship.sh 0.38: sends the owner to <site>/build.txt when the route-less probe fails without an HTTP status, and adds a Pages hint to "no domain yet"; placeholders.spec.ts and the launch stop count imprint as legal — PR #643, PR #652.
  • Bug sweeps: check_page_links.py backslash links and implied end tags; the favicon guard drops desc, title and metadata; check_external_links.sh own-host links; icons.spec.ts PNG sizes; check_page_text.py keeps a sentence with an img or input; whats-new notes for workers-config.spec.ts, tables.spec.ts and two unstamped skills folders; cloudflare-check.mjs --preview names --config — PR #634, PR #641, PR #642, PR #643, PR #647, PR #649.
  • Maintainer tooling: independent-review asks for a browser measurement for a layout claim, a Melious speed floor, Melious raw files dropped after a good run; the Antigravity test's temp folder; check_clean.sh reads every top-level path; a Node 22 starter CI job — PR #634, PR #638, PR #644, PR #645, PR #652; version 0.39.0 — PR #656.