Code Monkey home page Code Monkey logo

Comments (3)

mikereiche avatar mikereiche commented on August 12, 2024

@maksutspahi

I'm not understanding why/how spring-boot-depdendencies version 3.3.1 specifies Couchbase Client version 3.6.2. Why doesn't it just rely on spring-data-couchbase for that? Which has the depdendency of Couchbase Client version 3.6.0.
That is the only version that we build and test with.

from spring-data-couchbase.

wilkinsona avatar wilkinsona commented on August 12, 2024

Spring Boot's dependency management includes 3.6.2 as it's the latest patch release of the client. Our goal is to keep third-party dependencies up-to-date so that users can benefit from the latest bug fixes.

Spring Boot includes auto-configuration for both Couchbase (CouchbaseAutoConfiguration) and Spring Data Couchbase (CouchbaseDataAutoConfiguration and CouchbaseReactiveDataAutoConfiguration). This leaves us in a tricky situation as we can either hold bug fixes back from those only using the former or have an incompatibility that affects some users of the latter. Neither's ideal.

I think there are a few options here. In order of preference, they are:

  1. Updates are made to the Couchbase Client and 3.6.3 is released that's backwards compatible with 3.6.1 and 3.6.0
  2. Updates are made to Spring Data Couchbase so that it's compatible with the breaking changes in 3.6.2
  3. Spring Boot downgrades back to 3.6.0

I'd really like to avoid 3 as it just hides the problem rather than solving it. Anyone who is using Spring Data Couchbase and needs to pick up a bug fix that was made in 3.6.2 will potentially be unable to do so due to the incompatibility. Furthermore, any Spring Boot users who's not using Spring Data Couchbase or is not affected by the current incompatibility will then be exposed to bugs that have already been fixed and will have to manually upgrade.

from spring-data-couchbase.

dnault avatar dnault commented on August 12, 2024

Tracking on the Couchbase SDK side as https://issues.couchbase.com/browse/JVMCBC-1540

from spring-data-couchbase.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.