Upgrade to 7.0.0
Version 7.0.0 includes a CommonMarker compatibility change, RDoc 8 support, and reStructuredText anchor fixes. Ruby 3.3 or later is still required.
Install the gem from RubyGems.
Breaking
- Require commonmarker 2.x when using the CommonMarker renderer; upgrade existing commonmarker 0.x installations #2059.
- Accept
VALIDATE_UTF8,LIBERAL_HTML_TAG,TABLE_PREFER_STYLE_ATTRIBUTES, andSTRIKETHROUGH_DOUBLE_TILDEwithout applying them #2059. - Preserve soft line breaks with
NOBREAKSinstead of converting them to spaces #2059. - Apply
HARDBREAKSandNOBREAKSin their supplied order; the last flag wins, replacing the oldHARDBREAKSprecedence #2059.
Bug Fixes
- Support RDoc 8 formatter initialization and declare
rdoc < 9as a runtime dependency #2109, #2104. - Restore reStructuredText section and table-of-contents anchors with docutils 0.18 and later #2081, #2087.
Development
- Update development dependencies to commonmarker 2.8.2, html-pipeline 3.2, minitest 6, and activesupport 8.1.
- Require 100% measured line and branch coverage and load gem metadata without loading renderers #2072.