Skip to content

Latest commit

 

History

History
735 lines (434 loc) · 25.1 KB

CHANGELOG.md

File metadata and controls

735 lines (434 loc) · 25.1 KB

Changelog

v0.9.5

compare changes

🏡 Chore

  • Upgrade remark-mdc (484a12d)
  • Upgrade deps (45fb570)
  • playground: Update syntax for github highlighting (#290)

❤️ Contributors

v0.9.4

compare changes

🩹 Fixes

  • MDCRenderer: App breaking when component is missing (8531b09)

❤️ Contributors

v0.9.3

compare changes

🚀 Enhancements

  • Space separated unwrap tags (a64f871)
  • Async nested rendering (#270)
  • Support adding documentRoot vfile context to MDC parser (#275)

🩹 Fixes

  • module: Possibility to remove module's default remark/rehype plugins from bundle (#276)
  • Keep main plugins inside parser bundle (11d9d72)
  • MDCRenderer: Vue3 v-model (ce996d1)

🏡 Chore

❤️ Contributors

v0.9.2

compare changes

🩹 Fixes

  • prose-image: Broken template import (d3ddc9c)

❤️ Contributors

v0.9.1

compare changes

🚀 Enhancements

  • Introduce highlight.shikiEngine option (#256)
  • highlight: Introduce noApiRoute option to disable hightlight api (bceb98a)

🩹 Fixes

  • shiki: Prevent change side effect (ada4d71)
  • MDCRenderer: Allow passing component definition to components prop (136f847)
  • Do not load <NuxtImg> stub if it is not installed (#261)

🏡 Chore

  • Allow parser to be execute in node and jiti (6278d20)
  • Update prop inline documentation (#262)

❤️ Contributors

v0.9.0

compare changes

🩹 Fixes

  • Use explicit props (#252)
  • shiki: Dynamic import highlighter packages (#253)

🏡 Chore

❤️ Contributors

v0.8.3

compare changes

🚀 Enhancements

  • Upgrade shiki, support custom embedded languages ts-type and vue-html (#232)

🩹 Fixes

  • defineConfig should be side-effect free (#235)
  • build: Change default exports to module.d.ts (c8b12d5)

🏡 Chore

🤖 CI

❤️ Contributors

v0.8.2

compare changes

🩹 Fixes

  • Export module types under pakcage name (#226)

📖 Documentation

  • Fix invalid useAsyncData usage (3f2fb53)

❤️ Contributors

v0.8.1

compare changes

🚀 Enhancements

  • Export module types (#223)

🩹 Fixes

  • build: Resolve runtime/**/*.js files and prose header types (#220)

🏡 Chore

  • Bump @nuxt/module-builder (#221)

❤️ Contributors

v0.8.0

compare changes

🩹 Fixes

  • Anchor links types and type-safety (#217)
  • wasm: Include cloudflare-module preset (#216)
  • Types (fc62d60)

🏡 Chore

❤️ Contributors

v0.7.1

compare changes

🚀 Enhancements

  • Allow unwrapping tags in renderer (#186)

🩹 Fixes

  • Cleanup top level text nodes (231bac6)
  • types: Add useNuxtImage type into runtime config (#191)
  • Duplicate element in default highlight languages (#201)
  • Add false as accepted value for headings.anchorLinks option (#206)

🏡 Chore

  • Update renovate config (#198)
  • Remove mdurl types (399225c)

❤️ Contributors

v0.7.0

compare changes

🚀 Enhancements

  • Use NuxtImg component in ProseImg if the @nuxt/image module is activated (#180)

🩹 Fixes

  • Optimise deps with nested config (#160)
  • Improve new line text node detection (#163)
  • Component exports (#166)
  • shiki: Enable WASM on CF deployment (#167)
  • ProseA: Prop types mismatch (6acc231)

📖 Documentation

  • Add Stackblitz playground (dfd777c)
  • Use default export (#179)
  • Use new nuxi module add command in installation (#176)

🏡 Chore

❤️ Contributors

v0.6.1

compare changes

🩹 Fixes

❤️ Contributors

v0.6.0

compare changes

🚀 Enhancements

  • comments: Possibility to keep comments in MDC tree with keepComments option (#152)
  • Remove '#imports` from MDC Renderer (#153)
  • Use mdcrenderer component and parsemarkdown util outside nuxt (#154)

🩹 Fixes

  • Strip non-word-chars from library import name (#142)
  • Prepend import names with underscore (#144)
  • build: Do not export component in runtime index (9dc5cc3)

📦 Build

  • Exports types (#145)

🏡 Chore

❤️ Contributors

v0.5.0

compare changes

🚀 Enhancements

  • Better wasm support for CF (#137)
  • Add more default highlight langs (#138)

🩹 Fixes

  • Check highlight for undefined value (ea30fc7)

📖 Documentation

❤️ Contributors

v0.4.0

compare changes

🚀 Enhancements

  • ⚠️ mdc.config.js support, improve shiki bundle (#129)

🩹 Fixes

  • Improve optimizeDeps handling (#131)
  • code-block: Convert string to number[] before rehypeShiki (#133)

🏡 Chore

⚠️ Breaking Changes

  • ⚠️ mdc.config.js support, improve shiki bundle (#129)

❤️ Contributors

v0.3.2

compare changes

🩹 Fixes

  • Add unwasm support to nitro prerenderer (#126)
  • shikiji: Node children shound be an array (b3b34f5)

❤️ Contributors

v0.3.1

compare changes

🚀 Enhancements

  • Enable wasm with unwasm for highlighter (#122)

🩹 Fixes

  • Remove is-buffer from optimize deps (#123)

❤️ Contributors

  • Pooya Parsa (@pi0)

v0.3.0

compare changes

🚀 Enhancements

  • Syntax highlighter support notations (#117)

🩹 Fixes

  • shiki: Remove deprecated transforms (63076df)

❤️ Contributors

v0.2.9

compare changes

🚀 Enhancements

  • highlighter: Support text/unknown/no language line highlights (#100)
  • Auto import parseMarkdown (5182df2)

🩹 Fixes

  • Only append new entry to optimizeDeps on vite:extendConfig (#111)

📖 Documentation

🏡 Chore

  • Use module-builder stub mode for more accurate types (#107)
  • Update prepack script (de0b2bf)

🤖 CI

  • Fix release job conditional (#103)

❤️ Contributors

v0.2.8

compare changes

🩹 Fixes

  • shiki: Resolve rehype plugin with extension (5d0f634)

🏡 Chore

  • Update deps and playground (8976c1d)

❤️ Contributors

v0.2.7

compare changes

🩹 Fixes

  • shiki: Do not add new line to single line codes (a09c9dc)
  • highlight: Do not include shiki in bundle when highlight is disabled (7cb2b9d)
  • Import nuxt composables from #imports (#90)
  • Update scule to match latest one as nuxt (47a3659)

✅ Tests

  • Update inline highlighting (2e7dcdb)

❤️ Contributors

v0.2.6

compare changes

🩹 Fixes

  • Do not render script warning in production (ffbd13a)
  • Typecheck (fffbce6)
  • MDC: Props mistmatch (0bfafcd)

❤️ Contributors

v0.2.5

compare changes

🩹 Fixes

❤️ Contributors

v0.2.4

compare changes

🚀 Enhancements

  • Add title and description on markdown returned type (#80)
  • Add script render in mdc (#74)

🩹 Fixes

  • Import types with type keyword (#78)
  • Respect plugins options type (e744cd3)
  • shiki: Fallback inline highlighter on static runtime (64bda39)

🏡 Chore

  • code block: Drop empty line styles (#71)
  • Upgrade remark-mdc (b4d0c2e)

❤️ Contributors

v0.2.3

compare changes

🚀 Enhancements

  • shiki: Remove html from .shiki css selector (#67)

🩹 Fixes

  • MDCRenderer: Check for __ssrInlineRender to detect component (d8a1b9c)
  • MDCRenderer: Rerender components when new components adds to content (9599aef)
  • highlighter: Allow multiple themes inside a page (6a44c2d)
  • Improve highlighter styles (3901502)
  • Add line break to end of each code block line (#62)

❤️ Contributors

v0.2.2

compare changes

🚀 Enhancements

  • Add default value to variable binding (#59)
  • MDCRenderer: Controll wrapper node rendering (#65)

🩹 Fixes

  • highlighter: Fallback to raw code in case of exception (426c4b9)
  • MDCRenderer: Check for both kebabCase and pascalCase in tags map (4bbc240)
  • Drop !important css rules from code highlighting (#61)

🏡 Chore

❤️ Contributors

v0.2.1

compare changes

🚀 Enhancements

  • shiki: Control wrapper styles & preload languages (#56)

❤️ Contributors

v0.2.0

compare changes

🚀 Enhancements

  • MDC: Pass excerpt and toc to slot (#23)
  • Migrate to shikiji (#27)
  • MDC: Accept parser options in <MDC> (#36)

🩹 Fixes

  • node-utils: Do not import utils from Vue package (e7387d8)
  • node-env: Dynamic import module options (cc6045a)
  • unist-compiler: Heading tag detection (9c357bf)
  • slot: Remove default unwrap tag for backward compatibility (39d3bc9)
  • Pass missing highlight class (#21)
  • TrimEnd to code in highlighter, close #29 (#32, #29)
  • unwrapSlot: Handle string tags (#30)
  • highlighter: Missing highlights (c5633c3)
  • Inline code highlighting (#39)
  • MDCRenderer: Missing body (ee5afad)
  • module: Use url in module alias (#45)
  • module: Don't change alias path in non-development mode (ea3e7d2)

📖 Documentation

🏡 Chore

  • Enable wasm for shikiji support in CF (d9a1874)

✅ Tests

  • Test highlighted lines in code blocks (7cbe123)

❤️ Contributors

v0.1.6

compare changes

🩹 Fixes

  • Remark/rehype plugin options (911eea3)
  • slot-transformer: Prevent context conflict (61291ff)

❤️ Contributors

v0.1.5

compare changes

🩹 Fixes

  • MDC: Reduce key size (3c324d0)
  • slot-transformer: Prevent duplicate import renderer (654be0f)

🏡 Chore

❤️ Contributors

v0.1.4

compare changes

🩹 Fixes

  • MDCSlot: Do not unwrap Comment nodes (fa45aa8)
  • slot-transformer: Drop plugin in favor of context imports (f941516)
  • MDC: Use raw content as useAsyncData key in <MDC> (400e0de)
  • MDCSlot: Do not merge non-text vnodes (82a5ff1)

❤️ Contributors

v0.1.3

compare changes

🩹 Fixes

  • Exclude @nuxtjs/mdc from vite optimization (ac3cd57)
  • Typecheck (f65b3e9)
  • types: Undefined check (edbc6b0)

❤️ Contributors

v0.1.2

compare changes

🚀 Enhancements

  • Expose unwrapSlot (#7)

❤️ Contributors

v0.1.1

compare changes

📖 Documentation

🏡 Chore

❤️ Contributors

v0.1.0

Initial Release.