Releases: nuxt/content
Releases Β· nuxt/content
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 bledoux@kestra.io
- @atinux
- Joseph Anson josephanson@hotmail.co.uk
- Sacha Stafyniak sacha.stafyniak@gmail.com
- Offich baymax.blackandwhite@gmail.com
- @danielroe
- @ImreC
- @lredoban
- Gustavo Alfredo MarΓn SΓ‘ez aterbonus@gmail.com
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)
β€οΈ Contributors
v3.2.0
Read the updated documentation on https://content.nuxt.com
π Highlights
- Integrate with
nuxt-llms
and generate LLM-friendly content for your website, read the documentation - Zero config deploy on Netlify, Vercel and NuxtHub
π Enhancements
- collection: Repair SQL query slicing for content larger than 200Kb (#3131)
- Database version (#3148)
- zod: Editor metadata (#3133)
- llms: Zero config integration with nuxt-llms (#3143)
- Netlify preset (#3122)
π©Ή Fixes
- database: Prevent creating multiple database connections (#3126)
- queryCollectionItemSurroundings type definition in built module (#3121)
- Allow
count(*)
query (71221d33) - Manage concurent initializations (#3132)
- Constant initialization of content tables (#3146)
- Generate checksum after processing all sources (e97c787d)
- renderer: Do not ignore component objects (#3127)
- Nuxtlabs studio url in migration (#3150)
- Use a 90 seconds timeout to prevent Cloudflare from timing out (#3160)
- type: Register module hooks types (#3166)
- Remove zod from server bundle (842bcd67)
- type: Type error on built package (7be1a2b1)
π Documentation
- Fix table on config key (19ca1c6b)
- Fix highlight options table (16c7365f)
- content-renderer: Improve documentation and add empty page handling (#3117)
- Correct queryCollection path for fetching posts (#3124)
- templates: Publish canvas (8f1edddb)
- templates: Fix canvas main screen (e8e0a5e0)
- templates: Main screen (1c0c4bba)
- Correct heading level and wording (#3135)
- template: Update canvas thumbnail (e8d6f739)
- Navigation: Add metadata with .navigation.yml (#3153)
- configuration: Add mdc configuration note (#3156)
- changelog: Drafted version form customization (baeb89f2)
- changelog: Update thumbnail (47e00354)
- deps: Update @nuxt/ui-pro (5271b895)
- Add define collection warning (#3162)
- studio: Rename navigation (7a1fe8dc)
- migration: Example usage section links (#3168)
- studio: Form generation with zod (#3165)
π‘ Chore
- Upgrade db0@0.2.4, fix bunsqlite issue (11ceba0d)
- Upgrade deps (4de9bf57)
- Downgrade devtools (76f4f445)
- release: V3.2.0 (9efbf43d)
β€οΈ Contributors
v3.1.1
π Highlights
- Zero config deployment on Vercel
- Minor bug fixed
π©Ή Fixes
- Don't force pg for vercel (#3093)
- preset: Allow presets to provide default options (254fd245)
- query: Allow uppercase in column names (#3100)
- vercel: Use
/tmp
directory for sqlite db (#3108) - docs: Use bindingName instead of binding (#3109)
π Documentation
- Missing quote in migration (#3081)
- Document server utils (1cc9ca9d)
- Use filename for sqlite option (bb866efd)
- Override source prefix (#3101)
- Use useAsyncData (26d71973)
- Use useAsyncData in json page (b2ba96ca)
- Add tip for AWS Lambda deployments (#3096)
- Migration guide for .navigation.yml (41e442ed)
- Excluding dot files from collection (1b53fe8b)
- Update page edit link (9f5faf72)
- template: Drafted canvas template (6fcd5f38)
- templates: Update canvas medias (9c9306f4)
- content: Update debugging guide with new recommended workflow (#3116)
- Add documentation about built-in providers (#3115)
β€οΈ Contributors
v3.1.0
π Highlights
- To remove runtime overhead, the Module now integrates with NuxtHub migration system. This has a huge effect on SSR load time, specially on Cold-Start.
- Module now can be used inside WebContainers (StackBlitz). Just install
sqlite3
package in the project alongside the Content module. - Improve Database security (Huge thanks to @OhB00 for the help!)
π Enhancements
- db: Drop built-in database adapters in favor of db0 connectors (#3010)
- Integrate with NuxtHub database queries (#3019)
- node-sqlite3 connector (#3032)
- search: Allow filtering contents in search sections (#3053)
- module: Extend content transformers (#3056)
π©Ή Fixes
- templates: Handle cors form studio (06b57aca)
- template: Demo url (#2983)
- Fix broken install link (#2990)
- hmr: Ignore sources without cwd (1a8c2bdf)
- changelog: Image size (7c8e950a)
- module: Collection detection on windown file-watcher (#3006)
- parser: De-prioritise code highlighter plugin (#3009)
- module: Clone layers to prevent side-effect (b4e7dec2)
- preview: Draft ready not received event (a8ee72e6)
- Migration doc typo (#3017)
- Convert boolean value to number in query condition (#2927, #3018)
- Parse new content when file is modified (5dc34299)
- wasm: Override logger functions (#3024)
- module: Content parser error handling (#3046)
- studio: Return when collection not found (454a22db)
- module: Remove scule from optimizeDps list (ddb3bc8c)
- schema: Mark ZodMap as json field (69a14faf)
- wasm: Ignore OPFS warning as Nuxt Content does not depend on it (5d5506ce)
- query: Handle comments and improve single selection (8de0f144)
- preview: Optimize brace-expansion (e84e7f4f)
- Invalid sqlite3 connector resolve (74dd3e18)
- highlighter: Support custom languages (cfc9f431)
- preview: Handle index file in prefix folder (i18n) (37d30083)
- preview: Take exclude into account to find collection (bddd8343)
- nuxthub: Ensure database is enabled (b46fc378)
- vercel: Default database url (042c5489)
π Documentation
- migration: Fix typo (1f737ec0)
- seo: Update studio page (980b8564)
- blog: Undraft release article (6c468121)
- Update visual editor image size (bf968265)
- Update github link (2fb6a490)
- seo: Studio ogImage (51190f58)
- PostPage: Surround order (#2982)
- Surrounds responsive (d65343be)
- Update install commands (#2987)
- Invalid path filed in query-collection-item-surroundings.md (#2989)
- Fix bsky link (#2986)
- release: Add note about new storage system (6db8e173)
- blog: Typo in v3 release (46c309aa)
- PostPage: Fix surround order (#2985)
- template: Publish minimal starter (93d6c846)
- template: Fix GitHub link (c8621155)
- changelog: Update frontmatter-form (#2995)
- blog: Update migration article (ad47af0a)
- blog: Review migration article (ce20ef2c)
- app: Add discord link (48423577)
- blog: Publish migration guide (347dbdd1)
- Fix typo in feature table (#3014)
- blog: Update date (9979db53)
- blog: Typo (d5efff1f)
- Update IN filter operator in docs (#3016)
- Update binding name (5822e8ad)
- Redirects old urls to proper location (#3023)
- Update plugin options example (3e8d6d89)
- Add example with cwd property (#3031)
- collections: Source prefix starts by / (a350dc59)
- markdown: Tip about defining excerpt field in schema (41de576d)
- Update badges (ad456992)
π‘ Chore
- Disable markdown lint (4e1b2e64)
- Upgrade deps (d3ebaa93)
- Update issue templates (6692102f)
- Upgrade deps (905b18fb)
- Upgrade deps (ef9e7577)
- playgorund: Missing dependency (3cb26345)
- Update lock file (c5058c07)
β Tests
- Fix count query (bd0ec599)
π€ CI
- Disable corepack default to latest (d0c3ddf8)
β€οΈ Contributors
- Farnabaz @farnabaz
- SΓ©bastien Chopin @atinux
- Baptiste Leproux @larbish
- @MellKam
- Bean Deng ιζ dengbin@bilibili.com
- Patrick McGrath patrickmcgrath29@gmail.com
- @case-fastly
- Sam Blowes samblowes@hotmail.com
- @maximepvrt
- @ntnyq
- @HZooly
- @abdrahmanrizk