lein-ancient icon indicating copy to clipboard operation
lein-ancient copied to clipboard

Add an option to ignore newer major version

Open JustinSpedding opened this issue 7 years ago • 1 comments

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.

JustinSpedding avatar Jan 14 '18 15:01 JustinSpedding

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

antonmos avatar Aug 25 '21 14:08 antonmos