All Versions
73
Latest Version
Avg Release Cycle
48 days
Latest Release
913 days ago

Changelog History
Page 2

  • v5.0.3 Changes

    October 23, 2020
    • bb0bdde Unlock peer dependency on React to allow v17
    • 24e42bd Fix exception on missing element from html-to-react
    • 3d363e9 Fix umd browser build
  • v5.0.2 Changes

    October 23, 2020
    • 4dadaba Fix to allow combining allowedTypes, unwrapDisallowed in types
  • v5.0.1 Changes

    October 21, 2020
    • c3dc5ee Fix to not crash on empty text nodes
  • v5.0.0 Changes

    October 19, 2020

    ๐Ÿ’ฅ BREAKING

    Maintained by unified

    This project is now maintained by the unified collective, which also houses the underlying tools used in react-markdown: hundreds of projects for working with markdown and markup related things (including MDX). โšก๏ธ We have cleaned the project: updated dependencies, improved ๐Ÿ“„ docs/tests/coverage/types, cleaned the issue tracker, and fixed a couple of bugs, but otherwise much should be the same.

    โฌ†๏ธ Upgrade remark-parse

    โฌ†๏ธ The parser used in react-markdown has been upgraded to the latest version. It is now 100% CommonMark compliant: that means it works the same as in other places, such as Discourse, Reddit, Stack Overflow, and GitHub. Note that GitHub does extend CommonMark: to match how Markdown works on GitHub, ๐Ÿ”Œ use the remark-gfm plugin.

    ๐Ÿ†• New serializer property: node

    A new node prop is passed to all non-tag/non-fragment renderers. This contains the raw mdast AST node, which opens up a number of interesting possibilities. The breaking change is for renderers which blindly spread their props to an underlying component/tag. For instance:

    <ReactMarkdown renderers={{link: props => <a {...props} />}} โ€ฆ />
    

    Should now be written as:

    <ReactMarkdown renderers={{link: ({node, ...props}) => <a {...props} />}} โ€ฆ />
    
    List/list item tight property replaced by spread

    Previously, the tight property would hint as to whether or not list items should be wrapped in paragraphs. This logic has now been replaced by a new spread property, which behaves slightly differently. Read more.

  • v4.3.1 Changes

    January 05, 2020

    ๐Ÿ›  Fixes

    • (Typings) Fix incorrect typescript definitions (Peng Guanwen)
  • v4.3.0 Changes

    January 02, 2020

    ๐Ÿ›  Fixes

    • ๐Ÿ“œ (Typings) Add typings for react-markdown/html-parser (Peng Guanwen)
  • v4.2.2 Changes

    September 03, 2019

    ๐Ÿ›  Fixes

    • ๐Ÿ“œ (Typings) Inline RemarkParseOptions for now (Espen Hovlandsdal)
  • v4.2.1 Changes

    September 01, 2019

    ๐Ÿ›  Fixes

    • ๐Ÿ“œ (Typings) Fix incorrect import - RemarkParseOptions (Jakub Chrzanowski)
  • v4.2.0 Changes

    September 01, 2019

    โž• Added

    • ๐Ÿ”Œ Add support for plugins that use AST transformations (Frankie Ali)

    ๐Ÿ›  Fixes

    • ๐Ÿ“œ (Typings) Add parserOptions to type defintions (Ted Piotrowski)
    • Allow renderer to be any React element type (Nathan Bierema)
  • v4.1.0 Changes

    June 24, 2019

    โž• Added

    • ๐Ÿ“œ Add prop parserOptions to specify options for remark-parse (Kelvin Chan)