Releases: nuxt/content
Releases · nuxt/content
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 [email protected]
- Wolfgang Drescher [email protected]
- 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 [email protected]
- Farnabaz (@farnabaz)
- Inesh Bose [email protected]
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 [email protected]
- Farnabaz (@farnabaz)
- Anthony Fu [email protected]
- 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 [email protected]
- Farnabaz (@farnabaz)
- Sébastien Chopin (@Atinux)
- Estéban [email protected]
- Adityawarman Dewa Putra [email protected]
- Benjamin Canac (@benjamincanac)
- Lukasz Szymanski [email protected]
- Erouax
- Cosmin Popovici
- Adam DeHaven
- Maxime Pauvert (@maximepvrt)
Note: Slightly breaking change in Package internals, due to remark upgrade. class
properties are now arrays.
v2.9.0
🚀 Enhancements
- Add type to layout (#2389)
- Add search (The feature is still experimental and may face some changes) (#2146)
🩹 Fixes
- path-meta: Prevent undefined error (1257cb5c)
- Types import (ee4ea3ad)
- Ignore regexes in fetchDirConfig (#2362)
- Optional experimental options (#2391)
- Update types and imports (061192c5)
- Prevent duplicate parses (a208567e)
- Prevent duplicate parses (dae92681)
📖 Documentation
- Update to latest ui-pro (a08dc1b8)
- Remove global style (e58855fb)
- Add terms (798a0a8c)
- Add data pops in ContentRendererMarkdown and varaibles binding (#2360)
- Update examples for content helpers composable (b6ff9ba2)
- Upgrade deps (feca11b6)
- Improve home (fe357920)
- Add links for shiki on home (#2386)
- Update highlight.preload config (#2395)
- Grammatical tweaks on markdown page (#2394)
- Update bindings with default value (#2397)
- Update 3.search.md (40a2e5de)
❤️ Contributors
- Farnabaz (@farnabaz)
- Sébastien Chopin (@Atinux)
- Estéban [email protected]
- Maxime Pauvert (@maximepvrt)
- AaronBeaudoin [email protected]
- Ashour [email protected]
- Mathieu NICOLAS
- Benjamin Canac (@benjamincanac)
- Vincent Giersch [email protected]
v2.8.5
v2.8.4
v2.8.3
🚀 Enhancements
🩹 Fixes
- findSurround: Use filtered contents to find surround (#2291)
- Remove deletion of
prerenderedAt
key (#2280) - module: Remove deprecated
resolveModule
(#2298) - surround: Respect
only
andwithout
filters (#2311) - Add missing dependencies (#2313)
- tailwindcss: Tailwindcss HMR support for content files (#2315)
- Fetch content chunked (#2321)
- storage: Prevent duplicate parsing (#2326)
- Add regex to match ContentSlot in Pug templates (#2344)
📖 Documentation
- Remove
count
helper alert (faff26bc) - Update badge position (0b85e881)
- Fix links (#2267)
- Add warning about prettier compatibility (#2325)
- Add link to image (58e13b41)
- Update .env.example (5a483922)
- Fix page overflow (#2332)
🏡 Chore
- Upgrade
@nuxtjs/mdc
(e3ffac95)
❤️ Contributors
- Maxime Pauvert (@maximepvrt)
- Jbmolle [email protected]
- Nobkd
- Sébastien Chopin (@Atinux)
- Florent Delerue [email protected]
- Farnabaz (@farnabaz)
- Patryk Padus [email protected]
- Estéban [email protected]
- Alexander Lichter (@manniL)
v2.8.2
🩹 Fixes
- query: Prevent
undefined
error (b680b47c) - navigation: Prevent client-db conflict (fd8e3b82)
- serverQueryContent: Do not expose advanced query typing (09e37c19)
- document-driven: Invalid composable import (e56f71dc)
- ContentList: Component slot typechecking (#2277)
❤️ Contributors
- Cédric Exbrayat