Skip to content

wip: add support for live content loaders #13685

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 18 commits into
base: main
Choose a base branch
from
Draft

wip: add support for live content loaders #13685

wants to merge 18 commits into from

Conversation

ascorbic
Copy link
Contributor

@ascorbic ascorbic commented Apr 25, 2025

Changes

Implements withastro/roadmap#1164

Testing

Docs

Copy link

changeset-bot bot commented Apr 25, 2025

🦋 Changeset detected

Latest commit: 5caa8a6

The changes in this PR will be included in the next version bump.

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@github-actions github-actions bot added the semver: minor Change triggers a `minor` release label Apr 25, 2025
Copy link
Contributor

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

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

This PR is blocked because it contains a minor changeset. A reviewer will merge this at the next release if approved.

@ascorbic ascorbic self-assigned this Apr 25, 2025
@github-actions github-actions bot added pkg: astro Related to the core `astro` package (scope) docs pr labels Apr 25, 2025
Copy link

codspeed-hq bot commented Apr 25, 2025

CodSpeed Performance Report

Merging #13685 will not alter performance

Comparing live-loaders (5caa8a6) with main (9dbe7ea)

Summary

✅ 6 untouched benchmarks

* wip

* Use experimental flag

* Fix types

* Working!

* Fix test

* Fix types

* Fix types

* clean up types

* Format

* Changes from review
@github-actions github-actions bot added the pkg: example Related to an example package (scope) label Apr 29, 2025
@ascorbic ascorbic added the pr preview This PR has a preview release label May 3, 2025
@github-actions github-actions bot removed the pr preview This PR has a preview release label May 3, 2025
Copy link

pkg-pr-new bot commented May 3, 2025

astro

npm i https://pkg.pr.new/astro@13685

@astrojs/cloudflare

npm i https://pkg.pr.new/@astrojs/cloudflare@13685

@astrojs/netlify

npm i https://pkg.pr.new/@astrojs/netlify@13685

@astrojs/node

npm i https://pkg.pr.new/@astrojs/node@13685

@astrojs/vercel

npm i https://pkg.pr.new/@astrojs/vercel@13685

commit: cffc454

ascorbic added 6 commits May 7, 2025 14:42
* feat: add schema parsing to live collections

* Lock
* feat: add cache hint support to live loaders

* Tidy loader in fixture

* Error description
* Move defineCollection to astro/config

* Use AstroError

* Format

* lint
ascorbic and others added 3 commits May 28, 2025 14:53
* chore: rename feature to live content collections

* [skipci] Apply suggestions from code review

Co-authored-by: Sarah Rainsberger <[email protected]>

---------

Co-authored-by: Sarah Rainsberger <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
docs pr pkg: astro Related to the core `astro` package (scope) pkg: example Related to an example package (scope) semver: minor Change triggers a `minor` release
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant