Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: openrewrite/rewrite-migrate-java
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.25.0
Choose a base ref
...
head repository: openrewrite/rewrite-migrate-java
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.26.0
Choose a head ref
  • 20 commits
  • 171 files changed
  • 7 contributors

Commits on Jan 8, 2026

  1. Add 'changedManagedDependency: true' to ChangeDependencyClassifier in…

    … EhcacheJavaxToJakarta recipe
    dsgrieve committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    b6ae1c6 View commit details
    Browse the repository at this point in the history
  2. Revert "Add 'changedManagedDependency: true' to ChangeDependencyClass…

    …ifier in EhcacheJavaxToJakarta recipe"
    
    This reverts commit b6ae1c6.
    dsgrieve committed Jan 8, 2026
    Configuration menu
    Copy the full SHA
    c9aa151 View commit details
    Browse the repository at this point in the history

Commits on Jan 9, 2026

  1. Configuration menu
    Copy the full SHA
    50cdd8b View commit details
    Browse the repository at this point in the history
  2. Also change managed dependency classifier to ehcache to avoid breakin…

    …g multi module projects (#963)
    
    * Add 'changedManagedDependency: true' to ChangeDependencyClassifier in EhcacheJavaxToJakarta recipe
    
    * fix unit test to use mavenProject
    
    * Move test into existing `EhcacheJavaxToJakartaTest`
    
    * Remove ignored second text block
    
    * Also add `changeManagedDependency: true` to other recipes
    
    ---------
    
    Co-authored-by: Tim te Beek <tim@moderne.io>
    dsgrieve and timtebeek authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    9b9e288 View commit details
    Browse the repository at this point in the history
  3. fix IndexOutOfBoundsException that occurs in UseNoArgsConstructor

    … when visiting record compact constructor method (#964)
    
    * fix IndexOutOfBoundsException
    
    * fix
    
    * fix
    
    ---------
    
    Co-authored-by: zakaria-shahen <zakaria-shahen@users.noreply.github.com>
    Co-authored-by: Tim te Beek <tim@moderne.io>
    3 people authored Jan 9, 2026
    Configuration menu
    Copy the full SHA
    753fd36 View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2026

  1. Replace getDisplayName() and getDescription() methods with fields (

    …#966)
    
    * Replace `getDisplayName()` and `getDescription()` methods with fields
    
    Use this link to re-run the recipe: https://app.moderne.io/recipes/org.openrewrite.java.recipes.UseDisplayNameAndDescriptionFields?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl
    
    Co-authored-by: Moderne <team@moderne.io>
    
    * Add missing annotations where there were nested usages of `@Value`
    
    ---------
    
    Co-authored-by: Moderne <team@moderne.io>
    timtebeek and TeamModerne authored Jan 13, 2026
    Configuration menu
    Copy the full SHA
    363869f View commit details
    Browse the repository at this point in the history
  2. Use var for variables initialized with type casts (#965)

    * Use `var` for variables initialized with type casts
    
    * Update recipes.csv
    timtebeek authored Jan 13, 2026
    Configuration menu
    Copy the full SHA
    170b248 View commit details
    Browse the repository at this point in the history
  3. Use var for variables initialized with type casts

    Use this link to re-run the recipe: https://app.moderne.io/builder/CSFbHPE7G?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl
    
    Co-authored-by: Moderne <team@moderne.io>
    2 people authored and app committed Jan 13, 2026
    Configuration menu
    Copy the full SHA
    dba4c1b View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    b98f6ab View commit details
    Browse the repository at this point in the history

Commits on Jan 14, 2026

  1. Configuration menu
    Copy the full SHA
    c2c78bb View commit details
    Browse the repository at this point in the history

Commits on Jan 15, 2026

  1. Configuration menu
    Copy the full SHA
    7a52f88 View commit details
    Browse the repository at this point in the history
  2. Replace Arrays.asList with List.of in tests

    Use this link to re-run the recipe: https://app.moderne.io/builder/VUxszwdBH?organizationId=QUxML01vZGVybmUvTW9kZXJuZSArIE9wZW5SZXdyaXRl
    
    Co-authored-by: Moderne <team@moderne.io>
    2 people authored and app committed Jan 15, 2026
    Configuration menu
    Copy the full SHA
    da7c2e1 View commit details
    Browse the repository at this point in the history

Commits on Jan 16, 2026

  1. Configuration menu
    Copy the full SHA
    bb9adab View commit details
    Browse the repository at this point in the history
  2. Add recipe to find locale-sensitive date/time formatting affected by …

    …JDK 20+ CLDR changes (#967)
    
    * Add recipe to find locale-sensitive date/time formatting affected by JDK 20+ CLDR changes
    
    Starting with JDK 20, Unicode CLDR 42 changed the space before AM/PM from a
    regular space to a narrow no-break space (NNBSP, \u202F). This can cause
    parsing issues when user input contains regular spaces.
    
    This search recipe detects usages of:
    - DateFormat.getTimeInstance()
    - DateFormat.getDateTimeInstance()
    - DateFormat.getInstance()
    - DateTimeFormatter.ofLocalizedTime()
    - DateTimeFormatter.ofLocalizedDateTime()
    
    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
    
    * Update recipes.csv
    
    ---------
    
    Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
    timtebeek and claude authored Jan 16, 2026
    Configuration menu
    Copy the full SHA
    90b4e63 View commit details
    Browse the repository at this point in the history
  3. Replace getTags() method with field

    2 people authored and app committed Jan 16, 2026
    Configuration menu
    Copy the full SHA
    b22610d View commit details
    Browse the repository at this point in the history

Commits on Jan 17, 2026

  1. Configuration menu
    Copy the full SHA
    c7f8d21 View commit details
    Browse the repository at this point in the history

Commits on Jan 19, 2026

  1. Configuration menu
    Copy the full SHA
    288ea96 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    1180190 View commit details
    Browse the repository at this point in the history
  3. Normalize version numbers in FindJavaVersion (#969)

    * Normalize version numbers in `FindJavaVersion`
    
    Replace raw version strings with normalized major versions in the
    `JavaVersionTable` data table. This addresses issue #968 where users
    expect normalized values like "8" instead of "1.8".
    
    - Use `getMajorVersion()` and `getMajorReleaseVersion()` instead of
      raw `getSourceCompatibility()` and `getTargetCompatibility()` fields
    - Update column descriptions to clarify they contain major versions
    
    Closes #968
    
    Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
    
    * Ensure both are updated in `UpgradeToJava17Test`
    
    ---------
    
    Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
    timtebeek and claude authored Jan 19, 2026
    Configuration menu
    Copy the full SHA
    4beeb8a View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2026

  1. Fix JavaxWebXmlToJakartaWebXml regex to match multiline schemaLocation (

    #971)
    
    The regex pattern for matching xsi:schemaLocation attributes was failing
    when the attribute value contained line breaks, as `.` doesn't match
    newlines by default. Added `(?s)` flag to enable dotall mode.
    
    Fixes #970
    
    Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>
    timtebeek and claude authored Jan 20, 2026
    Configuration menu
    Copy the full SHA
    424b525 View commit details
    Browse the repository at this point in the history
Loading