From 6bd2fdb313483ee4ac46260d4a65d9073ce210fa Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Thu, 15 Oct 2026 14:01:00 -0700 Subject: [PATCH 1/2] release: prepare v7.0.0 I documented the CommonMarker compatibility changes, RDoc 8 support, and reStructuredText anchor fixes since v6.0.0. I updated the package version without changing locked dependencies. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6fe372b1-3ff6-4129-9d33-be564fb6a5f0 Signed-off-by: Zack Koppert --- Gemfile.lock | 2 +- HISTORY.md | 17 +++++++++++++++++ lib/github-markup.rb | 2 +- 3 files changed, 19 insertions(+), 2 deletions(-) diff --git a/Gemfile.lock b/Gemfile.lock index 77cc42a8..20cb0e99 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -1,7 +1,7 @@ PATH remote: . specs: - github-markup (6.0.0) + github-markup (7.0.0) rdoc (< 9) GEM diff --git a/HISTORY.md b/HISTORY.md index 33c1ea2e..533563f2 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -1,3 +1,20 @@ +## 7.0.0 - 2026-10-15 + +### Breaking + +* Require commonmarker 2.x when using the CommonMarker renderer; upgrade existing commonmarker 0.x installations [#2059](https://github.com/github/markup/pull/2059). +* Accept `VALIDATE_UTF8`, `LIBERAL_HTML_TAG`, `TABLE_PREFER_STYLE_ATTRIBUTES`, and `STRIKETHROUGH_DOUBLE_TILDE` without applying them [#2059](https://github.com/github/markup/pull/2059). + +### Bug Fixes + +* Support RDoc 8 formatter initialization and declare `rdoc < 9` as a runtime dependency [#2109](https://github.com/github/markup/pull/2109), [#2104](https://github.com/github/markup/pull/2104). +* Restore reStructuredText section and table-of-contents anchors with docutils 0.18 and later [#2081](https://github.com/github/markup/pull/2081), [#2087](https://github.com/github/markup/pull/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](https://github.com/github/markup/pull/2072). + ## 6.0.0 - 2026-05-04 ### Breaking diff --git a/lib/github-markup.rb b/lib/github-markup.rb index bd470da1..11554b21 100644 --- a/lib/github-markup.rb +++ b/lib/github-markup.rb @@ -1,6 +1,6 @@ module GitHub module Markup - VERSION = '6.0.0' + VERSION = '7.0.0' Version = VERSION end end From 62f5cf58d477f0aa3b7648de4620bcf1add9c71b Mon Sep 17 00:00:00 2001 From: Zack Koppert Date: Thu, 15 Oct 2026 14:43:10 -0700 Subject: [PATCH 2/2] docs: explain CommonMarker line-break migration I documented that NOBREAKS now preserves soft line breaks and that the last supplied HARDBREAKS or NOBREAKS flag takes precedence. I verified the old renderer source and reproduced both behaviors before updating the release notes. Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Copilot-Session: 6fe372b1-3ff6-4129-9d33-be564fb6a5f0 Signed-off-by: Zack Koppert --- HISTORY.md | 2 ++ 1 file changed, 2 insertions(+) diff --git a/HISTORY.md b/HISTORY.md index 533563f2..29233349 100644 --- a/HISTORY.md +++ b/HISTORY.md @@ -4,6 +4,8 @@ * Require commonmarker 2.x when using the CommonMarker renderer; upgrade existing commonmarker 0.x installations [#2059](https://github.com/github/markup/pull/2059). * Accept `VALIDATE_UTF8`, `LIBERAL_HTML_TAG`, `TABLE_PREFER_STYLE_ATTRIBUTES`, and `STRIKETHROUGH_DOUBLE_TILDE` without applying them [#2059](https://github.com/github/markup/pull/2059). +* Preserve soft line breaks with `NOBREAKS` instead of converting them to spaces [#2059](https://github.com/github/markup/pull/2059). +* Apply `HARDBREAKS` and `NOBREAKS` in their supplied order; the last flag wins, replacing the old `HARDBREAKS` precedence [#2059](https://github.com/github/markup/pull/2059). ### Bug Fixes