Skip to content

Commit

Permalink
Bump version to 1.10.0
Browse files Browse the repository at this point in the history
  • Loading branch information
apvarun committed Mar 25, 2021
1 parent 647ff79 commit 01492b1
Show file tree
Hide file tree
Showing 6 changed files with 20 additions and 7 deletions.
11 changes: 11 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,17 @@

All the changes made to toastify-js library.

## [1.10.0] - 2021-03-25

* `selector` now supports a DOM Node, along with ID string ([#65](https://github.com/apvarun/toastify-js/pull/65))
* New property - `escapeMarkup` - Toggle the default behavior of escaping HTML markup
* New property - `style` - Use the HTML DOM Style properties to add any style directly to toast
* Adds `toastify-es.js`, to be used from node_modules until there are no compatibility issues

### Deprecations:

* `backgroundColor` is deprecated. Use `style.background` instead

## [1.9.3] - 2020-10-10

* Offset IE11 compatibility #64
Expand Down
4 changes: 3 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
![forthebadge](https://forthebadge.com/images/badges/made-with-javascript.svg)
![forthebadge](https://forthebadge.com/images/badges/built-with-love.svg)

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

Toastify is a lightweight, vanilla JS toast notification library.

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

> Deprecated properties: `backgroundColor` - use `style.background` option instead
## Browsers support

| ![][ie]<br />IE / Edge | ![][firefox]<br />Firefox | ![][chrome]<br />Chrome | ![][safari]<br />Safari | ![][opera]<br />Opera |
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": "toastify-js",
"version": "1.9.3",
"version": "1.10.0",
"description":
"Toastify is a lightweight, vanilla JS toast notification library.",
"main": "./src/toastify.js",
Expand Down
4 changes: 2 additions & 2 deletions src/toastify-es.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Toastify js 1.9.3
* Toastify js 1.10.0
* https://github.com/apvarun/toastify-js
* @license MIT licensed
*
Expand Down Expand Up @@ -38,7 +38,7 @@ class Toastify {
* @type {string}
* @public
*/
this.version = "1.9.3";
this.version = "1.10.0";

/**
* The configuration object to configure Toastify
Expand Down
2 changes: 1 addition & 1 deletion src/toastify.css
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Toastify js 1.9.3
* Toastify js 1.10.0
* https://github.com/apvarun/toastify-js
* @license MIT licensed
*
Expand Down
4 changes: 2 additions & 2 deletions src/toastify.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*!
* Toastify js 1.9.3
* Toastify js 1.10.0
* https://github.com/apvarun/toastify-js
* @license MIT licensed
*
Expand All @@ -18,7 +18,7 @@
return new Toastify.lib.init(options);
},
// Library version
version = "1.9.3";
version = "1.10.0";

// Defining the prototype of the object
Toastify.lib = Toastify.prototype = {
Expand Down

0 comments on commit 01492b1

Please sign in to comment.