Skip to content

Commit

Permalink
Release 5.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
rgrove committed Jun 6, 2020
1 parent 3c78c7e commit 4166da2
Show file tree
Hide file tree
Showing 2 changed files with 21 additions and 1 deletion.
20 changes: 20 additions & 0 deletions HISTORY.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,25 @@
# Sanitize History

## 5.2.0 (2020-06-06)

### Changes

* The term "whitelist" has been replaced with "allowlist" throughout Sanitize's
source and documentation.

While the etymology of "whitelist" may not be explicitly racist in origin or
intent, there are inherent racial connotations in the implication that white
is good and black (as in "blacklist") is not.

This is a change I should have made long ago, and I apologize for not making
it sooner.

* In transformer input, the `:is_whitelisted` and `:node_whitelist` keys are now
deprecated. New `:is_allowlisted` and `:node_allowlist` keys have been added.
The old keys will continue to work in order to avoid breaking existing code,
but they are no longer documented and may be removed in a future semver major
release.

## 5.1.0 (2019-09-07)

### Features
Expand Down
2 changes: 1 addition & 1 deletion lib/sanitize/version.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
# encoding: utf-8

class Sanitize
VERSION = '5.1.0'
VERSION = '5.2.0'
end

0 comments on commit 4166da2

Please sign in to comment.