github openrewrite/rewrite v8.74.0
8.74.0

7 hours ago

What's Changed

  • Upgrade rewrite-kotlin to Kotlin 2 compiler (K2) by @jkschneider in #6766
  • Autodetect text block indent by @Jenson3210 in #6768
  • Restore recipe hierarchy rows in SourcesFileResults by @timtebeek in #6764
  • Fall back to uv lock when no lock file exists for pyproject.toml by @knutwannheden in #6769
  • ChangeImport: rewrite qualified references when old_name is specified by @knutwannheden in #6760
  • JavaScript: Write .npmrc file before install by @knutwannheden in #6417
  • Parse more checkstyle rules into OpenRewrite styles. by @sambsnyd in #6761
  • Use resolved version of managed dependency in ResolvedPom's managed dependencies by @steve-aom-elliott in #6776
  • Fix DeclarativeRecipe descriptor leaking PreconditionBellwether by @pstreef in #6774
  • Restore TypeTable support for Kotlin K2 by @timtebeek in #6779
  • Add Variable type attribution for Python identifiers by @knutwannheden in #6772
  • Fix Java 21 parser dropping var in record pattern binding variables by @cuioss-oliver in #6781
  • Add prefix to the block after resolutionStrategy block when non existing by @Jenson3210 in #6784
  • Include declarative recipe preconditions in recipe descriptors by @sambsnyd in #6777
  • Python: Replace LSP hover with ty-types structured descriptors by @knutwannheden in #6782
  • Filter duplicate generated files in ScanningRecipe.generate() by @pstreef in #6778
  • Fix Python RPC server crash on Windows due to hardcoded /tmp log path by @knutwannheden in #6787
  • Fix resolution of dated snapshots as input by @shanman190 in #6788
  • Annotation attribute non jvm class misses import by @BoykoAlex in #6786
  • Move all kotlinx recipes to rewrite-migrate-kotlin by @timtebeek in #6791
  • Fix ChangeManagedDependencyGroupIdAndArtifactId overwriting artifactId with glob pattern by @timtebeek in #6783
  • Python: Add type attribution tests and fix method declaration/type hint types by @knutwannheden in #6794
  • Python: Add parameter field_type attribution and call-site type arguments by @knutwannheden in #6795
  • Fix exponential overcounting in composite recipe listings by @jkschneider in #6796
  • Python: Add type attribution tests, use moduleName for module-qualified FQNs, and fix RemoveImport shadowing by @knutwannheden in #6798
  • Update expected jackson-jakarta-rs-json-provider version in test by @knutwannheden in #6801
  • Handle local version variables in UpgradePluginVersion for kotlin plugins by @MBoegers in #6746
  • Use flexible version assertions in ChangeDependencyGroupIdAndArtifactId tests by @Jenson3210 in #6799
  • Add Kotlin script template support for Gradle KTS by @timtebeek in #6792
  • Add type attribution for Gradle plugin DSL in KTS files by @timtebeek in #6804
  • DeleteProperty: preserve inline comments when deleting entries by @Jenson3210 in #6797
  • Preserve old exclusions and add sibling for new coordinates on dependency change by @Jenson3210 in #6800

New Contributors

Full Changelog: v8.73.2...v8.74.0

Don't miss a new rewrite release

NewReleases is sending notifications on new releases.