aboutsummaryrefslogtreecommitdiff
path: root/.changeset/forty-coins-attend.md
blob: 467e520fd68bc17061997c0da4ede9111a6530be (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
---
"astro": minor
---

Implement RFC [#0017](https://github.com/withastro/rfcs/blob/main/proposals/0017-markdown-content-redesign.md)

- New Markdown API
- New `Astro.glob()` API
- **BREAKING CHANGE:** Removed `Astro.fetchContent()` (replaced by `Astro.glob()`)

```diff
// v0.25
- let allPosts = Astro.fetchContent('./posts/*.md');
// v0.26+
+ let allPosts = await Astro.glob('./posts/*.md');
```