Skip to content

Update dependency rouge to v5 (docs-site)#5702

Open
renovate[bot] wants to merge 1 commit into
docs-sitefrom
renovate/docs-site-rouge-5.x-lockfile
Open

Update dependency rouge to v5 (docs-site)#5702
renovate[bot] wants to merge 1 commit into
docs-sitefrom
renovate/docs-site-rouge-5.x-lockfile

Conversation

@renovate
Copy link
Copy Markdown
Contributor

@renovate renovate Bot commented May 27, 2026

This PR contains the following updates:

Package Change Age Confidence
rouge (source, changelog) 4.7.05.0.0 age confidence

Release Notes

rouge-ruby/rouge (rouge)

v5.0.0

Compare Source

Comparison with the previous version

This is a major release and includes some breaking changes:

  • General
    • Drop support for EOL Ruby 2.7 (#​2204 by Nicholas La Roux)
  • HTML Formatter
    • Overhaul HTML Formatter Delegation (#​2286 by Jeanine Adkisson)
Other changes
  • General
    • silence overlapping char class warnings (#​2265 by Jeanine Adkisson)
    • Rewrite the Apache builtin generator to use SVN (#​2253 by Jeanine Adkisson)
    • Add Rubocop rule to catch arrays of size > 300. Also fix a bunch of .rubocop_todo.yml (#​2256 by Jeanine Adkisson)
    • Fix deprecated Git::Log#each call (#​2254 by Tan Le)
    • Fix all trailing whitespace (#​2240 by Jeanine Adkisson)
    • Update GitLab's contact (#​2247 by Tan Le)
    • Add Contributing.md guidelines (#​2244 by Jeanine Adkisson)
    • replace references to rackup with puma (#​2235 by Jeanine Adkisson)
    • Ensure rake check:style lints the same files as standard RuboCop runs (#​2237 by Nicholas La Roux)
    • ensure all generated keyword sets are sorted / uniq (#​2230 by Jeanine Adkisson)
    • Regenerate RuboCop todo (#​2234 by Nicholas La Roux)
    • Fix various RuboCop todos offences (#​2231 by Nicholas La Roux)
    • update doc links master -> main (#​2229 by Jeanine Adkisson)
    • Fix CI so that it runs on push and PR for main branch (#​2227 by Nicholas La Roux)
    • Add custom RuboCop::Cop::Rouge::NoBuildingAlternationPatternInRegexp cop (#​2224 by Nicholas La Roux)
    • Add a fallthrough! method for continuing to check later rules (#​2210 by Jeanine Adkisson)
    • README improvements (#​2219 by Jeanine Adkisson)
    • Safe auto-correct and manually fix RuboCop infractions and regen todo (#​2206 by Nicholas La Roux)
    • fix custom demos (#​2218 by Jeanine Adkisson)
    • various doc fixes (#​2216 by Jeanine Adkisson)
    • Modernize RuboCop usage, add/enable performance, minitest, and rake cops (#​2205 by Nicholas La Roux)
    • Remove duplicate ostruct entry from Gemfile (#​2212 by Nicholas La Roux)
    • Fix warnings while maintaining lazy-loading behaviour, and re-generate keyword sets. (#​2202 by Jeanine Adkisson)
    • Check for extra newline in delegated formatter output in HTMLTable (#​2185 by Sepehr Kalanaki)
    • Enforce MFA to be enabled via gemspec + RuboCop (#​2209 by Nicholas La Roux)
    • Use gem strscan, and take advantage of StringScanner#fixed_anchor (#​2208 by Jeanine Adkisson)
    • Explicitly test against Ruby 4.0 now that head is Ruby 4.1 (#​2207 by Nicholas La Roux)
    • Update contact email on COC (#​2192 by Tan Le)
    • Bump actions/checkout to v6 (#​2191 by Tan Le)
  • ABAP Lexer
    • update ABAP (#​2257 by Jeanine Adkisson and Manuel Laggner)
  • Apache Thrift Lexer (NEW)
    • Add a lexer for Apache Thrift (#​2284 by Dmytro Shteflyuk)
  • BIML Lexer
    • BIML: properly delegate to C# within strings (#​2267 by Jeanine Adkisson)
    • fix regex syntax for biml (#​2280 by Jeanine Adkisson)
  • C/C++ Lexer
    • c/cpp: Update keywords/builtin types (#​2283 by nsfisis)
  • Console Lexer
    • Fix ConsoleLexer ignoring comments=false option (#​2200 by 0xdf) (#​2201 by 0xdf)
    • limit error checking patterns in console lexer to 20, and fix rubocop (#​2278 by Jeanine Adkisson)
    • limit number of prompt strings to 20 (#​2268 by Jeanine Adkisson)
  • Crystal Lexer
    • Prevent character literals spanning lines (#​2214 by Tan Le)
  • CSS Lexer
    • Modernize the CSS lexer (#​2217 by Jeanine Adkisson)
  • Dart Lexer
    • Add support for triple-quoted raw strings in Dart lexer (#​2187 by Modestas Valauskas)
  • Dylan Lexer (NEW)
    • Adds a Dylan lexer (#​2248 by Jeanine Adkisson and Peter Hull)
    • Dylan: add operator escapes and string hex escapes (#​2250 by Jeanine Adkisson)
  • Elixir Lexer
    • add halfway support for multiline elixir sigils (#​2052 by Ben Smithgall)
    • Fix Elixir Lexer Sigil Handling (#​2190 by P-SiZK)
  • Gherkin Lexer
    • Gherkin annotated strings (#​2252 by Jeanine Adkisson)
    • regen gherkin keywords again, there were duplicates still (#​2238 by Jeanine Adkisson)
    • Fix the broken Gherkin spec on main, and refactor STEP_REGEX (#​2226 by Jeanine Adkisson)
    • ensure all gherkin keywords are stripped of whitespace, and regen (#​2222 by Jeanine Adkisson)
  • GLSL Lexer
    • Rewrite the GLSL lexer as not a subclass of C (#​2249 by Jeanine Adkisson)
    • Add some missing GLSL keywords (#​2189 by Julius Häger)
  • Groovy Lexer
    • Allow Groovy files to start with a shebang (#​2091 by Bond-009)
  • Hack Lexer
    • Fix overeager Hack.detect? (#​2272 by Jeanine Adkisson)
  • HTML Formatter
    • HTMLDebug formatter with title tags showing the token type and value. (#​2261 by Jeanine Adkisson)
    • strip carriage return in HTML formatter (#​2266 by Jeanine Adkisson)
    • add formatter tag for html_linewise (#​2273 by Ulysses Zhan)
    • enable aria-hidden for line numbers in html_table (#​2275 by Ulysses Zhan)
    • nest <code> in <pre> (#​2276 by Ulysses Zhan)
  • Igor Pro Lexer
    • Update lexer for Igor Pro for recent Igor Pro 9 version (#​1985 by Michael Huth)
    • Maint.igor pro manual builtins (#​2255 by Jeanine Adkisson)
  • ISBL Lexer
    • remove proprietary builtins list from ISBL (#​2236 by Jeanine Adkisson)
  • KickAssembler Lexer (NEW)
    • Add a lexer for KickAssembler syntax (6502 assembly) (#​2262 by Xavier Nayrac)
  • Kotlin Lexer
    • Support Annotation Use-site Target in Kotlin (#​1648 by Fábio Ramon)
  • MoonScript Lexer
    • Moonscript: add from keyword (#​2233 by Jeanine Adkisson)
  • Nix Lexer
    • nix: Fix identifier lexing (#​2181 by nsfisis)
  • PDF Lexer (NEW)
    • Add PDF syntax to Rouge (#​2058 by Peter Wyatt)
    • fix style in pdf lexer (#​2251 by Jeanine Adkisson)
  • PHP Lexer
    • php: Support property hooks (#​2213 by nsfisis)
  • PowerShell Lexer
    • Add 'pwsh' alias to Powershell lexer (#​2239 by Olav Rønnestad Birkeland)
  • Python Lexer
    • Overhaul the python and cython lexers (#​2271 by Jeanine Adkisson)
  • Rocq Lexer (formerly Coq)
    • rename coq -> rocq (#​2269 by Jeanine Adkisson)
  • Ruby Lexer
    • remove use of joined idents in ruby (#​2225 by Jeanine Adkisson)
  • Rust Lexer
    • rust: Add support for string continuation escape (#​2126 by 极速蜗牛)
  • Sass/SCSS Lexer
    • BUGFIX: highlight colour names in sass/scss (#​2270 by Jeanine Adkisson)
  • Sed Lexer
    • Fix potential ReDoS vulnerability in sed lexer (#​2120 by SATO, Yoshiyuki)
  • TCL Lexer
    • associate *.tm with TCL (tcl module) (#​2258 by Jeanine Adkisson)
  • Veryl Lexer (NEW)
    • Add a lexer for Veryl language (#​2148 by Naoya Hatta)
  • YAML Lexer
    • Improve YAML lexer: handle quoted keys. (#​2156 by Myron Marston)

Configuration

📅 Schedule: (UTC)

  • Branch creation
    • At any time (no schedule defined)
  • Automerge
    • At any time (no schedule defined)

🚦 Automerge: Enabled.

Rebasing: Whenever PR is behind base branch, or you tick the rebase/retry checkbox.

🔕 Ignore: Close this PR and you won't be reminded about this update again.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate Bot enabled auto-merge May 27, 2026 08:31
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants