Releases: codewithkyle/notifyjs
Releases · codewithkyle/notifyjs
Notifyjs v1.2.0
Added
- toaster notification
toast()
creation #5 - renames existing notification function to
snackbar()
Notify.js v1.1.0
Added
- support for applying dynamic notification classes #6
- support for dynamic button classes
- testing
- generic material design based CSS stylesheet
Deprecated
- notifications
position
value - notifications
element
value
Notify.js v1.0.2
Added
- new
notify
export providing access to a global notification manager Notify.d.ts
declaration file to thefiles
array inpackage.json
Removed
- http-server dev dependency
Notify.js v1.0.0
⚠️ Breaking Changes ⚠️
This version of Notify.js contains breaking changes due to switching from ES5 to ES6. Starting with this version IE 11 is no longer supported.
Added
- TypeScript declaration file for
Notify.js
Changed
- Updated from ES5 to ES2019
Removed
- Support for IE 11
- Removed minimum notification duration
Notifyjs v0.2.0
⚠️ Breaking Changes ⚠️
This version of Notifyjs contains breaking changes due to a complete rework of the notification system.
Key Changes
The entire library has been refactored to be a notification management system instead of creating individual instances of the notifications. Notifications are queued and will be displayed in the order requested with the option to force a notification to skip the queue and be displayed immediately.
Features
- Reworked library to use
window.requestAnimationFrame
instead ofsetTimeout
in order to increase performance - Notifications are queued and will be displayed in the order they're submitted
- Added positioning information/values
- Updated HTML structure to allow for more robust layouts/designs
- Removed the 10 second maximum notification duration
Roadmap
- Set custom classes on the
<snackbar-notification>
element