"It's just a minor version upgrade, what could go wrong?" 🤔 Spent my morning debugging an API that suddenly stopped returning data. What confused me was that the code for the impacted area was not even touched. The culprit? Upgrading Spring Boot from 3.5.3 to 3.5.6. This minor version change brings 43 fixes and upgrades! Reference: https://lnkd.in/g_igCZJU Turns out, this "minor" bump included Hibernate 6.6.x, which changed how it handles entity persistence contexts. Code that worked perfectly fine before was now creating duplicate database entries and losing track of relationships. The fix? One line of code. Another issue happened with Jackson deserialization. The humble annotation "@JsonAlias" stopped converting "id" to "itemId". The fix? One line of code, to add "@JsonProperty" for "itemId" field. Reminder: Minor version bumps can include major dependency upgrades Always test your critical paths, even for "safe" updates JPA relationships are usually the first to break Anyone else burned by a "harmless" version upgrade lately? #SpringBoot #Java #SoftwareEngineering #Debugging #Hibernate
It's painful, specially when you won't expect such issues wile upgrading minor version!!
Which errors? I am bumping to Spring Boot 3.5.7 and see no problems so far. Can you elaborate?