Skip to content

Commit

Permalink
update README.md and CHANGELOG.md
Browse files Browse the repository at this point in the history
  • Loading branch information
danieljuhl committed Apr 20, 2017
1 parent 129813f commit c528bf3
Show file tree
Hide file tree
Showing 2 changed files with 27 additions and 4 deletions.
26 changes: 25 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
--------------------

Expand Down Expand Up @@ -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()`

5 changes: 2 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,10 +56,9 @@ class Example extends React.Component {
};

return (
<div>
<DocumentMeta {...meta} />
<DocumentMeta {...meta}>
<h1>Hello World!</h1>
</div>
</DocumentMeta>
);
}
}
Expand Down

0 comments on commit c528bf3

Please sign in to comment.