What's Changed
✨ Enhancements
- Speed up the Markdown parser by @tompng in #1755
- POT serialization optimization (with 87% improvement) by @skatkov in #1789
- Lazy code colorization by @skatkov in #1792
- Lazy page index in RDoc::Store (42.7% perf improvement) by @skatkov in #1811
- Avoid foreign grammar calls in Markdown parser by @skatkov in #1818
- Add Darkfish deprecation warning by @st0012 in #1797
- Cache regexp in
Markup::ToHtmlby @Earlopain in #1824
🐛 Bug Fixes
- Fix NoMethodError in MethodAttr#inspect for cache-loaded aliases by @SAY-5 in #1747
- Fix alias detection for multiple
rb_define_singleton_methodby @Earlopain in #1732 - Make
:stopdoc:/:startdoc:/:enddoc:lexically scoped in the Ruby parser by @tompng in #1763 rdoc:coveragetask should not terminate the entire Rake process by @nobu in #1767- Support JSON 3 in JSON index generation by @nobu in #1773
- Do not parse non-Ruby files as Ruby when :markup: is markdown or tomdoc by @sjh9714 in #1772
- Deduplicate symlinked source files before parsing by @skatkov in #1777
- Fix Ruby parser to not create a class whose superclass references itself by @tompng in #1784
- Fix infinite loop and stack overflow on cyclic superclass chains by @tompng in #1785
- Fix
Encoding::InvalidByteSequenceErrorin Aliki on non-UTF-8 locales by @ybiquitous in #1786 - Rename
#initializeto::newbefore registering it to the container by @tompng in #1802 - Prevent
rifrom loading a class matched case-insensitively by @ybiquitous in #1812 - Use one responsive search surface in Aliki by @st0012 in #1804
- Keep selected Aliki search result visible by @st0012 in #1805
- Allow less strict attribute argument parsing by @nevans in #1793
- Remove the never-matching BOM rule from the Markdown grammar by @tompng in #1820
- Less strict parsing of visibility method arguments by @nevans in #1803
- Don't link URLs with unsafe schemes in
Markup::ToHtmlby @kou in #1832 - Escape unlinked cross-references in HTML snippets by @anyingiit in #1833
- Escape unlinked cross-references in HTML output by @skatkov in #1834
📚 Documentation
- Hide embedded Racc runtime from generated API docs by @OskarEichler in #1799
- Improve wording and formatting in RI.md by @ybiquitous in #1815
🛠 Other Changes
- Bump ruby/setup-ruby from 1.314.0 to 1.316.0 by @dependabot[bot] in #1748
- Bump step-security/harden-runner from 2.19.4 to 2.20.0 by @dependabot[bot] in #1749
- Bump actions/checkout from 7.0.0 to 7.0.1 by @dependabot[bot] in #1751
- Bump ruby/setup-ruby from 1.316.0 to 1.319.0 by @dependabot[bot] in #1752
- Bump fast-uri from 3.1.2 to 3.1.4 by @dependabot[bot] in #1756
- Bump postcss from 8.5.12 to 8.5.23 by @dependabot[bot] in #1757
- Bump ruby/setup-ruby from 1.319.0 to 1.321.0 by @dependabot[bot] in #1758
- Make markup Raw, List, and ListItem inherit from Element by @st0012 in #1769
- Remove the unmatched constant alias queue by @tompng in #1766
- Support newer comment token by @kddnewton in #1771
- Bump step-security/harden-runner from 2.20.0 to 2.20.1 by @dependabot[bot] in #1770
- Bump js-yaml from 4.2.0 to 4.3.1 by @dependabot[bot] in #1774
- Bump rubygems/release-gem from 1.4.0 to 1.4.1 by @dependabot[bot] in #1778
- Bump step-security/harden-runner from 2.20.1 to 2.21.0 by @dependabot[bot] in #1779
- Bump fast-uri from 3.1.4 to 3.1.5 by @dependabot[bot] in #1765
- Ban redundant
thenkeyword via RuboCop by @st0012 in #1791 - Remove
Context#visibilityandContext#current_line_visibilityby @tompng in #1800 - Followup of #1800: remove unused code/comment by @tompng in #1801
- Build PR previews without maintainer approval by @st0012 in #1806
- Bump postcss-selector-parser from 7.1.0 to 7.1.5 by @dependabot[bot] in #1808
- Enforce nested class and module declarations by @st0012 in #1795
- Bump fast-uri from 3.1.5 to 3.1.7 by @dependabot[bot] in #1809
- Remove unused method
RDoc::Require#top_levelthat always raises NoMethodError by @tompng in #1813 - Remove redundant
@text_files_hashby @tompng in #1814 - Bump step-security/harden-runner from 2.21.0 to 2.21.1 by @dependabot[bot] in #1817
- Support previews for stacked pull requests by @st0012 in #1807
- Bump js-yaml from 4.3.1 to 4.3.2 by @dependabot[bot] in #1821
- Removed CLAUDE.md and remove redundant agent instructions by @st0012 in #1827
- Bump ruby/setup-ruby from 1.321.0 to 1.324.0 by @dependabot[bot] in #1830
- Bump RDoc to 8.1.0 by @st0012 in #1837
New Contributors
- @SAY-5 made their first contribution in #1747
- @kddnewton made their first contribution in #1771
- @sjh9714 made their first contribution in #1772
- @OskarEichler made their first contribution in #1799
- @anyingiit made their first contribution in #1833
Full Changelog: v8.0.0...v8.1.0