Skip to content

Latest commit

 

History

History
423 lines (204 loc) · 15.9 KB

CHANGELOG.md

File metadata and controls

423 lines (204 loc) · 15.9 KB

Change Log

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

3.0.0 (2017-10-28)

Features

  • index.js: export components (b702c2a)
  • package.json: add dom-helpers to dependencies (66cb57f)
  • package.json: drop support for react@^0.14 (e5fa767)
  • package.json: remove unused dependencies (fbe75e1)
  • ToastContainer: rewrite (a3cd015)
  • ToastMessage: rewrite (b8a3b29)
  • ToastMessageAnimated: rewrite (9469454)
  • ToastMessagejQuery: rewrite (f239dee)

BREAKING CHANGES

  • index.js: named exports changes for ToastMessage

Before:

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:

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} />

2.9.5 (2017-10-06)

Bug Fixes

  • package.json: keep peerDependencies for react@^0.14.0 (eecf97f)

2.9.4 (2017-09-30)

Bug Fixes

  • package.json: move react-dom to peerDependencies (#119) (ebb9e90)

2.9.3 (2017-08-23)

2.9.2 (2017-08-21)

Bug Fixes

  • ToastContainer: replace _.omit with object rest (bc1a397), closes #105 #104

2.9.1 (2017-08-21)

Bug Fixes

  • ToastMessage: switch to hosted ReactTransitionEvents (b3423a9), closes #108 #86

2.9.0 (2017-08-21)

Bug Fixes

Features

  • package.json: add prop-types and create-react-class to dependencies (ee7d307), closes #94 #95 #97
  • ToastContainer: switch to prop-types (1aac987), closes #94
  • ToastMessage: switch to create-react-class (49aa141), closes #95

2.8.2 (2016-11-09)

2.8.1 (2016-09-21)

2.8.0 (2016-08-01)

Bug Fixes

Features

  • ToastContainer: add prevents duplicates functionality (3a8f772), closes #60

2.7.0 (2016-06-14)

Features

  • ToastContainer: add props.preventDuplicates suppory (b8e9bd2), closes #58 #56 #53

2.6.2 (2016-05-31)

2.6.1 (2016-04-28)

Bug Fixes

  • package.json: make react and react-dom support both @^0.14.0 and @^15.0.0 (394ef07)

(Unpublished) 2.6.0 (2016-04-26)

Unpublished due to

  • #49: react@^15.0.0 is required

Features

  • package.json: update to react@^15.0.0 (6d7e8a8)

2.4.0 (2016-01-28)

Features

  • package.json: bump dependencies (d74c217)
  • ToastMessage: replace fbjs dependency with element-class (97c171b)

2.3.1 (2016-01-19)

2.3.0 (2016-01-03)

Features

  • package.json: bump fbjs to ^0.6.0 (ae96bee)

2.2.4 (2015-12-10)

Bug Fixes

  • ToastContainer: add default value for optionsOverride (14f953a)

2.2.3 (2015-12-10)

Features

  • ToastContainer: add support for optionsOverride.handleOnClick (73dc376), closes #43

2.2.2 (2015-11-02)

Bug Fixes

  • src: Revert breaking changes commits for v2.2.1. Closes #42 (988112e), closes #42

UNPLUBISHED FROM NPM 2.2.1 (2015-11-02)

This version has been unpublished from npm. The Bug Fixes here still applied but Features are removed. See #42.

Bug Fixes

  • package.json: added react-dom as dependency (18c58d0), closes #41
  • ToastMessage: use ReactDOM.findDOMNode instead of this.getDOMNode (d4f40b3)

Features

  • src: ES2015 (96aa073)
  • ToastContainer: ES2015 (dce1279)
  • ToastMessage: ES2015 + props naming convention changed (69c23db)
  • ToastMessage.animation: ES2015 (69dbd7e)
  • ToastMessage.jQuery: ES2015 + require jQuery as dependency (e0ff62b)
  • ToastMessageList: add pure component to wrap toast list (db9fee6)

BREAKING CHANGES

  • ToastMessage: Props naming convention changed

Before: type,handleRemove, handleOnClick

After: toastType, onRemove, onClick

  • ToastMessage.jQuery: use ES2015 import statement for jquery

Previously, we requires you to inject jQuery as global variable ($, jQuery). However, as people adoping module bundler such as webpack, it's more common to declare it as dependency.

2.2.0 (2015-10-28)

Bug Fixes

2.1.0 (2015-10-11)

Bug Fixes

  • package.json: move classnames to dependencies (9a74e6f), closes #32

2.0.0 (2015-10-08)

Features

  • package.json: upgrade to React@^0.14 (c1cfc28)

BREAKING CHANGES

  • React@^0.14: upgrade at peerDependencies
    • move React@^0.14 and classnames@^2.1.5 from dependencies to peerDependencies
    • also add fbjs^0.3.1 to peerDependencies

<a name"1.5.2">

1.5.2 (2015-09-25)

Bug Fixes

  • ToastMessage: need clear setTimeout when component unmount (e12f025c, closes #29)

<a name"1.5.1">

1.5.1 (2015-07-01)

<a name"1.5.0">

1.5.0 (2015-07-01)

Bug Fixes

  • ToastMessage: × using dangerouslySetInnerHTML (af7e6059)

Features

  • ToastMessage: Update React addon classSet to classnames (528473e9, closes #23)

1.4.0 (2015-05-22)

1.3.1 (2015-05-21)

Bug Fixes

  • package.json: move react from dependencies to devDependencies (07e1acf3)

1.3.0 (2015-05-12)

Bug Fixes

  • animationMixin: misuse typeof (8f504133)

Features

  • animationMixin: animate toasts using css transitions/animations (ed0d8b07)

1.2.0 (2015-04-27)

Features

1.1.2 (2014-11-20)

1.1.1 (2014-11-14)

Bug Fixes

  • jQueryMixin: update jQuery calls to use jQuery rather than $ (d1d858b4)

1.1.0 (2014-10-29)

Features

  • ToastContainer: toastMessageClass changed to toastMessageFactory (bdcbabac)
  • lib: upgrade React to 0.12 (5a375ae8)

Breaking Changes

  • propTypes renamed to toastMessageFactory

toastMessageFactory now only accepts the result of calling React.createFactory(ReactElementClass).

(bdcbabac)

1.0.0 (2014-10-19)

Bug Fixes

  • .travis.yml: remove 0.11 target for jest bug (09c9ab66)

Features

  • ToastContainer: add clear interface (29bef4c0)
  • ToastMessage:
    • add closeButton props support (ea53e383)
    • hookup remove toast from state (f0a72224)
    • add handleMouse{Enter/Leave} for internal api (6f340ffc)
    • hook onClick handler (312764d2)
  • ToastMessage.jQuery: with jQueryMixin (1fc06874)
  • ToastMessage:
    • export ToastContainer and ToastMessage (ea3d2ea3)
    • add newestOnTop to props (1d7950d1)
    • add onClick handler and hook toast callback (e71a0058)
    • add preventDuplicates props (c9d548b8)
    • add default container-id and move to top-right (30fa8264)
    • add iconClassNames and toastType to props (3916c2ef)
    • port from jsfiddle.net/tomchentw/x7m8wavf (bb87f99c)
  • jQueryMixin:
    • hook hover logic into handleMouse{Enter/Leave} (bc8d8e49)
    • add show props and hook to componentDidMount (a90a47ce)
  • lib: compile src to lib (44f406dd)
  • package.json: downgrade react to 0.11.0 (4f105dc7)