lein-ancient
lein-ancient copied to clipboard
Add an option to ignore newer major version
For people who rely on packages that are semantically versioned, it would be nice to have an option to only upgrade to the newest version that does not have breaking changes. So, if we are using v2.2.1 and v3.0.0 becomes available, do not upgrade to it. Perhaps there could be an extra parameter called :semantic to enable this functionality, or maybe something else like :only-minor and :only-patch.
My use case is
[org.eclipse.jetty/jetty-server "11.0.6"] is available but we use "9.4.43.v20210629"
I cant upgrade because ring-adapter doenst support jetty 9+ - https://github.com/ring-clojure/ring/issues/439