- Messages can be programmatically closed by doing
message.close()
. Changing thevisible
property was broken.
- Don't require jquery #119
- Document
importCss
#124 - Document angle bracket invocations #128
- Transfer addon to
adopted-ember-addons
#130 - Fix notifications in IE #125
- Use SVG for the badge #118
- Update modules to new style of import #131
- Update README with new
inject
import #126 - Cleanup code #132
- Add support for unique identifier #132
- Update
ember
blueprints to3.10
#133 - Drop support for
ember
<3.4
#133 - Lint templates, fix deprecations #133
- Cleanup code and update documentation #134
- Refactor to avoid using
observer
#135 - Remove
Notify.testing
and customRunner
#135 - Update changelog, release
6.0.0
#136
- The default theme is now compatible with Foundation 6. If you want to use Foundation 5 then use
{{ember-notify messageStyle='foundation-5'}}
- The
notify
property is no longer injected into routes and controllers by default. You should now usenotify: Ember.inject.service()
- The
Notify
helper exported from theember-notify
package can no longer be used to send messages - you need to use the service - The property names have changed from
message
andraw
totext
andhtml
- The
info
,success
,warning
,alert
anderror
methods no longer return a Promise, they return aMessage
instance
v3.0 uses a component + helper architecture that removes several hacks in previous versions.
- ember-cli is now required for v3.0. Projects that don't use ember-cli will need to stay on the v2.0 branch
- You now need to add
{{ember-notify}}
to one of your templates, usually inapplication.hbs
- Bootstrap styling is now selected using the
messageStyle
property on the component:{{ember-notify messageStyle='bootstrap'}}
- If you were using
message.send('close')
, this will need to be changed tomessage.set('visible', false)