Releases: nuxt/content
Releases · nuxt/content
v3.6.3
v3.6.2
🚀 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
- preview: Add icon libraries editor opption (092d1b5f)
- Upgrade deps (ebbbaa5e)
- Upgrade deps (8d08550a)
❤️ Contributors
- @farnabaz
- Michel EDIGHOFFER [email protected]
- @larbish
-@cirolosapio - @maximepvrt
- Hendrik Heil [email protected]
v3.6.1
🚀 Enhancements
- Warn if nuxthub is loaded before without database (#3405)
- Support Cloudflare Workers (#3407)
- Support
<=
and>=
sql operators (#3413) - Add
findPageHeadline
utils (#3416)
🩹 Fixes
📖 Documentation
- blog: Undraft docus v3 (5c973721)
- templates: Add docus (41dc8984)
- blog: Oss license docus v3 (e2d274b7)
❤️ Contributors
v3.6.0
🎉 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
- @farnabaz
- @larbish
- @maximepvrt
- @m0nclous
- @Mw3y
- Oliver-Tobias Ripka [email protected]
- Kevin Damm [email protected]
- Joseph Anson [email protected]
- Jonas Thelemann [email protected]
- @oneminch
- @memotux
- 星野 将輝 [email protected]
- @KianYang-Lee
- @devgofer
- @benmccann
- Cesar Vargas [email protected]
- Sebastian Landwehr [email protected]
- @huang-julien
v3.5.1
v3.5.0
🎉 Highlights
- Easy deployment on AWS Amplify. Docs
- Reactively load components when
body
changes - Faster dev startup
🚀 Enhancements
🩹 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
- Update types extension (db5ebd33)
🏡 Chore
- Update meta for package (cb12d036)
- Upgrade deps (473a4cfc)
- Upgrade deps (9419ccc3)
- Upgrade deps (de91b11b)
- Upgrade mdc-edge (f86d9856)
- Upgrade component meta (95d12adb)
❤️ Contributors
- @farnabaz
- @larbish
- @siavava
- Barthélémy Ledoux [email protected]
- @atinux
- Joseph Anson [email protected]
- Sacha Stafyniak [email protected]
- Offich [email protected]
- @danielroe
- @ImreC
- @lredoban
- Gustavo Alfredo Marín Sáez [email protected]
v3.4.0
🎉 Highlights
- Support Node.js native SQLite driver (Can be enabled in
nuxt.config.ts
usingcontent.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
- Upgrade deps (6f77eaea)
- Remove unused type (2116916a)
- Upgrade deps (#3241)
- Upgrade deps (52d3f20c)
- Upgrade deps (#3256)
- Upgrade MDC module (#3266)
- Update the playground styling to be easier to navigate (#3270)
- Upgrade deps (24d09b26)
- Upgrade deps (99bb3808)
- release: V3.4.0 (ba721a88)
❤️ Contributors
v3.3.0
🎉 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
- utils: Removed duplicated lang (#3202)
- Upgrade shiki & mdc module (#3198)
- Upgrade deps (8867d544)
- Upgrade MDC module (0a3dc882)
- release: V3.3.0 (a5cca443)
❤️ Contributors
v3.2.2
v3.2.1
🩹 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)