diff options
Diffstat (limited to 'packages')
-rw-r--r-- | packages/astro/CHANGELOG.md | 63 | ||||
-rw-r--r-- | packages/astro/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/cloudflare/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/markdoc/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/mdx/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/node/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/svelte/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/tailwind/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/vercel/package.json | 2 | ||||
-rw-r--r-- | packages/integrations/vue/package.json | 2 |
10 files changed, 9 insertions, 72 deletions
diff --git a/packages/astro/CHANGELOG.md b/packages/astro/CHANGELOG.md index fc39bec07..cd95ba473 100644 --- a/packages/astro/CHANGELOG.md +++ b/packages/astro/CHANGELOG.md @@ -1,68 +1,5 @@ # astro -## 3.2.0 - -### Minor Changes - -- [#8672](https://github.com/withastro/astro/pull/8672) [`9b0114c7d`](https://github.com/withastro/astro/commit/9b0114c7d3f82914f4443c865ac38d5859fbbceb) Thanks [@delucis](https://github.com/delucis)! - Support adding integrations dynamically - - Astro integrations can now themselves dynamically add and configure additional integrations during set-up. This makes it possible for integration authors to bundle integrations more intelligently for their users. - - In the following example, a custom integration checks whether `@astrojs/sitemap` is already configured. If not, the integration adds Astro’s sitemap integration, passing any desired configuration options: - - ```ts - import sitemap from '@astrojs/sitemap'; - import type { AstroIntegration } from 'astro'; - - const MyIntegration = (): AstroIntegration => { - return { - name: 'my-integration', - - 'astro:config:setup': ({ config, updateConfig }) => { - // Look for sitemap in user-configured integrations. - const userSitemap = config.integrations.find( - ({ name }) => name === '@astrojs/sitemap' - ); - - if (!userSitemap) { - // If sitemap wasn’t found, add it. - updateConfig({ - integrations: [sitemap({ /* opts */ }], - }); - } - }, - }; - }; - ``` - -- [#8571](https://github.com/withastro/astro/pull/8571) [`63bc37f2b`](https://github.com/withastro/astro/commit/63bc37f2b60cf5b093018ae30a2ae3c51da7d22d) Thanks [@martrapp](https://github.com/martrapp)! - View transitions can now be triggered from JavaScript! - - Import the client-side router from "astro:transitions/client" and enjoy your new remote control for navigation: - - ```js - import { navigate } from 'astro:transitions/client'; - - // Navigate to the selected option automatically. - document.querySelector('select').onchange = (ev) => { - let href = ev.target.value; - navigate(href); - }; - ``` - -- [#8621](https://github.com/withastro/astro/pull/8621) [`e6be2d814`](https://github.com/withastro/astro/commit/e6be2d8146c3ada274cd3630e15cafc42ce80b2d) Thanks [@matthewp](https://github.com/matthewp)! - Route Announcer in `<ViewTransitions />` - - The View Transitions router now does route announcement. When transitioning between pages with a traditional MPA approach, assistive technologies will announce the page title when the page finishes loading. This does not automatically happen during client-side routing, so visitors relying on these technologies to announce routes are not aware when a page has changed. - - The view transitions route announcer runs after the `astro:page-load` event, looking for the page `<title>` to announce. If one cannot be found, the announcer falls back to the first `<h1>` it finds, or otherwise announces the pathname. We recommend you always include a `<title>` in each page for accessibility. - - See the [View Transitions docs](https://docs.astro.build/en/guides/view-transitions/) for more on how accessibility is handled. - -### Patch Changes - -- [#8678](https://github.com/withastro/astro/pull/8678) [`e8495c853`](https://github.com/withastro/astro/commit/e8495c853b0fad805173783b5260ab9fb9def2f0) Thanks [@bluwy](https://github.com/bluwy)! - Fix logLevel passed to Vite build - -- [#8666](https://github.com/withastro/astro/pull/8666) [`9fe4b9596`](https://github.com/withastro/astro/commit/9fe4b9596988dc8b498825eae266805daf4b435b) Thanks [@nolanlawson](https://github.com/nolanlawson)! - Fix NoImageMetadata image path error message - ## 3.1.4 ### Patch Changes diff --git a/packages/astro/package.json b/packages/astro/package.json index afa6a47d7..8eed917a3 100644 --- a/packages/astro/package.json +++ b/packages/astro/package.json @@ -1,6 +1,6 @@ { "name": "astro", - "version": "3.2.0", + "version": "3.1.4", "description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.", "type": "module", "author": "withastro", diff --git a/packages/integrations/cloudflare/package.json b/packages/integrations/cloudflare/package.json index 51b433849..88ff252d2 100644 --- a/packages/integrations/cloudflare/package.json +++ b/packages/integrations/cloudflare/package.json @@ -47,7 +47,7 @@ "vite": "^4.4.9" }, "peerDependencies": { - "astro": "workspace:^3.2.0" + "astro": "workspace:^3.1.4" }, "devDependencies": { "@types/iarna__toml": "^2.0.2", diff --git a/packages/integrations/markdoc/package.json b/packages/integrations/markdoc/package.json index 750b23557..bceb28282 100644 --- a/packages/integrations/markdoc/package.json +++ b/packages/integrations/markdoc/package.json @@ -75,7 +75,7 @@ "zod": "3.21.1" }, "peerDependencies": { - "astro": "workspace:^3.2.0" + "astro": "workspace:^3.1.4" }, "devDependencies": { "@astrojs/markdown-remark": "workspace:*", diff --git a/packages/integrations/mdx/package.json b/packages/integrations/mdx/package.json index 65f3b3d5b..379548989 100644 --- a/packages/integrations/mdx/package.json +++ b/packages/integrations/mdx/package.json @@ -51,7 +51,7 @@ "vfile": "^5.3.7" }, "peerDependencies": { - "astro": "workspace:^3.2.0" + "astro": "workspace:^3.1.4" }, "devDependencies": { "@types/chai": "^4.3.5", diff --git a/packages/integrations/node/package.json b/packages/integrations/node/package.json index bc46be914..a4b67961a 100644 --- a/packages/integrations/node/package.json +++ b/packages/integrations/node/package.json @@ -37,7 +37,7 @@ "server-destroy": "^1.0.1" }, "peerDependencies": { - "astro": "workspace:^3.2.0" + "astro": "workspace:^3.1.4" }, "devDependencies": { "@types/node": "^18.17.8", diff --git a/packages/integrations/svelte/package.json b/packages/integrations/svelte/package.json index 806b408af..c5c3ce9c9 100644 --- a/packages/integrations/svelte/package.json +++ b/packages/integrations/svelte/package.json @@ -48,7 +48,7 @@ "vite": "^4.4.9" }, "peerDependencies": { - "astro": "workspace:^3.2.0", + "astro": "workspace:^3.1.4", "svelte": "^3.55.0 || ^4.0.0" }, "engines": { diff --git a/packages/integrations/tailwind/package.json b/packages/integrations/tailwind/package.json index 521260431..cde6765e0 100644 --- a/packages/integrations/tailwind/package.json +++ b/packages/integrations/tailwind/package.json @@ -43,7 +43,7 @@ "vite": "^4.4.9" }, "peerDependencies": { - "astro": "workspace:^3.2.0", + "astro": "workspace:^3.1.4", "tailwindcss": "^3.0.24" } } diff --git a/packages/integrations/vercel/package.json b/packages/integrations/vercel/package.json index c9bb4a8b2..0c88e6e11 100644 --- a/packages/integrations/vercel/package.json +++ b/packages/integrations/vercel/package.json @@ -61,7 +61,7 @@ "web-vitals": "^3.4.0" }, "peerDependencies": { - "astro": "workspace:^3.2.0" + "astro": "workspace:^3.1.4" }, "devDependencies": { "@types/set-cookie-parser": "^2.4.3", diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 228b08a0b..1d662141e 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -56,7 +56,7 @@ "vue": "^3.3.4" }, "peerDependencies": { - "astro": "workspace:^3.2.0", + "astro": "workspace:^3.1.4", "vue": "^3.2.30" }, "engines": { |