- Bugfix - Handle case when cookie is null
- Added
:success
and:warning
to list of Flash keys visible by default
- Now compatible with jQuery 1, 2 and 3.
- Now compatible with Rails 5.
- Now compatible with turbolinks 5.
- Make bootstrap flash mapping configurable [#31]
- Do not repeat flash messages [#32]
- Support AWS ELB out of the box [#33]
- Only show user-facing flash messages [#21]
- Tested with JRuby
- Support passing flash with non-successful (non-200) AJAX requests thanks to @Markwallow [#28]
- Tested with Rails 4.2
- Fix typo that didn't clear domainless cookies thanks to @pavelgnom [#23]
- Extracted default flash options to
UnobtrusiveFlash.flashOptions
so you can set the message timeout. - Use
hostname
when nuking cookies by @zeppelin [#14] - Check $flashContainer dynamically by @nfedyashev [#15].
- Fixed issues with applications on the .herokuapp.com domain [#16].
- Moved Javascript methods to an
UnobtrusiveFlash
module. This breaks calling$.showFlashMessage
, hence another major release [#11] - Make sure that the flash events are invoked after a handler had a chance to bind [#10]
- Changed default alerts to never autohide [#6]
- Bootstrap handler: All conventional Rails notices are correctly styled by @conzett [#12]
- Turbolinks are supported thanks to @yoyos [#13]
- Fixes to cookie nuking by @asaletnik [#7]
- Changed message escaping logic to use the Rails html_safe conventions (Possibly breaking change)
- Grand refactoring
- Compatibility with Rails 3 Asset Pipeline
- Dropped compatibility with Rails 2
- Decoupled logic from presentation
- Compatibility with Bootstrap
- Event-driven architecture