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/image@0.11.0
Minor Changes
#5180
b77200f42
Thanks @tony-sull! - Removes thecontent-visibility: auto
styling added by the<Picture />
and<Image />
components.Why: The content-visibility style is rarely needed for an
<img>
and can actually break certain layouts.Migration: Do images in your layout actually depend on
content-visibility
? No problem! You can add these styles where needed in your own component styles.#5038
ed2dfdae5
Thanks @emmanuelchucks! - HTML attributes included on the<Picture />
component are now passed down to the underlying<img />
element.Why?
<picture>
theclass
andstyle
attributes belong on the<img>
itself<picture>
elements should not actually provide anyaria-
attributeswidth
andheight
can be added to the<img>
to help prevent layout shiftastro@1.5.3
Patch Changes
#5133
1c477dd8d
Thanks @bluwy! - Fix.css?raw
usage#5133
1c477dd8d
Thanks @bluwy! - Update@astrojs/compiler
and use the newresolvePath
option. This allows removing much of the runtime code, which should improve rendering performance for Astro and MDX pages.#5192
8728ee0b9
Thanks @tony-sull! -astro add
no longer automatically installs optional peer dependencies@astrojs/mdx@0.11.5
Patch Changes
308e565ad
Thanks @bholmesdev! - Support recmaPlugins config option@astrojs/vercel@2.3.2
Patch Changes
abf41da77
Thanks @JuanM04! - Edge adapter includes all the generated files (all files insidedist/
) instead of onlyentry.mjs