Existing CommonMarker 0.x installations can now adopt the RDoc 8 and reStructuredText fixes without upgrading their parser.
What changed
- I restored the native CommonMarker 0.x rendering API, including its original options, validation errors, and extension limits.
- I retained the existing CommonMarker 2.x adapter. Parser-specific rendering differences remain intentional.
- I added a legacy-parser CI job and real-parser regression tests in Restore legacy CommonMarker compatibility for 6.1.1.
The RDoc 8 formatter and reStructuredText anchor fixes from the withdrawn releases remain included.
Compatibility
CommonMarker remains optional. Consumers can retain their existing parser dependency.
The gem requires Ruby 3.3 or later and rdoc < 9. The legacy CommonMarker 0.23.12 gem itself requires Ruby below 4.0; the legacy CI job uses Ruby 3.4.
Versions 6.1.0 and 7.0.0 remain withdrawn. Their historical tags remain unchanged.
Validation
The complete 71-test suite passed five fresh-Codespace profiles across both parser families, RDoc 7.2/8.1, and an unchanged public legacy fork. Each profile retained 100% measured line and branch coverage.
The installed gem passed four parser/RDoc profiles. All 15 legacy output/error cases matched the published 6.0.0 gem with the same unchanged parser.
Merged-master CI passed all five jobs.