AstroEco is Releasing…
Display your GitHub releases using astro-loader-github-releases

Patch Changes
- Log missing tokens as
warn
instead oferror
. (0650a3d
)

Patch Changes
- Log missing tokens as
warn
instead oferror
. (0650a3d
)
Patch Changes
-
#3021
e3f881e
Thanks @jsparkdev! - Updates Korean language support -
#3013
5b599dd
Thanks @oluwatobiss! - Adds Substack icon to social links list

Patch Changes
-
#13510
5b14d33
Thanks @florian-lefebvre! - Fixes a case whereastro:env
secrets used in actions would not be available -
#13485
018fbe9
Thanks @ascorbic! - Fixes a bug that caused cookies to ignore custom decode function if has() had been called before -
#13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest. -
#13483
fc2dcb8
Thanks @ematipico! - Fixes a bug where an Astro adapter couldn't call the middleware when there isn't a route that matches the incoming request.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
-
#13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest. -
Updated dependencies []:
- @astrojs/underscore-redirects@0.6.0

Patch Changes
-
#13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest. -
Updated dependencies []:
- @astrojs/underscore-redirects@0.6.0

Patch Changes
- #13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest.

Patch Changes
-
#13505
a98ae5b
Thanks @ematipico! - Updates the dependencyvite
to the latest. -
Updated dependencies [
a98ae5b
]:- @astrojs/studio@0.1.5

Patch Changes
-
#13457
968e713
Thanks @ascorbic! - Sets correct response status text for custom error pages -
#13447
d80ba2b
Thanks @ematipico! - Fixes an issue wheresite
was added to the generated redirects. -
#13481
e9e9245
Thanks @martrapp! - Makes server island work with the client router again. -
#13484
8b5e4dc
Thanks @ascorbic! - Display useful errors when config loading fails because of Node addons being disabled on Stackblitz


Minor Changes
-
#13444
9721f4a
Thanks @florian-lefebvre! - Adds globalastro:env
supportCloudflare workers now support importing
env
in the global scope. Until now, callingastro:env
APIs had to be done within request scope or the values wereundefined
.With this release, they can be called anywhere server-side, like any other official adapter.
Patch Changes



Patch Changes
- #2991
b8a4800
Thanks @florian-lefebvre! - Adds support for@astrojs/tailwind
v6

Patch Changes
-
#13437
013fa87
Thanks @Vardhaman619! - Handle server.allowedHosts when the value is true without attempting to push it into an array. -
#13324
ea74336
Thanks @ematipico! - Upgrade to shiki v3 -
#13372
7783dbf
Thanks @ascorbic! - Fixes a bug that caused some very large data stores to save incomplete data. -
#13358
8c21663
Thanks @ematipico! - Adds a new function calledinsertPageRoute
to 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/post
and 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.astro
This new method only works for page routes, which means that endpoints aren't supported.
-
#13426
565583b
Thanks @ascorbic! - Fixes a bug that caused theastro add
command to ignore the--yes
flag for third-party integrations -
#13428
9cac9f3
Thanks @matthewp! - Prevent bad value in x-forwarded-host from crashing request -
#13432
defad33
Thanks @P4tt4te! - Fix an issue in the Container API, where therenderToString
function doesn't render adequately nested slots when they are components. -
Updated dependencies [
ea74336
]:- @astrojs/markdown-remark@6.3.1
Patch Changes
-
#2955
77b6a41
Thanks @trueberryless! - Adds 5 new icons:figma
,sketch
,vim
,vscode
, andzed
. -
#2961
da57fab
Thanks @ematipico! - Adds 1 new icon:jetbrains
.

Minor Changes (bc7ccc0
)
- Consolidate consecutive newlines (
\n
) to single<br/ >\n
- Rename
urlTextType
option 'display-url' to 'post-text' - Fix schema for optional
description
inUserV2Schema

Patch Changes
-
#13415
be866a1
Thanks @ascorbic! - Reuses experimental session storage object between requests. This prevents memory leaks and improves performance for drivers that open persistent connections to a database. -
#13420
2f039b9
Thanks @ematipico! - It fixes an issue that caused some regressions in how styles are bundled.


