From 292eaf57791c135e4fbbfdbb17157c649dfccd32 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Mon, 22 Aug 2022 19:49:48 +0000 Subject: [PATCH] [ci] release --- .changeset/chatty-ants-shop.md | 5 ----- packages/integrations/image/CHANGELOG.md | 6 ++++++ packages/integrations/image/package.json | 2 +- packages/integrations/image/test/image-ssg.test.js | 2 +- packages/integrations/image/test/image-ssr.test.js | 4 +++- 5 files changed, 11 insertions(+), 8 deletions(-) delete mode 100644 .changeset/chatty-ants-shop.md diff --git a/.changeset/chatty-ants-shop.md b/.changeset/chatty-ants-shop.md deleted file mode 100644 index 4c27d993c6dd8..0000000000000 --- a/.changeset/chatty-ants-shop.md +++ /dev/null @@ -1,5 +0,0 @@ ---- -'@astrojs/image': patch ---- - -When using remote images in SSG builds, query parameters from the original image source should be stripped from final build output diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md index 274845a5b59c0..31bb260eeb297 100644 --- a/packages/integrations/image/CHANGELOG.md +++ b/packages/integrations/image/CHANGELOG.md @@ -1,5 +1,11 @@ # @astrojs/image +## 0.3.6 + +### Patch Changes + +- [#4338](https://github.com/withastro/astro/pull/4338) [`579e2daf8`](https://github.com/withastro/astro/commit/579e2daf8dd1816737d1bd253bf96c108a014061) Thanks [@tony-sull](https://github.com/tony-sull)! - When using remote images in SSG builds, query parameters from the original image source should be stripped from final build output + ## 0.3.5 ### Patch Changes diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json index 6d9b35c4a0a6c..65e1ecc2cc615 100644 --- a/packages/integrations/image/package.json +++ b/packages/integrations/image/package.json @@ -1,7 +1,7 @@ { "name": "@astrojs/image", "description": "Load and transform images in your Astro site.", - "version": "0.3.5", + "version": "0.3.6", "type": "module", "types": "./dist/index.d.ts", "author": "withastro", diff --git a/packages/integrations/image/test/image-ssg.test.js b/packages/integrations/image/test/image-ssg.test.js index 47bbe76b785e7..5b1b65b4967f6 100644 --- a/packages/integrations/image/test/image-ssg.test.js +++ b/packages/integrations/image/test/image-ssg.test.js @@ -85,7 +85,7 @@ describe('SSG images', function () { verifyImage(`_image/googlelogo_color_272x92dp-${HASH_WITH_QUERY}_544x184.webp`, { width: 544, height: 184, - type: 'webp' + type: 'webp', }); }); }); diff --git a/packages/integrations/image/test/image-ssr.test.js b/packages/integrations/image/test/image-ssr.test.js index 9344dfc72f372..10ac32a370675 100644 --- a/packages/integrations/image/test/image-ssr.test.js +++ b/packages/integrations/image/test/image-ssr.test.js @@ -145,7 +145,9 @@ describe('SSR images - build', function () { expect(searchParams.get('f')).to.equal('webp'); expect(searchParams.get('w')).to.equal('544'); expect(searchParams.get('h')).to.equal('184'); - expect(searchParams.get('href').endsWith('googlelogo_color_272x92dp.png?token=abc')).to.equal(true); + expect(searchParams.get('href').endsWith('googlelogo_color_272x92dp.png?token=abc')).to.equal( + true + ); }); }); });