Skip to content

Commit

Permalink
Prepare 1.2.0
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspth committed Aug 8, 2019
1 parent 5581871 commit b8ea80d
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
14 changes: 14 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,17 @@
## 1.2.0

* Remove needless `white_list_sanitizer` deprecation.

By deprecating this, we were forcing Rails 5.2 to be updated or spew
deprecations that users could do nothing about.

That's pointless and I'm sorry for adding that!

Now there's no deprecation warning and Rails 5.2 works out of the box, while
Rails 6 can use the updated naming.

*Kasper Timm Hansen*

## 1.1.0

* Add `safe_list_sanitizer` and deprecate `white_list_sanitizer` to be removed
Expand Down
2 changes: 1 addition & 1 deletion lib/rails/html/sanitizer/version.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
module Rails
module Html
class Sanitizer
VERSION = "1.1.0"
VERSION = "1.2.0"
end
end
end

0 comments on commit b8ea80d

Please sign in to comment.