Minor Changes
-
#13352
cb886dc
Thanks @delucis! - Adds support for a newexperimental.headingIdCompat
flagBy default, Astro removes a trailing
-
from the end of IDs it generates for headings ending with
special characters. This differs from the behavior of common Markdown processors.You can now disable this behavior with a new configuration flag:
// astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ experimental: { headingIdCompat: true, }, });
This can be useful when heading IDs and anchor links need to behave consistently across your site
and other platforms such as GitHub and npm.If you are using the
rehypeHeadingIds
plugin directly, you can also pass this new option:// astro.config.mjs import { defineConfig } from 'astro/config'; import { rehypeHeadingIds } from '@astrojs/markdown-remark'; import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source'; export default defineConfig({ markdown: { rehypePlugins: [ [rehypeHeadingIds, { experimentalHeadingIdCompat: true }], otherPluginThatReliesOnHeadingIDs, ], }, });
-
#13311
a3327ff
Thanks @chrisirhc! - Adds a new configuration option for Markdown syntax highlightingexcludeLangs
This option provides better support for diagramming tools that rely on Markdown code blocks, such as Mermaid.js and D2 by allowing you to exclude specific languages from Astro's default syntax highlighting.
This option allows you to avoid rendering conflicts with tools that depend on the code not being highlighted without forcing you to disable syntax highlighting for other code blocks.
The following example configuration will exclude highlighting for
mermaid
andmath
code blocks:import { defineConfig } from 'astro/config'; export default defineConfig({ markdown: { syntaxHighlight: { type: 'shiki', excludeLangs: ['mermaid', 'math'], }, }, });
Read more about this new option in the Markdown syntax highlighting configuration docs.

Minor Changes
-
#13352
cb886dc
Thanks @delucis! - Adds support for a newexperimental.headingIdCompat
flagBy default, Astro removes a trailing
-
from the end of IDs it generates for headings ending with
special characters. This differs from the behavior of common Markdown processors.You can now disable this behavior with a new configuration flag:
// astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ experimental: { headingIdCompat: true, }, });
This can be useful when heading IDs and anchor links need to behave consistently across your site
and other platforms such as GitHub and npm.If you are using the
rehypeHeadingIds
plugin directly, you can also pass this new option:// astro.config.mjs import { defineConfig } from 'astro/config'; import { rehypeHeadingIds } from '@astrojs/markdown-remark'; import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source'; export default defineConfig({ markdown: { rehypePlugins: [ [rehypeHeadingIds, { experimentalHeadingIdCompat: true }], otherPluginThatReliesOnHeadingIDs, ], }, });
Patch Changes

Minor Changes
-
#13352
cb886dc
Thanks @delucis! - Adds support for a newexperimental.headingIdCompat
flagBy default, Astro removes a trailing
-
from the end of IDs it generates for headings ending with
special characters. This differs from the behavior of common Markdown processors.You can now disable this behavior with a new configuration flag:
// astro.config.mjs import { defineConfig } from 'astro/config'; export default defineConfig({ experimental: { headingIdCompat: true, }, });
This can be useful when heading IDs and anchor links need to behave consistently across your site
and other platforms such as GitHub and npm.If you are using the
rehypeHeadingIds
plugin directly, you can also pass this new option:// astro.config.mjs import { defineConfig } from 'astro/config'; import { rehypeHeadingIds } from '@astrojs/markdown-remark'; import { otherPluginThatReliesOnHeadingIDs } from 'some/plugin/source'; export default defineConfig({ markdown: { rehypePlugins: [ [rehypeHeadingIds, { experimentalHeadingIdCompat: true }], otherPluginThatReliesOnHeadingIDs, ], }, });
Patch Changes



Patch Changes
- Updated dependencies [
042d1de
]:- @astrojs/internal-helpers@0.6.1

Patch Changes
- Updated dependencies [
042d1de
]:- @astrojs/internal-helpers@0.6.1

Patch Changes
- #13355
042d1de
Thanks @ematipico! - Adds documentation to the assets utilities for remote service images.

