- Merge pull request #5 from shinglyu/http204 (handle response with no content-type header)
- Merge pull request #4 from support-lazy-messages (coerve message bodies to text)
- Delay instantiating Handlebars to prevent error if not using default.
- BACKWARDS INCOMPATIBLE: Accept callable template fn instead of namespace and tplName.
- Add bower.json.
- Add option for template name.
- Make agnostic regarding templating engine, as long as template is precompiled and callable fn.
- Add option for Handlebars templates global namespace.
- Add missing __init__.py.
- Fix manifest.in to include package json file.
- Publish as a standalone jQuery plugin. Add JS unit tests.
- BACKWARDS INCOMPATIBLE: js filename changed from jquery.messages-ui.js to django-messages-ui.js
- Remove transient messages on scroll (also mousedown, keydown, mouseover).
- Fix AjaxMessagesMiddleware encoding issue with Python 3 and JSON response.
- Precompile Handlebars template with 1.0.0.
- Precompile Handlebars template with 1.0.0-rc.4.
- Make AjaxMessagesMiddleware Py3-compatible.
- Add option for function called after closeLink is clicked.
- Add option for function called on transient messages after transientDelay.
- Add response.no_messages option for disabling middleware.
- Rewrite using method plugin architecture; simpler 'add' method to add msg.
- Add option to display unescaped HTML in message content.
- Add option to use Handlebars.js (new default) instead of ICanHaz.js.
- Make close-link selector specific to within a message; use preventDefault.
- JS stop transient-message fade on close-link click.
- JS don't parse non-json.
- Don't touch non-200 responses.
- JS cleanup; added JSLint options.
- Added
closeLink: false
plugin option. - Subsequent plugin calls on the same element default to previous options unless explicitly overridden.
- Added
AjaxMessagesMiddleware
andhandleAjax
plugin option.
- Updated HTML template (removed
<aside>
and moved#messages
to<ul>
).
- Initial release.