Changelog History
Page 2
-
v5.0.3 Changes
October 23, 2020 -
v5.0.2 Changes
October 23, 2020-
4dadaba
Fix to allow combiningallowedTypes
,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 theremark-gfm
plugin.- ๐
[email protected]
- ๐
[email protected]
- ๐
[email protected]
- ๐
[email protected]
๐ 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 byspread
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 newspread
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)
- ๐ (Typings) Add typings for
-
v4.2.2 Changes
September 03, 2019๐ Fixes
- ๐ (Typings) Inline
RemarkParseOptions
for now (Espen Hovlandsdal)
- ๐ (Typings) Inline
-
v4.2.1 Changes
September 01, 2019๐ Fixes
- ๐ (Typings) Fix incorrect import -
RemarkParseOptions
(Jakub Chrzanowski)
- ๐ (Typings) Fix incorrect import -
-
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)
- ๐ Add prop