Skip to content

Releases: nuxt/content

v3.6.3

04 Jul 11:19
Compare
Choose a tag to compare

🩹 Fixes

📖 Documentation

  • templates: Add server route (e8634432)

🏡 Chore

❤️ Contributors

v3.6.2

02 Jul 14:53
Compare
Choose a tag to compare

🚀 Enhancements

  • schema: Set navigation.icon of page as icon for preview (eff825d9)

🩹 Fixes

  • dev: Dont ignore subfolders (#3421)
  • Check sqlite connector only if database type is sqlite (#3425)
  • docs: Update query method to use first() for consistency (#3430)
  • Fallback to api call if webassembly is not supported (#3399)

📖 Documentation

  • Add findPageHeadline utils (#3420)
  • markdown: Refine tree (ca86d97b)
  • Migration to docus (#3417)
  • github: Set rootDir to fix edit page link (832228cb)
  • Sub list with double dot (#3437)

🌊 Types

  • Markdown option should be optional (#3427)

🏡 Chore

❤️ Contributors

v3.6.1

20 Jun 14:15
Compare
Choose a tag to compare

🚀 Enhancements

  • Warn if nuxthub is loaded before without database (#3405)
  • Support Cloudflare Workers (#3407)
  • Support <= and >= sql operators (#3413)
  • Add findPageHeadline utils (#3416)

🩹 Fixes

  • Disable ref strategy of JsonSchema (#3403)
  • Support extension patterns like **/*.md (#3414)

📖 Documentation

❤️ Contributors

v3.6.0

12 Jun 13:28
Compare
Choose a tag to compare

🎉 Highlights

  • Forward SSR cookies in internal API requests to support authenticated requests
  • Improve development performance by excluding content files from Nuxt Watcher
  • Move better-sqlite3 to peer dependency

Note

Due to various requests and issues related to native bindings, we have moved better-sqlite3 to a peer dependency.
This allows users to choose their preferred SQLite connector.
Upon first run, module will ask you to install better-sqlite3 or sqlite3 if its necessary.

Note

If you were importing internal queryCollectionWithEvent in your server routes, you need to remove the import and use import { queryCollection } from '@nuxt/content/nitro'.

🚀 Enhancements

  • parser: Allow extra transformers to provide components used (#3355)
  • Add findPageBreadcrumb, findPageChildren and findPageSiblings utils (#3393)
  • Use json schema instead of zod for internal routines (#3347)
  • source: Do not watch for excluded files (2ee1149d)
  • Toggle content heading extraction (#3400)
  • Make better-sqlite3 dependency optional (#3349)

🩹 Fixes

  • module: Check modules existence using import (#3348)
  • Do not escape newlines (#3320)
  • Add sql_dump file extension (#3339)
  • websocket: Client url (#3344)
  • module: Ignore files in content folder in nuxt building (#3380)
  • Forward SSR cookies in internal API requests (#3385)
  • preview: Handle deleted key in object (231ef50b)
  • collections: Default values (10f3a066)
  • templates: Populate preview template schema (b7230cdb)

📖 Documentation

  • Hydration issue in full-text-search page (a396d391)
  • template: Portfolio (f5a50a15)
  • examples: Add key to dynamic asyncData (#3332)
  • Limit TOC depth in prose components page (68283237)
  • Fix a few spelling issues and misc changes (#3371)
  • Fix missing quote in collection sources glob pattern (#3368)
  • Update on querying blog collection docs (#3363)
  • Fix design-kit image path (#3366)
  • Fix typos, add useful information and examples (#3376)
  • templates: Update portfolio demo (080c8d21)
  • advanced: Rename LLMs title (c3343847)
  • advanced: Update llms page (7f98a3a5)
  • Improve the csv documentation to align with the other pages (#3388)
  • Correct configuration property name (#3386)
  • Dockerfile ENV LegacyKeyValueFormat (#3394)
  • blog: Docus v2 (d98bf491)
  • Generated SQL in queryCollection conditions (b3d2cfba)
  • Missing classes (2d517634)
  • Add note about SQL connector (e2e69347)

🏡 Chore

  • Switch to tinyglobby (#3370)
  • Integrate minimark and generate markdown for docs pages (#3381)
  • Upgrade deps (#3389)
  • Upgrade deps (6f98ef39)

❤️ Contributors

v3.5.1

24 Apr 15:23
Compare
Choose a tag to compare
  • prevent hydration issue when content contains \r (c10269d)

v3.5.0

23 Apr 15:53
Compare
Choose a tag to compare

🎉 Highlights

  • Easy deployment on AWS Amplify. Docs
  • Reactively load components when body changes
  • Faster dev startup

🚀 Enhancements

  • Aws amplify preset (#3316)
  • LLMS: Call hook before generating markdown (#3323)

🩹 Fixes

  • cache: Split large queries (ef50925b)
  • Generate correct collection insert for object and array default values (#3277)
  • cloudflare: Load sql dump from assets (#3275)
  • Reactively load components when body changes (#3283)
  • dev: Do not create hash column on local cache table (8fff15c3)
  • Disallow crawlers from crawling /__nuxt_content paths. (#3299)
  • Update csv docs & fix csv options typo (#3300)
  • templates: Props definition (997fc652)
  • preview: Transform value based on schema for sql query generation (994ae98c)
  • preview: Handle strings format when generating insert query (c18e0943)
  • Explicitly set the dump's content type (#3302)
  • collection: Avoid double update of some record by using the hash column as index (#3304)
  • module: Invalid rootDir of layer sources (#3308)
  • preview: Remove prefix when parsing files (498168f2)
  • preview: Handle collection search with prefixed sources (#3317)

📖 Documentation

  • Add docs about experimental nativeSqlite flag (96a9c4a4)
  • Use <slot> instead of <ContentSlot> (#3281)
  • Add clarification about schema definitions in frontmatter blocks (#3284)
  • Return CollectionQueryGroup instead of void from andWhere and orWhere (#3292)
  • Leave note about changes in module options (#3296)
  • Minor typo in nuxt/content documentation (c06cea88)
  • components: ContentRenderer only works with Markdown files (a3d8c5c9)
  • studio: Integrate props components edition (b7f20e83)
  • Fixed minor typo in V3 announcement blog-post (#3311)
  • templates: Hide carousel when no images (32e372a2)
  • template: Publish saas template (1f66e8b3)
  • template: Landing (cd42fb73)
  • templates: Update thumbnails (13e55b90)
  • templates: Remove subtitle (d316ea8c)
  • templates: Update landing slug (9e0dd3c1)
  • templates: Update descriptions (b3456fcf)

📦 Build

🏡 Chore

❤️ Contributors

v3.4.0

20 Mar 13:43
Compare
Choose a tag to compare

🎉 Highlights

  • Support Node.js native SQLite driver (Can be enabled in nuxt.config.ts using content.experimental.nativeSqlite
  • Support BitBucket repositories as collection source

Note

Due to various issues, the internal API route moved to /__nuxt_content/:collection/query (from /api/content/:collection/query'). And database.sql is renamed to sql_dump. These are internal functionalities of modules and you should not see any changes in module behaviour.

🚀 Enhancements

  • collection: Add support for Bitbucket repository (#3226)
  • db: Experimental node:sqlite under flag (#3230)
  • search: Retrieve extra fields in search sections (#3178)

🩹 Fixes

  • Check for ws existence before closing (#3238)
  • parser: Recreate highlighter when options did change (53875b1e)
  • module: Prevent conflict with auth & security tools (#3245)

📖 Documentation

  • Update source options (#3253)
  • templates: Set docs branch to main (e7a500f7)
  • schema: Reusable schema generation (98276ff1)
  • Remove unused packages (be99f3ac)

🌊 Types

  • Fix strict null checks (#3265)

🏡 Chore

❤️ Contributors

v3.3.0

05 Mar 17:13
Compare
Choose a tag to compare

🎉 Highlights

  • Page level caching and faster database update (Thanks to @elevatebart)
  • Typescript custom transformers.

🚀 Enhancements

  • Page level caching (#3158)

🩹 Fixes

  • module: Prevent adding css modules in components template (1a480955)
  • collection: Detect two part branches (b0a743b7)
  • preview: Remove db (ad629710)
  • module: Load ts transformers (#3218)
  • Warn about using ./ and ../ in source (7a7b3b20)
  • database: Remove comments form dump queries (#3221)

📖 Documentation

  • studio: Update pricing button links (ad87033d)
  • Add missing section for the count method and fix some typos in the same file (#3209)
  • studio: Add arrays type in editor (72d56bde)
  • changelog: Add new type arrays (af3c7285)
  • changelog: Add video (91210ef1)
  • Fix watch option usage (4e8cf05b)
  • Update ordering files (f5dbe7f1)
  • templates: Unpublish canvas (cc32ceb6)
  • template: Publish canvas (e9207fa0)

🏡 Chore

❤️ Contributors

v3.2.2

24 Feb 16:53
Compare
Choose a tag to compare

🩹 Fixes

  • search: Invalid helper naming (895c2205)
  • client-database: Separate db init from collection dump fetch (#3188)

📖 Documentation

🏡 Chore

❤️ Contributors

v3.2.1

21 Feb 15:04
Compare
Choose a tag to compare

🩹 Fixes

  • llms: Add missing import for defineNitroPlugin (#3170)
  • llms: Add missing import on queryCollection (2fe61e60)
  • ContentRenderer: Async loader types (f1a9b8e1)
  • client-database: Prevent concurrent initialization (#3174)
  • bunsqlite: Polyfills not being loaded (#3176)

📖 Documentation

  • changelog: Publish studio customization (f230ad2b)
  • Typo (84e9d2c3)
  • installation: Add note about new nuxt applications (ee5c7cda)

🏡 Chore

  • Remove unused ts-expect-error (52659d0b)

❤️ Contributors