Skip to content

Commit 4166da2

Browse files
committed
Release 5.2.0
1 parent 3c78c7e commit 4166da2

File tree

2 files changed

+21
-1
lines changed

2 files changed

+21
-1
lines changed

HISTORY.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,25 @@
11
# Sanitize History
22

3+
## 5.2.0 (2020-06-06)
4+
5+
### Changes
6+
7+
* The term "whitelist" has been replaced with "allowlist" throughout Sanitize's
8+
source and documentation.
9+
10+
While the etymology of "whitelist" may not be explicitly racist in origin or
11+
intent, there are inherent racial connotations in the implication that white
12+
is good and black (as in "blacklist") is not.
13+
14+
This is a change I should have made long ago, and I apologize for not making
15+
it sooner.
16+
17+
* In transformer input, the `:is_whitelisted` and `:node_whitelist` keys are now
18+
deprecated. New `:is_allowlisted` and `:node_allowlist` keys have been added.
19+
The old keys will continue to work in order to avoid breaking existing code,
20+
but they are no longer documented and may be removed in a future semver major
21+
release.
22+
323
## 5.1.0 (2019-09-07)
424

525
### Features

lib/sanitize/version.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
# encoding: utf-8
22

33
class Sanitize
4-
VERSION = '5.1.0'
4+
VERSION = '5.2.0'
55
end

0 commit comments

Comments
 (0)