@astrojs/vue@7.0.0

vectordotdev/vector@astrojs/vue@7.0.0Jun 22, 2026by astrobot-houston

AI Summary

This major release upgrades to Vite v8 and introduces a new container-renderer entrypoint to prevent bundlers from including unrelated exports. The update maintains backward compatibility while logging deprecation warnings for existing import paths.

Key Highlights

  • Upgrade to Vite v8
  • New container-renderer entrypoint for getContainerRenderer()
  • Backward compatibility with deprecation warnings
  • Prevents unnecessary bundling of exports

New Features

  • Import getContainerRenderer from '@astrojs/vue/container-renderer'
  • Backward compatible with old import path
  • Bundlers no longer include unrelated exports

Full Release Notes

### Major Changes

-   [#15819](https://github.com/withastro/astro/pull/15819) [`cafec4e`](https://github.com/withastro/astro/commit/cafec4e23365061491103dfce2e889a15cf86f27) Thanks [@delucis](https://github.com/delucis)! - Upgrade to Vite v8

### Minor Changes

-   [#17093](https://github.com/withastro/astro/pull/17093) [`4585fe5`](https://github.com/withastro/astro/commit/4585fe57dda06226058118f90a809f9e33d4b2af) Thanks [@Princesseuh](https://github.com/Princesseuh)! - Replaces the import entrypoint of `getContainerRenderer()`

    A new `container-renderer` entrypoint exporting `getContainerRenderer()` has been added to the following integrations: React, Preact, Svelte, SolidJS, Vue, and MDX. This prevents bundlers from trying to bundle unrelated exports from the package root when only the Container API is used.

    If you are using the Container API, update your import statements to use the new entrypoint. The following example updates the `getContainerRenderer()` import for React:

    ```diff
    - import { getContainerRenderer } from '@astrojs/react';
    + import { getContainerRenderer } from '@astrojs/react/container-renderer';
    ```

    Importing `getContainerRenderer()` from the package root still works, but is now deprecated and logs a warning.

### Patch Changes

-   [#17027](https://github.com/withastro/astro/pull/17027) [`241250b`](https://github.com/withastro/astro/commit/241250bf126f39c86a8aedd38df106e533301752) Thanks [@ocavue](https://github.com/ocavue)! - Triggers beta prereleases for packages that are still on alpha