Skip to content

Commit

Permalink
doc: update CHANGELOG and README with supported branch info
Browse files Browse the repository at this point in the history
to be explicit about supporting 1.5.x while Rails 6.1 is supported
  • Loading branch information
flavorjones committed May 26, 2023
1 parent ca29c20 commit a9b2f1e
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 0 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
## 1.6.0.rc2 / 2023-05-24
* Dependencies have been updated:

- Loofah `~>2.21` and Nokogiri `~>1.14` for HTML5 parser support
- As a result, required Ruby version is now `>= 2.7.0`

Security updates will continue to be made on the `1.5.x` release branch as long as Rails 6.1
(which supports Ruby 2.5) is still in security support.

*Mike Dalessio*

* HTML5 standards-compliant sanitizers are now available on platforms supported by
Nokogiri::HTML5. These are available as:
Expand Down
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -234,6 +234,15 @@ Or install it yourself as:
$ gem install rails-html-sanitizer
## Support matrix
| branch | ruby support | actively maintained | security support |
|--------|--------------|---------------------|----------------------------------------|
| 1.6.x | >= 2.7 | yes | yes |
| 1.5.x | >= 2.5 | no | while Rails 6.1 is in security support |
| 1.4.x | >= 1.8.7 | no | no |


## Read more

Loofah is what underlies the sanitizers and scrubbers of rails-html-sanitizer.
Expand Down

0 comments on commit a9b2f1e

Please sign in to comment.