Skip to content

Bump rouge from 4.5.1 to 4.6.0 #2327

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dependabot[bot]
Copy link
Contributor

@dependabot dependabot bot commented on behalf of github Jul 22, 2025

Bumps rouge from 4.5.1 to 4.6.0.

Release notes

Sourced from rouge's releases.

v4.6.0

This release introduces support for the Bicep language and enhances several existing lexers. We've added Ada 2022 features including the parallel keyword and improved syntax for arrays. The Python lexer now supports the match and case keywords and has been updated with Python 3 builtin keywords, functions, and exceptions. C# lexer improvements include Unicode character support and a refactoring of keywords to class methods. The TOML lexer now properly handles inline tables in arrays. We've also enhanced file detection with Docker file name patterns, Terraform *.tfvars files, and improved disambiguation between Objective-C and Mathematica lexers. Additionally, Ruby 3.4 has been added to our CI build process. Thanks to all our contributors for their valuable work on making Rouge better!

Full Changelog: rouge-ruby/rouge@v4.5.2...v4.6.0

v4.5.2

This release brings support for mustache templates in Svelte and adds Razor file association to HTML. We've updated the Java lexer to recognize the new record keyword and expanded C++ float literal support. The CSS and Mojo lexers have been improved with the latest language features. Additionally, we fixed a method error in the SASS lexer and made various documentation improvements. Thanks to all our contributors for their valuable work!

Full Changelog: rouge-ruby/rouge@v4.5.1...v4.5.2

Changelog

Sourced from rouge's changelog.

version 4.6.0: 2025-07-16

Comparison with the previous version

  • General
    • Add Ruby 3.4 to CI build (#2127 by Tan Le)
    • Improve Objective-C vs Mathematica lexer disambiguation (#2103 by objc)
  • Ada Lexer
    • Add parallel keyword, square brackets and @ for Ada 2022 (#2117 by Maxim Reznik)
  • Bicep Lexer (NEW)
    • Add a Lexer for Bicep language (#1937 by Xavier Mignot)
    • Add bicep to the list of supported languages (#2137 by Tan Le)
    • Fix code indentation on Bicep lexer (#2138 by Tan Le)
  • C# Lexer
    • Support Unicode characters in C# lexer (#2136 by Tan Le)
    • Move keywords to class methods in CSharp lexer (#2139 by Tan Le)
  • Docker Lexer
    • Update Docker file name patterns (#2133 by Oscar Alberto Tovar)
  • Python Lexer
    • Support match and case keywords in Python (#2140 by Tan Le)
    • Update Python builtin keywords, functions, and exceptions to Python version 3 (#2109 by Joris Clement)
  • Terraform Lexer
    • Autodetect *.tfvars files as Terraform (#2146 by Oscar Alberto Tovar)
  • TOML Lexer
    • toml: support inline tables in arrays (#2065 by ash)

version 4.5.2: 2025-04-27

Comparison with the previous version

  • General
    • Update various doc (#2086 by Tan Le)
  • CPP Lexer
    • c++: expand support for c++ float literals (#2123 by Jeanine Adkisson)
  • CSS Lexer
    • Update CSS lexer (#2118 by Gerard)
  • Java Lexer
    • Add record keyword declaration for Java 14+ (#2121 by 0xh3xa)
  • HTML Lexer
    • Add *.razor file glob to HTML [EASY MERGE] (#2115 by Téo Orthlieb)
  • Mojo Lexer
    • Added Mojo 25.1 keyword changes (#2112 by Indukumar Vellapillil Hari)
  • SASS Lexer
    • Fix missing method error in SASS lexer (#2125 by Tan Le)
  • Svelte Lexer
    • Support mustache template in Svelte (#2096 by Tan Le)
Commits

Dependabot compatibility score

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 merge will merge this PR after your CI passes on it
  • @dependabot squash and merge will squash and merge this PR after your CI passes on it
  • @dependabot cancel merge will cancel a previously requested merge and block automerging
  • @dependabot reopen will reopen this PR if it is closed
  • @dependabot close will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually
  • @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)

Bumps [rouge](https://github.com/rouge-ruby/rouge) from 4.5.1 to 4.6.0.
- [Release notes](https://github.com/rouge-ruby/rouge/releases)
- [Changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md)
- [Commits](rouge-ruby/rouge@v4.5.1...v4.6.0)

---
updated-dependencies:
- dependency-name: rouge
  dependency-version: 4.6.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

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 Jul 22, 2025
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.

0 participants