Skip to content

Conversation

@Princesseuh
Copy link
Member

Description (required)

For withastro/astro#14932. The parser function can now be async, which is pretty neat if you want to fetch files every time you parse your .csv (maybe don't do that)

@netlify
Copy link

netlify bot commented Jan 23, 2026

Deploy Preview for astro-docs-2 ready!

Name Link
🔨 Latest commit 1ab7c92
🔍 Latest deploy log https://app.netlify.com/projects/astro-docs-2/deploys/6973809cd714a70007d7bf7a
😎 Deploy Preview https://deploy-preview-13108--astro-docs-2.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@astrobot-houston
Copy link
Contributor

Lunaria Status Overview

🌕 This pull request will trigger status changes.

Learn more

By default, every PR changing files present in the Lunaria configuration's files property will be considered and trigger status changes accordingly.

You can change this by adding one of the keywords present in the ignoreKeywords property in your Lunaria configuration file in the PR's title (ignoring all files) or by including a tracker directive in the merged commit's description.

Tracked Files

File Note
en/guides/content-collections.mdx Source changed, localizations will be marked as outdated.
Warnings reference
Icon Description
🔄️ The source for this localization has been updated since the creation of this pull request, make sure all changes in the source have been applied.

@sarah11918 sarah11918 added add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) labels Jan 23, 2026
Copy link
Member

@sarah11918 sarah11918 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, just what we needed! 🫡

@sarah11918 sarah11918 added the minor-release For the next minor release; in the milestone, "merge queue" when approved by Sarah! label Jan 23, 2026
@sarah11918 sarah11918 added this to the 5.17.0 milestone Jan 23, 2026
@sarah11918
Copy link
Member

Oops, forgot that the reference entry for parser() at docs.astro.build/en/reference/content-loader-reference#parser needs updating (both in current docs and in v6 docs) to now show that this can be async.

I think @ArmandPhilippot suggested what this needs to look like in the other PR? withastro/astro#14932 (comment)

@ArmandPhilippot
Copy link
Member

Yes, we would need to update the type with:

(text: string) => Record<string, Record<string, unknown>> | Array<Record<string, unknown>> | Promise<Record<string, Record<string, unknown>> | Array<Record<string, unknown>>>

to show in the reference that the parser can be async.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

add new content Document something that is not in docs. May require testing, confirmation, or affect other pages. merge-on-release Don't merge this before the feature is released! (MQ=approved but WAIT for feature release!) minor-release For the next minor release; in the milestone, "merge queue" when approved by Sarah!

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants