From d647fe401ef434538713c9855324cec959f4402c Mon Sep 17 00:00:00 2001 From: Aditya Chandel <8075870+adityachandelgit@users.noreply.github.com> Date: Fri, 28 Nov 2025 14:10:14 -0700 Subject: [PATCH] Upgrade Spring Boot to version 4.0.0 (#1667) * Upgrade Spring Boot to version 4.0.0 * Fix flyway config --- booklore-api/build.gradle | 1 + booklore-api/src/main/resources/application.yaml | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/booklore-api/build.gradle b/booklore-api/build.gradle index 1a7733680..8dafdd65f 100644 --- a/booklore-api/build.gradle +++ b/booklore-api/build.gradle @@ -36,6 +36,7 @@ dependencies { implementation 'org.springframework.boot:spring-boot-starter-security' implementation 'org.springframework.boot:spring-boot-starter-mail' implementation 'org.springframework.boot:spring-boot-starter-oauth2-client' + implementation 'org.springframework.boot:spring-boot-starter-flyway' // --- Database & Migration --- implementation 'org.mariadb.jdbc:mariadb-java-client:3.5.6' diff --git a/booklore-api/src/main/resources/application.yaml b/booklore-api/src/main/resources/application.yaml index 794c36eff..afcdc9cdc 100644 --- a/booklore-api/src/main/resources/application.yaml +++ b/booklore-api/src/main/resources/application.yaml @@ -51,6 +51,10 @@ spring: flyway: enabled: true locations: classpath:db/migration + jackson: + deserialization: + fail-on-null-for-primitives: false + fail-on-unknown-properties: false springdoc: swagger-ui: