How to handle multiple major versions of dependency
问题 I'm wondering how to handle multiple major versions of a dependency library. I have an open source library, Foo , at an early release stage. The library is a wrapper around another open source library, Bar . Bar has just launched a new major version. Foo currently only supports the previous version. As I'm guessing that a lot of people will be very slow to convert from the previous major version of Bar to the new major version, I'm reluctant to switch to the new version myself. How is this