withastro/astro (astro)
### [`v4.10.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4102)
[Compare Source](https://togithub.com/withastro/astro/compare/astro@4.10.1...astro@4.10.2)
##### Patch Changes
- [#11231](https://togithub.com/withastro/astro/pull/11231) [`58d7dbb`](https://togithub.com/withastro/astro/commit/58d7dbb5e0cabea1ac7a35af5b46685fce50d723) Thanks [@ematipico](https://togithub.com/ematipico)! - Fixes a regression for `getViteConfig`, where the inline config wasn't merged in the final config.
- [#11228](https://togithub.com/withastro/astro/pull/11228) [`1e293a1`](https://togithub.com/withastro/astro/commit/1e293a1b819024f16bfe482f272df0678cdd7874) Thanks [@ascorbic](https://togithub.com/ascorbic)! - Updates `getCollection()` to always return a cloned array
- [#11207](https://togithub.com/withastro/astro/pull/11207) [`7d9aac3`](https://togithub.com/withastro/astro/commit/7d9aac376c4b8844917901f7f566f7259d7f66c8) Thanks [@ematipico](https://togithub.com/ematipico)! - Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase.
- [#11189](https://togithub.com/withastro/astro/pull/11189) [`75a8fe7`](https://togithub.com/withastro/astro/commit/75a8fe7e72b95f20c36f034de2b51b6a9550e27e) Thanks [@ematipico](https://togithub.com/ematipico)! - Improve error message when using `getLocaleByPath` on path that doesn't contain any locales.
- [#11195](https://togithub.com/withastro/astro/pull/11195) [`0a6ab6f`](https://togithub.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds support for enums to `astro:env`
You can now call `envField.enum`:
```js
import { defineConfig, envField } from 'astro/config';
export default defineConfig({
experimental: {
env: {
schema: {
API_VERSION: envField.enum({
context: 'server',
access: 'secret',
values: ['v1', 'v2'],
}),
},
},
},
});
```
- [#11210](https://togithub.com/withastro/astro/pull/11210) [`66fc028`](https://togithub.com/withastro/astro/commit/66fc0283d3f1d1a4f17d7db65ca3521a01fb5bec) Thanks [@matthewp](https://togithub.com/matthewp)! - Close the iterator only after rendering is complete
- [#11195](https://togithub.com/withastro/astro/pull/11195) [`0a6ab6f`](https://togithub.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds additional validation options to `astro:env`
`astro:env` schema datatypes `string` and `number` now have new optional validation rules:
```js
import { defineConfig, envField } from 'astro/config';
export default defineConfig({
experimental: {
env: {
schema: {
FOO: envField.string({
// ...
max: 32,
min: 3,
length: 12,
url: true,
includes: 'foo',
startsWith: 'bar',
endsWith: 'baz',
}),
BAR: envField.number({
// ...
gt: 2,
min: 3,
lt: 10,
max: 9,
int: true,
}),
},
},
},
});
```
- [#11211](https://togithub.com/withastro/astro/pull/11211) [`97724da`](https://togithub.com/withastro/astro/commit/97724da93ed7b1db19632c0cdb4b3aab1ff84812) Thanks [@matthewp](https://togithub.com/matthewp)! - Let middleware handle the original request URL
- [#10607](https://togithub.com/withastro/astro/pull/10607) [`7327c6a`](https://togithub.com/withastro/astro/commit/7327c6acb197e1f2ea6cf94cfbc5700bc755f982) Thanks [@frankbits](https://togithub.com/frankbits)! - Fixes an issue where a leading slash created incorrect conflict resolution between pages generated from static routes and catch-all dynamic routes
pnpm/pnpm (pnpm)
### [`v9.3.0`](https://togithub.com/pnpm/pnpm/releases/tag/v9.3.0)
[Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.2.0...v9.3.0)
#### Minor Changes
- **Semi-breaking.** Dependency key names in the lockfile are shortened if they are longer than 1000 characters. We don't expect this change to affect many users. Affected users most probably can't run install successfully at the moment. This change is required to fix some edge cases in which installation fails with an out-of-memory error or "Invalid string length (RangeError: Invalid string length)" error. The max allowed length of the dependency key can be controlled with the `peers-suffix-max-length` setting [#8177](https://togithub.com/pnpm/pnpm/pull/8177).
#### Patch Changes
- Set `reporter-hide-prefix` to `true` by default for `pnpm exec`. In order to show prefix, the user now has to explicitly set `reporter-hide-prefix=false` [#8174](https://togithub.com/pnpm/pnpm/issues/8174).
#### Platinum Sponsors
This PR contains the following updates:
^4.10.1
->^4.10.2
9.2.0
->9.3.0
^3.3.1
->^3.3.2
Release Notes
withastro/astro (astro)
### [`v4.10.2`](https://togithub.com/withastro/astro/blob/HEAD/packages/astro/CHANGELOG.md#4102) [Compare Source](https://togithub.com/withastro/astro/compare/astro@4.10.1...astro@4.10.2) ##### Patch Changes - [#11231](https://togithub.com/withastro/astro/pull/11231) [`58d7dbb`](https://togithub.com/withastro/astro/commit/58d7dbb5e0cabea1ac7a35af5b46685fce50d723) Thanks [@ematipico](https://togithub.com/ematipico)! - Fixes a regression for `getViteConfig`, where the inline config wasn't merged in the final config. - [#11228](https://togithub.com/withastro/astro/pull/11228) [`1e293a1`](https://togithub.com/withastro/astro/commit/1e293a1b819024f16bfe482f272df0678cdd7874) Thanks [@ascorbic](https://togithub.com/ascorbic)! - Updates `getCollection()` to always return a cloned array - [#11207](https://togithub.com/withastro/astro/pull/11207) [`7d9aac3`](https://togithub.com/withastro/astro/commit/7d9aac376c4b8844917901f7f566f7259d7f66c8) Thanks [@ematipico](https://togithub.com/ematipico)! - Fixes an issue in the rewriting logic where old data was not purged during the rewrite flow. This caused some false positives when checking the validity of URL path names during the rendering phase. - [#11189](https://togithub.com/withastro/astro/pull/11189) [`75a8fe7`](https://togithub.com/withastro/astro/commit/75a8fe7e72b95f20c36f034de2b51b6a9550e27e) Thanks [@ematipico](https://togithub.com/ematipico)! - Improve error message when using `getLocaleByPath` on path that doesn't contain any locales. - [#11195](https://togithub.com/withastro/astro/pull/11195) [`0a6ab6f`](https://togithub.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds support for enums to `astro:env` You can now call `envField.enum`: ```js import { defineConfig, envField } from 'astro/config'; export default defineConfig({ experimental: { env: { schema: { API_VERSION: envField.enum({ context: 'server', access: 'secret', values: ['v1', 'v2'], }), }, }, }, }); ``` - [#11210](https://togithub.com/withastro/astro/pull/11210) [`66fc028`](https://togithub.com/withastro/astro/commit/66fc0283d3f1d1a4f17d7db65ca3521a01fb5bec) Thanks [@matthewp](https://togithub.com/matthewp)! - Close the iterator only after rendering is complete - [#11195](https://togithub.com/withastro/astro/pull/11195) [`0a6ab6f`](https://togithub.com/withastro/astro/commit/0a6ab6f562651b558ca90761feed5c07f54f2633) Thanks [@florian-lefebvre](https://togithub.com/florian-lefebvre)! - Adds additional validation options to `astro:env` `astro:env` schema datatypes `string` and `number` now have new optional validation rules: ```js import { defineConfig, envField } from 'astro/config'; export default defineConfig({ experimental: { env: { schema: { FOO: envField.string({ // ... max: 32, min: 3, length: 12, url: true, includes: 'foo', startsWith: 'bar', endsWith: 'baz', }), BAR: envField.number({ // ... gt: 2, min: 3, lt: 10, max: 9, int: true, }), }, }, }, }); ``` - [#11211](https://togithub.com/withastro/astro/pull/11211) [`97724da`](https://togithub.com/withastro/astro/commit/97724da93ed7b1db19632c0cdb4b3aab1ff84812) Thanks [@matthewp](https://togithub.com/matthewp)! - Let middleware handle the original request URL - [#10607](https://togithub.com/withastro/astro/pull/10607) [`7327c6a`](https://togithub.com/withastro/astro/commit/7327c6acb197e1f2ea6cf94cfbc5700bc755f982) Thanks [@frankbits](https://togithub.com/frankbits)! - Fixes an issue where a leading slash created incorrect conflict resolution between pages generated from static routes and catch-all dynamic routespnpm/pnpm (pnpm)
### [`v9.3.0`](https://togithub.com/pnpm/pnpm/releases/tag/v9.3.0) [Compare Source](https://togithub.com/pnpm/pnpm/compare/v9.2.0...v9.3.0) #### Minor Changes - **Semi-breaking.** Dependency key names in the lockfile are shortened if they are longer than 1000 characters. We don't expect this change to affect many users. Affected users most probably can't run install successfully at the moment. This change is required to fix some edge cases in which installation fails with an out-of-memory error or "Invalid string length (RangeError: Invalid string length)" error. The max allowed length of the dependency key can be controlled with the `peers-suffix-max-length` setting [#8177](https://togithub.com/pnpm/pnpm/pull/8177). #### Patch Changes - Set `reporter-hide-prefix` to `true` by default for `pnpm exec`. In order to show prefix, the user now has to explicitly set `reporter-hide-prefix=false` [#8174](https://togithub.com/pnpm/pnpm/issues/8174). #### Platinum Sponsorsprettier/prettier (prettier)
### [`v3.3.2`](https://togithub.com/prettier/prettier/blob/HEAD/CHANGELOG.md#332) [Compare Source](https://togithub.com/prettier/prettier/compare/3.3.1...3.3.2) [diff](https://togithub.com/prettier/prettier/compare/3.3.1...3.3.2) ##### Fix handlebars path expressions starts with `@` ([#16358](https://togithub.com/prettier/prettier/pull/16358) by [@Princeyadav05](https://togithub.com/Princeyadav05)) ```hbs {{! Input }}Configuration
📅 Schedule: Branch creation - "on Sunday" (UTC), 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.