Releases: md2docx/react-markdown
Releases · md2docx/react-markdown
Release v1.0.0
Major Changes
- 344c4d2: Default Md now accepts only string children. For Mdx we are exposing another component from server/mdx.
What's Changed
- Refactor by @mayank1513 in #5
Full Changelog: 0.3.0...1.0.0
Release v0.3.0
Minor Changes
- fbc66a3: refactor: update imports and enhance Markdown component for faster JSX runtime support
Patch Changes
- 160322a: enhance MarkdownRecursive to handle array of children with unique keys
What's Changed
- Benchmarking by @mayank1513 in #4
Full Changelog: 0.2.1...0.3.0
Release v0.2.1
Release v0.2.0
Minor Changes
-
e1d4106: Add client-side
<Md />component and refactor core utilities.-
Client-side
<Md />component:- New entrypoints
@m2d/react-markdown/clientand@m2d/react-markdown/dist/clientfor a memoized, client-optimized Markdown renderer. - uses memoization for client side optimizations
- Supports full JSX children, SSR-safe, and dynamic and optimized reactivity.
- New entrypoints
-
Refactor core utilities:
- Move all shared types and helpers (e.g.,
ComponentProps,AstRef,Markdown,uuid, etc.) tolib/src/utils.tsx. - Remove duplicated code and unify server/client logic.
- Move all shared types and helpers (e.g.,
-
Testing:
- Add comprehensive tests for the client
<Md />component.
- Add comprehensive tests for the client
-
Package exports:
- Update
lib/package.jsonto expose new client entrypoints and dependencies.
- Update
-
Other:
- Update coverage exclusions in
vitest.config.mts. - Minor internal cleanups and improved type safety.
- Update coverage exclusions in
This release introduces a modern, SSR-safe, and client-optimized Markdown renderer with unified logic and improved maintainability.
-
What's Changed
- Client side optimization by @mayank1513 in #1
New Contributors
- @mayank1513 made their first contribution in #1
Full Changelog: 0.1.1...0.2.0
Release v0.1.1
Release v0.1.0
Full Changelog: 0.0.0...0.1.0