github openrewrite/rewrite v7.31.0
7.31.0

latest releases: v8.50.2, v8.50.1, v8.50.0...
2 years ago

What's Changed

  • Adapt java.AutoDetect to separate spaces vs tabs by @shanman190 in #2289
  • Snake case should contain at least one underscore by @murdos in #2296
  • ChangeLiteral: Javadoc typo fix by @murdos in #2297
  • Add OWASP suppression date recipes by @kmccarp in #2284 #2288 #2286 #2286
  • Fix RenameVariable and RenamePrivateFieldsToCamelCase by @pway99 in #2285 #2292
  • Fixed edge case where project dependencyManagement would inaccurately override transitive dependency scope by @nmck257 in 2a07fc4
  • CategoryTree improvements by @jkschneider in b4b6dd0 d8db05d 6a4e691 ed862bb 319893e 46f3c88
  • Add NamedStyles.merge() overload which merges many NamedStyles into one by @sambsnyd in fc0d988 c0f1002
  • Prevent AutoFormat from reformatting entire Groovy source files, while still allowing subtrees to be reformatted by @sambsnyd in 21a10ed
  • Avoid ParseExceptionResult failing to serialize/deserialize because of Throwables with potentially circular causes (or other fields) by @sambsnyd in dd300b1
  • Fix #2287, MultipleVariableDeclarations does not format appropriately when linebreaks are present in variable declaration prefixes by @sambsnyd in dd1deeb
  • Introduce Markup marker to surface informational or failure messages in context from recipes by @jkschneider d57b925 6331638
  • Move RecipeRunException to org.openrewrite by @jkschneider a8dad18
  • Fix RenameVariable and RenamePrivateFieldsToCamelCase by @pway99 in #2285 #2292
  • Fix AutoDetect tabs and indents counting spaces which do not represent indents by @sambsnyd in ddcf857
  • Do not use jackson 2.14.0 release candidates by @sambsnyd in t10c5dd
  • Gradle UpgradePluginVersion should skip querying gradle plugin portal when an exact version number is specified by @sambsnyd in 4098b30
  • Add facility for customizing marker printing. fixes #2293 by @jkschneider in 03ff8f3
  • Prevent RenamePrivateFieldsToCamelCase from renaming field when a variable exists with the proposed name. fixes #2294 by @pway99 in bdbaba09
  • Result#diff that accepts a custom marker printer by @jkschneider in aa2df3e
  • TreeVisitor#collect and TreeVisitor#reduce by @jkschneider in 2818b02
  • Add Markup#level 8e552c0

Breaking Changes

  • Comment:printComment() now takes a Cursor parameter. #2293

Full Changelog: v7.30.1...v7.31.0

Don't miss a new rewrite release

NewReleases is sending notifications on new releases.