Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
main
is currently in pre mode so this branch has prereleases rather than normal releases. If you want to exit prereleases, runchangeset pre exit
onmain
.Releases
[email protected]
Major Changes
#5941
304823811
Thanks @bholmesdev! - Content collections: Introduce a newslug
frontmatter field for overriding the generated slug. This replaces the previousslug()
collection config option from Astro 1.X and the 2.0 beta.When present in a Markdown or MDX file, this will override the generated slug for that entry.
Astro will respect this slug in the generated
slug
type and when using thegetEntryBySlug()
utility:Migration
If you relied on the
slug()
config option, you will need to move all custom slugs toslug
frontmatter properties in each collection entry.Additionally, Astro no longer allows
slug
as a collection schema property. This ensures Astro can manage theslug
property for type generation and performance. Remove this property from your schema and any relevantslug()
configuration:Patch Changes
#5499
4987d6f44
Thanks @bluwy! - Handle custom injected entry files during build#5917
7325df412
Thanks @natemoo-re! - Fix duplicate CSS in dev mode whenvite.css.devSourcemap
is provided#5905
a8d3e7924
Thanks @bluwy! - Fix CLI node version check#5909
5fd9208d4
Thanks @jasikpark! - Update compiler to 1.0.1Updated dependencies [
46ecd5de3
]:[email protected]
Patch Changes
#5898
d8919b1a2
Thanks @TheOtterlord! - Support headless runs with-y
/--yes
#5920
f27bb3d79
Thanks @delucis! - Improve error message for third-party template 404s@astrojs/[email protected]
Patch Changes
#5930
46ecd5de3
Thanks @h3y6e! - Update magic-string from 0.25.9 to 0.27.0Updated dependencies [
4987d6f44
,304823811
,7325df412
,a8d3e7924
,5fd9208d4
]:@astrojs/[email protected]
Patch Changes
#5904
f5adbd6b5
Thanks @matthewp! - Support prerender in _redirectsUpdated dependencies [
4987d6f44
,304823811
,46ecd5de3
,7325df412
,a8d3e7924
,5fd9208d4
]:@astrojs/[email protected]
Patch Changes
77ae7a597
Thanks @rishi-raj-jain! - fix trailing slash with base path@astrojs/[email protected]
Patch Changes
#5923
f32bf07c1
Thanks @delucis! - Improve READMEUpdated dependencies [
4987d6f44
,304823811
,7325df412
,a8d3e7924
,5fd9208d4
]:@astrojs/[email protected]
Patch Changes
#5908
9e57268f1
Thanks @MoustaphaDev! - Fix vite not picking up Postcss config files because of the tailwind integrationUpdated dependencies [
4987d6f44
,304823811
,7325df412
,a8d3e7924
,5fd9208d4
]:@astrojs/[email protected]
Patch Changes
46ecd5de3
Thanks @h3y6e! - Update magic-string from 0.25.9 to 0.27.0[email protected]
Patch Changes
46ecd5de3
]: