[Suggestion] Change from white
/black
to a more inclusive language (allow
/block
?)
#182
Closed
1 of 2 tasks
Labels
wontfix
This will not be worked on
Thanks for all the work on this library and for making it robust!
Proposal
This issue is being opened as a suggestion to move in a more inclusive terminology, removing the
white
/black
reference and changing it to theallow
/block
reference (names are just a suggestion).Impacts and Legacy usage
Understanding legacy projects that are not being maintained and those that can schedule a change to their projects, the suggestion is to inform about the deprecation with a warning while using those terms and already accept the new ones. Thinking about this, there are 2 PRs opened:
whitelist
/blacklist
and support toallowlist
/blocklist
as defaultwhite
/black
terms usageThe first one is not a breaking change, so it is possible to be merged and deployed as the old terms are still supported. The second one could be merged in the future version as it is a breaking change (new major version? 🤔)
Reference
As one of many references for this change, Rails community already changed it with the small difference between
block
fordeny
.The text was updated successfully, but these errors were encountered: