0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2024-12-16 21:46:22 -05:00
astro/.changeset/wise-carrots-float.md
Florian Lefebvre 8679954bf6
feat(next): remove CCC (#12081)
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-09-30 16:04:11 +02:00

863 B

astro
minor

Removes the experimental contentCollectionsCache introduced in 3.5.0.

Astro Content Layer API independently solves some of the caching and performance issues with legacy content collections that this strategy attempted to address. This feature has been replaced with continued work on improvements to the content layer. If you were using this experimental feature, you must now remove the flag from your Astro config as it no longer exists:

export default defineConfig({
    experimental: {
-        contentCollectionsCache: true
    }
})

The cacheManifest boolean argument is no longer passed to the astro:build:done integration hook:

const integration = {
    name: "my-integration",
    hooks: {
        "astro:build:done": ({
-            cacheManifest,
            logger
        }) => {}
    }
}