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
astro@2.0.0-beta.3
Major Changes
#5891
05caf445d
Thanks @bholmesdev! - Remove deprecated Markdown APIs from Astro v0.X. This includesgetHeaders()
, the.astro
property for layouts, and therawContent()
andcompiledContent()
error messages for MDX.#5893
be901dc98
Thanks @matthewp! - Move getEntry to getEntryBySlugThis change moves
getEntry
togetEntryBySlug
and accepts a slug rather than an id.In order to improve support in
[id].astro
routes, particularly in SSR where you do not know what the id of a collection is. UsinggetEntryBySlug
instead allows you to map the[id]
param in your route to the entry. You can use it like this:#5608
899214298
Thanks @konojunya! - A trailing slash will not be automatically appended toimport.meta.env.SITE
. Instead, it will be the value of thesite
config as is. This may affect usages of${import.meta.env.SITE}image.png
, which will need to be updated accordingly.#5862
1ca81c16b
Thanks @bluwy! - Remove unused exportsMinor Changes
#5901
a342a486c
Thanks @bluwy! - The fallback Svelte preprocessor will only be applied if a custompreprocess
option is not passed to thesvelte()
integration option, or in thesvelte.config.js
file.To support IDE autocompletion, or if you're migrating from
@astrojs/svelte
v1, you can create asvelte.config.js
file with:This file will also be generated by
astro add svelte
by default.Patch Changes
#5855
16dc36a87
Thanks @natemoo-re! - Remove legacy compiler error handling#5884
ce5c5dbd4
Thanks @MoustaphaDev! - Add a theme toggle button to the error overlay#5845
e818cc046
Thanks @bluwy! - Fix importing client-side components with alias#5849
8c100a6fe
Thanks @bluwy! - Handle server restart from Vite plugins#5896
64b8082e7
Thanks @natemoo-re! - Update@astrojs/compiler
tov1.0.0
#5852
3a00ecb3e
Thanks @rishi-raj-jain! - Respectvite.envPrefix
if provided#5872
b66d7195c
Thanks @bluwy! - EnableskipLibCheck
by default@astrojs/svelte@2.0.0-beta.2
Major Changes
#5901
a342a486c
Thanks @bluwy! - The fallback Svelte preprocessor will only be applied if a custompreprocess
option is not passed to thesvelte()
integration option, or in thesvelte.config.js
file.To support IDE autocompletion, or if you're migrating from
@astrojs/svelte
v1, you can create asvelte.config.js
file with:This file will also be generated by
astro add svelte
by default.Patch Changes
16dc36a87
,05caf445d
,a342a486c
,ce5c5dbd4
,be901dc98
,e818cc046
,8c100a6fe
,64b8082e7
,899214298
,3a00ecb3e
,1ca81c16b
,b66d7195c
]:@astrojs/mdx@0.15.0-beta.0
Minor Changes
05caf445d
Thanks @bholmesdev! - Remove deprecated Markdown APIs from Astro v0.X. This includesgetHeaders()
, the.astro
property for layouts, and therawContent()
andcompiledContent()
error messages for MDX.@astrojs/image@0.12.2-beta.0
Patch Changes
#5788
006405d33
Thanks @MoustaphaDev! - - Refactor types to support props auto-completion for theImage
andPicture
components.alt
prop to thegetPicture
function#5871
1bd42c6b2
Thanks @Princesseuh! - Fix the integration failing to work properly on Node 18+#5888
35b26f377
Thanks @Princesseuh! - Fix crash on Netlify Functions due toimport.meta.url
Updated dependencies [
16dc36a87
,05caf445d
,a342a486c
,ce5c5dbd4
,be901dc98
,e818cc046
,8c100a6fe
,64b8082e7
,899214298
,3a00ecb3e
,1ca81c16b
,b66d7195c
]:@astrojs/netlify@2.0.0-beta.3
Patch Changes
#5885
8f1ae06e5
Thanks @natemoo-re! - Fix issue with prerendered pages when usingedge-functions
adapterUpdated dependencies [
16dc36a87
,05caf445d
,a342a486c
,ce5c5dbd4
,be901dc98
,e818cc046
,8c100a6fe
,64b8082e7
,899214298
,3a00ecb3e
,1ca81c16b
,b66d7195c
]: