Skip to content

Commit

Permalink
chore(release): 3.0.0
Browse files Browse the repository at this point in the history
  • Loading branch information
tomchentw committed Oct 28, 2017
1 parent 99ce413 commit fcd3b4b
Show file tree
Hide file tree
Showing 2 changed files with 48 additions and 1 deletion.
47 changes: 47 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,53 @@

All notable changes to this project will be documented in this file. See [standard-version](https://github.com/conventional-changelog/standard-version) for commit guidelines.

<a name="3.0.0"></a>
# [3.0.0](https://github.com/tomchentw/react-toastr/compare/v2.9.5...v3.0.0) (2017-10-28)


### Features

* **index.js:** export components ([b702c2a](https://github.com/tomchentw/react-toastr/commit/b702c2a))
* **package.json:** add `dom-helpers` to dependencies ([66cb57f](https://github.com/tomchentw/react-toastr/commit/66cb57f))
* **package.json:** drop support for `react@^0.14` ([e5fa767](https://github.com/tomchentw/react-toastr/commit/e5fa767))
* **package.json:** remove unused dependencies ([fbe75e1](https://github.com/tomchentw/react-toastr/commit/fbe75e1))
* **ToastContainer:** rewrite ([a3cd015](https://github.com/tomchentw/react-toastr/commit/a3cd015))
* **ToastMessage:** rewrite ([b8a3b29](https://github.com/tomchentw/react-toastr/commit/b8a3b29))
* **ToastMessageAnimated:** rewrite ([9469454](https://github.com/tomchentw/react-toastr/commit/9469454))
* **ToastMessagejQuery:** rewrite ([f239dee](https://github.com/tomchentw/react-toastr/commit/f239dee))


### BREAKING CHANGES

* **index.js:** named exports changes for ToastMessage

Before:

```js
import { ToastContainer, ToastMessage } from "react-toastr"

const ToastMessageFactory = React.createFactory(ToastMessage.animation);
const jQueryFactory = React.createFactory(ToastMessage.jQuery);

<ToastContainer toastMessageFactory={ToastMessageFactory} />
<ToastContainer toastMessageFactory={jQueryFactory} />
```

After:

```js
import { ToastContainer, ToastMessageAnimated } from "react-toastr"
import ToastMessagejQuery from "react-toastr/lib/components/ToastMessage/ToastMessagejQuery";

const ToastMessageFactory = React.createFactory(ToastMessageAnimated);
const jQueryFactory = React.createFactory(ToastMessagejQuery);

<ToastContainer toastMessageFactory={ToastMessageFactory} />
<ToastContainer toastMessageFactory={jQueryFactory} />
```



<a name="2.9.5"></a>
## [2.9.5](https://github.com/tomchentw/react-toastr/compare/v2.9.4...v2.9.5) (2017-10-06)

Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "react-toastr",
"version": "2.9.5",
"version": "3.0.0",
"description": "React.js toastr component",
"license": "MIT",
"author": {
Expand Down

0 comments on commit fcd3b4b

Please sign in to comment.