You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

133 lines
3.4 KiB

2 months ago
  1. # Changelog
  2. All the changes made to toastify-js library.
  3. ## [1.12.0] - 2022-07-21
  4. * Accessibility fix: Support aria-live for the toast
  5. * Accessibility fix: Add aria-label for close icon
  6. ## [1.11.2] - 2021-10-06
  7. * Bugfix: Style Options: "backgroundColor" not working! (#81)
  8. * Bugfix: "ShadowRoot is undefined" in older browsers (#83)
  9. ## [1.11.1] - 2021-07-15
  10. * Bugfix: IE11 support broke since style option #77
  11. ## [1.11.0] - 2021-04-25
  12. * New property `oldestFirst` allows to set the order of adding new toasts to page (#70 and #71)
  13. ## [1.10.0] - 2021-03-25
  14. * `selector` now supports a DOM Node, along with ID string ([#65](https://github.com/apvarun/toastify-js/pull/65))
  15. * New property - `escapeMarkup` - Toggle the default behavior of escaping HTML markup
  16. * New property - `style` - Use the HTML DOM Style properties to add any style directly to toast
  17. * Adds `toastify-es.js`, to be used from node_modules until there are no compatibility issues
  18. ### Deprecations:
  19. * `backgroundColor` is deprecated. Use `style.background` instead
  20. ## [1.9.3] - 2020-10-10
  21. * Offset IE11 compatibility #64
  22. ## [1.9.2] - 2020-09-24
  23. * Bugfix: Max width problem for firefox browser #61
  24. ## [1.9.1] - 2020-08-13
  25. * Bugfix: Avatar positioning based on toast position
  26. ## [1.9.0] - 2020-07-22
  27. * Add support for providing toast `offset`
  28. * Updated docs: offset
  29. ## [1.8.0] - 2020-05-29
  30. * Add option to provide a node instead of text
  31. * Updated docs: permanent toast duration
  32. ## [1.7.0] - 2020-03-01
  33. * To be able to set `stopOnFocus` for toasts without close icon
  34. * Bugfix: `duration` can be infinite by setting as `0`
  35. * Bugfix: Prevent errors when parent node is removed from DOM while using frameworks
  36. * Bugfix: IE 9/10 compatibility fix
  37. ## [1.6.2] - 2020-01-03
  38. * Bugfix: Closing the toast when custom close icon from icon fonts are used
  39. ## [1.6.1] - 2019-06-29
  40. * Bugfix: Disabling `stopOnFocus`
  41. ## [1.6.0] - 2019-06-29
  42. * **Deprecation Warning**: Migrating from `positionLeft` property to `position`
  43. * Property `position` to support `center` as a value along with `left` and `right` - Useful for centering toast messages in the page
  44. ## [1.5.0] - 2019-05-30
  45. * Added persistant toast option with ability to programatically close it
  46. ## [1.4.0] - 2019-05-12
  47. * **Breaking Change**: Manually import CSS while using as module in your modern JavaScript applications
  48. * Ability to pause the toast dismiss timer on hover (Using `stopOnFocus` property)
  49. ## [1.3.2] - 2018-12-6
  50. * Added z-index attribute
  51. ## [1.2.1] - 2018-05-31
  52. * Added support for Classes. Now custom classes can be added to the toast while creating it
  53. ## [1.2.0] - 2018-03-05
  54. * Fix issue when `destination` and `close` options is used at the same time
  55. ## [1.1.0] - 2018-02-18
  56. * Browser support extended to IE10+ without any polyfills
  57. ## [1.0.0] - 2018-02-17
  58. * Support for modules
  59. ## [0.0.6] - 2017-09-09
  60. * Support for changing background [Options]
  61. * Optimized toast positioning logic
  62. * Added changelog for library update tracking
  63. ## [0.0.5] - 2017-09-06
  64. * Support for toast messages on mobile screens
  65. * Tweaked close icon
  66. ## [0.0.4] - 2017-09-05
  67. * Support for positioning of toasts on the page
  68. ## [0.0.3] - 2017-09-05
  69. * Close buton for toasts [Options]
  70. ## [0.0.2] - 2017-09-04
  71. * Option to add on-click link for toasts
  72. * Updated comments for code readability
  73. ## [0.0.1] - 2017-09-02
  74. * Initial Release
  75. * Added Preview page
  76. * Optimized function structure