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.
Releases
astro@2.2.0
Minor Changes
#6703
a1108e037
Thanks @Princesseuh! - Moveimage()
to come fromschema
instead to fix it not working with refine and inside complex typesMigration:
Remove the
image
import fromastro:content
, and instead use a function to generate your schema, like such:#6714
ff0430786
Thanks @bluwy! - Addbuild.assetsPrefix
option for CDN support. If set, all Astro-generated asset links will be prefixed with it. For example, setting it tohttps://cdn.example.com
would generatehttps://cdn.example.com/_astro/penguin.123456.png
links.Also adds
import.meta.env.ASSETS_PREFIX
environment variable that can be used to manually create asset links not handled by Astro.Patch Changes
#6753
489dd8d69
Thanks @bluwy! - FixgetViteConfig
return type#6744
a1a4f45b5
Thanks @Princesseuh! - Fix remote images in Markdown throwing errors when usingexperimental.assets
#6762
8b88e4cf1
Thanks @Princesseuh! - Improved error message when an error was encountered while generating types#6719
d54cbe413
Thanks @matthewp! - Better errors for when response is already sentThis adds clearer error messaging when a Response has already been sent to the browser and the developer attempts to use:
#6741
4c347ab51
Thanks @Princesseuh! - Fix content-type header being wrong in dev on images fromastro:assets
#6739
2f2e572e9
Thanks @Princesseuh! - Added more types and utilities exports related toastro:assets
to help building custom image components and image services#6759
7116c021a
Thanks @bluwy! - Upgrade to Vite 4.2Updated dependencies [
a1a4f45b5
]:@astrojs/image@0.16.5
Patch Changes
#6714
ff0430786
Thanks @bluwy! - Addbuild.assetsPrefix
option for CDN support. If set, all Astro-generated asset links will be prefixed with it. For example, setting it tohttps://cdn.example.com
would generatehttps://cdn.example.com/_astro/penguin.123456.png
links.Also adds
import.meta.env.ASSETS_PREFIX
environment variable that can be used to manually create asset links not handled by Astro.Updated dependencies [
489dd8d69
,a1a4f45b5
,a1108e037
,8b88e4cf1
,d54cbe413
,4c347ab51
,ff0430786
,2f2e572e9
,7116c021a
]:@astrojs/lit@2.0.1
Patch Changes
c7eb0d431
Thanks @augustjk! - ProviderenderInfo
when rendering Lit components. Fixes issue with rendering nested components.@astrojs/markdoc@0.1.1
Patch Changes
#6723
73fcc7627
Thanks @bholmesdev! - Fix: when usingrender: null
in your config, content is now rendered without a wrapper element.Updated dependencies [
489dd8d69
,a1a4f45b5
,a1108e037
,8b88e4cf1
,d54cbe413
,4c347ab51
,ff0430786
,2f2e572e9
,7116c021a
]:@astrojs/node@5.1.1
Patch Changes
#6746
4cc1bf61b
Thanks @Princesseuh! - Fix malformed URLs crashing the server in certain casesUpdated dependencies [
489dd8d69
,a1a4f45b5
,a1108e037
,8b88e4cf1
,d54cbe413
,4c347ab51
,ff0430786
,2f2e572e9
,7116c021a
]:@astrojs/sitemap@1.2.2
Patch Changes
1ec1df126
Thanks @andremralves! - Fix sitemap generation with a base path@astrojs/vercel@3.2.2
Patch Changes
#6751
26daba8d9
Thanks @nblackburn! - Fix vercel analytics id not being setUpdated dependencies [
489dd8d69
,a1a4f45b5
,a1108e037
,8b88e4cf1
,d54cbe413
,4c347ab51
,ff0430786
,2f2e572e9
,7116c021a
]:@astrojs/vue@2.1.1
Patch Changes
#6671
d59e511d1
Thanks @wulinsheng123! - Supporting the top of the await syntax sugar for Vue in the template's setupUpdated dependencies [
489dd8d69
,a1a4f45b5
,a1108e037
,8b88e4cf1
,d54cbe413
,4c347ab51
,ff0430786
,2f2e572e9
,7116c021a
]:@astrojs/markdown-remark@2.1.3
Patch Changes
#6744
a1a4f45b5
Thanks @Princesseuh! - Fix remote images in Markdown throwing errors when usingexperimental.assets
Updated dependencies [
489dd8d69
,a1a4f45b5
,a1108e037
,8b88e4cf1
,d54cbe413
,4c347ab51
,ff0430786
,2f2e572e9
,7116c021a
]: