Release v5.0.0#2259
Conversation
|
@jneen Since there are a lot of changes since |
|
I think there are a couple of things I'd still like to get out before 5.0 if that's alright, but yes I agree in general. |
|
I think I can have everything in by end of this week, worst case early next week. I think we'll be ready to push very soon. |
|
Thanks, @jneen. Let me know once you are ready and I can update this PR. |
|
@jneen Just checking in to see if we could cut a release sometime this week? 🙏🏼 |
|
My inclination is to try and get #2263 in, but that could be |
|
That sounds fine by me. However, I am finding several recently-introduced bugs as I go through, and am opening separate PRs for those. |
|
Though that means something like #2264 may drop in a minor release. But that should be 100% backwards compatible on the API layer so I'm not particularly concerned about it. |
|
@jneen I have updated the MR. Could you have a look and let me know if it looks ok? |
| **This is a major release** and includes some breaking changes: | ||
|
|
||
| - General | ||
| - Drop support for EOL Ruby 2.7 ([#2204](https://github.com/rouge-ruby/rouge/pull/2204/) by Nicholas La Roux) |
There was a problem hiding this comment.
I think #2286 deserves a mention in the breaking changes section. Essentially, only direct subclasses of Rouge::Formatters::HTML (HTML, HTMLInline, and HTMLDebug) are now allowed when composing HTML formatters, when previously any HTML-like formatter was allowed and would silently do the wrong thing.
| - Dart Lexer | ||
| - Add support for triple-quoted raw strings in Dart lexer ([#2187](https://github.com/rouge-ruby/rouge/pull/2187/) by Modestas Valauskas) | ||
| - Dylan Lexer (**NEW**) | ||
| - Adds a Dylan lexer ([#2248](https://github.com/rouge-ruby/rouge/pull/2248/) by Jeanine Adkisson) |
| - update doc links master -> main ([#2229](https://github.com/rouge-ruby/rouge/pull/2229/) by Jeanine Adkisson) | ||
| - Fix CI so that it runs on push and PR for main branch ([#2227](https://github.com/rouge-ruby/rouge/pull/2227/) by Nicholas La Roux) | ||
| - Add custom RuboCop::Cop::Rouge::NoBuildingAlternationPatternInRegexp cop ([#2224](https://github.com/rouge-ruby/rouge/pull/2224/) by Nicholas La Roux) | ||
| - PROPOSAL: add a fallthrough! method for continuing to check later rules ([#2210](https://github.com/rouge-ruby/rouge/pull/2210/) by Jeanine Adkisson) |
There was a problem hiding this comment.
Probably remove the PROPOSAL: from the title here.
| - Add custom RuboCop::Cop::Rouge::NoBuildingAlternationPatternInRegexp cop ([#2224](https://github.com/rouge-ruby/rouge/pull/2224/) by Nicholas La Roux) | ||
| - PROPOSAL: add a fallthrough! method for continuing to check later rules ([#2210](https://github.com/rouge-ruby/rouge/pull/2210/) by Jeanine Adkisson) | ||
| - README improvements ([#2219](https://github.com/rouge-ruby/rouge/pull/2219/) by Jeanine Adkisson) | ||
| - Safe auto-correct and manually fix RuboCop infractions and regen todo ([#2206](https://github.com/rouge-ruby/rouge/pull/2206/) by Nicholas La Roux) |
There was a problem hiding this comment.
Maybe the Rubocop issues could be grouped somehow?
| - Update contact email on COC ([#2192](https://github.com/rouge-ruby/rouge/pull/2192/) by Tan Le) | ||
| - Bump actions/checkout to v6 ([#2191](https://github.com/rouge-ruby/rouge/pull/2191/) by Tan Le) | ||
| - ABAP Lexer | ||
| - update ABAP ([#2257](https://github.com/rouge-ruby/rouge/pull/2257/) by Jeanine Adkisson) |
| - fix custom demos ([#2218](https://github.com/rouge-ruby/rouge/pull/2218/) by Jeanine Adkisson) | ||
| - various doc fixes ([#2216](https://github.com/rouge-ruby/rouge/pull/2216/) by Jeanine Adkisson) | ||
| - Modernize RuboCop usage, add/enable performance, minitest, and rake cops ([#2205](https://github.com/rouge-ruby/rouge/pull/2205/) by Nicholas La Roux) | ||
| - Prevent character literals spanning lines ([#2214](https://github.com/rouge-ruby/rouge/pull/2214/) by Tan Le) |
There was a problem hiding this comment.
Could specify this is for Crystal
|
Everything else lgtm, thanks for putting this together! |
|
I think that's fine, no worries at all. |
Release v5.0.0.
Comparison with the previous version.