From 4efbfdd78d239f708a76eac38c2e971fc956a54e Mon Sep 17 00:00:00 2001 From: "Fred K. Bot" <108291165+fredkbot@users.noreply.github.com> Date: Wed, 26 Oct 2022 05:43:23 -0700 Subject: [ci] release (#5135) Co-authored-by: github-actions[bot] --- packages/integrations/image/CHANGELOG.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) (limited to 'packages/integrations/image/CHANGELOG.md') diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 8bc7b470e..3c6632685 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,23 @@ # @astrojs/image +## 0.11.0 + +### Minor Changes + +- [#5180](https://github.com/withastro/astro/pull/5180) [`b77200f42`](https://github.com/withastro/astro/commit/b77200f42399ea31b0045bc0e6bfe2c1c5ccc970) Thanks [@tony-sull](https://github.com/tony-sull)! - Removes the `content-visibility: auto` styling added by the `` and `` components. + + **Why:** The [content-visibility](https://developer.mozilla.org/en-US/docs/Web/CSS/content-visibility) style is rarely needed for an `` 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](https://github.com/withastro/astro/pull/5038) [`ed2dfdae5`](https://github.com/withastro/astro/commit/ed2dfdae5bea93746be883bc528c1fb6407af6eb) Thanks [@emmanuelchucks](https://github.com/emmanuelchucks)! - HTML attributes included on the `` component are now passed down to the underlying `` element. + + **Why?** + + - when styling a `` the `class` and `style` attributes belong on the `` itself + - `` elements [should not](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/picture#attributes) actually provide any `aria-` attributes + - `width` and `height` can be added to the `` to help prevent layout shift + ## 0.10.0 ### Minor Changes -- cgit v1.2.3