Patch Changes
- Updated dependencies [
042d1de
]:- @astrojs/internal-helpers@0.6.1
- @astrojs/underscore-redirects@0.6.0

Patch Changes
- Updated dependencies [
042d1de
]:- @astrojs/internal-helpers@0.6.1

Patch Changes
- Updated dependencies [
042d1de
]:- @astrojs/internal-helpers@0.6.1
- @astrojs/markdown-remark@6.2.1

Patch Changes
- Updated dependencies []:
- @astrojs/markdown-remark@6.2.1

Patch Changes
- Updated dependencies [
042d1de
]:- @astrojs/internal-helpers@0.6.1
- @astrojs/underscore-redirects@0.6.0


Patch Changes
-
#13343
a001a75
Thanks @dreyfus92! - Fix Astro DB seed failing when project path contains spaces. This resolves by properly decoding URL pathnames that contain encoded spaces (%20) before passing them to Vite's ssrLoadModule. -
Updated dependencies []:
- @astrojs/studio@0.1.4

Patch Changes
-
#13109
5c0e0ea
Thanks @arnottferels! - Adds support forconfig.lib
, which allows changing the destination of the files:export default defineConfig({ integrations: [partytown({ config: { + lib: '/assets/lib/~partytown/'; } })] })
Minor Changes
-
#2931
10b93b3
Thanks @HiDeoo! - Adds support for thetitle
,frame
, andmeta
fence attributes to code blocks.These new optional attributes add support for Expressive Code text & line markers. The following example renders a code block using a terminal frame with a title:
```js {% title="editor.exe" frame="terminal" %} console.log('Hello, world!'); ```
Any other text or line markers should be specified using the
meta
fence attribute. For example, the following code block renders a code block using thediff
syntax combined with thejs
language syntax highlighting and themarkers
text highlighted:```diff {% meta="lang=js 'markers'" %} function thisIsJavaScript() { // This entire block gets highlighted as JavaScript, // and we can still add diff markers to it! - console.log('Old code to be removed') + console.log('New and shiny code!') } ```
To learn more about all the available options, check out the Expressive Code documentation.

Minor Changes
- #13330
5e7646e
Thanks @ematipico! - Adds the ability to identifybun
as the preferred package manager.

🚀 Features
- page: Add
/highlights
page to show creative work or curated posts - by @lin-stephanie in #20 (352ae) - Support dynamic import of local images in
CardItem
andSwiperCarousel
- by @lin-stephanie (bb327)
🐞 Bug Fixes
- Convert formatted date based on
SITE.lang
- by @lin-stephanie (c5cfa)
🏡 Chore
- Fine-tune coding - by @lin-stephanie (81219)
- Update docs:
/highlights
Page & Choosing a Math Rendering Engine - by @lin-stephanie and @y-cg (0ac83) - Update deps - by @lin-stephanie (2f4a8)
View changes on GitHub
Patch Changes
-
#2926
c0170fd
Thanks @resoltico! - Adds Latvian language support -
#2918
790c000
Thanks @HiDeoo! - Fixes a trailing slash inconsistency in generated sidebar links when using thetrailingSlash: 'ignore'
Astro option (the default) between internal and auto-generated links. Starlight behavior for this configuration value is to use a trailing slash as many common hosting providers redirect to URLs with a trailing slash by default.

Patch Changes
-
#13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
. -
Updated dependencies [
1e11f5e
]:- @astrojs/internal-helpers@0.6.0
- @astrojs/underscore-redirects@0.6.0

Minor Changes
-
#13254
1e11f5e
Thanks @p0lyw0lf! - Adds remote image optimization in MarkdownPreviously, an internal remark plugin only looked for images in
![]()
syntax that referred to a relative file path. This meant that only local images stored insrc/
were passed through to an internal rehype plugin that would transform them for later processing by Astro's image service.Now, the plugins recognize and transform both local and remote images using this syntax. Only authorized remote images specified in your config are transformed; remote images from other sources will not be processed.
While not configurable at this time, this process outputs two separate metadata fields (
localImagePaths
andremoteImagePaths
) which allow for the possibility of controlling the behavior of each type of image separately in the future.
Patch Changes
- Updated dependencies [
1e11f5e
]:- @astrojs/internal-helpers@0.6.0

