Releases: nuxt/content
Releases · nuxt/content
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]
v2.3.0
🚀 Enhancements
- module: Introduce
api.baseURL
and deprecatebase
(#1695) - Unique api calls per build (#1705)
- shiki: Expose highlighting utils (#1727)
- document-driven: Introduce
start
andfinish
hooks (#1744) - query: Fully cacheable api (#1752) (This could enable under
stripQueryParameters
experimental flag)
🩹 Fixes
- markdown: Resolve custom shiki languages (#1692)
- clientDB: Disable clientDB if token is set and has falsy value (#1700)
- shiki: Issue with merging multiple themes (#1703)
- query: Invalid response on missing content (#1706)
- test: Typo (#1707)
- markdown: Remove double and trailing dashes from heading ids (#1711)
- ws: Prevent port conflict on running multiple instances (#1721)
- markdown: Remove extra dash from heading id (4c376587)
- Typo (a7912af1)
- build: Invalid cache route handler (ae138a87)
- ContentRendererMarkdown: Recreate vNodes in render function (#1734)
- query: Fallback to default locale if query has no filter on
_locale
(#1748) - module: Put query parameters removal under an experimental flag (#1757)
- Add missing imports (5285db01)
💅 Refactors
- ContentRenderer: Simplify conditions (#1715)
- Shiki: Prepare Shiki highlighter for external usage (#1720)
📖 Documentation
- Update deps (#1684)
- Update studio module (fe55ff28)
- Revert studio module to 0.2.2 (e26ffd01)
- Update studio module (#1686)
- Fix typo (#1693)
- Upgrade studio module (ff2edddc)
- Update code inline (#1730)
- Update module options (#1755)
🏡 Chore
❤️ Contributors
- Farnabaz [email protected]
- Yaël Guilloux [email protected]
- Sébastien Chopin [email protected]
- Levi (Nguyễn Lương Huy) [email protected]
- Nobkd
- Onur Dumangöz
- Baptiste Leproux [email protected]
v2.2.2
🩹 Fixes
- ContentRenderer: Empty content detection (#1653)
- ContentList: Handle props change and fix slots default (#1668)
💅 Refactors
- Improve typings and simplify logic (#1669)
📖 Documentation
- Fix error in ContentQuery where clause example (#1643)
- Update sources (#1664)
- a11y: Use list for nav example (#1670)
🏡 Chore
- Add #content/context virtual file (6e205703)
- No need for virtual file (37e2caf9)
- Upgrade deps (#1682)
❤️ Contributors
- Farnabaz
- Novellac
- Sébastien Chopin (@Atinux)
- Brett Ormsby