rouge v3.19.0 Release Notes

Release Date: 2020-05-13 // 21 days ago
  • 💎 Comparison with the previous version

    • General
      • Use qualified method name for calls to Kernel#load (#1503 by Michael Camilleri)
      • Update keyword-generation Rake tasks (#1500 by Michael Camilleri)
      • Add Rake task to generate keywords for LLVM lexer (#1505 by Michael Camilleri)
    • JavaScript Lexer
      • Add CommonJS file glob to JavaScript lexer (#1511 by Andrew)
    • Kotlin Lexer
      • Improve handling of numbers in Kotlin lexer (#1509 by Jen)
      • Add generic parameter keywords to Kotlin lexer (#1504 by Jen)
    • Python Lexer
      • Fix RuboCop grouped expression warning in Python lexer (#1513 by Michael Camilleri)
      • Allow Unicode in Python identifiers (#1510 by Niko Strijbol)
      • Fix escape sequences in Python's strings (#1508 by Michael Camilleri)
    • SPARQL Lexer
      • Support the 'a' keyword in SPARQL lexer (#1493 by Michael Camilleri)
    • Turtle Lexer
      • Allow empty prefix in Turtle lexer (#1494 by Michael Camilleri)

Previous changes from v3.18.0

  • 💎 Comparison with the previous version

    • General
      • Use plain Ruby files for built-in keyword lists (#1418 by Ashwin Maroli)
      • Load Rouge files using methods scoped to the Rouge module (#1481 by Michael Camilleri)
      • Use module constants to store directory paths for file loading (#1416 by Ashwin Maroli)
      • Fix Ruby keyword warning in check:memory Rake task (#1431 by Ashwin Maroli)
      • Revert Rubocop splat expansion cop (#1461 by Michael Camilleri)
    • C++ Lexer
      • Make lexing of class-like identifiers more consistent in C++ lexer (#1495 by Michael Camilleri)
    • CMake Lexer
      • Fix handling of escaped quotes in CMake lexer (#1473 by Michael Camilleri)
    • Console Lexer
      • Add option to tokenise error messages in Console lexer (#1498 by Gavin Lock)
    • 🆕 Cypher Lexer (NEW)
      • Add Cypher lexer (#1423 by Guillaume Grossetie)
    • 🆕 Datastudio Lexer (NEW)
      • Add Datastudio lexer (#1453 by Bastien Durel)
    • F# Lexer
      • Support dictionary indexers on nested properties in F# lexer (#1482 by Michael Camilleri)
    • 🆕 GHC Cmm Lexer (NEW)
      • Add GHC Cmm lexer (#1387 by Sven Tennie)
    • 🆕 ISBL Lexer (NEW)
      • Add ISBL lexer (#891 by Dmitriy Tarasov)
    • JSON Lexer
      • Allow unmatched braces and brackets in JSON lexer (#1497 by Michael Camilleri)
    • JSONDOC Lexer
      • Add jsonc alias to JSONDOC lexer (#1440 by Michael Camilleri)
    • Kotlin Lexer
      • Support labels in Kotlin lexer (#1496 by Jen)
    • Markdown Lexer
      • Add support for multi-line links in Markdown lexer (#1465 by Marcel Amirault)
    • Pascal Lexer
      • Add Lazarus program file glob to Pascal lexer (#1466 by Morabaraba)
    • PHP Lexer
      • Separate ? from other operators in PHP lexer (#1478 by Michael Camilleri)
      • Fix bugs, and better support v7.4.0 features, in PHP lexer (#1397 by julp)
    • Python Lexer
      • Use generic string states in Python lexer (#1477 by Michael Camilleri)
      • Remove . as a operator in Python lexer (#1375 by Andrew Nisbet)
    • Racket Lexer
      • Improve support for # in Racket lexer (#1472 by Michael Camilleri)
    • 🆕 Rego Lexer (NEW)
      • Add Rego lexer (#1468 by David Ashby)
    • 💎 Ruby Lexer
      • Improve lexing of ternaries that include symbols in Ruby lexer (#1476 by Michael Camilleri)
      • Fix tokenization of compact class names in Ruby lexer (#1470 by Ashwin Maroli)
    • 🆕 Solidity Lexer (NEW)
      • Add Solidity lexer (#760 by Noel Maersk)
    • Terraform Lexer
      • Support regular expressions in Terraform lexer (#1490 by Michael Camilleri)
    • TypeScript Lexer
      • Add support for optional chaining operator to TypeScript lexer (#1475 by Michael Camilleri)
    • Vue Lexer
      • Support slot shorthand syntax to Vue lexer (#1483 by Michael Camilleri)
    • 🆕 YANG Lexer (NEW)
      • Remove duplicate identity keyword in YANG Lexer (#1499 by GRIBOK)
      • Make default rule more permissive in YANG lexer (#1488 by GRIBOK)
      • Update URL in YANG visual sample (#1474 by GRIBOK)
      • Add YANG lexer (#1458 by GRIBOK)