summaryrefslogtreecommitdiff
path: root/packages/integrations/image
diff options
context:
space:
mode:
authorGravatar Fred K. Bot <108291165+fredkbot@users.noreply.github.com> 2022-10-13 09:29:24 -0700
committerGravatar GitHub <noreply@github.com> 2022-10-13 12:29:24 -0400
commit81d57f2638aab02cd9a33174854a9912e4614565 (patch)
treed389d73889c926deb9aa14875290c5a0669e586b /packages/integrations/image
parent3918787cb9676a8c6b9be371ae90edeb676f4e8f (diff)
downloadastro-@astrojs/cloudflare@3.1.0.tar.gz
astro-@astrojs/cloudflare@3.1.0.tar.zst
astro-@astrojs/cloudflare@3.1.0.zip
* [ci] release * Update packages/integrations/node/CHANGELOG.md Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca> Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com> Co-authored-by: Matthew Phillips <matthew@skypack.dev> Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
Diffstat (limited to 'packages/integrations/image')
-rw-r--r--packages/integrations/image/CHANGELOG.md50
-rw-r--r--packages/integrations/image/package.json2
2 files changed, 51 insertions, 1 deletions
diff --git a/packages/integrations/image/CHANGELOG.md b/packages/integrations/image/CHANGELOG.md
index 224725a4a..8bc7b470e 100644
--- a/packages/integrations/image/CHANGELOG.md
+++ b/packages/integrations/image/CHANGELOG.md
@@ -1,5 +1,55 @@
# @astrojs/image
+## 0.10.0
+
+### Minor Changes
+
+- [#5056](https://github.com/withastro/astro/pull/5056) [`e55af8a23`](https://github.com/withastro/astro/commit/e55af8a23233b6335f45b7a04b9d026990fb616c) Thanks [@matthewp](https://github.com/matthewp)! - # New build configuration
+
+ The ability to customize SSR build configuration more granularly is now available in Astro. You can now customize the output folder for `server` (the server code for SSR), `client` (your client-side JavaScript and assets), and `serverEntry` (the name of the entrypoint server module). Here are the defaults:
+
+ ```js
+ import { defineConfig } from 'astro/config';
+
+ export default defineConfig({
+ output: 'server',
+ build: {
+ server: './dist/server/',
+ client: './dist/client/',
+ serverEntry: 'entry.mjs',
+ },
+ });
+ ```
+
+ These new configuration options are only supported in SSR mode and are ignored when building to SSG (a static site).
+
+ ## Integration hook change
+
+ The integration hook `astro:build:start` includes a param `buildConfig` which includes all of these same options. You can continue to use this param in Astro 1.x, but it is deprecated in favor of the new `build.config` options. All of the built-in adapters have been updated to the new format. If you have an integration that depends on this param we suggest upgrading to do this instead:
+
+ ```js
+ export default function myIntegration() {
+ return {
+ name: 'my-integration',
+ hooks: {
+ 'astro:config:setup': ({ updateConfig }) => {
+ updateConfig({
+ build: {
+ server: '...',
+ },
+ });
+ },
+ },
+ };
+ }
+ ```
+
+### Patch Changes
+
+- [#5073](https://github.com/withastro/astro/pull/5073) [`93f72f90b`](https://github.com/withastro/astro/commit/93f72f90bc8b29b1bf1402354f1ed6a110411243) Thanks [@bluwy](https://github.com/bluwy)! - Fix image external config in build
+
+- [#5072](https://github.com/withastro/astro/pull/5072) [`3918787cb`](https://github.com/withastro/astro/commit/3918787cb9676a8c6b9be371ae90edeb676f4e8f) Thanks [@bluwy](https://github.com/bluwy)! - Support relative protocol image URL
+
## 0.9.3
### Patch Changes
diff --git a/packages/integrations/image/package.json b/packages/integrations/image/package.json
index 202bd427b..293a985e2 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.9.3",
+ "version": "0.10.0",
"type": "module",
"types": "./dist/index.d.ts",
"author": "withastro",