astro/packages
Ben Holmes 304823811e
[Content Collections] Add slug frontmatter field (#5941)
* feat: respect `slug` frontmatter prop

* chore: replace `slug` check with proper types

* fix: regen types on `slug` change

* chore: add TODO on slug gen

* tests: update to use `slug` frontmatter prop

* chore: add error message on `slug` inside object schema

* lint

* chore: add note on frontmatter parse

* refactor: move content errors to new heading

* chore: ContentSchemaContainsSlugError

* chore: changeset

* docs: be 10% less gentle

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

* fix: avoid parsing slug on unlink

* docs: clarify old API is for beta users

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2023-01-23 15:04:56 -05:00
..
astro [Content Collections] Add slug frontmatter field (#5941) 2023-01-23 15:04:56 -05:00
astro-prism [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
astro-rss [ci] release (beta) (#5906) 2023-01-19 11:40:44 -05:00
create-astro Improve error message for third-party template 404s (#5920) 2023-01-21 00:04:39 +01:00
integrations chore: migrate changelogs from 1-legacy (#5944) 2023-01-23 13:45:59 -06:00
markdown [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
telemetry [ci] release (beta) (#5792) 2023-01-12 11:40:35 -05:00
webapi Update magic-string used by @astrojs/image and @astrojs/webapi (#5930) 2023-01-22 17:11:19 +08:00