Release notes
*Sourced from [rouge's releases](https://github.com/jneen/rouge/releases).*
> ## v3.4.0
> And **we're back** with a new release!
>
> Thank you to all our contributors for making this release possible. Things have been quiet for the past few months but we're working our way through the outstanding PRs and issues and hope to return to a more regular cadence for future releases.
Changelog
*Sourced from [rouge's changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md).*
> ## version 3.4.0: 2019-06-12
>
> [Comparison against the previous version](https://github.com/rouge-ruby/rouge/compare/v3.3.0...v3.4.0).
>
> * General
> - Add Rake task for generating changelog entries ([#1167](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1167/) by Michael Camilleri)
> - Tidy up changelog ([#1169](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1169/) by Michael Camilleri)
> - Improve functionality of HTMLLinewise formatter ([#1156](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1156/) by Dan Allen)
> - Avoid creating array on every `Lexer.all` call ([#1140](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1140/) by Ashwin Maroli)
> - Add clearer tests for `Lexer.detectable?` ([#1153](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1153/) by Ashwin Maroli)
> - Replace the `:continue` option with a `#continue_lex` method ([#1151](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1151/) by Jeanine Adkisson)
> - Introduce `:detectable?` singleton method for lexers ([#1149](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1149/) by Ashwin Maroli)
> - Update HTMLTable formatter to delegate to inner formatter ([#1083](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1083/) by Dan Allen)
> - Add basic memory usage profile ([#1137](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1137/) by Ashwin Maroli)
> - Avoid array creation when checking if source is UTF-8 ([#1141](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1141/) by Ashwin Maroli)
> - Add lexer development documentation ([#1111](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1111/) by Michael Camilleri)
> - Coerce state names into symbols rather than strings ([#1138](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1138/) by Ashwin Maroli)
> - Configure YARD to document protected code ([#1133](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1133/) by Michael Camilleri)
> - Add missing tokens from Pygments 2.2.0 ([#1034](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1034/) by Leonid Boykov)
> - Fix undefined instance variable warning in lexer ([#1087](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1087/) by Dan Allen)
> - Port black and white style from Pygments ([#1086](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1086/) by Dan Allen)
> - Reduce allocations from just loading the gem ([#1104](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1104/) by Ashwin Maroli)
> - Update Travis to check Ruby 2.6 ([#1128](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1128/) by Michael Camilleri)
> - Update GitHub URL in README ([#1127](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1127/) by Dan Allen)
> - Remove bundler from the Gemfile ([#1110](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1110/) by Dan Allen)
> * C / C++ Lexers
> - Fix various issues with highlighting in C and C++ lexers ([#1069](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1069/) by Vidar Hokstad)
> * C# Lexer
> - Fix rendering of C# attributes ([#1117](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1117/) by Michael Camilleri)
> * CoffeeScript lexer
> - Add operators, keywords and reserved words to CoffeeScript lexer ([#1061](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1061/) by Erik Demaine)
> - Fix comments in CoffeeScript lexer ([#1123](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1123/) by Michael Camilleri)
> * Common Lisp Lexer
> - Fix unbalanced parenthesis crash in Common Lisp lexer ([#1129](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1129/) by Michael Camilleri)
> * Coq Lexer
> - Fix string parsing in Coq lexer ([#1116](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1116/) by Michael Camilleri)
> * Diff Lexer
> - Add support for non-unified diffs to Diff lexer ([#1068](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1068/) by Vidar Hokstad)
> * Docker Lexer
> - Add filename extensions to Docker lexer ([#1059](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1059/) by webmaster777)
> * Escape Lexer (**NEW**)
> - Add escaping within lexed content ([#1152](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1152/) by Jeanine Adkisson)
> * Go Lexer
> - Fix whitespace tokenisation in Go lexer ([#1122](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1122/) by Michael Camilleri)
> * GraphQL Lexer
> - Add support for Markdown descriptions ([#1012](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1012) by Drew Blessing)
> - Add support for multiline strings ([#1012](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1012) by Drew Blessing)
> * Java Lexer
> - Improve specificity of tokens in Java lexer ([#1124](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1124/) by Michael Camilleri)
> * JavaScript Lexer
> ... (truncated)
Commits
- [`beeff61`](https://github.com/rouge-ruby/rouge/commit/beeff61520eabae1eb17f345b1b8d0c84512202a) Release v3.4.0 ([#1170](https://github-redirect.dependabot.com/jneen/rouge/issues/1170))
- [`aca4c29`](https://github.com/rouge-ruby/rouge/commit/aca4c29638e4a41c7031262eaf5c5e45ee9978df) Add Rake task for generating changelog entries ([#1167](https://github-redirect.dependabot.com/jneen/rouge/issues/1167))
- [`3c374c3`](https://github.com/rouge-ruby/rouge/commit/3c374c3ce571941e78452f29b3cc15b15d45c858) Tidy up changelog ([#1169](https://github-redirect.dependabot.com/jneen/rouge/issues/1169))
- [`62554b7`](https://github.com/rouge-ruby/rouge/commit/62554b7eccdc11a94585a696e833b8453f96636e) Fix escaping backslashes in Javascript lexer ([#1165](https://github-redirect.dependabot.com/jneen/rouge/issues/1165))
- [`582b496`](https://github.com/rouge-ruby/rouge/commit/582b4965a0fad53a16825e1259fd0a60b474dbbd) Rationalise visual sample for Perl ([#1162](https://github-redirect.dependabot.com/jneen/rouge/issues/1162))
- [`b49c9b8`](https://github.com/rouge-ruby/rouge/commit/b49c9b836943ee1b2cc2009c7b446bf417238dd4) Add support for raw/verbatim blocks in Jinja/Twig lexers ([#1003](https://github-redirect.dependabot.com/jneen/rouge/issues/1003))
- [`6cad1b9`](https://github.com/rouge-ruby/rouge/commit/6cad1b999b60bca1761c284055e4e4e41131dc37) Fix backtracking issues, add string interpolation in Perl lexer ([#1161](https://github-redirect.dependabot.com/jneen/rouge/issues/1161))
- [`a8dc029`](https://github.com/rouge-ruby/rouge/commit/a8dc02963ece781852ba22cc1a22cac2bf87d7a4) Fix arbitrary delimiter regular expressions in Perl lexer ([#1160](https://github-redirect.dependabot.com/jneen/rouge/issues/1160))
- [`f494b53`](https://github.com/rouge-ruby/rouge/commit/f494b53d9b04321032b9dc8a754e9f61198ec5f3) Add SuperCollider lexer ([#749](https://github-redirect.dependabot.com/jneen/rouge/issues/749))
- [`7bd180f`](https://github.com/rouge-ruby/rouge/commit/7bd180fae121dff13d718eb8a231f512dad7cd7d) Improve functionality of HTMLLinewise formatter ([#1156](https://github-redirect.dependabot.com/jneen/rouge/issues/1156))
- Additional commits viewable in [compare view](https://github.com/jneen/rouge/compare/v3.3.0...v3.4.0)
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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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)
- `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language
- `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language
- `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language
- `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language
- `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme
Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com):
- Update frequency (including time of day and day of week)
- Automerge options (never/patch/minor, and dev/runtime dependencies)
- Pull request limits (per update run and/or open at any time)
- Out-of-range updates (receive only lockfile updates, if desired)
- Security updates (receive only security updates, if desired)
Finally, you can contact us by mentioning @dependabot.
Bumps rouge from 3.3.0 to 3.4.0.
Release notes
*Sourced from [rouge's releases](https://github.com/jneen/rouge/releases).* > ## v3.4.0 > And **we're back** with a new release! > > Thank you to all our contributors for making this release possible. Things have been quiet for the past few months but we're working our way through the outstanding PRs and issues and hope to return to a more regular cadence for future releases.Changelog
*Sourced from [rouge's changelog](https://github.com/rouge-ruby/rouge/blob/master/CHANGELOG.md).* > ## version 3.4.0: 2019-06-12 > > [Comparison against the previous version](https://github.com/rouge-ruby/rouge/compare/v3.3.0...v3.4.0). > > * General > - Add Rake task for generating changelog entries ([#1167](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1167/) by Michael Camilleri) > - Tidy up changelog ([#1169](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1169/) by Michael Camilleri) > - Improve functionality of HTMLLinewise formatter ([#1156](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1156/) by Dan Allen) > - Avoid creating array on every `Lexer.all` call ([#1140](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1140/) by Ashwin Maroli) > - Add clearer tests for `Lexer.detectable?` ([#1153](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1153/) by Ashwin Maroli) > - Replace the `:continue` option with a `#continue_lex` method ([#1151](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1151/) by Jeanine Adkisson) > - Introduce `:detectable?` singleton method for lexers ([#1149](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1149/) by Ashwin Maroli) > - Update HTMLTable formatter to delegate to inner formatter ([#1083](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1083/) by Dan Allen) > - Add basic memory usage profile ([#1137](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1137/) by Ashwin Maroli) > - Avoid array creation when checking if source is UTF-8 ([#1141](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1141/) by Ashwin Maroli) > - Add lexer development documentation ([#1111](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1111/) by Michael Camilleri) > - Coerce state names into symbols rather than strings ([#1138](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1138/) by Ashwin Maroli) > - Configure YARD to document protected code ([#1133](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1133/) by Michael Camilleri) > - Add missing tokens from Pygments 2.2.0 ([#1034](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1034/) by Leonid Boykov) > - Fix undefined instance variable warning in lexer ([#1087](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1087/) by Dan Allen) > - Port black and white style from Pygments ([#1086](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1086/) by Dan Allen) > - Reduce allocations from just loading the gem ([#1104](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1104/) by Ashwin Maroli) > - Update Travis to check Ruby 2.6 ([#1128](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1128/) by Michael Camilleri) > - Update GitHub URL in README ([#1127](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1127/) by Dan Allen) > - Remove bundler from the Gemfile ([#1110](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1110/) by Dan Allen) > * C / C++ Lexers > - Fix various issues with highlighting in C and C++ lexers ([#1069](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1069/) by Vidar Hokstad) > * C# Lexer > - Fix rendering of C# attributes ([#1117](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1117/) by Michael Camilleri) > * CoffeeScript lexer > - Add operators, keywords and reserved words to CoffeeScript lexer ([#1061](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1061/) by Erik Demaine) > - Fix comments in CoffeeScript lexer ([#1123](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1123/) by Michael Camilleri) > * Common Lisp Lexer > - Fix unbalanced parenthesis crash in Common Lisp lexer ([#1129](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1129/) by Michael Camilleri) > * Coq Lexer > - Fix string parsing in Coq lexer ([#1116](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1116/) by Michael Camilleri) > * Diff Lexer > - Add support for non-unified diffs to Diff lexer ([#1068](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1068/) by Vidar Hokstad) > * Docker Lexer > - Add filename extensions to Docker lexer ([#1059](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1059/) by webmaster777) > * Escape Lexer (**NEW**) > - Add escaping within lexed content ([#1152](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1152/) by Jeanine Adkisson) > * Go Lexer > - Fix whitespace tokenisation in Go lexer ([#1122](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1122/) by Michael Camilleri) > * GraphQL Lexer > - Add support for Markdown descriptions ([#1012](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1012) by Drew Blessing) > - Add support for multiline strings ([#1012](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1012) by Drew Blessing) > * Java Lexer > - Improve specificity of tokens in Java lexer ([#1124](https://github-redirect.dependabot.com/rouge-ruby/rouge/pull/1124/) by Michael Camilleri) > * JavaScript Lexer > ... (truncated)Commits
- [`beeff61`](https://github.com/rouge-ruby/rouge/commit/beeff61520eabae1eb17f345b1b8d0c84512202a) Release v3.4.0 ([#1170](https://github-redirect.dependabot.com/jneen/rouge/issues/1170)) - [`aca4c29`](https://github.com/rouge-ruby/rouge/commit/aca4c29638e4a41c7031262eaf5c5e45ee9978df) Add Rake task for generating changelog entries ([#1167](https://github-redirect.dependabot.com/jneen/rouge/issues/1167)) - [`3c374c3`](https://github.com/rouge-ruby/rouge/commit/3c374c3ce571941e78452f29b3cc15b15d45c858) Tidy up changelog ([#1169](https://github-redirect.dependabot.com/jneen/rouge/issues/1169)) - [`62554b7`](https://github.com/rouge-ruby/rouge/commit/62554b7eccdc11a94585a696e833b8453f96636e) Fix escaping backslashes in Javascript lexer ([#1165](https://github-redirect.dependabot.com/jneen/rouge/issues/1165)) - [`582b496`](https://github.com/rouge-ruby/rouge/commit/582b4965a0fad53a16825e1259fd0a60b474dbbd) Rationalise visual sample for Perl ([#1162](https://github-redirect.dependabot.com/jneen/rouge/issues/1162)) - [`b49c9b8`](https://github.com/rouge-ruby/rouge/commit/b49c9b836943ee1b2cc2009c7b446bf417238dd4) Add support for raw/verbatim blocks in Jinja/Twig lexers ([#1003](https://github-redirect.dependabot.com/jneen/rouge/issues/1003)) - [`6cad1b9`](https://github.com/rouge-ruby/rouge/commit/6cad1b999b60bca1761c284055e4e4e41131dc37) Fix backtracking issues, add string interpolation in Perl lexer ([#1161](https://github-redirect.dependabot.com/jneen/rouge/issues/1161)) - [`a8dc029`](https://github.com/rouge-ruby/rouge/commit/a8dc02963ece781852ba22cc1a22cac2bf87d7a4) Fix arbitrary delimiter regular expressions in Perl lexer ([#1160](https://github-redirect.dependabot.com/jneen/rouge/issues/1160)) - [`f494b53`](https://github.com/rouge-ruby/rouge/commit/f494b53d9b04321032b9dc8a754e9f61198ec5f3) Add SuperCollider lexer ([#749](https://github-redirect.dependabot.com/jneen/rouge/issues/749)) - [`7bd180f`](https://github.com/rouge-ruby/rouge/commit/7bd180fae121dff13d718eb8a231f512dad7cd7d) Improve functionality of HTMLLinewise formatter ([#1156](https://github-redirect.dependabot.com/jneen/rouge/issues/1156)) - Additional commits viewable in [compare view](https://github.com/jneen/rouge/compare/v3.3.0...v3.4.0)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 ignore this [patch|minor|major] version` will close this PR and stop Dependabot creating any more for this minor/major 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) - `@dependabot use these labels` will set the current labels as the default for future PRs for this repo and language - `@dependabot use these reviewers` will set the current reviewers as the default for future PRs for this repo and language - `@dependabot use these assignees` will set the current assignees as the default for future PRs for this repo and language - `@dependabot use this milestone` will set the current milestone as the default for future PRs for this repo and language - `@dependabot badge me` will comment on this PR with code to add a "Dependabot enabled" badge to your readme Additionally, you can set the following in your Dependabot [dashboard](https://app.dependabot.com): - Update frequency (including time of day and day of week) - Automerge options (never/patch/minor, and dev/runtime dependencies) - Pull request limits (per update run and/or open at any time) - Out-of-range updates (receive only lockfile updates, if desired) - Security updates (receive only security updates, if desired) Finally, you can contact us by mentioning @dependabot.