What's Changed
💥 Breaking Changes
- Change default ruby parser to RDoc::Parser::PrismRuby by @tompng in #1581
- Remove deprecated CLI options and directives by @st0012 in #1616
- Refactor formatter options by @st0012 in #1623
- Remove unused memoized caches from Context by @st0012 in #1644
- Add server mode with live reload (
rdoc --server) by @st0012 in #1620 - Drop Ripper-based parser by @st0012 in #1690
✨ Enhancements
- Style method entries as signature cards in aliki theme by @st0012 in #1669
- Overhaul coverage report by @st0012 in #1663
- Display RBS type signatures in documentation by @st0012 in #1665
- Parse RBS files as RDoc input by @st0012 in #1728
- Polish Aliki documentation theme by @st0012 in #1742
🐛 Bug Fixes
- Stop generating a separate page file for
main_pageby @st0012 in #1624 - Fix markdown table parser consuming lines without pipes as table rows by @st0012 in #1626
- Fix section comments with the prism parser by @Earlopain in #1639
- Fix deadlock on Ctrl+C in server mode by @st0012 in #1649
- Fix server mode live reload for C files by @st0012 in #1647
- Don't auto-link to non-text source files in cross-references by @st0012 in #1646
- Fix encoding error when C parser reads external source files by @st0012 in #1657
- Fix page links returning 404 in server mode by @st0012 in #1671
- Fix indentation not being preserved on first line in code fences by @extern-c in #1672
- Fix broken sidebar links for chained class aliases by @st0012 in #1675
- Preserve
#prefix for unresolved cross-references by @st0012 in #1676 - Fix Markdown blockquote parsing by @st0012 in #1627
- Stop lazy alias resolver from overwriting real classes (#1662) by @st0012 in #1689
- Strip markdown HTML comments within paragraph by @tompng in #1698
- Remove obsolete -V short flag from --visibility option by @st0012 in #1703
- Change "check syntax" message when it isn't a ruby file by @rwstauner in #1715
- Avoid detecting encoding comments in documentation text by @st0012 in #1727
- Fix colorization of imaginary/rational numbers by @Earlopain in #1733
- Simplify CrossReference resolve by @tompng in #1571
📚 Documentation
- [DOC] Move
RubygemsHookdoc to the right place by @st0012 in #1629 - Add comparison with GitHub Flavored Markdown spec by @st0012 in #1550
- Add user-facing configuration reference by @st0012 in #1692
- Add RDoc logo to documentation by @st0012 in #1734
🛠 Other Changes
- rubocop --autocorrect by @tompng in #1611
- Expand RDoc::Attr#dd_alias test cases for aliased attributes access types by @extern-c in #1612
- Bump required ruby version to 2.7 by @Earlopain in #1615
- Add breaking-change category to release notes and release-check skill by @st0012 in #1619
- Support constant assign parsed before class/module definition by @tompng in #1621
- Add CI check for RI backward compatibility by @st0012 in #1625
- Bump step-security/harden-runner from 2.14.2 to 2.15.0 by @dependabot[bot] in #1632
- Bump actions/upload-artifact from 6 to 7 by @dependabot[bot] in #1631
- Bump actions/download-artifact from 7 to 8 by @dependabot[bot] in #1630
- Refactor comment_location from Array to Hash by @st0012 in #1634
- Re-add truffleruby in CI by @eregon in #1636
- Make the link clickable only on a tty by @nobu in #1637
- Bump step-security/harden-runner from 2.15.0 to 2.15.1 by @dependabot[bot] in #1640
- Bump ruby/setup-ruby from 1.288.0 to 1.290.0 by @dependabot[bot] in #1641
- Remove dead constants and unused AnonClass by @st0012 in #1642
- Fix herb linter offenses in ERB templates by @st0012 in #1645
- Print timing for page requests and re-parsing in server mode by @st0012 in #1648
- Bump rubygems/release-gem from 1.1.2 to 1.1.4 by @dependabot[bot] in #1650
- Bump step-security/harden-runner from 2.15.1 to 2.16.0 by @dependabot[bot] in #1651
- Add
contents: writepermission for preview of PR from ruby/rdoc by @kou in #1653 - Bump ruby/setup-ruby from 1.290.0 to 1.293.0 by @dependabot[bot] in #1652
- Bump flatted from 3.3.3 to 3.4.2 by @dependabot[bot] in #1656
- Bump ruby/setup-ruby from 1.293.0 to 1.295.0 by @dependabot[bot] in #1660
- chore: Have license content match gemspec by @thompson-tomo in #1654
- Bump actions/configure-pages from 5 to 6 by @dependabot[bot] in #1668
- Bump actions/deploy-pages from 4 to 5 by @dependabot[bot] in #1667
- Bump ruby/setup-ruby from 1.295.0 to 1.299.0 by @dependabot[bot] in #1666
- Bump picomatch from 2.3.1 to 2.3.2 by @dependabot[bot] in #1661
- Bump step-security/harden-runner from 2.16.0 to 2.16.1 by @dependabot[bot] in #1674
- Bump rubygems/release-gem from 1.1.4 to 1.2.0 by @dependabot[bot] in #1673
- Bump actions/github-script from 8 to 9 by @dependabot[bot] in #1679
- Bump ruby/setup-ruby from 1.299.0 to 1.301.0 by @dependabot[bot] in #1678
- Bump step-security/harden-runner from 2.16.1 to 2.17.0 by @dependabot[bot] in #1677
- Bump actions/upload-pages-artifact from 4 to 5 by @dependabot[bot] in #1680
- Bump ruby/setup-ruby from 1.301.0 to 1.302.0 by @dependabot[bot] in #1681
- Bump step-security/harden-runner from 2.17.0 to 2.19.0 by @dependabot[bot] in #1682
- Fix CSS to prevent method name overflow by @ybiquitous in #1686
- Bump ruby/setup-ruby from 1.302.0 to 1.306.0 by @dependabot[bot] in #1687
- Bump postcss from 8.5.6 to 8.5.12 by @dependabot[bot] in #1688
- Bump step-security/harden-runner from 2.19.0 to 2.19.1 by @dependabot[bot] in #1693
- Use prism to check if code is valid by @Earlopain in #1695
- Remove
ruby-titleclass by @Earlopain in #1694 - Remove parser module indirection used in testing by @Earlopain in #1699
- Drop dead rdoc/markdown handling from rubygems plugin by @st0012 in #1700
- Update AGENTS.md by @st0012 in #1701
- Bump fast-uri from 3.1.0 to 3.1.2 by @dependabot[bot] in #1702
- Don't create tokens by hand by @Earlopain in #1696
- Syntax highlighting using Prism.parse_lex by @tompng in #1704
- Bump ruby/setup-ruby from 1.306.0 to 1.307.0 by @dependabot[bot] in #1707
- Remove
MetaMethodandGhostMethodby @Earlopain in #1705 - Remove
RDoc::Comment#{remove_private,extract_call_seq}by @Earlopain in #1706 - Fix
unused variablewarning in generated markdown parser by @tompng in #1708 - Move html characeter converting mechanism to regexp-handling by @tompng in #1570
- Fix circular require of RDoc::Parser::RubyColorizer by @tompng in #1709
- Improve scan of regexp handling by @tompng in #1572
- Remove
RDoc::MethodAttr#textby @Earlopain in #1710 - Bump step-security/harden-runner from 2.19.1 to 2.19.3 by @dependabot[bot] in #1717
- Bump ruby/setup-ruby from 1.307.0 to 1.308.0 by @dependabot[bot] in #1718
- Bump cloudflare/wrangler-action from 3 to 4 by @dependabot[bot] in #1719
- Resolve markdown crash for note references in labels by @skatkov in #1712
- Ignore inline notes during Markdown reference parsing by @skatkov in #1713
- Bump step-security/harden-runner from 2.19.3 to 2.19.4 by @dependabot[bot] in #1720
- Bump ruby/setup-ruby from 1.308.0 to 1.310.0 by @dependabot[bot] in #1721
- Bump actions/checkout from 6.0.2 to 6.0.3 by @dependabot[bot] in #1723
- Change author of Aliki theme by @skatkov in #1724
- Drop psych dependency by @hsbt in #1725
- Use
Cas the delimiter for heredocs with C code by @Earlopain in #1726 - Bump ruby/setup-ruby from 1.310.0 to 1.313.0 by @dependabot[bot] in #1729
- Bump rubygems/release-gem from 1.2.0 to 1.4.0 by @dependabot[bot] in #1730
- Bump js-yaml from 4.1.1 to 4.2.0 by @dependabot[bot] in #1731
- Bump ruby/setup-ruby from 1.313.0 to 1.314.0 by @dependabot[bot] in #1739
- Bump actions/checkout from 6.0.3 to 7.0.0 by @dependabot[bot] in #1740
- Encapsulate superclass method link rendering by @st0012 in #1741
- Bump RDoc to 8.0.0 by @st0012 in #1745
New Contributors
- @thompson-tomo made their first contribution in #1654
- @skatkov made their first contribution in #1712
- @rwstauner made their first contribution in #1715
Full Changelog: v7.2.0...v8.0.0