diff options
author | 2024-10-07 15:52:21 +0200 | |
---|---|---|
committer | 2024-10-07 15:52:21 +0200 | |
commit | b75758f88389ff77072719e8e35604a5d2e9ad70 (patch) | |
tree | 33902612f5f4a2a5bf67195a00e1aeddc678f509 /packages/integrations/vue | |
parent | dcc1e895abbad1311719803363c933541c0ad984 (diff) | |
parent | 46cbf10c4baf0218f83aa741863e044374ea64d1 (diff) | |
download | astro-b75758f88389ff77072719e8e35604a5d2e9ad70.tar.gz astro-b75758f88389ff77072719e8e35604a5d2e9ad70.tar.zst astro-b75758f88389ff77072719e8e35604a5d2e9ad70.zip |
Merge branch 'main' into next
Diffstat (limited to 'packages/integrations/vue')
6 files changed, 14 insertions, 6 deletions
diff --git a/packages/integrations/vue/CHANGELOG.md b/packages/integrations/vue/CHANGELOG.md index 1c1468b9b..65921980e 100644 --- a/packages/integrations/vue/CHANGELOG.md +++ b/packages/integrations/vue/CHANGELOG.md @@ -13,6 +13,14 @@ - Updated dependencies [[`b6fbdaa`](https://github.com/withastro/astro/commit/b6fbdaa94a9ecec706a99e1938fbf5cd028c72e0), [`89bab1e`](https://github.com/withastro/astro/commit/89bab1e70786123fbe933a9d7a1b80c9334dcc5f), [`d74617c`](https://github.com/withastro/astro/commit/d74617cbd3278feba05909ec83db2d73d57a153e), [`e90f559`](https://github.com/withastro/astro/commit/e90f5593d23043579611452a84b9e18ad2407ef9), [`2df49a6`](https://github.com/withastro/astro/commit/2df49a6fb4f6d92fe45f7429430abe63defeacd6), [`8a53517`](https://github.com/withastro/astro/commit/8a5351737d6a14fc55f1dafad8f3b04079e81af6)]: - astro@5.0.0-alpha.0 +## 4.5.2 + +### Patch Changes + +- [#12112](https://github.com/withastro/astro/pull/12112) [`f9dd942`](https://github.com/withastro/astro/commit/f9dd9428c6cd1c9d23488ea4645f186b4a4ad4b2) Thanks [@florian-lefebvre](https://github.com/florian-lefebvre)! - Fixes a case where IDs generated by `useId()` (introduced in Vue 3.5) would not be unique between islands + +- [#12116](https://github.com/withastro/astro/pull/12116) [`af8401e`](https://github.com/withastro/astro/commit/af8401ebf9e5cbe94ded0d0f745ed1e3ec6f6d8a) Thanks [@sammibajrami](https://github.com/sammibajrami)! - Fixes an Reference Error that occurred during client transitions + ## 4.5.1 ### Patch Changes diff --git a/packages/integrations/vue/client.js b/packages/integrations/vue/client.js index b3935752c..4ec2b9e68 100644 --- a/packages/integrations/vue/client.js +++ b/packages/integrations/vue/client.js @@ -44,12 +44,12 @@ export default (element) => await setup(app); app.mount(element, isHydrate); appMap.set(element, appInstance); + element.addEventListener('astro:unmount', () => app.unmount(), { once: true }); } else { appInstance.props = props; appInstance.slots = slots; appInstance.component.$forceUpdate(); } - element.addEventListener('astro:unmount', () => app.unmount(), { once: true }); }; function isAsync(fn) { diff --git a/packages/integrations/vue/package.json b/packages/integrations/vue/package.json index 1e0154df2..0a3c5918d 100644 --- a/packages/integrations/vue/package.json +++ b/packages/integrations/vue/package.json @@ -47,7 +47,7 @@ "dependencies": { "@vitejs/plugin-vue": "^5.1.4", "@vitejs/plugin-vue-jsx": "^4.0.1", - "@vue/compiler-sfc": "^3.5.10", + "@vue/compiler-sfc": "^3.5.11", "vite-plugin-vue-devtools": "^7.4.6" }, "devDependencies": { @@ -56,7 +56,7 @@ "cheerio": "1.0.0", "linkedom": "^0.18.5", "vite": "6.0.0-beta.2", - "vue": "^3.5.10" + "vue": "^3.5.11" }, "peerDependencies": { "astro": "^5.0.0-alpha.0", diff --git a/packages/integrations/vue/test/fixtures/app-entrypoint-async/package.json b/packages/integrations/vue/test/fixtures/app-entrypoint-async/package.json index f166907b3..c27920c70 100644 --- a/packages/integrations/vue/test/fixtures/app-entrypoint-async/package.json +++ b/packages/integrations/vue/test/fixtures/app-entrypoint-async/package.json @@ -6,6 +6,6 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "vite-svg-loader": "5.1.0", - "vue": "^3.5.10" + "vue": "^3.5.11" } }
\ No newline at end of file diff --git a/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/package.json b/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/package.json index 32eb83ceb..3f14e0b46 100644 --- a/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/package.json +++ b/packages/integrations/vue/test/fixtures/app-entrypoint-no-export-default/package.json @@ -9,6 +9,6 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "vite-svg-loader": "5.1.0", - "vue": "^3.5.10" + "vue": "^3.5.11" } } diff --git a/packages/integrations/vue/test/fixtures/app-entrypoint/package.json b/packages/integrations/vue/test/fixtures/app-entrypoint/package.json index 10abba599..3baf82f97 100644 --- a/packages/integrations/vue/test/fixtures/app-entrypoint/package.json +++ b/packages/integrations/vue/test/fixtures/app-entrypoint/package.json @@ -6,6 +6,6 @@ "@astrojs/vue": "workspace:*", "astro": "workspace:*", "vite-svg-loader": "5.1.0", - "vue": "^3.5.10" + "vue": "^3.5.11" } }
\ No newline at end of file |