Releases: nuxt/content
Releases · nuxt/content
v3.0.0-alpha.6
🚀 Enhancements
- Generate full database sql dump (1cfdbe94)
- Export useContentHead for seo header (0e02c091)
- Load content config of each Nuxt layer (6a9eb838)
- Register component/content as non-global components (cda951f1)
- Count query (691b2e33)
🩹 Fixes
- highlight: Preload typescript language (36953f5c)
- module: Re-parse contents when change is detected in parser options (16682844)
- module: Content module options has priority over MDC module options (19f1b5de)
- Remove postinstall script (9e0b0f76)
- Delete checksum row before inserting (d4199e5a)
- Remove c12 default value (606c73e6)
- Collections default value (705aab77)
- ContentRenderer: Update existed entries in componets map (92adce37)
- Rehype/remark plugin in module options (3c376d6c)
💅 Refactors
📖 Documentation
- Add full-text search snippets (79629dc1)
- Link to full text search in migration guide (8f06edd2)
- useContentHead docs (c233f694)
- Add postgres database (ebc88b20)
🌊 Types
🏡 Chore
- Upgrade Nuxt UI (8fcfe6ad)
- config: Use c12 (#2829)
- Add missing package (18ccf7c7)
- Improve types (7a97c692)
- Remove components/content directory registeration (da3a6d69)
- Upgrade deps (76fe8632)
- Code style (4ebe3018)
- Move useContentHead to composables directory (9eebf494)
- Drop pako in favor of Compression Streams API (34f52def)
- Update lock file (287c7d2b)
- Remove log (dd1edcfd)
🤖 CI
- Use pkg-pr-new to deploy commits (b922f5ec)
❤️ Contributors
- Farnabaz @farnabaz
- Inesh Bose dev@inesh.xyz
v2.13.4
v2.13.3
🩹 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
- Farnabaz (@farnabaz)
- Bean Deng 邓斌 (@HADB)
- Sébastien Chopin (@atinux)
- EJ Fox (@ejfox)
- Oh My Neck (@hi-zp)
- Michael DeLally (@mdelally)
- RollingTL (@RollingTL)
- Aditya Mathur (@MathurAditya724)
- 邓超 2325690622@qq.com
- Vilius Paliokas (@ViliusP)
v2.13.2
🩹 Fixes
- search: 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)
- module: Unwatch storage on nitro
close
(ec7105ad)
📖 Documentation
- home: Update studio section (#2696)
- landing: Design review (#2703)
- Add missing
await
for searchContent docs (#2692) - Prerender home (4253f0bf)
- Update
nuxt-og-image
and addpostinstall
script (#2705) - Update ContentSlot Documentation (#2713)
🤖 CI
❤️ Contributors
- Farnabaz (@farnabaz)
- Jacob Strong (@jacstrong)
- Damien Guard damien@envytech.co.uk
- Florent Delerue florentdelerue@hotmail.com
- Benjamin Canac (@benjamincanac)
- Brock Wilcox (@awwaiid)
v2.13.1
NOTE As of Nuxt@3.12.0 there is a regression which cause removing
/
from prerendered routes. because of this,nuxi generate
might not work as expected. As a workaround you can add/
intonitro.prerender.routes
insidenuxt.config.ts
to solve this issue.
🔥 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
🏡 Chore
❤️ Contributors
- Roman Lossa roman.lossa@lycorp.co.jp
- Bogdan Gradinariu (@gion)
- Farnabaz farnabaz@gmail.com
- Gareth gareth@redfern.dev
v2.13.0
Note: Content module ignores files extension in sorting contents.
🚀 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
toMDCSlot
(#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
- Update to @nuxt/fonts (40b3a070)
- Update ui-pro ui props (#2585)
- Use new
nuxi module add
command in installation (#2603) - Add multiple slots example (#2619)
- Better excerpt description (#2633)
- Update version (cc894eb2)
- Resolution for nuxt/ui (b581635e)
- Fix and update transformers (#2639)
- Fix social card in README (#2659)
🏡 Chore
- Upgrade deps & linter (#2611)
- Indicate compatibility with new v4 major (#2667)
- Upgrade deps (62805914)
- Prepare script (39671369)
- Upgrade deps (cc4f4152)
❤️ Contributors
- Farnabaz (@farnabaz)
- Benjamin Canac (@benjamincanac)
- Sébastien Chopin (@atinux)
- Daniel Roe (@danielroe)
- Gangan (@shinGangan)
- Roryc (@Coiggahou2002)
- Jakub Sova (@owljackob)
- Corn nice.corn.huang@gmail.com
- Cameron Childress (@cameroncf)
- RollingTL (@RollingTL)
- Arash (@arashsheyda)
v2.12.1
🩹 Fixes
- Missing import (#2560)
- types: Use const type parameter for QueryBuilder only (#2546)
- Split
getContent
to chunks ingetIndexedContentsList
(#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
- Farnabaz (@farnabaz)
- Gangan (@shinGangan)
- Thunfisch987 (@thunfisch987)
- Aldo (@comanche2)
- Alex Liu (@Mini-ghost)
- Romain 'Maz' BILLOIR romainb@octobercms.fr
- Wolfgang Drescher drescher.wolfgang+git@gmail.com
- Mathieu NICOLAS (@mathieunicolas)
v2.12.0
🚀 Enhancements
- Adopt to mdc v0.4 (#2539)
NOTE Content module does not load languages that are not specified by the users for syntax-highlighting. See the documentation.
If you want to load support all languages, you can load them in module's configimport { bundledLanguages } from 'shiki' export default defineNuxtConfig({ content: { highlight: { langs: Object.keys(bundledLanguages) } } })
🔥 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
- Add highlight.langs (61f6cda9)
🏡 Chore
- tw-support: Get cssPath from array (#2501)
- Missing imports in playground (e7e082c3)
- Upgrade
@nuxtjs/mdc
(d3437082)
❤️ Contributors
- Anthony Fu anthonyfu117@hotmail.com
- Farnabaz (@farnabaz)
- Inesh Bose dev@inesh.xyz
v2.11.0
🩹 Fixes
- types: Fields in
experimental.search
can be optional (#2506) - ContentSlot: Detect multiline usage (#2508)
📖 Documentation
- Fix component name (#2482)
- Search result variable name (#2485)
- Updates (d41902ad)
- Mention that
searchContent
is an experimental feature (#2505) - Add carbon ads (77163e4b)
📦 Build
- Do not emit
.mjs
in runtime directory (#2514)
🏡 Chore
- Move to
shikiji
for types (#2495) - Remove unused argument (#2496)
- dx: Remove caching for dev HMR (78e1eebe)
❤️ Contributors
- Sébastien Chopin (@Atinux)
- Daniel Roe daniel@roe.dev
- Farnabaz (@farnabaz)
- Anthony Fu anthonyfu117@hotmail.com
- Adam DeHaven
v2.10.0
🚀 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
- Use mdc syntax highlight (7dcbf130)
- Small typo (3ec3de44)
- Update index.yml (1f06910c)
- Costum components (#2433)
- Missing padding on body (746cfce8)
- Update README.md (1ce6953f)
- Add templates link (6dcf4645)
🏡 Chore
- perf: Leverage ISR instead for query caching (dee73c67)
- Remove routeRules added (6b94f131)
- perf: Leverage ISR instead for query caching" (6a56986c)
- Upgrade @nuxtjs/mdc^0.3.0 (8c442665)
- Remove
ts-ignore
as unstorage has fixed subpath export (#2472) - Test bundler module resolution (#2474)
❤️ Contributors
- Daniel Roe daniel@roe.dev
- Farnabaz (@farnabaz)
- Sébastien Chopin (@Atinux)
- Estéban e.soubiran25@gmail.com
- Adityawarman Dewa Putra devdewa123.sp@gmail.com
- Benjamin Canac (@benjamincanac)
- Lukasz Szymanski lukasz.szymansky@gmail.com
- Erouax
- Cosmin Popovici
- Adam DeHaven
- Maxime Pauvert (@maximepvrt)
Note: Slightly breaking change in Package internals, due to remark upgrade. class
properties are now arrays.