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
@astrojs/vercel@5.0.0
Major Changes
#8445
91380378c
Thanks @Princesseuh! - Adds a configuration optiondevImageService
to choose which of the built-in image services to use in development. Defaults tosharp
.#8546
b79e11f3c
Thanks @matthewp! - Turn offfunctionPerRoute
by defaultIn the previous version of
@astrojs/vercel
, the default forfunctionPerRoute
was changed totrue
. While this option has several advantages, if you're a free tier user you are likely to run into the limit of 12 functions per deployment. This will result in an error when you attempt to deploy.For this reason, the
functionPerRoute
option is now back to defaulting tofalse
. It's still a useful option if you have a paid plan and have previously run into issues with your single function exceeding the size limits.Minor Changes
#8021
2e8726fee
Thanks @chriswdmr! - Enable Vercel Speed Insights and Vercel Web Analytics individually.Deprecates the
analytics
property inastro.config.mjs
in favor ofspeedInsights
andwebAnalytics
.If you're using the
analytics
property, you'll need to update your config to use the new properties:Allow configuration of Web Analytics with all available configuration options.
Bumps @vercel/analytics package to the latest version.
Patch Changes
7522bb491
,ecc65abbf
,2c4fc878b
,c92e0acd7
,f95febf96
,b85c8a78a
,45364c345
]:astro@3.1.0
Minor Changes
#8467
ecc65abbf
Thanks @Princesseuh! - Add a newimage.endpoint
setting to allow using a custom endpoint in dev and SSR#8518
2c4fc878b
Thanks @Princesseuh! - Adds support for using AVIF (.avif
) files with the Image component. Importing an AVIF file will now correctly return the same object shape as other image file types. See the Image docs for more information on the different properties available on the returned object.#8464
c92e0acd7
Thanks @Princesseuh! - Add types for the object syntax forstyle
(ex:style={{color: 'red'}}
)Patch Changes
#8532
7522bb491
Thanks @bluwy! - Improve markdown rendering performance by sharing processor instance#8537
f95febf96
Thanks @martrapp! - bugfix checking media-type in client-side router#8536
b85c8a78a
Thanks @Princesseuh! - Improved error messages aroundastro:assets
#7607
45364c345
Thanks @FineWolf! - AddCollectionKey
,ContentCollectionKey
, andDataCollectionKey
exports toastro:content
Updated dependencies [
d93987824
,7522bb491
]:create-astro@4.1.0
Minor Changes
ed952b4ce
Thanks @natemoo-re! - Improve startup performance by removing dependencies, lazily initializing async contextual values@astrojs/mdx@1.1.0
Minor Changes
#8468
a8d72ceae
Thanks @bholmesdev! - Support theimg
component export for optimized images. This allows you to customize how optimized images are styled and rendered.When rendering an optimized image, Astro will pass the
ImageMetadata
object to yourimg
component as thesrc
prop. For unoptimized images (i.e. images using URLs or absolute paths), Astro will continue to pass thesrc
as a string.This example handles both cases and applies custom styling:
Now, this components can be applied to the
img
component props object or file export:import MyImage from '../../components/MyImage.astro'; export const components = { img: MyImage }; # My MDX article
Patch Changes
#8533
74dc3edb3
Thanks @bluwy! - Improve MDX rendering performance by sharing processor instanceUpdated dependencies [
7522bb491
,ecc65abbf
,2c4fc878b
,d93987824
,c92e0acd7
,7522bb491
,f95febf96
,b85c8a78a
,45364c345
]:@astrojs/markdown-remark@3.2.0
Minor Changes
#8475
d93987824
Thanks @webpro! - feat(markdown): Add support forimageReference
paths when collecting images#8532
7522bb491
Thanks @bluwy! - ExportcreateMarkdownProcessor
and deprecaterenderMarkdown
APIPatch Changes
7522bb491
,ecc65abbf
,2c4fc878b
,c92e0acd7
,f95febf96
,b85c8a78a
,45364c345
]: