Skip to content

Releases: nuxt/content

v2.8.5

28 Sep 15:32
Compare
Choose a tag to compare

🩹 Fixes

v2.8.4

27 Sep 11:57
Compare
Choose a tag to compare

🩹 Fixes

v2.8.3

26 Sep 15:40
Compare
Choose a tag to compare

🚀 Enhancements

  • Update types (#2156)
  • Docs rework with Nuxt UI (#2310)
  • Add binding for external data (#2296)

🩹 Fixes

  • findSurround: Use filtered contents to find surround (#2291)
  • Remove deletion of prerenderedAt key (#2280)
  • module: Remove deprecated resolveModule (#2298)
  • surround: Respect only and without filters (#2311)
  • Add missing dependencies (#2313)
  • tailwindcss: Tailwindcss HMR support for content files (#2315)
  • Fetch content chunked (#2321)
  • storage: Prevent duplicate parsing (#2326)
  • Add regex to match ContentSlot in Pug templates (#2344)

📖 Documentation

🏡 Chore

❤️ Contributors

v2.8.2

01 Sep 14:55
Compare
Choose a tag to compare

🩹 Fixes

  • query: Prevent undefined error (b680b47c)
  • navigation: Prevent client-db conflict (fd8e3b82)
  • serverQueryContent: Do not expose advanced query typing (09e37c19)
  • document-driven: Invalid composable import (e56f71dc)
  • ContentList: Component slot typechecking (#2277)

❤️ Contributors

  • Cédric Exbrayat

v2.8.1

30 Aug 10:26
Compare
Choose a tag to compare

🩹 Fixes

  • Cannot read properties of undefined (11c3b09f)
  • Upgrade @nuxtjs/mdc to v0.1.3 (fda966d)

v2.8.0

29 Aug 13:48
Compare
Choose a tag to compare

🚀 Enhancements

  • Add count method (#1924)
  • nuxt-mdc: Extract markdown parser (#2187)
  • Advanced query schema (#2213)
  • Allow to disable content head (#2142)

🩹 Fixes

  • Markdown render compatiblity (d81a08a2)
  • slot: Rename ContentSlot to MDCSlot in render function (efc60481)
  • module: Slot transform sourcemap (7558cf0d)
  • ProseImg: Prevent conflict between src and baseURL (#2242)
  • Custom drivers failed on build (#2193)
  • ContentRenderer: Render contents only with excerpt (#2246)
  • content-slot: Better slot name regex (329cf3bc)

📖 Documentation

  • Pre-render pages (#2196)
  • v1: Link button wrapping for small screens (#2199)
  • Add count method (#2200)
  • Add edge alert (c582469c)
  • Update README.md (#2226)
  • mdc: Fix {attribute} examples (#2228)
  • Add warning for <NuxtPage/> existence in app.vue (#2244)
  • <ContentDoc> slot example (0bfc275d)
  • Fix prose links (aa61d9fd)
  • Update prose source links (9720a333)

🏡 Chore

❤️ Contributors

v2.7.2

25 Jul 04:59
Compare
Choose a tag to compare

🩹 Fixes

  • Remark plugins deprecated warning (#2188)
  • Allow ] in filename code block (#2169)

📖 Documentation

  • Update slots example for the content-query component (#2190)

❤️ Contributors


BREAKING CHANGE: Shiki's material themes renamed from material-<themeName> to material-theme-<themeName> as of [email protected]. If you are using Shiki Material theme, you need to update module's highlight option

v2.7.1

19 Jul 06:48
Compare
Choose a tag to compare

🔥 Performance

  • Keep document-drive state in shallowRef and prefetch pages/components (#2118)

🩹 Fixes

  • Replace crlf line endings with lf (#2120)
  • Use consola.withTag instead of kit.useLogger (#2140)
  • module: Add yml / json extensions to tailwind content files (#2147)
  • Remove unneeded await (#2175)
  • Use unstorage types (#2136)
  • Uppercase in path (#2170)
  • markdown: Allow plugin with array type option (#2114)
  • Allow empty string in $contains (#2179)
  • Remove favicon handling (#2157)

📖 Documentation

❤️ Contributors


BREAKING CHANGE: Shiki's material themes renamed from material-<themeName> to material-theme-<themeName> as of [email protected]. If you are using Shiki Material theme, you need to update module's highlight option

v2.7.0

13 Jun 12:42
Compare
Choose a tag to compare

🚀 Enhancements

  • shiki: Support italic, bold and underline styles (#2079)
  • config: Update ignores to advanced pattern (#2035)

🩹 Fixes

  • link: Remove hash before checking if ending by '.md' (#2033)
  • markdown: Prevent script execution (#2040)
  • code-block: Pass language as class name (#2064)
  • tailwind-integration: Allow content as object (#2060)
  • code-block: Meta property (#2067)
  • markdown: Respect _draft key in frontmatter (#2077)

📖 Documentation

  • Guide for adding custom grammars for syntax highlighting (7da9b286)
  • Add example of additional sorting options for queryContent (#2042)
  • Explain useasyncdata wrapping (#2054)
  • Update url (#2055)
  • Add latest to nuxi command (2939b793)
  • Update Content Wind live demo url (#2080)
  • Update links (#2085)
  • Remove outdated description (#2098)

🏡 Chore

  • Use caret dependency for kit (#2044)

❤️ Contributors

v2.6.0

20 Apr 09:54
Compare
Choose a tag to compare

🚀 Enhancements

  • CodeBlock: Add line number attribute to code block lines (#1973)
  • More flexible ignores configuration (#2022)

🩹 Fixes

  • type: Content locale (#1965)
  • markdown: Html ids in markdown headings should not start with a digit (#1961)
  • useContentHead: Set property instead of name for OG metadata (#1981)
  • Access config from public key (#2005)
  • ContentRendererMarkdown: Prevent undefiend error on component resolve (#2021)
  • code-block: Use span with \n instead of div for lines (#2008)
  • preview: Use sessionStorage to keep token (#2020)
  • shiki: Add \n to empty lines (46f3d79f)
  • markdown-renderer: Document reactivity (e46309fe)
  • query: Prevent adding duplicate conditions to query (#2027)
  • document-driven: Ensure layout is set on hydration (#2032)

📖 Documentation

  • Add Nuxt Studio link (bc329334)
  • Fix link to nitro plugins (#1969)
  • Format docs & update links & fix mistakes (#1982)
  • Fix template syntax (9d8478de)

❤️ Contributors