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

Merged
merged 99 commits into from
Jan 24, 2025

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

BEGIN_COMMIT_OVERRIDE
feat: Spring Cloud 2024.0 and Spring Boot 3.4.1
END_COMMIT_OVERRIDE

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 has been tested using spring-framework:6.2.2-SNAPSHOT.
  • 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

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).
@diegomarquezp
Copy link
Contributor Author

@diegomarquezp diegomarquezp merged commit a72a86b into main Jan 24, 2025
59 checks passed
@diegomarquezp diegomarquezp deleted the test-spring-cloud-2024 branch January 24, 2025 14:36
@diegomarquezp diegomarquezp restored the test-spring-cloud-2024 branch January 24, 2025 14:37
diegomarquezp added a commit that referenced this pull request Jan 24, 2025
diegomarquezp added a commit that referenced this pull request Jan 24, 2025
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.

4 participants