[ci] release (#4921)

Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
Fred K. Bot 2022-09-30 13:15:38 -07:00 committed by GitHub
parent 7fdd494236
commit 2ffdafff45
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
32 changed files with 86 additions and 85 deletions

View file

@ -1,5 +0,0 @@
---
'@astrojs/image': patch
---
Fixes a bug in dev when `<Image />` is used for a local image with no transformations

View file

@ -1,24 +0,0 @@
---
'@astrojs/image': minor
---
Adds caching support for transformed images :tada:
Local images will be cached for 1 year and invalidated when the original image file is changed.
Remote images will be cached based on the `fetch()` response's cache headers, similar to how a CDN would manage the cache.
**cacheDir**
By default, transformed images will be cached to `./node_modules/.astro/image`. This can be configured in the integration's config options.
```
export default defineConfig({
integrations: [image({
// may be useful if your hosting provider allows caching between CI builds
cacheDir: "./.cache/image"
})]
});
```
Caching can also be disabled by using `cacheDir: false`.

View file

@ -1,5 +0,0 @@
---
'astro': patch
---
Fix module definition of Markdown and MDX files not being available outside Astro files

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0" "astro": "^1.4.1"
} }
} }

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"@astrojs/mdx": "^0.11.3", "@astrojs/mdx": "^0.11.3",
"@astrojs/rss": "^1.0.2", "@astrojs/rss": "^1.0.2",
"@astrojs/sitemap": "^1.0.0" "@astrojs/sitemap": "^1.0.0"

View file

@ -15,9 +15,9 @@
], ],
"scripts": {}, "scripts": {},
"devDependencies": { "devDependencies": {
"astro": "^1.4.0" "astro": "^1.4.1"
}, },
"peerDependencies": { "peerDependencies": {
"astro": "^1.4.0" "astro": "^1.4.1"
} }
} }

View file

@ -10,7 +10,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0" "astro": "^1.4.1"
}, },
"devDependencies": { "devDependencies": {
"@astrojs/deno": "^1.1.0" "@astrojs/deno": "^1.1.0"

View file

@ -12,7 +12,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"preact": "^10.7.3", "preact": "^10.7.3",
"react": "^18.1.0", "react": "^18.1.0",
"react-dom": "^18.1.0", "react-dom": "^18.1.0",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"alpinejs": "^3.10.2", "alpinejs": "^3.10.2",
"@astrojs/alpinejs": "^0.1.2", "@astrojs/alpinejs": "^0.1.2",
"@types/alpinejs": "^3.7.0" "@types/alpinejs": "^3.7.0"

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"lit": "^2.2.5", "lit": "^2.2.5",
"@astrojs/lit": "^1.0.0", "@astrojs/lit": "^1.0.0",
"@webcomponents/template-shadowroot": "^0.1.0" "@webcomponents/template-shadowroot": "^0.1.0"

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"preact": "^10.7.3", "preact": "^10.7.3",
"react": "^18.1.0", "react": "^18.1.0",
"react-dom": "^18.1.0", "react-dom": "^18.1.0",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"preact": "^10.7.3", "preact": "^10.7.3",
"@astrojs/preact": "^1.1.1" "@astrojs/preact": "^1.1.1"
} }

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"react": "^18.1.0", "react": "^18.1.0",
"react-dom": "^18.1.0", "react-dom": "^18.1.0",
"@astrojs/react": "^1.1.4", "@astrojs/react": "^1.1.4",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"solid-js": "^1.4.3", "solid-js": "^1.4.3",
"@astrojs/solid-js": "^1.1.0" "@astrojs/solid-js": "^1.1.0"
} }

View file

@ -13,6 +13,6 @@
"dependencies": { "dependencies": {
"svelte": "^3.48.0", "svelte": "^3.48.0",
"@astrojs/svelte": "^1.0.1", "@astrojs/svelte": "^1.0.1",
"astro": "^1.4.0" "astro": "^1.4.1"
} }
} }

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"vue": "^3.2.37", "vue": "^3.2.37",
"@astrojs/vue": "^1.1.0" "@astrojs/vue": "^1.1.0"
} }

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0" "astro": "^1.4.1"
} }
} }

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0" "astro": "^1.4.1"
} }
} }

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0" "astro": "^1.4.1"
} }
} }

View file

@ -13,7 +13,7 @@
}, },
"devDependencies": {}, "devDependencies": {},
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"svelte": "^3.48.0", "svelte": "^3.48.0",
"@astrojs/svelte": "^1.0.1", "@astrojs/svelte": "^1.0.1",
"@astrojs/node": "^1.1.0", "@astrojs/node": "^1.1.0",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"@astrojs/markdown-remark": "^1.1.3", "@astrojs/markdown-remark": "^1.1.3",
"hast-util-select": "5.0.1", "hast-util-select": "5.0.1",
"rehype-autolink-headings": "^6.1.1", "rehype-autolink-headings": "^6.1.1",

