rewrite-spring icon indicating copy to clipboard operation
rewrite-spring copied to clipboard

OpenRewrite recipes for Spring projects.

Results 114 rewrite-spring issues
Sort by recently updated
recently updated
newest added

## What's changed? This pull request creates a new Spring 2.7 data YML file with the recipe information for `GetReferenceById` changes. ## What's your motivation? As of Springboot v2.7, both...

boot-2.7

## What problem are you trying to solve? As of Springboot v2.7, both `getOne()` and `getById()` methods have been deprecated for `JpaRepository`. The [documentation](https://docs.spring.io/spring-data/jpa/docs/current/api/org/springframework/data/jpa/repository/JpaRepository.html) states that these deprecated methods should...

good first issue
boot-2.7

## What version of OpenRewrite are you using? I am using - OpenRewrite v4.46.0 - Maven/Gradle plugin v4.46.0 - rewrite-spring v4.36.0 ## How are you running OpenRewrite? I am using...

bug

## What version of OpenRewrite are you using? I am using openrewrite-maven-plugin 5.11.0 with rewrite-spring 5.1.1 ## How are you running OpenRewrite? I am using the Maven plugin. Apologies, my...

bug

## What version of OpenRewrite are you using? rewrite-maven-plugin 5.11.0 with rewrite-spring 5.1.1 ## How are you running OpenRewrite? rewrite-maven-plugin. project is not public/sharable. ## What is the smallest, simplest...

bug
good first issue
boot-2.5

## What problem are you trying to solve? Migration of an existing application that uses properties for Spring configuration to use of YAML for Spring configuration. ## What precondition(s) should...

recipe

> NOTE: Requires Apache HttpComponents 5.1 or higher, as of Spring 6.0. https://docs.spring.io/spring-framework/docs/current/javadoc-api/org/springframework/http/client/HttpComponentsClientHttpRequestFactory.html HttpComponents did a GAV change with 5, so projects with explicit dependencies on this library may be...

recipe
boot-3.0

From `org.springframework.boot:spring-boot-starter-parent:2.7.3` to `org.springframework.boot:spring-boot-starter-parent:3.1.x` the properties `maven.compiler.source` and `maven.compiler.target` are missing. Inspecting Spring boot 3.1 projects, the new properties are `java.version` and `maven.compiler.release` ## What's changed? The recipe `spring-boot-31.yml` will...

question
recipe

Unit test demonstrating an issue upgrading Petclinic to Boot 3. `jakarta.xml.bind-api` dependency should be added explicitly but it's not because `rewrite-maven` dependency resolution thinks that this dependency is present on...

bug