Skip to content

Releases: nuxt/content

v2.5.0

08 Mar 13:30
ee434ef
Compare
Choose a tag to compare

compare changes

🚀 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

v2.4.3

31 Jan 17:47
Compare
Choose a tag to compare

🚀 Enhancements

  • pnpm: Switch to pnpm (local / ci) (#1868)

🩹 Fixes

  • query: Decode unicode params (#1871)

❤️ Contributors

v2.4.2

27 Jan 10:11
Compare
Choose a tag to compare

🩹 Fixes

  • useContentHead: Disable host detection (f6a429dc)

📖 Documentation

🏡 Chore

❤️ Contributors

v2.4.1

26 Jan 17:03
Compare
Choose a tag to compare

v2.4.1

compare changes

🩹 Fixes

  • useContentHead: undefined url (b157500b)

📖 Documentation

  • Update edit path (#1853)

🏡 Chore

❤️ Contributors

v2.4.0

25 Jan 14:51
Compare
Choose a tag to compare

🚀 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 with target (#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 prefix og: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

v2.3.0

15 Dec 16:08
Compare
Choose a tag to compare

🚀 Enhancements

  • module: Introduce api.baseURL and deprecate base (#1695)
  • Unique api calls per build (#1705)
  • shiki: Expose highlighting utils (#1727)
  • document-driven: Introduce start and finish 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

🏡 Chore

  • Upgrade deps (#1691)
  • logging: Cleanup logging (#1733)

❤️ Contributors

v2.2.2

15 Nov 11:07
Compare
Choose a tag to compare

🩹 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

❤️ Contributors

  • Farnabaz
  • Novellac
  • Sébastien Chopin (@Atinux)
  • Brett Ormsby

v2.2.1

27 Oct 11:02
409f03f
Compare
Choose a tag to compare

🩹 Fixes

  • module: Do not warn when sources is empty (42fffc98)
  • module: Set default hostname for dev socket (#1624)
  • Document Driven: Layout prefetching (#1637)
  • MarkdownParser: Refine content path in anchor link (#1629)

📖 Documentation

🏡 Chore

❤️ Contributors

  • Ahad Birang
  • Nobkd
  • Selemondev
  • Sébastien Chopin

v2.2.0

19 Oct 09:00
Compare
Choose a tag to compare

🚀 Enhancements

  • document-driven: Support navigation.redirect from _dir files (#1545)
  • Spa mode (#1525)
  • Config for anchor link generation of headings (#1564)
  • parser: Introduce _dir field in contents (#1613)

🔥 Performance

  • build: Build caches before pre-rendering contents (#1530)

🩹 Fixes

  • module: Make documentDriven configs optional (#1539)
  • Add missing imports (451b000e)
  • Missing imports on preview mode (f9f161b1)
  • Use relative .md link (#1556)
  • module: Multi-source array (#1578)
  • navigation: Missing composable when navigation is disabled (#1577)
  • Ignore built content in preview mode (bc01cde3)
  • ClientDB: Drop LocalStorage (7afd857b)
  • client-db: Race-condition on multiple calls (c11a4800)
  • <ContentList>: Respect query.path when path is missing (#1598)
  • <ContentDoc>: Render blink in SSG (#1600)
  • Update h3 usage with explicit defineEventHandler (#1603)
  • anchorLinks: Add useRuntimeConfig imports (#1605)
  • runtime: Detect 404 api responses in SSG (#1608)
  • queryContent: Use path argument as prefix if there is another condition (#1612)

📖 Documentation

  • Fix type client only -> client-only (#1535)
  • content-list: Updated query reference and added example (#1548)
  • Add search (#1575)
  • Update algolia key (9e91948e)
  • Cleanup deps (#1582)
  • Upgrade Content version (c76c5a75)
  • Broken link on Markdown API page (#1588)
  • composables: Fix close tag ContentRenderer (#1597)
  • Update badge style (49b1c4cc)
  • Update cover (ba2aeb45)
  • No need to register manually nitro plugin (b6bbb42c)
  • Fix nitro plugins link (0259a901)
  • Update findSurround usage (#1609)
  • Guidance on using local images (#1617)

🏡 Chore

❤️ Contributors

  • Ahad Birang
  • Jan-Henrik Damaschke
  • Michel EDIGHOFFER
  • Nobkd
  • Percy Ma
  • Pooya Parsa
  • Ramses Garate
  • Remiconnesson
  • Sai Deepesh
  • Sébastien Chopin

v2.1.1

15 Sep 17:58
Compare
Choose a tag to compare

🩹 Fixes

  • document-driven: Sync page layout (#1519)
  • document-driven: Disable static payload (#1526)

📖 Documentation

  • document-driven: Remove edge channel info (#1462)
  • Update title & description (#1505)
  • document-driven: Fix typo (#1512)

❤️ Contributors

  • Ahad Birang
  • Nobkd
  • Okoro Redemption
  • Sébastien Chopin