Releases: nuxt/content
Releases · nuxt/content
v2.7.1
🔥 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
- Add studio banner (#2165)
- Reorder document-driven page slots components description (#2108)
- Add utm_source in banner link (f9a0113e)
- Use lowercase typings, use ([ instead of or in type declaration (#2167)](https://github.com/nuxt/content/commit/ instead of or` in type declaration (#2167)))
- Add warning about windows development (#2180)
❤️ Contributors
- Estéban [email protected]
- Maxime Pauvert (@maximepvrt)
- Jianqi Pan (@Jannchie)
- Nobkd (@nobkd)
- Daniel Roe [email protected]
- Sébastien Chopin (@Atinux)
- Florent Delerue [email protected]
- Benjamin Canac (@benjamincanac)
- Farnabaz (@farnabaz)
- AnaelBonnafous
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
🚀 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
- TomatoGuy0502 [email protected]
- Dave Stewart [email protected]
- Kricsleo
- Nobkd
- Mukund Shah
- Inesh Bose
- Stefanprobst [email protected]
- Sébastien Chopin [email protected]
- Clément Ollivier (@clemcode)
- YannC
- James Tyner
- Ashour [email protected]
- Daniel Roe [email protected]
v2.6.0
🚀 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 ofname
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
- Farnabaz [email protected]
- Dave Stewart [email protected]
- Nobkd
- Daniel Roe [email protected]
- Thomas Lamant
- Electrolinux [email protected]
- Artyom
- Sébastien Chopin [email protected]
v2.5.2
v2.5.1
v2.5.0
🚀 Enhancements
- Introduce
component-resolver
transformer (#1907) - client-db: Allow possibility to ignore some sources from client storage (#1917)
🩹 Fixes
- Add anchorLinks type (#1894)
- headings: Don't generate link if
id
is missing (#1893) - code block: Use div instead of span (#1885)
- Types (#1912)
- Db access time issue (#1838)
- Refresh content-index on nitro start (#1947)
- findSurround: Allow before and after to be 0 (#1922)
- module: Close dev server on nitro close (#1952)
📖 Documentation
- Remove extraneous comma (#1878)
- Update link to useHead (#1895)
- Update get-started description (13a2e1cf)
- Update content list query example (#1901)
- Fix deployment (#1913)
- Update documentDriven config (#1915)
- Add examples for JSON string for inline props (#1882)
- Update badges (737d5c54)
- Add github in sources (#1946)
❤️ Contributors
- Farnabaz [email protected]
- Barbapapazes (@Barbapapazes)
- Sébastien Chopin [email protected]
- Wolfgang Drescher [email protected]
- Estéban
- Patrik
- Nobkd
- Clément Ollivier (@clemcode)
- Ben Hong (@bencodezen)
v2.4.3
v2.4.2
🩹 Fixes
- useContentHead: Disable host detection (f6a429dc)
📖 Documentation
- Improvements (f1991939)
🏡 Chore
- Update release config (801535d2)
❤️ Contributors
- Sébastien Chopin [email protected]
- Farnabaz [email protected]
v2.4.1
v2.4.1
🩹 Fixes
- useContentHead:
undefined
url (b157500b)
📖 Documentation
- Update edit path (#1853)
🏡 Chore
❤️ Contributors
- Farnabaz [email protected]
- Barbapapazes [email protected]
v2.4.0
🚀 Enhancements
- shiki-highlighter: Improve performance & auto load new languages (#1775)
- shiki: Highlight excerpt (#1802)
- markdown: Keep meta from fenced code block (#1800)
- markdown: Don't create excerpt if there is no
<!--more-->
(#1801)
🩹 Fixes
- build: Do not register web-socket plugin on non-dev env (#1768)
- document-driven: Prevent
404
error on redirected pages (#1770) - query: Ensure default values always apply to query params (#1778)
- examples: Layout duplication (#1808)
- Shiki: Sanitize highlighted text (#1818)
- markdown-link: Replacing
blank
prop withtarget
(#1828) - highlighter: Define missing env in Vite (#1830)
- shiki: Issue with JSON import (#1824)
- markdown: XSS Prevention (#1832)
- Handle uri encoded
_path
query (#1794) - Add
og:title,url,description
meta tags and prefixog:image
with host (#1769) - navigation: Missing import (6a1e854e)
- navigation: Missing import (1f7d3a2b)
- markdown: Images src with
baseURL
(#1833)
📖 Documentation
- Update badges (5a2d2871)
- Update outdated link in
sitemap.md
(#1772) - Fix broken quickstart link (#1785)
- Fix
ContentRenderer
source link (#1790) - Fix broken nuxt link (#1789)
- Fix ContentDoc multi-slot example (#1815)
- Add note about transformer (#1826)
- Update logo (f77d7703)
🏡 Chore
✅ Tests
- Disable
autoImport
(#1842)
❤️ Contributors
- Daniel Roe [email protected]
- ハン / Han
- Sébastien Chopin [email protected]
- SheetJSDev [email protected]
- Arash
- Horu
- Valery Qwertovsky
- GanymedeNil [email protected]
- Nobkd
- Issayah [email protected]
- PickleNik
- Philipp Wagner [email protected]
- Yuki Inoue [email protected]