From c528bf39272644b4923a8a95a26882aed94d2c6a Mon Sep 17 00:00:00 2001 From: Daniel Juhl Date: Thu, 20 Apr 2017 13:02:59 +0200 Subject: [PATCH] update README.md and CHANGELOG.md --- CHANGELOG.md | 26 +++++++++++++++++++++++++- README.md | 5 ++--- 2 files changed, 27 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 06b18f5..75e41dc 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,28 @@ +v2.1.2 +-------------------- + +#### Internal +- Add `prop-types` to dependencies as `PropTypes` from `react` is deprecated +- Use `webpack@2` in example + + +v2.1.1 +-------------------- + +#### Bugs +- Move `react` and `react-dom` to peerDependencies to avoid loading multiple versions of `react` + + +v2.1.0 +-------------------- + +#### Features +- Add `renderToStaticMarkup` as static method on `DocumentMeta` + +#### Internal +- Rewrite as ES6 class + + v2.0.2 -------------------- @@ -49,4 +74,3 @@ v1.0.0 #### Breaking Changes - `DocumentMeta.rewind()` no longer takes an argument with options, and therefore `.rewind({ asReact: true })` and `.rewind({ asHtml: true })` is no longer possible. Two new static methods has been added to support this feature: `.renderAsReact()` and `.renderAsHTML()` - diff --git a/README.md b/README.md index 4e0fddd..2f7236c 100644 --- a/README.md +++ b/README.md @@ -56,10 +56,9 @@ class Example extends React.Component { }; return ( -
- +

Hello World!

-
+ ); } }