- Updates the readme
- Adds support for Rails 5
- Reduces this gem to use ActiveJob as an abstraction to various backends
- Explicitly requires Devise to avoid an error if Devise is not explicitly mentioned in your Gemfile (@derekprior)
- Improvements for running devise-async locally and on CI
- This will be the last release to support Devise 3.x
- No code changes compared to
0.10.1-alpha
- Backburner support (@jandudulski)
- Sucker Punch support (@kmayer)
- Que support (@marshall-lee)
- Handle
deliver_now
in preparation for Rails 5 (@barelyknown) - Option to set a priority for DJ and Backburner (@mkon)
- The locale is remembered before an asynchronous task is run (@baschtl)
- Fixed a usage of
try
that appeared in connection with Rails 4 (@baschtl)
- Multiple mailers support (@baschtl)
- Update devise dependency to ~3.2
- Support arbitrary number of arguments to mailer (@glebm)
- Added torquebox support (@astjohn)
- make sure options hash has string keys when enqueued and symbol keys when job runs
- stringfy options keys before enqueueing to make queue_classic happy (@nickw)
- Added
Devise::Async.enabled=
options to make it easier to skip async processing during tests (@mohamedmagdy)
- Now compatible with Devise 2.2+ only
- Legacy
Devise::Async::Proxy
is now gone Devise::Async.mailer=
is gone since there's no need for it anymore. UseDevise.mailer
directly.
- Lock dependency of 0.5 series on devise < 2.2
- Added support for QueueClassic (@jperville)
- Remove deprecated
DeviseAsync::Proxy
andDeviseAsync.backend=
- Improved comments throughout code
- Enhancements
- Add support for queue config to DelayedJob backend
- Use Devise third party modules API insted of including module directly. This fixes the ordering issue when including.
- Fixes
- Do not register after_commit unless ORM supports it
- Only enqueue notifications for after_commit if model is dirty
- Fixes
- Added
Devise::Async::Model
to use new devise's after_commit hooks to resolve #6 (only devise >=2.1.1)
- Added
- Enhancements
- Added
Devise::Async.queue
option to let configure the queue the jobs will be enqueued to.
- Added
- Fixes
- Changed the way we store the record id in the queue to enforce compatibility with diferent ORMs
- New
- Added
Devise::Async.mailer
option to proxy to custom mailers - Added
Devise::Async.setup
to allow configuring with blocks
- Added
-
Enhancements
- Restructured gem to Devise::Async module instead of DeviseAsync.
-
Deprecations
- DeviseAsync::Proxy is now Devise::Async::Proxy
- DeviseAsync.backend is now Devise::Async.backend
- first release