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 to Spring Boot 3.4.1 #39

Open
wants to merge 9 commits into
base: master
Choose a base branch
from

Conversation

mirkoperillo
Copy link
Contributor

This is an upgrade of project from Spring Boot 2.7 to Spring Boot 3.3

Some notes:

  • Spring Mobile has been archived and it is not more maintained and so the last version doesn't support new jakarta.servlet.http package, so I removed it from the project
  • I had to upgrade jjwt library to support the new jakarta.xml.bind package. In the new version jjwt API changed a lot so I had to rewrite part of the TokenHelper class.

BasicAuthenticationFilter.class)
.authorizeHttpRequests(authorize -> authorize
.requestMatchers(
antMatcher(HttpMethod.GET, "/"),

Choose a reason for hiding this comment

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

Do you want to whitelist swagger endpoints as well in case we add support for that?

Copy link
Contributor Author

@mirkoperillo mirkoperillo Aug 23, 2024

Choose a reason for hiding this comment

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

I think it's better to add any swagger configuration only when swagger will eventually be added, so the starter project stays as clean as possible.

return request.getHeader(AUTH_HEADER);
}
@Value("${app.name}")
private String APP_NAME;

Choose a reason for hiding this comment

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

this naming convention is wrong. this type of naming convention should be used only for static variables. for local variables, camel case is good enough

Copy link
Owner

@bfwg bfwg left a comment

Choose a reason for hiding this comment

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

hi @mirkoperillo , good stuff. The code indentation looks off to me. Can you change them back to 4 spaces per tab?

@mirkoperillo mirkoperillo requested a review from bfwg August 24, 2024 16:07
@mirkoperillo mirkoperillo changed the title Upgrade to Spring Boot 3.3 Upgrade to Spring Boot 3.4.1 Jan 9, 2025
@mirkoperillo
Copy link
Contributor Author

  • Upgrade PR to the current version of Spring 3.4.1
  • Fix formatting to tab of 4 spaces

@bfwg do you have time to review this PR ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants