What's Changed
- DependencyConstraintToRule: add rules to an eachDependency closure that declares no parameter by @jkschneider in #10020
- Python: do not downgrade a dependency already at or above the target in
UpgradeDependencyVersionby @greg-at-moderne in #9999 - Scala: find overrides of
toStringby mappingjava.lang.Objectas its class file declares it by @knutwannheden in #10018 - Scala: print markers on nodes the printer emits by hand by @timtebeek in #10010
- JavaScript: accept vitest 5 as the optional peer of @openrewrite/rewrite by @timtebeek in #10004
- JavaScript: declare module functions on a complete class type, so matching overrides walks past it by @timtebeek in #10003
- Python RemoveDependency: keep a dependency that sources still import with unlessImporting by @sambsnyd in #10022
- JavaScript: moving a member keeps the type attribution of reads through a namespace import of its old module by @myhau in #10009
- JavaScript: a call through a namespace import of a subpath is declared on the subpath by @myhau in #9998
- Scala: never emit null arguments on
J.NewClass, mark omitted parens with a marker by @greg-at-moderne in #10026 - JavaTemplate - reach statements in nested blocks when
scopeis an enclosing method by @greg-at-moderne in #10025 - Scala: map a parameterless method called by its bare name to J.MethodInvocation by @timtebeek in #10027
- C#: migrate template tests to explicit factories by @greg-at-moderne in #10031
- Java: refactor JavaTemplate tests by @greg-at-moderne in #10030
- Scala: parse pattern definitions and givens with a body into trees by @knutwannheden in #10029
- ReplaceConstantWithAnotherConstant: reference a nested owner through its outermost class by @timtebeek in #10033
- Groovy: trait members — initializer blocks, private methods, field values, annotations, super calls by @jimshowalter in #9866
- Scala: print a literal singleton type without
.typeby @knutwannheden in #10036 - Scala: map a class or trait's self type to S.SelfType by @knutwannheden in #10035
- Add TypeScript RPC codecs for the C# MSBuildProject marker by @sambsnyd in #10021
Full Changelog: v8.111.0...v8.112.0