This repository has been archived by the owner on Jul 8, 2024. It is now read-only.
Releases: Nickersoft/push.js
Releases · Nickersoft/push.js
v0.0.13
Minor update, but an update nevertheless:
- Changed how the
Push.Permission.has()
function works to make it more simple and intuitive (thanks to @kokarn) - Removed "Additional Resources" from the README and moved it to the wiki.
- Added
silent
as a passable option, which controls whether or not the notification should be completely silent (thanks to @sugarshin). Supported only Chrome 43.0 or higher.
v0.0.12
Woo! Finally! Push has been updated for the first time since like... August? So let's see if I can remember all the changes that were made.
Important Stuff You Should Care About
- Added Coveralls support to the repo
- Push.js now compatible with Fluid (thanks to mshick)
- Corrected MAJOR issue where click/close events were not executing on mobile
- Added new
link
option, where passing in a relative URL will enable mobile notifications to automatically open the URL when clicked- Only caveat is that
serviceWorker.js
(previouslysw.js
) _must_ be in the same folder as Push when this option is used
- Only caveat is that
Stuff You Probably Don't Care About
- Added more badges to the README
- IntelliJ files now included in
.gitignore
- README now contains info on obtaining info from Push.Permission
- Updated copyright
- Added "Additional Resources" info to README
- Added
yarn.lock
file (info on what that is and why it's important can be found here) - Minor bug fixes, as always
v0.0.11
Some cool new changes showing up in v0.0.11:
Enhancements
- Added support for the
requireInteraction
option, which allows notifications to persist until they are manually closed or clicked on by a user (#59) - Replaced Push.count (which could be assigned to) with Push.count() (which cannot) (#61)
- Added support for custom service worker paths via the
serviceWorker
option (#67) - Updated the README & unit tests
Bug Fixes
v0.0.10
Just a handful of small changes
- README now has a cool new logo
- Added some boss contributing guidelines
- Undefined variable issue of v0.0.9 (which went under the radar because I suck) has been patched
v0.0.9
Though it does not contain many changes, this update includes a couple notable ones:
- The Promise polyfill dependency was removed, as the author (me) released that most modern browsers support promises, and an dependency related decisions should be at the developer's discretion
- A slew of minor adjustments by @hbarcelos
v0.0.8
- Fixed a minor bug that might be causing compatibility issues with AMD (not sure yet.. still investigating)
v0.0.7
Woah! Version 0.0.7? What happened to 0.0.6??? Something happened to 0.0.6... I can't remember. I botched the release process and because NPM won't let you overwrite old versions, I had to create a new one. Sorry!
- Promises were made, promises were broken (jk JavaScript promises were added as the new return type to the create() method. This prevents the method from returning null if you still need to ask permission to show notifications).
- Updated README (as always)
- Added support for Chrome on Android!!! It only works on sites using valid SSL, but you can add a new vibrate option that makes your phone go buzz buzz! Woo! 💯 🎉 🙌 🎆
- Fixed a consistency error in establishing proper exports
v0.0.5
- Removed gulp for a second time and once again replaced it with NPM scripts (sorry I couldn't just make up my mind!)
- Replaced uglifyJS with yuicompressor
- Fixed an issue with the NPM pre-publish script
v0.0.4
BIG UPDATE!
- Removed Karma progress reporter for more verbose test reports
- Added editorconfig file for formatting consistency
- Updated README with npmjs.com link
- Added copy of MIT license
- Reimplemented gulp
- Updated dependency versions
- Added npmignore file
- Changed
dest
output directory back tobin
- Removed leaked global variable
root
- Bower support!!!! 😄 🎉
- Fixed an issue where notifications weren't working in Safari and sometimes Chrome
v0.0.3
Same changes as in 0.0.2. Not really sure how this happened.