Compare Versions - devise
RubyGems / devise / Compare Versions
→
- bug fixes
- Fix password reset for records where
confirmation_required?is disabled andconfirmation_sent_atis nil. (by @andygeers) - Allow resources with no
emailfield to be recoverable (and do not clear the reset password token if the model was already persisted). (by @seddy, @stanhu)
- Fix password reset for records where
- enhancements
- Upon setting
Devise.send_password_change_notification = truea user will receive notification when their password has been changed.
- Upon setting
- enhancements
- Perform case insensitive basic authorization matching
- bug fixes
- Do not use digests for password confirmation token
- Fix infinite redirect in Rails 4.2 authenticated routes
- Autoload Devise::Encryptor to avoid errors on thread-safe mode
- deprecations
config.expire_auth_token_on_timeoutwas removed
- enhancements
- Devise default views now have a similar markup to Rails scaffold views. (by @udaysinghcode, @cllns)
- Passing
now: trueto theset_flash_messagehelper now sets the message into theflash.nowHash. (by @hbriggs)
- bugfixes
- Fixed an regression with translation of flash messages for when the
authentication_keysconfig is a Hash. (by @lucasmazza)
- Fixed an regression with translation of flash messages for when the
- enhancements
- Support added for Rails 4.2. Devise now depends on the
respondersgem due the extraction of therespond_withAPI from Rails. (by @lucasmazza) - The Simple Form templates follow the same change from 3.3.0 by using
Log inand adding a hint about the minimum password length whenvalidatableis enabled. (by @aried3r) - Controller generator added as
devise:controllers SCOPE. You can use the-cflag to pick which controllers (unlocks,confirmations, etc) you want to generate. (by @Chun-Yang) - Removed the hardcoded references for "email" in the flash messages. If you are using
different attributes as the
authentication_keysthey will be interpolated in the messages instead. (by @timoschilling)
- Support added for Rails 4.2. Devise now depends on the
- bug fix
- Fixed a regression where the devise generator would fail with a
ConnectionNotEstablishedexception when executed inside a mountable engine. (by @lucasmazza) - Ensure to return symbols in find_scope! fixing a previous regression from 3.3.0 (by @micat)
- Ensure all causes of failed login have the same error message (by @pjungwir)
- The
last_attempt_warningnow takes effect when generating the unauthenticated message for your users. To keep the current behavior, this flag is nowtrueby default. (by @lucasmazza)
- Fixed a regression where the devise generator would fail with a