Minor Changes
-
#13211
7ea0aba
Thanks @slawekkolodziej! - Adds support for regular expressions in ISR exclude listPreviously, excluding a page from ISR required explicitly listing it in
isr.exclude
. As websites grew larger, maintaining this list became increasingly difficult, especially for multiple API routes and pages that needed server-side rendering.To address this, ISR exclusions now support regular expressions, allowing for more flexible and scalable configurations.
// astro.config.mjs import vercel from '@astrojs/vercel/serverless'; export default defineConfig({ output: 'server', adapter: vercel({ isr: { exclude: [ '/preview', // Excludes a specific route (e.g., pages/preview.astro) '/auth/[page]', // Excludes a dynamic route (e.g., pages/auth/[page].astro) /^\/api\/.+/, // Excludes all routes starting with /api/ ], }, }), });
Patch Changes
-
#13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
. -
Updated dependencies [
1e11f5e
]:- @astrojs/internal-helpers@0.6.0

Patch Changes
- #13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
.


Patch Changes
- #13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
.

Patch Changes
- #13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
.

Patch Changes
- Updated dependencies [
1e11f5e
]:- @astrojs/internal-helpers@0.6.0

Patch Changes
- #13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
.

Minor Changes
-
#13254
1e11f5e
Thanks @p0lyw0lf! - Adds the ability to process and optimize remote images in Markdown syntax in MDX files.Previously, Astro only allowed local images to be optimized when included using
![]()
syntax. Astro's image service could only display remote images without any processing.Now, Astro's image service can also optimize remote images written in standard Markdown syntax. This allows you to enjoy the benefits of Astro's image processing when your images are stored externally, for example in a CMS or digital asset manager.
No additional configuration is required to use this feature! Any existing remote images written in Markdown will now automatically be optimized. To opt-out of this processing, write your images in Markdown using the JSX
<img/>
tag instead. Note that images located in yourpublic/
folder are still never processed.
Patch Changes
- Updated dependencies [
1e11f5e
]:- @astrojs/markdown-remark@6.2.0

Patch Changes
-
#13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
. -
Updated dependencies [
1e11f5e
]:- @astrojs/internal-helpers@0.6.0
- @astrojs/underscore-redirects@0.6.0

Patch Changes
-
#13323
80926fa
Thanks @ematipico! - Updatesesbuild
andvite
to the latest to avoid false positives audits warnings caused byesbuild
. -
Updated dependencies [
1e11f5e
,1e11f5e
]:- @astrojs/internal-helpers@0.6.0
- @astrojs/markdown-remark@6.2.0



Patch Changes
- #13251
3842ce5
Thanks @florian-lefebvre! - Fixes a case where the compiler could not be resolved automatically

Patch Changes
- #13190
c6bf6b3
Thanks @lee-arnold! - Fixes the image endpoint entrypoint


Patch Changes
-
#13304
6efd57d
Thanks @ematipico! - Fixes a small issue where the package was pulling an outdated version of its internal dependencies. -
#13201
065157c
Thanks @ekwoka! - Includes onerror passthrough param for Cloudflare Image Service -
#13299
2e1321e
Thanks @bluwy! - Usestinyglobby
for globbing files -
Updated dependencies []:
- @astrojs/underscore-redirects@0.6.0


Major Changes (153a8da
)
- Update Configuration Structure
- Renamed
loadMode
tomode
- Removed
modeConfig
; options are now configured per mode directly
- Renamed
- In
repoList
mode, whenentryReturnType: 'byRepository'
, renamedrepoReleases
in the entry Zod schema toreleases
- Add
clearStore
option to control whether to clear store before saving new data

Minor Changes
- Add
clearStore
option to control whether to clear store before saving new data (d03abe0
)

Minor Changes (2140c1c
)
- Support
uris
for direct Bluesky post URLs - Skip if
uris
unchanged, unlesssrc/content/config.ts
orsrc/content.config.ts
changes - Rename the
linkTextType
option value from'display-url'
to'post-text'
- Update the
link
field to usedid
instead ofhandle
within the post URL string - Update the entry Zod schema

Minor Changes
-
#13145
8d4e566
Thanks @ascorbic! - Automatically configures filesystem storage when experimental session enabledIf the
experimental.session
flag is enabled when using the Node adapter, Astro will automatically configure session storage using the filesystem driver. You can still manually configure session storage if you need to use a different driver or want to customize the session storage configuration.See the experimental session docs for more information on configuring session storage.

Minor Changes
-
#13194
1b5037b
Thanks @dfdez! - AddsincludedFiles
andexcludedFiles
configuration options to customize SSR function bundle contents.The
includeFiles
property allows you to explicitly specify additional files that should be bundled with your function. This is useful for files that aren't automatically detected as dependencies, such as:- Data files loaded using
fs
operations - Configuration files
- Template files
Similarly, you can use the
excludeFiles
property to prevent specific files from being bundled that would otherwise be included. This is helpful for:- Reducing bundle size
- Excluding large binaries
- Preventing unwanted files from being deployed
import { defineConfig } from 'astro/config'; import netlify from '@astrojs/netlify'; export default defineConfig({ // ... output: 'server', adapter: netlify({ includeFiles: ['./my-data.json'], excludeFiles: ['./node_modules/package/**/*', './src/**/*.test.js'], }), });
See the Netlify adapter documentation for detailed usage instructions and examples.
- Data files loaded using
-
#13145
8d4e566
Thanks @ascorbic! - Automatically configures Netlify Blobs storage when experimental session enabledIf the
experimental.session
flag is enabled when using the Netlify adapter, Astro will automatically configure the session storage using the Netlify Blobs driver. You can still manually configure the session storage if you need to use a different driver or want to customize the session storage configuration.See the experimental session docs for more information on configuring session storage.
Patch Changes
- Updated dependencies []:
- @astrojs/underscore-redirects@0.6.0


Minor Changes (6f5e32e
)
- Support retrieving post URL (
link
) and rendered HTML (html
) whenfetchThread: false
orfetchThread: true
+fetchOnlyAuthorReplies: true
- Export
renderPostAsHtml
andgetPostLink
- Batch process
GET /xrpc/app.bsky.feed.getPosts
to avoid exceeding 25 URIs per request - Update docs



Patch Changes
- Updated dependencies [
b71bd10
]:- @astrojs/internal-helpers@0.5.1

Minor Changes
-
#12850
db252e0
Thanks @colinbate! - Adds support for TOML frontmatter in.md
and.mdx
filesAstro 5.2 automatically identifies the format of your Markdown and MDX frontmatter based on the delimiter used. With
+++
as a delimiter (instead of the---
YAML code fence), your frontmatter will automatically be recognized and parsed as TOML.This is useful for adding existing content files with TOML frontmatter to your project from another framework such as Hugo.
TOML frontmatter can also be used with content collections, and files with different frontmatter languages can live together in the same project.
No configuration is required to use TOML frontmatter in your content files. Your delimiter will indicate your chosen frontmatter language:
+++ date = 2025-01-30 title = 'Use TOML frontmatter in Astro!' [author] name = 'Colin Bate' +++ # Support for TOML frontmatter is here!

Major Changes
-
#13049
2ed4bd9
Thanks @florian-lefebvre! - Deprecates the integrationTailwind CSS now offers a Vite plugin which is the preferred way to use Tailwind 4 in Astro. Please uninstall
@astrojs/tailwind
and follow the Tailwind documentation for manual installation.This updated major version is only provided as a convenience for existing projects until they are able to migrate to the new plugin. It offers no additional functionality and is no longer recommended, but may continue to be used in your projects until it is removed entirely.


Patch Changes
- Updated dependencies [
db252e0
]:- @astrojs/markdown-remark@6.1.0
Minor Changes
-
#2822
e56586a
Thanks @KianNH! - Adds a newclientOptionsModule
plugin option to support configuring unserializable DocSearch options such asresultsFooterComponent()
.See “DocSearch configuration” in the Starlight docs for more details.

Minor Changes
-
#13036
3c90d8f
Thanks @artmsilva! - Adds experimental support for disabling streamingThis is useful to support libraries that are not compatible with streaming such as some CSS-in-JS libraries. To disable streaming for all React components in your project, set
experimentalDisableStreaming: true
as a configuration option for@astrojs/react
:// astro.config.mjs import { defineConfig } from 'astro/config'; import react from '@astrojs/react'; export default defineConfig({ integrations: [ react({ + experimentalDisableStreaming: true, }), ], });

🚀 Features
- Improve icon resolution in
:link
directive - by @y-cg in #18 (8ea2a) - custom: Add
UI.externalLink
option to customize external link behavior - by @lin-stephanie in #15 (c1e12) - mobile: Support disable panel with
Escape
key & optimize backdrop handling - by @lin-stephanie (923b0) - share: Add configuration to support sharing posts to Bluesky - by @lin-stephanie (a3a12)
- toc: Auto-highlight TOC item based on browsing position - by @lin-stephanie in #13 (6eb53)
🐞 Bug Fixes
- Remove
rehype-raw
as it causes some functionalities ofastro-expressive-code
integration to fail - by @lin-stephanie in #15 (73963)
💅 Refactors
- Switch to mobile style at widths < 1128px instead of 1024px - by @lin-stephanie (14d4f)
🏡 Chore
- Update docs - by @lin-stephanie (6757d)
- Set external links to open in same tab & remove unused styles and minor tweaks - by @lin-stephanie (3816e)
- Update deps & update docs - by @lin-stephanie (b6387)
View changes on GitHub







Patch Changes




Patch Changes
- #12361
3d89e62
Thanks @LunaticMuch! - Upgrades theesbuild
version to matchvite

Patch Changes
- #12887
ea603ae
Thanks @louisescher! - Adds a warning message when multiple JSX-based UI frameworks are being used without either theinclude
orexclude
property being set on the integration.

Patch Changes
- #12887
ea603ae
Thanks @louisescher! - Adds a warning message when multiple JSX-based UI frameworks are being used without either theinclude
orexclude
property being set on the integration.

Patch Changes
- #12887
ea603ae
Thanks @louisescher! - Adds a warning message when multiple JSX-based UI frameworks are being used without either theinclude
orexclude
property being set on the integration.



Minor Changes
-
#12924
3caa337
Thanks @florian-lefebvre! - Updates how the output is determined increateRedirectsFromAstroRoutes
. Sincev0.5.0
, the output would use thebuildOutput
property andconfig.output
as a fallback. It no longer uses this fallback. -
#12924
3caa337
Thanks @florian-lefebvre! - Updates the input requirements ofcreateRedirectsFromAstroRoutes
:routeToDynamicTargetMap
keys areIntegrationResolvedRoute
instead ofIntegrationRouteData
(obtained from theastro:routes:resolved
hook)- There's a new
assets
property, that can be obtained from theastro:build:done
hook
function myIntegration() { let routes; let buildOutput; let config; return { name: 'my-integration', hooks: { 'astro:routes:resolved': (params) => { routes = params.routes; }, 'astro:config:done': (params) => { buildOutput = params.buildOutput; config = params.config; }, 'astro:build:done': (params) => { const redirects = createRedirectsFromAstroRoutes({ config, buildOutput, routeToDynamicTargetMap: new Map(routes.map((route) => [route, ''])), dir: params.dir, assets: params.assets, }); }, }, }; }

Patch Changes
- #12904
7fdbd43
Thanks @florian-lefebvre! - Fixes the type offorce

Minor Changes
- #12768
524c855
Thanks @ematipico! - Adds a newbuildOutput
property to the APIcreateRedirectsFromAstroRoutes



Patch Changes
- #12829
ebe2aa9
Thanks @SapphicMoe! - Revert incorrect Content-Type header applied for RSS XML file

Last fetched: | Scheduled refresh: Every Saturday
See Customizing GitHub Activity Pages to configure your own
Inspired by releases.antfu.me