Skip to content

1.3.6

Choose a tag to compare

@davidvkimball davidvkimball released this 20 May 20:59
· 6 commits to master since this release

Detect route collections by parsing getCollection() calls.

scanPagesDir now reads each dynamic route file and uses the first getCollection('X') call as the primary signal of which collection the route serves. Folder-name match remains as a fallback so existing projects don't change behavior.

Fixes #5: root-level dynamic routes like src/pages/[slug].astro can now map to any collection (e.g. 'posts' for flat URLs), not just a collection literally named 'pages'.

Other changes

  • Migrated and updated all plugins away from BRAT except for Vault CMS.
  • Added Vault Nickname plugin.