astro-site-filesv0.7.2

Changelog

Generated from CHANGELOG.md in the project repository. Never maintained twice.

Unreleased

  • changedPages: the project site uses the current shared theme (0.12.12).

0.7.2

8 November 2026

  • changedPages: the project site uses the current shared theme (0.12.6).
  • changedSite: the footer follows the page language instead of always showing German text, and the start page now carries a release teaser, an FAQ and a closing link to the quickstart (theme 0.12.2).
  • fixedRobots: the global User-agent: * group is no longer written without a rule; when no allow, disallow or preset rule applies, it gets Allow: /. Parsers that merge consecutive User-agent lines handed it the rules of the next bot block before. Details: Presets.

0.7.1

26 October 2026

  • addedReleases: the Release workflow publishes the package to npm through trusted publishing, after approval in the npm environment — no npm token is stored anywhere and the package carries a provenance statement.

0.7.0

24 October 2026

  • addedAudit: rule llms/relative-links (warn) for relative link URLs that cannot be resolved because no site URL is configured. Details: Rules.
  • fixedllms.txt: relative link URLs are resolved against site + base (sitemap.siteUrl wins over site, as for the sitemap), so /lohnmosterei/ is written as https://example.com/lohnmosterei/. Absolute URLs, mailto:/tel: and protocol-relative links stay as given. Details: llms.txt.

0.6.0

24 October 2026

  • addedRobots: the bot registry grows from 25 to 64 crawlers, covering those that appeared since the last update — among them Claude-User, Claude-SearchBot and the MistralAI-* family. REGISTRY_VERSION is now 2026-10-24. Details: Bot registry.
  • fixedRobots: preset: 'lockdown' now emits Disallow: / in the global User-agent: * group. That group was left empty, so per RFC 9309 every crawler missing from the registry fell back to it and was free to crawl.
  • fixedRobots: citationFriendly and blockTraining derive their training rules from the registry's categories instead of a hand-maintained list of bot ids, which had not grown with the registry. Details: Presets.
  • fixedRobots: the Sitemap: line falls back to sitemap.siteUrl when Astro's site is unset — previously no Sitemap: line was written at all. With both set, site still wins. Details: Site URL and base path.

0.5.0

9 September 2026

  • addedAudit: rules security/expired, security/invalid-expires and security/contact-not-a-uri for RFC 9116 conformance. Details: Rules.
  • addedRSS: rss is a top-level option and is written independently of the sitemap, including with sitemap: false. Details: RSS feed.
  • addedRSS: per-item guid and guidIsPermaLink for feeds keyed by UUID or URN.
  • addedSitemap: sitemap.localeAgnosticRules and a per-rule allLocales flag, so a single priority or changefreq rule can cover every translation — or opt back out to target one locale. Details: Built-in priority and changefreq.
  • addedSitemap: sitemap.excludeNoindex to keep noindex pages in the sitemap.
  • changedRobots: a crawler with its own group now also receives the global allow / disallow / crawlDelay rules, since per RFC 9309 a bot obeys only its most specific matching group. Details: Global rules inside bot groups.
  • changedRobots: the Sitemap: line points at the file that was actually written — sitemap-index.xml in index mode, or output.filename.
  • changedSitemap: the built-in exclusions no longer drop paths under /api/, /landing/ and /drafts/; they guessed at content rather than structure and ran before exclude / filter, so no configuration could bring such a page back.
  • changedSitemap: paths dropped by a built-in rule or by meta-refresh redirect detection are logged instead of disappearing silently.
  • changedSitemap: pages carrying <meta name="robots" content="noindex"> are dropped, since Search Console reports submitted noindex URLs as errors. Opt out with sitemap.excludeNoindex: false.
  • changedSitemap: sitemap.i18n defaults to Astro's own i18n config, so hreflang alternates and an x-default link appear on multilingual sites that never configured sitemap.i18n. Details: Multilingual sites.
  • changedSitemap: built-in priority and changefreq defaults ignore locale prefixes: /de/ is scored like /, and /de/blog/x/ like /blog/x/.
  • changedSitemap: each page's HTML is opened and read once instead of twice, with bounded concurrency rather than strictly sequentially. Noticeable on sites with thousands of pages.
  • changednpm: peerDependencies: { astro: ">=6.0.0" } added — peerDependenciesMeta had no effect without it.
  • changednpm: npm ci works again; the lockfile carried a stale nested @emnapi/wasi-threads.
  • changedContributors: devDependencies on latest — TypeScript 7, vitest 5 and @types/node 26.5, which resolves all four known dev-dependency advisories. TypeScript 7 no longer auto-includes @types/*, hence the explicit "types": ["node"] in tsconfig.json.
  • deprecatedSitemap: sitemap.rss — use the top-level rss option. The old placement still works and is read as a fallback.
  • fixedRSS: root-relative and bare item links are joined onto the site URL without dropping or doubling the slash.
  • fixedRSS: an unparseable pubDate omits the <pubDate> element instead of emitting Invalid Date, which breaks every feed validator.
  • fixedSitemap: a pathname without a trailing slash no longer crashes the build with EISDIR when it maps to a directory on disk; its index.html is read instead.
  • fixedSitemap: error-page exclusion is anchored to a whole path segment, so an article like /blog/404-error-pages-guide/ stays in the sitemap.
  • fixedSitemap: data-sitemap-changefreq and data-sitemap-priority are read from every JSON-LD block, not only the first — layouts commonly emit an Organization block ahead of the page's own Article.
  • fixedSitemap: a configured priority of 0.55 is no longer rounded to 0.6.

0.4.1

1 June 2026

  • addedRobots: full bot registry and preset system ported from @casoon/astro-crawler-policy (seoOnly, citationFriendly, openToAi, blockTraining, lockdown).
  • addedSitemap: per-page changefreq / priority via data-sitemap-* attributes on a JSON-LD script tag.
  • changedSitemap: meta-refresh redirect pages are excluded.

0.3.0

26 May 2026

  • addedRSS: RSS 2.0 feed support extracted from @casoon/astro-sitemap, including createRssRoute.

0.2.0

26 May 2026

  • addedAudit: unified audit types.
  • addedllms.txt: llms.sources.
  • changedRobots: the robots URL is base-aware.
  • changedSitemap: entries are deduplicated and XML is escaped.
  • changednpm: Node.js ≥ 22.12.0 required.