Closed dependabot-preview[bot] closed 5 years ago
OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version
or @dependabot ignore this minor version
.
If you change your mind, just re-open this PR and I'll resolve any conflicts on it.
Bumps devise from 4.4.3 to 4.6.0. This update includes security fixes.
Vulnerabilities fixed
*Sourced from [The Ruby Advisory Database](https://github.com/rubysec/ruby-advisory-db/blob/master/gems/devise/CVE-2019-5421.yml).* > **Devise Gem for Ruby Time-of-check Time-of-use race condition with lockable module** > Devise ruby gem before 4.6.0 when the `lockable` module is used is vulnerable to a > time-of-check time-of-use (TOCTOU) race condition due to `increment_failed_attempts` > within the `Devise::Models::Lockable` class not being concurrency safe. > > Patched versions: >= 4.6.0 > Unaffected versions: noneChangelog
*Sourced from [devise's changelog](https://github.com/plataformatec/devise/blob/master/CHANGELOG.md).* > ### 4.6.0 - 2019-02-07 > > * enhancements > * Allow to skip email and password change notifications (by [@iorme1](https://github.com/iorme1)) > * Include the use of `nil` for `allow_unconfirmed_access_for` in the docs (by [@joaumg](https://github.com/joaumg)) > * Ignore useless files into the `.gem` file (by [@huacnlee](https://github.com/huacnlee)) > * Explain the code that prevents enumeration attacks inside `Devise::Strategies::DatabaseAuthenticatable` (by [@tegon](https://github.com/tegon)) > * Refactor the `devise_error_messages!` helper to render a partial (by [@prograhamer](https://github.com/prograhamer)) > * Add an option (`Devise.sign_in_after_change_password`) to not automatically sign in a user after changing a password (by [@knjko](https://github.com/knjko)) > > * bug fixes > * Fix missing comma in Simple Form generator (by [@colinross](https://github.com/colinross)) > * Fix error with migration generator in Rails 6 (by [@oystersauce8](https://github.com/oystersauce8)) > * Set `encrypted_password` to `nil` when `password` is set to `nil` (by [@sivagollapalli](https://github.com/sivagollapalli)) > * Consider whether the request supports flash messages inside `Devise::Controllers::Helpers#is_flashing_format?` (by [@colinross](https://github.com/colinross)) > * Fix typo inside `Devise::Generators::ControllersGenerator` (by [@kopylovvlad](https://github.com/kopylovvlad)) > * Sanitize parameters inside `Devise::Models::Authenticatable#find_or_initialize_with_errors` (by [@rlue](https://github.com/rlue)) > * `#after_database_authentication` callback was not called after authentication on password reset (by [@kanmaniselvan](https://github.com/kanmaniselvan)) > * Fix corner case when `#confirmation_period_valid?` was called at the same second as `confirmation_sent_at` was set. Mostly true for date types that only have second precisions. (by [@stanhu](https://github.com/stanhu)) > * Fix unclosed `li` tag in `error_messages` partial (by [@mracos](https://github.com/mracos)) > * Fix Routes issue when devise engine is mounted in another engine on Rails versions lower than 5.1 (by [@a](https://github.com/a)-barbieri) > * Make `#increment_failed_attempts` concurrency safe (by [@tegon](https://github.com/tegon)) > * Apply Test Helper fix to Rails 6.0 as well as 5.x (by [@matthewrudy](https://github.com/matthewrudy)) > > > * deprecations > * The second argument of `DatabaseAuthenticatable`'s `#update_with_password` and `#update_without_password` is deprecated and will be removed in the next major version. It was added to support a feature deprecated in Rails 4, so you can safely remove it from your code. (by [@ihatov08](https://github.com/ihatov08)) > * The `DeviseHelper.devise_error_messages!` is deprecated and will be removed in the next major version. Use the `devise/shared/error_messages` partial instead. (by [@mracos](https://github.com/mracos)) > > ### 4.5.0 - 2018-08-15 > > * enhancements > * Use `before_action` instead of `before_filter` (by [@edenthecat](https://github.com/edenthecat)) > * Allow people to extend devise failure app, through invoking `ActiveSupport.run_load_hooks` once `Devise::FailureApp` is loaded (by [@wnm](https://github.com/wnm)) > * Use `update` instead of `update_attributes` (by [@koic](https://github.com/koic)) > * Split IP resolution from `update_tracked_fields` (by [@mckramer](https://github.com/mckramer)) > * upgrade dependencies for rails and responders (by [@lancecarlson](https://github.com/lancecarlson)) > * Add `autocomplete="new-password"` to new password fields (by [@gssbzn](https://github.com/gssbzn)) > * Add `autocomplete="current-password"` to current password fields (by [@gssbzn](https://github.com/gssbzn)) > * Remove redundant `self` from `database_authenticatable` module (by [@abhishekkanojia](https://github.com/abhishekkanojia)) > * Update `simple_form` templates with changes from https://github.com/plataformatec/devise/commit/16b3d6d67c7e017d461ea17ed29ea9738dc77e83 and https://github.com/plataformatec/devise/commit/6260c29a867b9a656f1e1557abe347a523178fab (by [@gssbzn](https://github.com/gssbzn)) > * Remove `:trackable` from the default modules in the generators, to be more GDPR-friendly (by [@fakenine](https://github.com/fakenine)) > > * bug fixes > * Use same string on failed login regardless of whether account exists when in paranoid mode (by [@TonyMK9068](https://github.com/TonyMK9068)) > * Fix error when params is not a hash inside `Devise::ParameterSanitizer` (by [@b0nn1e](https://github.com/b0nn1e)) > * Look for `secret_key_base` inside `Rails.application` (by [@gencer](https://github.com/gencer)) > * Ensure `Devise::ParameterFilter` does not add missing keys when called with a hash that has a `default` / `default_proc` > configured (by [@joshpencheon](https://github.com/joshpencheon)) > * Adds `is_navigational_format?` check to `after_sign_up_path_for` to keep consistency (by [@iorme1](https://github.com/iorme1)) > ... (truncated)Commits
- [`4501682`](https://github.com/plataformatec/devise/commit/45016829d6fce6db42c900a5f7565cd670fd9cc9) Prepare for `4.6.0` release - [`337db5a`](https://github.com/plataformatec/devise/commit/337db5a3a2fa178a14dc4536d0d8ae2ccde5adc5) Update CHANGELOG.md [ci skip] - [`a921c10`](https://github.com/plataformatec/devise/commit/a921c10e6ab0b96b7f2d9e880ef7842376b053da) Merge pull request [#5018](https://github-redirect.dependabot.com/plataformatec/devise/issues/5018) from plataformatec/frg-fix-webrat-warning - [`101e50f`](https://github.com/plataformatec/devise/commit/101e50f9df004f22a8e08f2cac4589766a3461c4) Fix webrat warnings - [`6064ca8`](https://github.com/plataformatec/devise/commit/6064ca8b736faafa2f597e5319c1a43938c2eae9) Merge pull request [#5014](https://github-redirect.dependabot.com/plataformatec/devise/issues/5014) from plataformatec/frg-fix-test-setup - [`2dd3225`](https://github.com/plataformatec/devise/commit/2dd322579fdfb6705f49c1e4ca769c57cc92bf1a) Fix bin/test to use Rails::TestUnit - [`e72839f`](https://github.com/plataformatec/devise/commit/e72839f4bc18e038e1cb9a0cd24c9aed47cb2183) Merge pull request [#5011](https://github-redirect.dependabot.com/plataformatec/devise/issues/5011) from plataformatec/frg-fix-sqlite-warning - [`45438fc`](https://github.com/plataformatec/devise/commit/45438fcfc4084d9e56b6f0c079eaaff8557c24d9) Fix SQLite3 warning - [`f332911`](https://github.com/plataformatec/devise/commit/f3329110ba786b9262ffacf662d73bc0633e9624) Update README to help run tests [ci skip] ([#5012](https://github-redirect.dependabot.com/plataformatec/devise/issues/5012)) - [`369ba26`](https://github.com/plataformatec/devise/commit/369ba267efaa10d01c8dba59b09c3b94dd9e5551) removing white space in devise generator new.html.erb ([#5010](https://github-redirect.dependabot.com/plataformatec/devise/issues/5010)) - Additional commits viewable in [compare view](https://github.com/plataformatec/devise/compare/v4.4.3...v4.6.0)Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase
.Note: This repo was added to Dependabot recently, so you'll receive a maximum of 5 PRs for your first few update runs. Once an update run creates fewer than 5 PRs we'll remove that limit.
You can always request more updates by clicking
Bump now
in your Dependabot dashboard.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major version (unless you reopen the PR or upgrade to it). To ignore the version in this PR you can just close it - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.