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

feat!: Spring Cloud 2024.0 and Spring Boot 3.4.1 #3411

Open
wants to merge 97 commits into
base: main
Choose a base branch
from

Conversation

diegomarquezp
Copy link
Contributor

@diegomarquezp diegomarquezp commented Dec 9, 2024

This pull request introduces an upgrade to Spring Cloud 2024 and Spring Boot 3.4

Changes per module

  • spring-cloud-gcp-secretmanager: We will introduce support for resolving values of the form sm@secret_id in addition to the already existing sm://secret_id format. Users should move away from sm:// and use sm@ instead. Usage of sm:// will raise a warning about this being removed in the future. This is yet to be implemented as it depends on the soon-to-be-released spring-framework 6.2.2 (see "Pending changes")
  • spring-cloud-gcp-config-sample (breaking change): removed autoconfiguration and sample code. This is to adjust to what's stated in the docs.
  • spring-cloud-gcp-kotlin-sample (breaking change): Adjust to hibernate upgrade which introduced a change in default value handling (see tracker). (More info in SO)

Internal changes

  • spring-cloud-gcp-pubsub-stream: Adjust unit tests to prevent duplicate bean detection (example logs).
  • spring-cloud-gcp-data-datastore: Upgrade deprecated QueryMethodEvaluationContextProvider to ValueExpressionDelegate
  • spring-cloud-gcp-data-spanner: Upgrade deprecated QueryMethodEvaluationContextProvider to ValueExpressionDelegate

Pending changes

@diegomarquezp diegomarquezp requested a review from a team as a code owner January 2, 2025 21:33
@diegomarquezp diegomarquezp changed the title chore: Spring Cloud 2024 upgrade feat!: Spring Cloud 2024.0 and Spring Boot 3.4.1 Jan 3, 2025
This moves the @RefreshScope annotation to method-level in order to
avoid build failures in the native image tests. A good candidate to
prove it as good practice is
https://github.com/spring-cloud/spring-cloud-commons/blob/c0f3a6190c5e636ac5391371b503f7f1e6e24a8e/docs/modules/ROOT/pages/spring-cloud-commons/application-context-services.adoc?plain=1#L211-L215

The native tests script will also override the refresh scope as it's
explained in the docs (see implementation for link).
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants