Skip to content

Latest commit

 

History

History
203 lines (126 loc) · 5.31 KB

CHANGELOG.md

File metadata and controls

203 lines (126 loc) · 5.31 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

4.1.0 - 2023-04-04

Added

  • ability to click-to-close toast

4.0.0 - 2023-03-28

Added

  • new Toaster functionality
  • ES Module exports:
    • @codewithkyle/notifyjs/toaster
    • @codewithkyle/notifyjs/snackbar
    • @codewithkyle/notifyjs/notifications

Removed

  • common JS support
  • custom Notifier support

Refactored

  • Toast notifications functionality has been moved to new Notifications export
  • Each notification type must be explicitly imported

3.1.0 - 2021-03-26

Fixed

  • improved snackbar rendering performance
  • improved toast rendering performance
  • reduced package size

3.0.0 - 2021-03-25

Added

  • type declaration files
  • new append() function
  • alternate CDN version

Fixed

  • autofocus bug (#19)
  • action button bug (#20)

2.1.1 - 2021-01-21

Fixed

  • snackbar missing element bug

2.1.0 - 2020-11-09

Added

  • ability to autofocus buttons (#14)
  • CDN compatible version (ES Module)
  • role attributes to snackbar and toast notifications
  • toast notificaitons can contain buttons (#15)
  • toast notification timers (#13)
  • updated readme

Fixed

  • toast notifications now stack with oldest notifications appearing at the bottom (better UX/expected notification behavior)

2.0.3 - 2020-09-16

Fixed

  • snackbar button without class string/array bug

2.0.1 - 2020-04-24

Fixed

  • typescript declaration files
  • toast injection

2.0.0 - 2020-04-23

Added

  • refactored elements into web components
  • renamed NotificationManager() to Notifier()

Fixed

  • toast components use node.inserBefore() instead of forcing the column-reverse CSS property to render in the correct order

Removed

  • deprecated position value
  • notify() export -- replaced with snackbar()

1.2.2 - 2020-04-17

Fixed

  • toaster notification close button bug
  • fixed toaster null check bug

1.2.0 - 2020-04-04

Added

  • toaster notification toast() creation #5
  • renames existing notification funciton to snackbar()

1.1.0 - 2020-02-11

Added

  • support for applying dynamic notificaiton classes #6
  • support for dynamic button classes
  • testing
  • generic material design based CSS stylesheet

Deprecated

  • notifications position value
  • notifications element value

1.0.3 - 2020-01-09

Fixed

  • updated type declarations

1.0.2 - 2020-01-09

Added

  • Notify.d.ts declaration file to the files array in package.json

1.0.1 - 2020-01-09

Added

  • new notify export providing access to a global notification manager

Removed

1.0.0 - 2019-12-15

Added

  • TypeScript declaration file for Notify.js

Changed

  • Updated to ES2019

Removed

  • Support for IE 11
  • Removed minimum notification duration #2

0.2.0 - 2019-09-30

Added

  • Reworked library to use window.requestAnimationFrame instead of setTimeout 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

Removed

  • Entire existing codebase due to rewrite