New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Provide a fail-fast on version number too low for libraries #24030

Closed
johanandren opened this Issue Nov 21, 2017 · 0 comments

Comments

Projects
None yet
2 participants
@johanandren
Member

johanandren commented Nov 21, 2017

Sprung out of akka/akka-http#1538

It would be useful for libraries if there was a fail fast when the Akka version pulled into a project is too low for the library to work (rather than later getting missing method errors etc). Something like a requireAtLeast(akkaVersion) that the library can call which will throw an error with a good error message explaining that "the library xxx needs at least Akka of version x.y.z but the one on the class path is a.b.c".

Probably needs to allow saying the requirement for multiple major versions. (For example 2.4.11 if on 2.4 or 2.5.7 if on 2.5)

@johanandren johanandren changed the title from Provide a fail-fast on version number to low for libraries to Provide a fail-fast on version number too low for libraries Nov 21, 2017

@ktoso ktoso added 1 - triaged and removed 0 - new labels Dec 15, 2017

johanandren added a commit to johanandren/akka that referenced this issue Dec 28, 2017

johanandren added a commit to johanandren/akka that referenced this issue Jan 9, 2018

@johanandren johanandren added this to the 2.5.9 milestone Jan 9, 2018

johanandren added a commit that referenced this issue Jan 9, 2018

manonthegithub added a commit to manonthegithub/akka that referenced this issue Jan 31, 2018

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment