Skip to content

v1.4.0

Latest

Choose a tag to compare

@casoon casoon released this 11 Nov 11:42
· 7 commits to master since this release

Added

  • Metadata demo: Localized homepage examples link to generated site files and emit matching FAQPage data; demo team credits and a German RSS feed demonstrate additional site-files outputs.
  • Site files: Blog llms.txt sections are generated from published article frontmatter in both languages.
  • Contributors: e2e/starter/csp.spec.ts and e2e/blog/csp.spec.ts (helpers in e2e/shared/csp.ts) fail on any CSP violation and on an executable inline script before the CSP meta.

Changed

  • Accessibility: Expanded automated axe checks to WCAG 2.2 AA.
  • Build audit: @casoon/astro-post-audit 0.10.0 — html_validation runs much faster, AAA-only findings are reported once per element pattern, and the WebSite search-action hint is no longer reported; errors and warnings on both apps are unchanged.
  • Dependencies: Updated workspace packages and Biome configuration; TypeScript stays on 6 because Astro check does not yet support 7, and Node types stay on 24 to match the runtime.
  • Dependencies: @casoon/astro-structured-data 2.4.1, @casoon/astro-site-files 0.7.2, @casoon/astro-speed-measure 0.4.1, @casoon/astro-webvitals 0.4.11 and @casoon/nosecrets 0.3.9 — all published with npm provenance via Trusted Publishing; structured-data streams on-demand pages and fixes mainEntityOfPage and rewrite handling.

Fixed

  • CSP: No page shipped a Content Security Policy, because csp sat at the top level of the shared Astro config, which Astro 7 silently ignores. It now lives under security.csp with explicit directives; projects created from the template should move their csp block the same way.
  • CSP: The theme script ran inline before the CSP <meta> (outside the policy); it moved to public/theme-init.js in each app.
  • Blog: Sitemap entries retain the full path of nested post slugs.
  • Navigation: The logo returns to the homepage in the current language.
  • SEO: Page languages now drive Open Graph locale and hreflang tags; articles include linked publisher IDs, keywords, image dimensions and reading statistics.
  • Site files: Removed nonexistent archive links from llms.txt and duplicate blog sitemap sources; duplicate URLs now fail the build.

Security

  • Dependencies: Updated vulnerable dependencies (including fast-xml-parser under @astrojs/rss) and added scoped overrides for Undici 7 and the typography selector parser. pnpm audit still lists one low-severity advisory for deepmerge in the Svelte Vite plugin (build-time only), for which no fixed version is published yet.