View file

@ -11,6 +11,6 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0" "astro": "^1.4.1"
} }
} }

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"preact": "^10.6.5", "preact": "^10.6.5",
"@astrojs/preact": "^1.1.1", "@astrojs/preact": "^1.1.1",
"@astrojs/mdx": "^0.11.3" "@astrojs/mdx": "^0.11.3"

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"preact": "^10.7.3", "preact": "^10.7.3",
"@astrojs/preact": "^1.1.1", "@astrojs/preact": "^1.1.1",
"nanostores": "^0.5.12", "nanostores": "^0.5.12",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"@astrojs/tailwind": "^2.0.2", "@astrojs/tailwind": "^2.0.2",
"autoprefixer": "^10.4.7", "autoprefixer": "^10.4.7",
"canvas-confetti": "^1.5.1", "canvas-confetti": "^1.5.1",

View file

@ -11,7 +11,7 @@
"astro": "astro" "astro": "astro"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"vite-plugin-pwa": "0.11.11", "vite-plugin-pwa": "0.11.11",
"workbox-window": "^6.5.3" "workbox-window": "^6.5.3"
} }

View file

@ -12,7 +12,7 @@
"test": "vitest" "test": "vitest"
}, },
"dependencies": { "dependencies": {
"astro": "^1.4.0", "astro": "^1.4.1",
"vitest": "^0.20.3" "vitest": "^0.20.3"
} }
} }

View file

