mirror of
https://github.com/withastro/astro.git
synced 2024-12-16 21:46:22 -05:00
[ci] release (#4921)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
7fdd494236
commit
2ffdafff45
32 changed files with 86 additions and 85 deletions
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/image': patch
|
||||
---
|
||||
|
||||
Fixes a bug in dev when `<Image />` is used for a local image with no transformations
|
|
@ -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`.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Fix module definition of Markdown and MDX files not being available outside Astro files
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"@astrojs/mdx": "^0.11.3",
|
||||
"@astrojs/rss": "^1.0.2",
|
||||
"@astrojs/sitemap": "^1.0.0"
|
||||
|
|
|
@ -15,9 +15,9 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/deno": "^1.1.0"
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"preact": "^10.7.3",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"alpinejs": "^3.10.2",
|
||||
"@astrojs/alpinejs": "^0.1.2",
|
||||
"@types/alpinejs": "^3.7.0"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"lit": "^2.2.5",
|
||||
"@astrojs/lit": "^1.0.0",
|
||||
"@webcomponents/template-shadowroot": "^0.1.0"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"preact": "^10.7.3",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"preact": "^10.7.3",
|
||||
"@astrojs/preact": "^1.1.1"
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"react": "^18.1.0",
|
||||
"react-dom": "^18.1.0",
|
||||
"@astrojs/react": "^1.1.4",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"solid-js": "^1.4.3",
|
||||
"@astrojs/solid-js": "^1.1.0"
|
||||
}
|
||||
|
|
|
@ -13,6 +13,6 @@
|
|||
"dependencies": {
|
||||
"svelte": "^3.48.0",
|
||||
"@astrojs/svelte": "^1.0.1",
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"vue": "^3.2.37",
|
||||
"@astrojs/vue": "^1.1.0"
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"devDependencies": {},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"svelte": "^3.48.0",
|
||||
"@astrojs/svelte": "^1.0.1",
|
||||
"@astrojs/node": "^1.1.0",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"@astrojs/markdown-remark": "^1.1.3",
|
||||
"hast-util-select": "5.0.1",
|
||||
"rehype-autolink-headings": "^6.1.1",
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0"
|
||||
"astro": "^1.4.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"preact": "^10.6.5",
|
||||
"@astrojs/preact": "^1.1.1",
|
||||
"@astrojs/mdx": "^0.11.3"
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"preact": "^10.7.3",
|
||||
"@astrojs/preact": "^1.1.1",
|
||||
"nanostores": "^0.5.12",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"@astrojs/tailwind": "^2.0.2",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"canvas-confetti": "^1.5.1",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"vite-plugin-pwa": "0.11.11",
|
||||
"workbox-window": "^6.5.3"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^1.4.0",
|
||||
"astro": "^1.4.1",
|
||||
"vitest": "^0.20.3"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# 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
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"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.",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,34 @@
|
|||
# @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
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/image",
|
||||
"description": "Load and transform images in your Astro site.",
|
||||
"version": "0.8.1",
|
||||
"version": "0.9.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -58,7 +58,7 @@ importers:
|
|||
|
||||
examples/basics:
|
||||
specifiers:
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
|
@ -67,7 +67,7 @@ importers:
|
|||
'@astrojs/mdx': ^0.11.3
|
||||
'@astrojs/rss': ^1.0.2
|
||||
'@astrojs/sitemap': ^1.0.0
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
dependencies:
|
||||
'@astrojs/mdx': link:../../packages/integrations/mdx
|
||||
'@astrojs/rss': link:../../packages/astro-rss
|
||||
|
@ -76,14 +76,14 @@ importers:
|
|||
|
||||
examples/component:
|
||||
specifiers:
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/deno:
|
||||
specifiers:
|
||||
'@astrojs/deno': ^1.1.0
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
devDependencies:
|
||||
|
@ -99,7 +99,7 @@ importers:
|
|||
'@types/node': ^18.0.0
|
||||
'@types/react': ^17.0.45
|
||||
'@types/react-dom': ^18.0.0
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
|
@ -122,7 +122,7 @@ importers:
|
|||
'@astrojs/alpinejs': ^0.1.2
|
||||
'@types/alpinejs': ^3.7.0
|
||||
alpinejs: ^3.10.2
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
dependencies:
|
||||
'@astrojs/alpinejs': link:../../packages/integrations/alpinejs
|
||||
'@types/alpinejs': 3.7.0
|
||||
|
@ -133,7 +133,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/lit': ^1.0.0
|
||||
'@webcomponents/template-shadowroot': ^0.1.0
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
lit: ^2.2.5
|
||||
dependencies:
|
||||
'@astrojs/lit': link:../../packages/integrations/lit
|
||||
|
@ -148,7 +148,7 @@ importers:
|
|||
'@astrojs/solid-js': ^1.1.0
|
||||
'@astrojs/svelte': ^1.0.1
|
||||
'@astrojs/vue': ^1.1.0
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
|
@ -172,7 +172,7 @@ importers:
|
|||
examples/framework-preact:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^1.1.1
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
'@astrojs/preact': link:../../packages/integrations/preact
|
||||
|
@ -184,7 +184,7 @@ importers:
|
|||
'@astrojs/react': ^1.1.4
|
||||
'@types/react': ^18.0.10
|
||||
'@types/react-dom': ^18.0.5
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
dependencies:
|
||||
|
@ -198,7 +198,7 @@ importers:
|
|||
examples/framework-solid:
|
||||
specifiers:
|
||||
'@astrojs/solid-js': ^1.1.0
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
solid-js: ^1.4.3
|
||||
dependencies:
|
||||
'@astrojs/solid-js': link:../../packages/integrations/solid
|
||||
|
@ -208,7 +208,7 @@ importers:
|
|||
examples/framework-svelte:
|
||||
specifiers:
|
||||
'@astrojs/svelte': ^1.0.1
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
svelte: ^3.48.0
|
||||
dependencies:
|
||||
'@astrojs/svelte': link:../../packages/integrations/svelte
|
||||
|
@ -218,7 +218,7 @@ importers:
|
|||
examples/framework-vue:
|
||||
specifiers:
|
||||
'@astrojs/vue': ^1.1.0
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
vue: ^3.2.37
|
||||
dependencies:
|
||||
'@astrojs/vue': link:../../packages/integrations/vue
|
||||
|
@ -227,19 +227,19 @@ importers:
|
|||
|
||||
examples/minimal:
|
||||
specifiers:
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/non-html-pages:
|
||||
specifiers:
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/portfolio:
|
||||
specifiers:
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
|
@ -247,7 +247,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/node': ^1.1.0
|
||||
'@astrojs/svelte': ^1.0.1
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
concurrently: ^7.2.1
|
||||
lightcookie: ^1.0.25
|
||||
svelte: ^3.48.0
|
||||
|
@ -266,7 +266,7 @@ importers:
|
|||
examples/with-markdown-plugins:
|
||||
specifiers:
|
||||
'@astrojs/markdown-remark': ^1.1.3
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
hast-util-select: 5.0.1
|
||||
rehype-autolink-headings: ^6.1.1
|
||||
rehype-slug: ^5.0.1
|
||||
|
@ -283,7 +283,7 @@ importers:
|
|||
|
||||
examples/with-markdown-shiki:
|
||||
specifiers:
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
|
@ -291,7 +291,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/mdx': ^0.11.3
|
||||
'@astrojs/preact': ^1.1.1
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
preact: ^10.6.5
|
||||
dependencies:
|
||||
'@astrojs/mdx': link:../../packages/integrations/mdx
|
||||
|
@ -303,7 +303,7 @@ importers:
|
|||
specifiers:
|
||||
'@astrojs/preact': ^1.1.1
|
||||
'@nanostores/preact': ^0.1.3
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
nanostores: ^0.5.12
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
|
@ -316,7 +316,7 @@ importers:
|
|||
examples/with-tailwindcss:
|
||||
specifiers:
|
||||
'@astrojs/tailwind': ^2.0.2
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
autoprefixer: ^10.4.7
|
||||
canvas-confetti: ^1.5.1
|
||||
postcss: ^8.4.14
|
||||
|
@ -331,7 +331,7 @@ importers:
|
|||
|
||||
examples/with-vite-plugin-pwa:
|
||||
specifiers:
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
vite-plugin-pwa: 0.11.11
|
||||
workbox-window: ^6.5.3
|
||||
dependencies:
|
||||
|
@ -341,7 +341,7 @@ importers:
|
|||
|
||||
examples/with-vitest:
|
||||
specifiers:
|
||||
astro: ^1.4.0
|
||||
astro: ^1.4.1
|
||||
vitest: ^0.20.3
|
||||
dependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
|
Loading…
Reference in a new issue