mirror of
https://github.com/heartcombo/devise.git
synced 2026-04-28 03:00:29 -04:00
Deprecate `BLACKLIST_FOR_SERIALIZATION` constant in favor of a more descriptive name `UNSAFE_ATTRIBUTES_FOR_SERIALIZATION`, removing unnecessary usage of the word `blacklist` from devise. The previous constant still works but will emit a warning if used, to allow anyone still depending on it to upgrade. This includes an internal backport of the Rails `deprecate_constant` implementation that exists on Rails 5.1+ to be able to deprecate it properly in prior versions, while we support those. (which I intend to drop soon.)