Skip to content

Upgrade devise version from 4.9.2 to 4.9.4 to remove deprecation warning#270

Merged
danielnottingham merged 1 commit intomainfrom
fix-warnings-deprecatedconstant
Apr 10, 2025
Merged

Upgrade devise version from 4.9.2 to 4.9.4 to remove deprecation warning#270
danielnottingham merged 1 commit intomainfrom
fix-warnings-deprecatedconstant

Conversation

@mattfeg
Copy link
Collaborator

@mattfeg mattfeg commented Apr 10, 2025

Fixes #261

  • Context
    Warning generated: DEPRECATION WARNING: DeprecatedConstantAccessor.deprecate_constant without a deprecator is deprecated.

Devise shouldn't be using the DeprecatedConstantAccessor anymore, and instead should be using the Devise.deprecator which does not generate a Deprecation Warning. Described in heartcombo/devise#5635

It was fixed on devise 4.9.3
https://github.com/heartcombo/devise/blob/v4.9.4/CHANGELOG.md#494---2024-04-10

  • Solution
    Upgrade Devise version to 4.9.4 (latest version)

@mattfeg mattfeg self-assigned this Apr 10, 2025
@danielnottingham danielnottingham merged commit 39b1664 into main Apr 10, 2025
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Fix DEPRECATION WARNING: DeprecatedConstantAccessor.deprecate_constant without a deprecator is deprecated

2 participants