Skip to content

Update rouge requirement from 4.7.0 to 5.0.0#124

Merged
petk merged 1 commit into
mainfrom
dependabot/bundler/rouge-5.0.0
May 28, 2026
Merged

Update rouge requirement from 4.7.0 to 5.0.0#124
petk merged 1 commit into
mainfrom
dependabot/bundler/rouge-5.0.0

Conversation

@dependabot
Copy link
Copy Markdown
Contributor

@dependabot dependabot Bot commented on behalf of github May 28, 2026

Updates the requirements on rouge to permit the latest version.

Release notes

Sourced from rouge's releases.

v5.0.0

This is a major release and includes some breaking changes:

  • Drop support for EOL Ruby 2.7 (#2204)
  • Overhaul HTML Formatter Delegation (#2286)

As part of this release, we added five new lexers - Apache Thrift, Dylan, KickAssembler (6502 assembly), PDF, and Veryl - and renamed the Coq lexer to Rocq to reflect the project's renaming. We also landed sizeable overhauls of the Python/Cython, GLSL, and CSS lexers, expanded HTML formatter capabilities, and fixed a potential ReDoS vulnerability in the Sed lexer. Many other lexers received improvements and bug fixes - including ABAP, BIML, C/C++, Console, Crystal, Dart, Elixir, Gherkin, Groovy, Hack, Igor Pro, Kotlin, MoonScript, Nix, PHP, PowerShell, Ruby, Rust, Sass/SCSS, TCL, and YAML.

Thank you to all of our amazing contributors for your help and continuous support!

Changelog

Sourced from rouge's changelog.

version 5.0.0: 2026-05-26

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)

... (truncated)

Commits

Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options

You can trigger Dependabot actions by commenting on this PR:

  • @dependabot rebase will rebase this PR
  • @dependabot recreate will recreate this PR, overwriting any edits that have been made to it
  • @dependabot show <dependency name> ignore conditions will show all of the ignore conditions of the specified dependency
  • @dependabot ignore this major version will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this minor version will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)
  • @dependabot ignore this dependency will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)

Updates the requirements on [rouge](https://github.com/rouge-ruby/rouge) to permit the latest version.
- [Release notes](https://github.com/rouge-ruby/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/main/CHANGELOG.md)
- [Commits](rouge-ruby/rouge@v4.7.0...v5.0.0)

---
updated-dependencies:
- dependency-name: rouge
  dependency-version: 5.0.0
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
@dependabot dependabot Bot added dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code labels May 28, 2026
@petk petk merged commit 42ad8fb into main May 28, 2026
1 check passed
@dependabot dependabot Bot deleted the dependabot/bundler/rouge-5.0.0 branch May 28, 2026 06:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

dependencies Pull requests that update a dependency file ruby Pull requests that update Ruby code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant