astro@5.10.2
Patch Changes
-
#14000
3cbedae
Thanks @feelixe! - Fix routePattern JSDoc examples to show correct return values -
#13990
de6cfd6
Thanks @isVivek99! - Fixes a case whereastro:config/client
andastro:config/server
virtual modules would not contain config passed to integrationsupdateConfig()
during the build -
#14019
a160d1e
Thanks @ascorbic! - Removes the requirement to settype: 'live'
when defining experimental live content collectionsPreviously, live collections required a
type
andloader
configured. Now, Astro can determine that your collection is alive
collection without defining it explicitly.This means it is now safe to remove
type: 'live'
from your collections defined insrc/live.config.ts
:import { defineLiveCollection } from 'astro:content'; import { storeLoader } from '@mystore/astro-loader'; const products = defineLiveCollection({ - type: 'live', loader: storeLoader({ apiKey: process.env.STORE_API_KEY, endpoint: 'https://api.mystore.com/v1', }), }); export const collections = { products };
This is not a breaking change: your existing live collections will continue to work even if you still include
type: 'live'
. However, we suggest removing this line at your earliest convenience for future compatibility when the feature becomes stable and this config option may be removed entirely. -
#13966
598da21
Thanks @msamoylov! - Fixes a broken link on the default 404 page in development