Skip to content

Conversation

@renovate
Copy link
Contributor

@renovate renovate bot commented Jan 17, 2025

Note: This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@nuxt/content (source) 2.7.2 -> 3.10.0 age confidence

Release Notes

nuxt/content (@​nuxt/content)

v3.10.0

Compare Source

Features
Bug Fixes
  • database: sqlite memory driver syntax (#​3635) (9b4b4f2)
  • docs: prerendering issues (b8c5225)
  • lint: configs (1ef7768)
  • lint: unique headings (c5cc00c)
  • module: work with route rules cache: true (#​3617) (fa6c267)
  • nuxthub: inherit preset form node/cloudflare (551a7fb)
  • parser: do not extract content title & description from body on data collections (4f4e958)
  • path-meta: apply path meta fields if they exists in schema (#​3632) (b3d7464)

v3.9.0

Compare Source

Features
  • amplity: usenode:sqlite on AWS Amplify if Node.js > 22 (#​3598) e74bb6d
Bug Fixes
  • fs-watcher: add timeout to deal with race-condition c07336e
  • prepare for NuxtHub 0.10 with hub.db (#​3624) 8a9f9d3
  • respect app.baseURL in Cloudflare database handler (#​3608) 1af6adc

v3.8.2

Compare Source

v3.8.1

Compare Source

Bug Fixes
Performance Improvements

v3.8.0

Compare Source

Features
Bug Fixes
  • extend inherited schema (dd054ea)
Performance Improvements

v3.7.1

Compare Source

Bug Fixes
  • remove zod and zod-to-json-schema from optional deps (#​3541) (8e038f0)

v3.7.0

Compare Source

Deprecations

The following features are deprecated and will be removed in a future release:

  • z re-export from @nuxt/content
  • Calling .editor() directly on zod schemas (e.g. z.string().editor(...))

Migration guide :

- import { defineContentConfig, defineCollection, z } from '@​nuxt/content'
+ import { defineContentConfig, defineCollection, property } from '@​nuxt/content'
+ import { z } from 'zod' // or 'zod/v3' if your setup exposes this subpath

  export default defineContentConfig({
    collections: {
      posts: defineCollection({
        type: 'page',
        source: 'blog/*.md',
        schema: z.object({
        image: z.object({
-         src: z.string().editor({ input: 'media' }),
+         src: property(z.string()).editor({ input: 'media' }),
          alt: z.string(),
        }),
      }),
    },
  })
Features
  • adopt standard schema spec and support different validators (#​3524) (46a1004)
  • inherit component prop types in content collection (#​3451) (a620a2c)
Bug Fixes
  • ProseCode preview syntax highlighting (#​3491) (4a725bd)
  • add dependency at Nuxt root dir (#​3525) (71f2989)
  • block experimental sqlite warning on node (5ac31da)
  • deprecate nitro export in favor of server (ec97064)
  • do not register close hook if websocket is disabled (#​3474) (9edcc8f)
  • ignore .DS_Store files in all subdirectories (c7a9af3)
  • ignore OSX meta file .DS_Store (fe5d7f9)
  • improve websocket and watcher cleanup handling (#​3478) (8041807)
  • inherit: cache component meta (e9658de)
  • inherit: issue with property definition in arrays (873b768)
  • inherit: try resolve component from root directory (b0073f1)
  • inherit: type generation (63500f3)
  • normalize source cwd (#​3532) (0a34742)
  • nuxthub: missing line separator in database migrations (#​3464) (4983443)
  • use listhen's publicUrl if available (#​3500) (fb0f022)

v3.6.3

Compare Source

Bug Fixes

v3.6.2

Compare Source

Features
  • schema: set navigation.icon of page as icon for preview (eff825d)
Bug Fixes

v3.6.1

Compare Source

Features
Bug Fixes

v3.6.0

Compare Source

Features
  • add findPageBreadcrumb, findPageChildren and findPageSiblings utils (#​3393) (c74ec44)
  • parser: allow extra transformers to provide components used (#​3355) (baff541)
  • source: do not watch for excluded files (2ee1149)
  • toggle content heading extraction (#​3400) (f01256a)
  • use json schema instead of zod for internal routines (#​3347) (3f2ff74)
Bug Fixes

v3.5.1

Compare Source

Bug Fixes
  • prevenr hydration when content contains \r (c10269d)

v3.5.0

Compare Source

Features
Bug Fixes
  • cache: split large queries (ef50925)
  • cloudflare: load sql dump from assets (#​3275) (453ba2e)
  • collection: avoid double update of some record by using the hash column as index (#​3304) (ebfb6e5)
  • dev: do not create hash column on local cache table (8fff15c)
  • Disallow crawlers from crawling /__nuxt_content paths. (#​3299) (849e79d)
  • explicitly set the dump's content type (#​3302) (e1a98d4)
  • generate correct collection insert for object and array default values (#​3277) (a9587ee)
  • module: invalid rootDir of layer sources (#​3308) (2579910)
  • preview: handle collection search with prefixed sources (#​3317) (c152782)
  • preview: handle strings format when generating insert query (c18e094)
  • preview: remove prefix when parsing files (498168f)
  • preview: transform value based on schema for sql query generation (994ae98)
  • reactively load components when body changes (#​3283) (b6a30aa)
  • templates: props definition (997fc65)
  • update csv docs & fix csv options typo (#​3300) (2c2fc77)

v3.4.0

Compare Source

Features
Bug Fixes
  • check for ws existence before closing (#​3238) (6ec0eb8)
  • module: prevent conflict with auth & security tools (#​3245) (dc27bc9)
  • parser: recreate highlighter when options did change (53875b1)

v3.3.0

Compare Source

Features
Bug Fixes

v3.2.2

Compare Source

Bug Fixes

v3.2.1

Compare Source

Bug Fixes
  • bunsqlite: polyfills not being loaded (#​3176) (139744c)
  • client-database: prevent concurrent initialization (#​3174) (49531dd)
  • ContentRenderer: async loader types (f1a9b8e)
  • llms: add missing import for defineNitroPlugin (#​3170) (b091253)
  • llms: add missing import on queryCollection (2fe61e6)

v3.2.0

Compare Source

Features
Bug Fixes

v3.1.1

Compare Source

Bug Fixes

v3.1.0

Compare Source

Features
Bug Fixes
  • changelog: image size (7c8e950)
  • convert boolean value to number in query condition (#​2927) (#​3018) (c11f90a)
  • fix broken install link (#​2990) (b8da5ee)
  • highlighter: support custom languages (cfc9f43), closes #​3067
  • hmr: ignore sources without cwd (1a8c2bd)
  • invalid sqlite3 connector resolve (74dd3e1)
  • migration doc typo (#​3017) (ada613f)
  • module: clone layers to prevent side-effect (b4e7dec)
  • module: collection detection on windown file-watcher (#​3006) (3807fe9)
  • module: content parser error handling (#​3046) (022c385)
  • module: remove scule from optimizeDps list (ddb3bc8), closes #​3042
  • nuxthub: ensure database is enabled (b46fc37)
  • nuxthub: split queries into 1MB chunks (083a47a)
  • parse new content when file is modified (5dc3429)
  • parser: de-prioritise code highlighter plugin (#​3009) (dc7d866)
  • preview: draft ready not received event (a8ee72e)
  • preview: handle index file in prefix folder (i18n) (37d3008)
  • preview: optimize brace-expansion (e84e7f4)
  • preview: take exclude into account to find collection (bddd834)
  • query: handle comments and improve single selection (8de0f14), closes #​3054
  • schema: mark ZodMap as json field (69a14fa)
  • studio: return when collection not found (454a22d)
  • template: demo url (#​2983) (57ee33d)
  • templates: handle cors form studio (06b57ac)
  • vercel: default database url (042c548)
  • wasm: ignore OPFS warning as Nuxt Content does not depend on it (5d5506c)
  • wasm: override logger functions (#​3024) (99f5ac9)

v3.0.1

Compare Source

Bug Fixes

v3.0.0

Compare Source

Bug Fixes

v2.13.4

Compare Source

compare changes

🏡 Chore
❤️ Contributors

v2.13.3

Compare Source

compare changes

🩹 Fixes
  • module: Allow using @nuxtjs/mdc utils via content module (#​2775)
  • search: Add charset=utf-8 to headers of indexed mode (#​2729)
  • docs: Add warning about using ssr: false with Content (#​2776)
  • Corrected .gradient class (#​2723)
  • build: Keep parser deps out of main bundle (#​2780)
  • navigation: Respect query locale (#​2772)
  • Import defineNitroPlugin from #imports (34f65172)
  • Respect draft key as _draft (#​2738)
  • Draft field order (b0b5eb2d)
📖 Documentation
  • Fix incorrect TS types import path in documentation (#​2773)
  • Missing imports and typo in code blocks (#​2741)
  • Changed types path (#​2735)
  • Fix typo in SSR warning on Installation page (#​2777)
  • Update link to downloads count badge (c1d6ad14)
🏡 Chore
❤️ Contributors

v2.13.2

Compare Source

compare changes

🚀 Enhancements
🩹 Fixes
  • Add string type to gt/lt/gte/lte type definitions (#​2704)
  • search: Non-md file might not have dscription file (#​2706)
  • module: Disable MDC plugin if user disabled it (#​2707)
  • Unwatch storage on nitro close (ec7105ad)
📖 Documentation
  • Add missing await for searchContent docs (#​2692)
  • Prerender home (4253f0bf)
  • Update nuxt-og-image and add postinstall script (#​2705)
  • Update ContentSlot Documentation (#​2713)
🤖 CI
❤️ Contributors

v2.13.1

Compare Source

compare changes

🔥 Performance
  • dev-cache: Improve localhost markdown page navigation performance (when having 2,000+ pages) (#​2675)
🩹 Fixes
  • module: Do not force prerender index page (#​2681)
  • Hot reload on dev server for documentDriven: false (#​2686)
📖 Documentation
  • Typo in configuration (#​2677)
  • Add missing await keyword in search documentation (#​2687)
🏡 Chore
❤️ Contributors

v2.13.0

Compare Source

compare changes

🚀 Enhancements
  • Top level content/ directory in Nuxt 4 compatibility version (#​2649)
🩹 Fixes
  • Optimise nested dependencies (#​2583)
  • Opt in to import.meta.* properties (#​2597)
  • Ignore unsupported files from contents list (#​2607)
  • module: Convert content-slot to MDCSlot (#​2632)
  • Fix typo in logger warning message (#​2626)
  • search: Keep page's beginning paragraphs (#​2658)
  • Add Nitro hooks types declarations (#​2655)
  • Filter draft files in production (#​2648)
  • search: Use page title as default title for sections (9d81acc2)
  • Init storage only when used (#​2670)
  • Use runtimeconfig only when necessary (6f06f356)
  • Do not update devDependencies (062fb97f)
  • search: Improve sections with root node (#​2672)
  • prerender: Ensure / exists inside prerender rotues (#​2673)
📖 Documentation
🏡 Chore
❤️ Contributors

v2.12.1

Compare Source

compare changes

🩹 Fixes
  • Missing import (#​2560)
  • types: Use const type parameter for QueryBuilder only (#​2546)
  • Split getContent to chunks in getIndexedContentsList (#​2354, #​2549)
  • types: Add const type parameter for QueryBuilder.only() and .without() (#​2573)
📖 Documentation
  • Typo in showURL prop (#​2537)
  • Add descriptions of all match operators (#​2552)
  • Update highlight.langs defaults (#​2559)
🏡 Chore
❤️ Contributors

v2.12.0

Compare Source

compare changes

🚀 Enhancements
🔥 Performance
  • content-list: Cache contents list during generation and per-request (#​2527)
🩹 Fixes
  • module: Handle former props in ContentSlot transformer (#​2525)
  • client-db: Fetch dir config on legacy query (4b9b6b7a)
  • navigation: Ignore extensions on navigation sort (#​2529)
📖 Documentation
🏡 Chore
❤️ Contributors

v2.11.0

Compare Source

compare changes

🩹 Fixes
  • types: Fields in experimental.search can be optional (#​2506)
  • ContentSlot: Detect multiline usage (#​2508)
📖 Documentation
📦 Build
  • Do not emit .mjs in runtime directory (#​2514)
🏡 Chore
❤️ Contributors

v2.10.0

Compare Source

compare changes

🚀 Enhancements
🩹 Fixes
  • Add missing imports for search (#​2412)
  • Import nuxt composables from #imports (#​2418)
  • 7.search-content.md typo (7bf89960)
  • Enable cache only for clientDb (#​2425)
  • Remove d.ts (#​2427)
  • Ensure bundler module resolution works with runtime type imports (#​2470)
  • Imports (f33f5a20)
📖 Documentation
🏡 Chore
❤️ Contributors

Configuration

📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).

🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.

Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate
Copy link
Contributor Author

renovate bot commented Jan 17, 2025

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: pnpm-lock.yaml
/opt/containerbase/tools/pnpm/3.4.1/24.12.0/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285
        if (cb) cb.apply(this, arguments)
                   ^

TypeError: cb.apply is not a function
    at /opt/containerbase/tools/pnpm/3.4.1/24.12.0/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285:20
    at /opt/containerbase/tools/pnpm/3.4.1/24.12.0/node_modules/pnpm/lib/node_modules/graceful-fs/polyfills.js:285:20
    at FSReqCallback.oncomplete (node:fs:196:5)

Node.js v24.12.0

@vercel
Copy link

vercel bot commented Jan 17, 2025

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Review Updated (UTC)
typography Error Error Dec 24, 2025 5:03pm

@codesandbox
Copy link

codesandbox bot commented Jan 17, 2025

Review or Edit in CodeSandbox

Open the branch in Web EditorVS CodeInsiders

Open Preview

@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from d601413 to dd234d3 Compare January 27, 2025 17:50
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from dd234d3 to e83cee2 Compare February 3, 2025 18:43
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from e83cee2 to 5d9ff85 Compare February 11, 2025 15:07
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from 5d9ff85 to 6cc4e7a Compare February 20, 2025 18:26
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from 6cc4e7a to 6af1976 Compare February 21, 2025 18:34
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from 6af1976 to 4f6a307 Compare February 27, 2025 03:54
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from 4f6a307 to 86d97de Compare March 8, 2025 03:58
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from 86d97de to f133fe1 Compare March 20, 2025 15:52
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from f133fe1 to 178f50c Compare April 23, 2025 16:10
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from 178f50c to 34c8027 Compare April 24, 2025 20:27
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from 34c8027 to 57d6ac2 Compare June 12, 2025 16:35
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from 57d6ac2 to ec96d60 Compare June 20, 2025 15:33
@renovate renovate bot force-pushed the renovate/nuxt-content-3.x branch from ec96d60 to 99fbf98 Compare July 2, 2025 19:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant