mirror of
https://github.com/withastro/astro.git
synced 2024-12-30 22:03:56 -05:00
[ci] release (#9165)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
cba6cf32d9
commit
4d1274c479
34 changed files with 83 additions and 90 deletions
|
@ -1,16 +0,0 @@
|
|||
---
|
||||
'astro': minor
|
||||
---
|
||||
Take full control over the behavior of view transitions!
|
||||
|
||||
Three new events now complement the existing `astro:after-swap` and `astro:page-load` events:
|
||||
|
||||
``` javascript
|
||||
astro:before-preparation // Control how the DOM and other resources of the target page are loaded
|
||||
astro:after-preparation // Last changes before taking off? Remove that loading indicator? Here you go!
|
||||
astro:before-swap // Control how the DOM is updated to match the new page
|
||||
```
|
||||
|
||||
The `astro:before-*` events allow you to change properties and strategies of the view transition implementation.
|
||||
The `astro:after-*` events are notifications that a phase is complete.
|
||||
Head over to docs to see [the full view transitions lifecycle](https://docs.astro.build/en/guides/view-transitions/#lifecycle-events) including these new events!
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': minor
|
||||
---
|
||||
|
||||
Changes the fallback prefetch behavior on slow connections and when data saver mode is enabled. Instead of disabling prefetch entirely, the `tap` strategy will be used.
|
|
@ -1,9 +0,0 @@
|
|||
---
|
||||
'astro': minor
|
||||
---
|
||||
|
||||
The Picture component is no longer experimental
|
||||
|
||||
The `<Picture />` component, part of `astro:assets`, has exited experimental status and is now recommended for use. There are no code changes to the component, and no upgrade to your project is necessary.
|
||||
|
||||
This is only a change in documentation/recommendation. If you were waiting to use the `<Picture />` component until it had exited the experimental stage, wait no more!
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': minor
|
||||
---
|
||||
|
||||
Adds a `ignoreSlowConnection` option to the `prefetch()` API to prefetch even on data saver mode or slow connection.
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"@astrojs/mdx": "^1.1.5",
|
||||
"@astrojs/rss": "^3.0.0",
|
||||
"@astrojs/sitemap": "^3.0.3",
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^3.0.0"
|
||||
|
|
|
@ -14,6 +14,6 @@
|
|||
"@astrojs/alpinejs": "^0.3.1",
|
||||
"@types/alpinejs": "^3.7.2",
|
||||
"alpinejs": "^3.12.3",
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/lit": "^3.0.3",
|
||||
"@webcomponents/template-shadowroot": "^0.2.1",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"lit": "^2.8.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
"@astrojs/solid-js": "^3.0.2",
|
||||
"@astrojs/svelte": "^4.0.4",
|
||||
"@astrojs/vue": "^3.0.4",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"preact": "^10.17.1",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0",
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "^3.0.1",
|
||||
"@preact/signals": "^1.2.1",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"preact": "^10.17.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"@astrojs/react": "^3.0.6",
|
||||
"@types/react": "^18.2.21",
|
||||
"@types/react-dom": "^18.2.7",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"react": "^18.2.0",
|
||||
"react-dom": "^18.2.0"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/solid-js": "^3.0.2",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"solid-js": "^1.7.11"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/svelte": "^4.0.4",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"svelte": "^4.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/vue": "^3.0.4",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"vue": "^3.3.4"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^6.0.4",
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -15,7 +15,7 @@
|
|||
],
|
||||
"scripts": {},
|
||||
"devDependencies": {
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
},
|
||||
"peerDependencies": {
|
||||
"astro": "^3.0.0"
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/node": "^6.0.4",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"html-minifier": "^4.0.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/node": "^6.0.4",
|
||||
"@astrojs/svelte": "^4.0.4",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"svelte": "^4.2.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
"devDependencies": {
|
||||
"@astrojs/tailwind": "^5.0.2",
|
||||
"@astrojs/node": "^6.0.4",
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,6 +12,6 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdoc": "^0.7.2",
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
},
|
||||
"dependencies": {
|
||||
"@astrojs/markdown-remark": "^3.5.0",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"hast-util-select": "^5.0.5",
|
||||
"rehype-autolink-headings": "^6.1.1",
|
||||
"rehype-slug": "^5.1.0",
|
||||
|
|
|
@ -11,6 +11,6 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^3.5.7"
|
||||
"astro": "^3.6.0"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/mdx": "^1.1.5",
|
||||
"@astrojs/preact": "^3.0.1",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"preact": "^10.17.1"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -13,7 +13,7 @@
|
|||
"dependencies": {
|
||||
"@astrojs/preact": "^3.0.1",
|
||||
"@nanostores/preact": "^0.5.0",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"nanostores": "^0.9.3",
|
||||
"preact": "^10.17.1"
|
||||
}
|
||||
|
|
|
@ -14,7 +14,7 @@
|
|||
"@astrojs/mdx": "^1.1.5",
|
||||
"@astrojs/tailwind": "^5.0.2",
|
||||
"@types/canvas-confetti": "^1.6.0",
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"autoprefixer": "^10.4.15",
|
||||
"canvas-confetti": "^1.6.0",
|
||||
"postcss": "^8.4.28",
|
||||
|
|
|
@ -11,7 +11,7 @@
|
|||
"astro": "astro"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"vite-plugin-pwa": "0.16.4",
|
||||
"workbox-window": "^7.0.0"
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
"test": "vitest"
|
||||
},
|
||||
"dependencies": {
|
||||
"astro": "^3.5.7",
|
||||
"astro": "^3.6.0",
|
||||
"vitest": "^0.34.2"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -1,5 +1,33 @@
|
|||
# astro
|
||||
|
||||
## 3.6.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#9090](https://github.com/withastro/astro/pull/9090) [`c87223c21`](https://github.com/withastro/astro/commit/c87223c21ab5d515fb8f04ee10be5c0ca51e0b29) Thanks [@martrapp](https://github.com/martrapp)! - Take full control over the behavior of view transitions!
|
||||
|
||||
Three new events now complement the existing `astro:after-swap` and `astro:page-load` events:
|
||||
|
||||
```javascript
|
||||
astro: before - preparation; // Control how the DOM and other resources of the target page are loaded
|
||||
astro: after - preparation; // Last changes before taking off? Remove that loading indicator? Here you go!
|
||||
astro: before - swap; // Control how the DOM is updated to match the new page
|
||||
```
|
||||
|
||||
The `astro:before-*` events allow you to change properties and strategies of the view transition implementation.
|
||||
The `astro:after-*` events are notifications that a phase is complete.
|
||||
Head over to docs to see [the full view transitions lifecycle](https://docs.astro.build/en/guides/view-transitions/#lifecycle-events) including these new events!
|
||||
|
||||
- [#9092](https://github.com/withastro/astro/pull/9092) [`0ea4bd47e`](https://github.com/withastro/astro/commit/0ea4bd47e0d7cc98c43568a55aa87da772bd2e0a) Thanks [@smitbarmase](https://github.com/smitbarmase)! - Changes the fallback prefetch behavior on slow connections and when data saver mode is enabled. Instead of disabling prefetch entirely, the `tap` strategy will be used.
|
||||
|
||||
- [#9166](https://github.com/withastro/astro/pull/9166) [`cba6cf32d`](https://github.com/withastro/astro/commit/cba6cf32d9bf1f5c3268808f185a4824d6fbd7f4) Thanks [@matthewp](https://github.com/matthewp)! - The Picture component is no longer experimental
|
||||
|
||||
The `<Picture />` component, part of `astro:assets`, has exited experimental status and is now recommended for use. There are no code changes to the component, and no upgrade to your project is necessary.
|
||||
|
||||
This is only a change in documentation/recommendation. If you were waiting to use the `<Picture />` component until it had exited the experimental stage, wait no more!
|
||||
|
||||
- [#9092](https://github.com/withastro/astro/pull/9092) [`0ea4bd47e`](https://github.com/withastro/astro/commit/0ea4bd47e0d7cc98c43568a55aa87da772bd2e0a) Thanks [@smitbarmase](https://github.com/smitbarmase)! - Adds a `ignoreSlowConnection` option to the `prefetch()` API to prefetch even on data saver mode or slow connection.
|
||||
|
||||
## 3.5.7
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "3.5.7",
|
||||
"version": "3.6.0",
|
||||
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -125,7 +125,7 @@ importers:
|
|||
examples/basics:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/blog:
|
||||
|
@ -140,13 +140,13 @@ importers:
|
|||
specifier: ^3.0.3
|
||||
version: link:../../packages/integrations/sitemap
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/component:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/framework-alpine:
|
||||
|
@ -161,7 +161,7 @@ importers:
|
|||
specifier: ^3.12.3
|
||||
version: 3.13.2
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/framework-lit:
|
||||
|
@ -173,7 +173,7 @@ importers:
|
|||
specifier: ^0.2.1
|
||||
version: 0.2.1
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
lit:
|
||||
specifier: ^2.8.0
|
||||
|
@ -197,7 +197,7 @@ importers:
|
|||
specifier: ^3.0.4
|
||||
version: link:../../packages/integrations/vue
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.17.1
|
||||
|
@ -227,7 +227,7 @@ importers:
|
|||
specifier: ^1.2.1
|
||||
version: 1.2.1(preact@10.18.1)
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.17.1
|
||||
|
@ -245,7 +245,7 @@ importers:
|
|||
specifier: ^18.2.7
|
||||
version: 18.2.14
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
react:
|
||||
specifier: ^18.2.0
|
||||
|
@ -260,7 +260,7 @@ importers:
|
|||
specifier: ^3.0.2
|
||||
version: link:../../packages/integrations/solid
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
solid-js:
|
||||
specifier: ^1.7.11
|
||||
|
@ -272,7 +272,7 @@ importers:
|
|||
specifier: ^4.0.4
|
||||
version: link:../../packages/integrations/svelte
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
svelte:
|
||||
specifier: ^4.2.0
|
||||
|
@ -284,7 +284,7 @@ importers:
|
|||
specifier: ^3.0.4
|
||||
version: link:../../packages/integrations/vue
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
vue:
|
||||
specifier: ^3.3.4
|
||||
|
@ -296,13 +296,13 @@ importers:
|
|||
specifier: ^6.0.4
|
||||
version: link:../../packages/integrations/node
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/integration:
|
||||
devDependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/middleware:
|
||||
|
@ -311,7 +311,7 @@ importers:
|
|||
specifier: ^6.0.4
|
||||
version: link:../../packages/integrations/node
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
html-minifier:
|
||||
specifier: ^4.0.0
|
||||
|
@ -320,19 +320,19 @@ importers:
|
|||
examples/minimal:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/non-html-pages:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/portfolio:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/ssr:
|
||||
|
@ -344,7 +344,7 @@ importers:
|
|||
specifier: ^4.0.4
|
||||
version: link:../../packages/integrations/svelte
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
svelte:
|
||||
specifier: ^4.2.0
|
||||
|
@ -359,7 +359,7 @@ importers:
|
|||
specifier: ^5.0.2
|
||||
version: link:../../packages/integrations/tailwind
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-markdoc:
|
||||
|
@ -368,7 +368,7 @@ importers:
|
|||
specifier: ^0.7.2
|
||||
version: link:../../packages/integrations/markdoc
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-markdown-plugins:
|
||||
|
@ -377,7 +377,7 @@ importers:
|
|||
specifier: ^3.5.0
|
||||
version: link:../../packages/markdown/remark
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
hast-util-select:
|
||||
specifier: ^5.0.5
|
||||
|
@ -398,7 +398,7 @@ importers:
|
|||
examples/with-markdown-shiki:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
|
||||
examples/with-mdx:
|
||||
|
@ -410,7 +410,7 @@ importers:
|
|||
specifier: ^3.0.1
|
||||
version: link:../../packages/integrations/preact
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
preact:
|
||||
specifier: ^10.17.1
|
||||
|
@ -425,7 +425,7 @@ importers:
|
|||
specifier: ^0.5.0
|
||||
version: 0.5.0(nanostores@0.9.4)(preact@10.18.1)
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
nanostores:
|
||||
specifier: ^0.9.3
|
||||
|
@ -446,7 +446,7 @@ importers:
|
|||
specifier: ^1.6.0
|
||||
version: 1.6.2
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
autoprefixer:
|
||||
specifier: ^10.4.15
|
||||
|
@ -464,7 +464,7 @@ importers:
|
|||
examples/with-vite-plugin-pwa:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
vite-plugin-pwa:
|
||||
specifier: 0.16.4
|
||||
|
@ -476,7 +476,7 @@ importers:
|
|||
examples/with-vitest:
|
||||
dependencies:
|
||||
astro:
|
||||
specifier: ^3.5.7
|
||||
specifier: ^3.6.0
|
||||
version: link:../../packages/astro
|
||||
vitest:
|
||||
specifier: ^0.34.2
|
||||
|
|
Loading…
Reference in a new issue