Nuxt Content v3.16.0
nuxt/content
Summary
Nuxt Content v3.16.0 introduces several important bug fixes, including improved handling of git caches and stable async component identity in ContentRenderer. Additionally, it enhances date formatting to prevent timezone drift and ensures compatibility with trailing slashes in path-based lookups. Users may notice duplicate git caches, which can be safely removed without affecting functionality.
Full release notes
[!NOTE]
Due to the fix from https://github.com/nuxt/content/issues/3839, if you use Git sources, you might see duplicate git caches in.data/contentdirectory. It is not a bug and will not affect Nuxt Content behavior, but you can remove this folder if you want to cleanup unused files. Nuxt Content will generate new caches on next run.
🐞 Bug Fixes
- Avoid install prompt in non-interactive environments - by @lazerg in https://github.com/nuxt/content/issues/3833 (2d0e8)
- Improve generated git cache key - by @danielroe in https://github.com/nuxt/content/issues/3839 (d1e35)
- Use UTC getters in formatDate/formatDateTime to prevent timezone drift - by @surohak and @farnabaz in https://github.com/nuxt/content/issues/3782 (9f1f8)
- ContentRenderer: Keep async component identity stable across re-resolves - by @hendrikheil in https://github.com/nuxt/content/issues/3835 (dcf86)
- module: Keep content templates when building with _prepare - by @mansurkhoja in https://github.com/nuxt/content/issues/3837 (e390c)
- nuxthub: Handle object form of
hub.db- by @benjamincanac in https://github.com/nuxt/content/issues/3822 (8841a) - query: Tolerate trailing slashes in path-based lookups - by @danielroe in https://github.com/nuxt/content/issues/3838 (220d3)
- runtime: Use dynamic import for
#content/adapterto prevent prerender failure - by @gepotumu, “finderz” and @farnabaz in https://github.com/nuxt/content/issues/3830 (40039)
