Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade spring-security-oauth2-authorization-server #680

Merged
merged 2 commits into from
Feb 19, 2025

Conversation

Laurens-W
Copy link
Contributor

What's changed?

Made spring-security-oauth2-authorization-server part of spring security upgrades

Anyone you would like to review specifically?

@timtebeek

Any additional context

https://github.com/spring-projects/spring-authorization-server/releases

Checklist

  • I've added unit tests to cover both positive and negative cases
  • I've read and applied the recipe conventions and best practices
  • I've used the IntelliJ IDEA auto-formatter on affected files

@Laurens-W Laurens-W added the enhancement New feature or request label Feb 19, 2025
@Laurens-W Laurens-W requested a review from timtebeek February 19, 2025 11:24
@Laurens-W Laurens-W self-assigned this Feb 19, 2025
Comment on lines +30 to +39
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: org.springframework.security
artifactId: "*"
newVersion: 6.3.x
overrideManagedVersion: false
- org.openrewrite.java.dependencies.UpgradeDependencyVersion:
groupId: org.springframework.security
artifactId: spring-security-oauth2-authorization-server
newVersion: 1.3.x
overrideManagedVersion: false
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'm wondering about the ordering here and above; I think we validate the versions we migrate to actually exist so it should not be an issue that org.springframework.security:*:6.3.x also matches spring-security-oauth2-authorization-server, but perhaps it can't hurt to be sure. Did you check that part?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Did not verify that, let me do that!

Copy link
Contributor

@timtebeek timtebeek left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

One question, otherwise approved already. Thanks for the quick work here!

@timtebeek timtebeek added spring-security recipe Recipe requested labels Feb 19, 2025
@timtebeek timtebeek merged commit 2c8ba78 into main Feb 19, 2025
2 checks passed
@timtebeek timtebeek deleted the spring-auth-server branch February 19, 2025 15:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request recipe Recipe requested spring-security
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

2 participants