Skip to content

Commit 01492b1

Browse files
committed
Bump version to 1.10.0
1 parent 647ff79 commit 01492b1

File tree

6 files changed

+20
-7
lines changed

6 files changed

+20
-7
lines changed

CHANGELOG.md

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,17 @@
22

33
All the changes made to toastify-js library.
44

5+
## [1.10.0] - 2021-03-25
6+
7+
* `selector` now supports a DOM Node, along with ID string ([#65](https://github.com/apvarun/toastify-js/pull/65))
8+
* New property - `escapeMarkup` - Toggle the default behavior of escaping HTML markup
9+
* New property - `style` - Use the HTML DOM Style properties to add any style directly to toast
10+
* Adds `toastify-es.js`, to be used from node_modules until there are no compatibility issues
11+
12+
### Deprecations:
13+
14+
* `backgroundColor` is deprecated. Use `style.background` instead
15+
516
## [1.9.3] - 2020-10-10
617

718
* Offset IE11 compatibility #64

README.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
![forthebadge](https://forthebadge.com/images/badges/made-with-javascript.svg)
55
![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)
66

7-
[![toastify-js](https://img.shields.io/badge/toastify--js-1.9.3-brightgreen.svg)](https://www.npmjs.com/package/toastify-js)
7+
[![toastify-js](https://img.shields.io/badge/toastify--js-1.10.0-brightgreen.svg)](https://www.npmjs.com/package/toastify-js)
88

99
Toastify is a lightweight, vanilla JS toast notification library.
1010

@@ -150,6 +150,8 @@ If `gravity` is equals to `bottom`, it will be pushed from bottom.
150150
| escapeMarkup | boolean | Toggle the default behavior of escaping HTML markup | true |
151151
| style | object | Use the HTML DOM Style properties to add any style directly to toast | |
152152

153+
> Deprecated properties: `backgroundColor` - use `style.background` option instead
154+
153155
## Browsers support
154156

155157
| ![][ie]<br />IE / Edge | ![][firefox]<br />Firefox | ![][chrome]<br />Chrome | ![][safari]<br />Safari | ![][opera]<br />Opera |

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "toastify-js",
3-
"version": "1.9.3",
3+
"version": "1.10.0",
44
"description":
55
"Toastify is a lightweight, vanilla JS toast notification library.",
66
"main": "./src/toastify.js",

src/toastify-es.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Toastify js 1.9.3
2+
* Toastify js 1.10.0
33
* https://github.com/apvarun/toastify-js
44
* @license MIT licensed
55
*
@@ -38,7 +38,7 @@ class Toastify {
3838
* @type {string}
3939
* @public
4040
*/
41-
this.version = "1.9.3";
41+
this.version = "1.10.0";
4242

4343
/**
4444
* The configuration object to configure Toastify

src/toastify.css

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Toastify js 1.9.3
2+
* Toastify js 1.10.0
33
* https://github.com/apvarun/toastify-js
44
* @license MIT licensed
55
*

src/toastify.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/*!
2-
* Toastify js 1.9.3
2+
* Toastify js 1.10.0
33
* https://github.com/apvarun/toastify-js
44
* @license MIT licensed
55
*
@@ -18,7 +18,7 @@
1818
return new Toastify.lib.init(options);
1919
},
2020
// Library version
21-
version = "1.9.3";
21+
version = "1.10.0";
2222

2323
// Defining the prototype of the object
2424
Toastify.lib = Toastify.prototype = {

0 commit comments

Comments
 (0)