š Patch Changes
-
#13437
013fa87Thanks @Vardhaman619! - Handle server.allowedHosts when the value is true without attempting to push it into an array. -
#13324
ea74336Thanks @ematipico! - Upgrade to shiki v3 -
#13372
7783dbfThanks @ascorbic! - Fixes a bug that caused some very large data stores to save incomplete data. -
#13358
8c21663Thanks @ematipico! - Adds a new function calledinsertPageRouteto the Astro Container API.The new function is useful when testing routes that, for some business logic, use
Astro.rewrite.For example, if you have a route
/blog/postand for some business decision thereās a rewrite to/generic-error, the container API implementation will look like this:import Post from '../src/pages/Post.astro';import GenericError from '../src/pages/GenericError.astro';import { experimental_AstroContainer as AstroContainer } from 'astro/container';const container = await AstroContainer.create();container.insertPageRoute('/generic-error', GenericError);const result = await container.renderToString(Post);console.log(result); // this should print the response from GenericError.astroThis new method only works for page routes, which means that endpoints arenāt supported.
-
#13426
565583bThanks @ascorbic! - Fixes a bug that caused theastro addcommand to ignore the--yesflag for third-party integrations -
#13428
9cac9f3Thanks @matthewp! - Prevent bad value in x-forwarded-host from crashing request -
#13432
defad33Thanks @P4tt4te! - Fix an issue in the Container API, where therenderToStringfunction doesnāt render adequately nested slots when they are components. -
Updated dependencies [
ea74336]:- @astrojs/markdown-remark@6.3.1