@ -1,5 +1,11 @@
# astro # astro
## 1.4.1
### Patch Changes
- [#4928](https://github.com/withastro/astro/pull/4928) [`7690849a8`](https://github.com/withastro/astro/commit/7690849a87a7e192e28119211b75446ddbbc2ae3) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Fix module definition of Markdown and MDX files not being available outside Astro files
## 1.4.0 ## 1.4.0
### Minor Changes ### Minor Changes

View file

@ -1,6 +1,6 @@
{ {
"name": "astro", "name": "astro",
"version": "1.4.0", "version": "1.4.1",
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
"type": "module", "type": "module",
"author": "withastro", "author": "withastro",

View file

@ -1,5 +1,34 @@
# @astrojs/image # @astrojs/image
## 0.9.0
### Minor Changes
- [#4909](https://github.com/withastro/astro/pull/4909) [`989298961`](https://github.com/withastro/astro/commit/9892989619770f310eed3398dd2cbc98be469afd) Thanks [@tony-sull](https://github.com/tony-sull)! - Adds caching support for transformed images :tada:
Local images will be cached for 1 year and invalidated when the original image file is changed.
Remote images will be cached based on the `fetch()` response's cache headers, similar to how a CDN would manage the cache.
**cacheDir**
By default, transformed images will be cached to `./node_modules/.astro/image`. This can be configured in the integration's config options.
```
export default defineConfig({
integrations: [image({
// may be useful if your hosting provider allows caching between CI builds
cacheDir: "./.cache/image"
})]
});
```
Caching can also be disabled by using `cacheDir: false`.
### Patch Changes
- [#4933](https://github.com/withastro/astro/pull/4933) [`64a1d712e`](https://github.com/withastro/astro/commit/64a1d712efd3cc80c0b9aed9f2ead1487f8db07b) Thanks [@tony-sull](https://github.com/tony-sull)! - Fixes a bug in dev when `<Image />` is used for a local image with no transformations
## 0.8.1 ## 0.8.1
### Patch Changes ### Patch Changes

View file

@ -1,7 +1,7 @@
{ {
"name": "@astrojs/image", "name": "@astrojs/image",
"description": "Load and transform images in your Astro site.", "description": "Load and transform images in your Astro site.",
"version": "0.8.1", "version": "0.9.0",
"type": "module", "type": "module",
"types": "./dist/index.d.ts", "types": "./dist/index.d.ts",
"author": "withastro", "author": "withastro",

View file

@ -58,7 +58,7 @@ importers:
examples/basics: examples/basics:
specifiers: specifiers:
astro: ^1.4.0 astro: ^1.4.1
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
@ -67,7 +67,7 @@ importers:
'@astrojs/mdx': ^0.11.3 '@astrojs/mdx': ^0.11.3
'@astrojs/rss': ^1.0.2 '@astrojs/rss': ^1.0.2
'@astrojs/sitemap': ^1.0.0 '@astrojs/sitemap': ^1.0.0
astro: ^1.4.0 astro: ^1.4.1
dependencies: dependencies:
'@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/mdx': link:../../packages/integrations/mdx
'@astrojs/rss': link:../../packages/astro-rss '@astrojs/rss': link:../../packages/astro-rss
@ -76,14 +76,14 @@ importers:
examples/component: examples/component:
specifiers: specifiers:
astro: ^1.4.0 astro: ^1.4.1
devDependencies: devDependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/deno: examples/deno:
specifiers: specifiers:
'@astrojs/deno': ^1.1.0 '@astrojs/deno': ^1.1.0
astro: ^1.4.0 astro: ^1.4.1
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
devDependencies: devDependencies:
@ -99,7 +99,7 @@ importers:
'@types/node': ^18.0.0 '@types/node': ^18.0.0
'@types/react': ^17.0.45 '@types/react': ^17.0.45
'@types/react-dom': ^18.0.0 '@types/react-dom': ^18.0.0
astro: ^1.4.0 astro: ^1.4.1
preact: ^10.7.3 preact: ^10.7.3
react: ^18.1.0 react: ^18.1.0
react-dom: ^18.1.0 react-dom: ^18.1.0
@ -122,7 +122,7 @@ importers:
'@astrojs/alpinejs': ^0.1.2 '@astrojs/alpinejs': ^0.1.2
'@types/alpinejs': ^3.7.0 '@types/alpinejs': ^3.7.0
alpinejs: ^3.10.2 alpinejs: ^3.10.2
astro: ^1.4.0 astro: ^1.4.1
dependencies: dependencies:
'@astrojs/alpinejs': link:../../packages/integrations/alpinejs '@astrojs/alpinejs': link:../../packages/integrations/alpinejs
'@types/alpinejs': 3.7.0 '@types/alpinejs': 3.7.0
@ -133,7 +133,7 @@ importers:
specifiers: specifiers:
'@astrojs/lit': ^1.0.0 '@astrojs/lit': ^1.0.0
'@webcomponents/template-shadowroot': ^0.1.0 '@webcomponents/template-shadowroot': ^0.1.0
astro: ^1.4.0 astro: ^1.4.1
lit: ^2.2.5 lit: ^2.2.5
dependencies: dependencies:
'@astrojs/lit': link:../../packages/integrations/lit '@astrojs/lit': link:../../packages/integrations/lit
@ -148,7 +148,7 @@ importers:
'@astrojs/solid-js': ^1.1.0 '@astrojs/solid-js': ^1.1.0
'@astrojs/svelte': ^1.0.1 '@astrojs/svelte': ^1.0.1
'@astrojs/vue': ^1.1.0 '@astrojs/vue': ^1.1.0
astro: ^1.4.0 astro: ^1.4.1
preact: ^10.7.3 preact: ^10.7.3
react: ^18.1.0 react: ^18.1.0
react-dom: ^18.1.0 react-dom: ^18.1.0
@ -172,7 +172,7 @@ importers:
examples/framework-preact: examples/framework-preact:
specifiers: specifiers:
'@astrojs/preact': ^1.1.1 '@astrojs/preact': ^1.1.1
astro: ^1.4.0 astro: ^1.4.1
preact: ^10.7.3 preact: ^10.7.3
dependencies: dependencies:
'@astrojs/preact': link:../../packages/integrations/preact '@astrojs/preact': link:../../packages/integrations/preact
@ -184,7 +184,7 @@ importers:
'@astrojs/react': ^1.1.4 '@astrojs/react': ^1.1.4
'@types/react': ^18.0.10 '@types/react': ^18.0.10
'@types/react-dom': ^18.0.5 '@types/react-dom': ^18.0.5
astro: ^1.4.0 astro: ^1.4.1
react: ^18.1.0 react: ^18.1.0
react-dom: ^18.1.0 react-dom: ^18.1.0
dependencies: dependencies:
@ -198,7 +198,7 @@ importers:
examples/framework-solid: examples/framework-solid:
specifiers: specifiers:
'@astrojs/solid-js': ^1.1.0 '@astrojs/solid-js': ^1.1.0
astro: ^1.4.0 astro: ^1.4.1
solid-js: ^1.4.3 solid-js: ^1.4.3
dependencies: dependencies:
'@astrojs/solid-js': link:../../packages/integrations/solid '@astrojs/solid-js': link:../../packages/integrations/solid
@ -208,7 +208,7 @@ importers:
examples/framework-svelte: examples/framework-svelte:
specifiers: specifiers:
'@astrojs/svelte': ^1.0.1 '@astrojs/svelte': ^1.0.1
astro: ^1.4.0 astro: ^1.4.1
svelte: ^3.48.0 svelte: ^3.48.0
dependencies: dependencies:
'@astrojs/svelte': link:../../packages/integrations/svelte '@astrojs/svelte': link:../../packages/integrations/svelte
@ -218,7 +218,7 @@ importers:
examples/framework-vue: examples/framework-vue:
specifiers: specifiers:
'@astrojs/vue': ^1.1.0 '@astrojs/vue': ^1.1.0
astro: ^1.4.0 astro: ^1.4.1
vue: ^3.2.37 vue: ^3.2.37
dependencies: dependencies:
'@astrojs/vue': link:../../packages/integrations/vue '@astrojs/vue': link:../../packages/integrations/vue
@ -227,19 +227,19 @@ importers:
examples/minimal: examples/minimal:
specifiers: specifiers:
astro: ^1.4.0 astro: ^1.4.1
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/non-html-pages: examples/non-html-pages:
specifiers: specifiers:
astro: ^1.4.0 astro: ^1.4.1
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
examples/portfolio: examples/portfolio:
specifiers: specifiers:
astro: ^1.4.0 astro: ^1.4.1
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
@ -247,7 +247,7 @@ importers:
specifiers: specifiers:
'@astrojs/node': ^1.1.0 '@astrojs/node': ^1.1.0
'@astrojs/svelte': ^1.0.1 '@astrojs/svelte': ^1.0.1
astro: ^1.4.0 astro: ^1.4.1
concurrently: ^7.2.1 concurrently: ^7.2.1
lightcookie: ^1.0.25 lightcookie: ^1.0.25
svelte: ^3.48.0 svelte: ^3.48.0
@ -266,7 +266,7 @@ importers:
examples/with-markdown-plugins: examples/with-markdown-plugins:
specifiers: specifiers:
'@astrojs/markdown-remark': ^1.1.3 '@astrojs/markdown-remark': ^1.1.3
astro: ^1.4.0 astro: ^1.4.1
hast-util-select: 5.0.1 hast-util-select: 5.0.1
rehype-autolink-headings: ^6.1.1 rehype-autolink-headings: ^6.1.1
rehype-slug: ^5.0.1 rehype-slug: ^5.0.1
@ -283,7 +283,7 @@ importers:
examples/with-markdown-shiki: examples/with-markdown-shiki:
specifiers: specifiers:
astro: ^1.4.0 astro: ^1.4.1
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro
@ -291,7 +291,7 @@ importers:
specifiers: specifiers:
'@astrojs/mdx': ^0.11.3 '@astrojs/mdx': ^0.11.3
'@astrojs/preact': ^1.1.1 '@astrojs/preact': ^1.1.1
astro: ^1.4.0 astro: ^1.4.1
preact: ^10.6.5 preact: ^10.6.5
dependencies: dependencies:
'@astrojs/mdx': link:../../packages/integrations/mdx '@astrojs/mdx': link:../../packages/integrations/mdx
@ -303,7 +303,7 @@ importers:
specifiers: specifiers:
'@astrojs/preact': ^1.1.1 '@astrojs/preact': ^1.1.1
'@nanostores/preact': ^0.1.3 '@nanostores/preact': ^0.1.3
astro: ^1.4.0 astro: ^1.4.1
nanostores: ^0.5.12 nanostores: ^0.5.12
preact: ^10.7.3 preact: ^10.7.3
dependencies: dependencies:
@ -316,7 +316,7 @@ importers:
examples/with-tailwindcss: examples/with-tailwindcss:
specifiers: specifiers:
'@astrojs/tailwind': ^2.0.2 '@astrojs/tailwind': ^2.0.2
astro: ^1.4.0 astro: ^1.4.1
autoprefixer: ^10.4.7 autoprefixer: ^10.4.7
canvas-confetti: ^1.5.1 canvas-confetti: ^1.5.1
postcss: ^8.4.14 postcss: ^8.4.14
@ -331,7 +331,7 @@ importers:
examples/with-vite-plugin-pwa: examples/with-vite-plugin-pwa:
specifiers: specifiers:
astro: ^1.4.0 astro: ^1.4.1
vite-plugin-pwa: 0.11.11 vite-plugin-pwa: 0.11.11
workbox-window: ^6.5.3 workbox-window: ^6.5.3
dependencies: dependencies:
@ -341,7 +341,7 @@ importers:
examples/with-vitest: examples/with-vitest:
specifiers: specifiers:
astro: ^1.4.0 astro: ^1.4.1
vitest: ^0.20.3 vitest: ^0.20.3
dependencies: dependencies:
astro: link:../../packages/astro astro: link:../../packages/astro