withastro/astro (@astrojs/vercel)
### [`v7.6.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/vercel/CHANGELOG.md#760)
[Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/vercel@7.5.4...@astrojs/vercel@7.6.0)
##### Minor Changes
- [#10761](https://togithub.com/withastro/astro/pull/10761) [`f0acd30`](https://togithub.com/withastro/astro/commit/f0acd30a12c380830884108f7cad67a31d879339) Thanks [@ematipico](https://togithub.com/ematipico)! - Implements the vercel skew protection
withastro/astro (astro)
### [`v4.8.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#480)
[Compare Source](https://togithub.com/withastro/astro/compare/astro@4.7.1...astro@4.8.0)
##### Minor Changes
- [#10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@bluwy](https://togithub.com/bluwy)! - Exports `astro/jsx/rehype.js` with utilities to generate an Astro metadata object
- [#10625](https://togithub.com/withastro/astro/pull/10625) [`698c2d9`](https://togithub.com/withastro/astro/commit/698c2d9bb51e20b38de405b6076fd6488ddb5c2b) Thanks [@goulvenclech](https://togithub.com/goulvenclech)! - Adds the ability for multiple pages to use the same component as an `entrypoint` when building an Astro integration. This change is purely internal, and aligns the build process with the behaviour in the development server.
- [#10906](https://togithub.com/withastro/astro/pull/10906) [`7bbd664`](https://togithub.com/withastro/astro/commit/7bbd66459dd29a338ac1dfae0e4c984cb08f73b3) Thanks [@Princesseuh](https://togithub.com/Princesseuh)! - Adds a new radio checkbox component to the dev toolbar UI library (`astro-dev-toolbar-radio-checkbox`)
- [#10963](https://togithub.com/withastro/astro/pull/10963) [`61f47a6`](https://togithub.com/withastro/astro/commit/61f47a684235a049cbfc4f2cbb5edff3befeced7) Thanks [@delucis](https://togithub.com/delucis)! - Adds support for passing an inline Astro configuration object to `getViteConfig()`
If you are using `getViteConfig()` to configure the Vitest test runner, you can now pass a second argument to control how Astro is configured. This makes it possible to configure unit tests with different Astro options when using [Vitest’s workspaces](https://vitest.dev/guide/workspace.html) feature.
```js
// vitest.config.ts
import { getViteConfig } from 'astro/config';
export default getViteConfig(
/* Vite configuration */
{ test: {} },
/* Astro configuration */
{
site: 'https://example.com',
trailingSlash: 'never',
}
);
```
- [#10867](https://togithub.com/withastro/astro/pull/10867) [`47877a7`](https://togithub.com/withastro/astro/commit/47877a75404ccc8786bbea2171015fb088dc01a1) Thanks [@ematipico](https://togithub.com/ematipico)! - Adds experimental rewriting in Astro with a new `rewrite()` function and the middleware `next()` function.
The feature is available via an experimental flag in `astro.config.mjs`:
```js
export default defineConfig({
experimental: {
rewriting: true,
},
});
```
When enabled, you can use `rewrite()` to **render** another page without changing the URL of the browser in Astro pages and endpoints.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
7.5.4
->7.6.0
4.7.1
->4.8.0
Release Notes
withastro/astro (@astrojs/vercel)
### [`v7.6.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/integrations/vercel/CHANGELOG.md#760) [Compare Source](https://togithub.com/withastro/astro/compare/@astrojs/vercel@7.5.4...@astrojs/vercel@7.6.0) ##### Minor Changes - [#10761](https://togithub.com/withastro/astro/pull/10761) [`f0acd30`](https://togithub.com/withastro/astro/commit/f0acd30a12c380830884108f7cad67a31d879339) Thanks [@ematipico](https://togithub.com/ematipico)! - Implements the vercel skew protectionwithastro/astro (astro)
### [`v4.8.0`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#480) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.7.1...astro@4.8.0) ##### Minor Changes - [#10935](https://togithub.com/withastro/astro/pull/10935) [`ddd8e49`](https://togithub.com/withastro/astro/commit/ddd8e49d1a179bec82310fb471f822a1567a6610) Thanks [@bluwy](https://togithub.com/bluwy)! - Exports `astro/jsx/rehype.js` with utilities to generate an Astro metadata object - [#10625](https://togithub.com/withastro/astro/pull/10625) [`698c2d9`](https://togithub.com/withastro/astro/commit/698c2d9bb51e20b38de405b6076fd6488ddb5c2b) Thanks [@goulvenclech](https://togithub.com/goulvenclech)! - Adds the ability for multiple pages to use the same component as an `entrypoint` when building an Astro integration. This change is purely internal, and aligns the build process with the behaviour in the development server. - [#10906](https://togithub.com/withastro/astro/pull/10906) [`7bbd664`](https://togithub.com/withastro/astro/commit/7bbd66459dd29a338ac1dfae0e4c984cb08f73b3) Thanks [@Princesseuh](https://togithub.com/Princesseuh)! - Adds a new radio checkbox component to the dev toolbar UI library (`astro-dev-toolbar-radio-checkbox`) - [#10963](https://togithub.com/withastro/astro/pull/10963) [`61f47a6`](https://togithub.com/withastro/astro/commit/61f47a684235a049cbfc4f2cbb5edff3befeced7) Thanks [@delucis](https://togithub.com/delucis)! - Adds support for passing an inline Astro configuration object to `getViteConfig()` If you are using `getViteConfig()` to configure the Vitest test runner, you can now pass a second argument to control how Astro is configured. This makes it possible to configure unit tests with different Astro options when using [Vitest’s workspaces](https://vitest.dev/guide/workspace.html) feature. ```js // vitest.config.ts import { getViteConfig } from 'astro/config'; export default getViteConfig( /* Vite configuration */ { test: {} }, /* Astro configuration */ { site: 'https://example.com', trailingSlash: 'never', } ); ``` - [#10867](https://togithub.com/withastro/astro/pull/10867) [`47877a7`](https://togithub.com/withastro/astro/commit/47877a75404ccc8786bbea2171015fb088dc01a1) Thanks [@ematipico](https://togithub.com/ematipico)! - Adds experimental rewriting in Astro with a new `rewrite()` function and the middleware `next()` function. The feature is available via an experimental flag in `astro.config.mjs`: ```js export default defineConfig({ experimental: { rewriting: true, }, }); ``` When enabled, you can use `rewrite()` to **render** another page without changing the URL of the browser in Astro pages and endpoints.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Enabled.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.
This PR has been generated by Mend Renovate. View repository job log here.