|
1 | 1 | # astro
|
2 | 2 |
|
| 3 | +## 5.5.3 |
| 4 | + |
| 5 | +### Patch Changes |
| 6 | + |
| 7 | +- [#13448](https://github.com/withastro/astro/pull/13448) [`91c9503`](https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@ematipico](https://github.com/ematipico)! - Upgrade to shiki v3 |
| 8 | + |
| 9 | +- [#13448](https://github.com/withastro/astro/pull/13448) [`91c9503`](https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@ematipico](https://github.com/ematipico)! - Handle `server.allowedHosts` when the value is true without attempting to push it into an array. |
| 10 | + |
| 11 | +- [#13448](https://github.com/withastro/astro/pull/13448) [`91c9503`](https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug that caused some very large data stores to save incomplete data. |
| 12 | + |
| 13 | +- [#13448](https://github.com/withastro/astro/pull/13448) [`91c9503`](https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@ematipico](https://github.com/ematipico)! - Adds a new function called `insertPageRoute` to the Astro Container API. |
| 14 | + |
| 15 | + The new function is useful when testing routes that, for some business logic, use `Astro.rewrite`. |
| 16 | + |
| 17 | + For example, if you have a route `/blog/post` and for some business decision there's a rewrite to `/generic-error`, the container API implementation will look like this: |
| 18 | + |
| 19 | + ```js |
| 20 | + import Post from '../src/pages/Post.astro'; |
| 21 | + import GenericError from '../src/pages/GenericError.astro'; |
| 22 | + import { experimental_AstroContainer as AstroContainer } from 'astro/container'; |
| 23 | + |
| 24 | + const container = await AstroContainer.create(); |
| 25 | + container.insertPageRoute('/generic-error', GenericError); |
| 26 | + const result = await container.renderToString(Post); |
| 27 | + console.log(result); // this should print the response from GenericError.astro |
| 28 | + ``` |
| 29 | + |
| 30 | + This new method only works for page routes, which means that endpoints aren't supported. |
| 31 | + |
| 32 | +- [#13448](https://github.com/withastro/astro/pull/13448) [`91c9503`](https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@ematipico](https://github.com/ematipico)! - Fixes a bug that caused the `astro add` command to ignore the `--yes` flag for third-party integrations |
| 33 | + |
| 34 | +- [#13448](https://github.com/withastro/astro/pull/13448) [`91c9503`](https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@ematipico](https://github.com/ematipico)! - Prevent bad value in x-forwarded-host from crashing request |
| 35 | + |
| 36 | +- [#13448](https://github.com/withastro/astro/pull/13448) [`91c9503`](https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366) Thanks [@ematipico](https://github.com/ematipico)! - Fix an issue in the Container API, where the `renderToString` function doesn't render adequately nested slots when they are components. |
| 37 | + |
| 38 | +- Updated dependencies [[`91c9503`](https://github.com/withastro/astro/commit/91c95034e0d0bd450170623fd8aab4b56b5b1366)]: |
| 39 | + |
| 40 | + |
3 | 41 | ## 5.5.2
|
4 | 42 |
|
5 | 43 | ### Patch Changes
|
|
0 commit comments