Replies: 3 comments 4 replies
-
We have a config to disable the check.
We could also consider only comparing the major and minor parts the x.y.z version number but allow flexibility with the patch part of the version number ('z' in x.y.z). |
Beta Was this translation helpful? Give feedback.
-
So firstly I would like to apologize for the chaos created, at work we are currently using a snapshot version and then it suddenly stopped working when it was bumped to the latest snapshot version and so my immediate emotional response was "crap, the build somehow broke" and since there are releases open I wanted to prevent a broken release being made, now we know that nothing is broken. I don't think we should change this (i.e. mix version check), there are reasons why we don't allow mixed versions like this however @pjfanning is right in that the proper way to solve this is by using a bom, sbt does not support this but gradle/maven does. |
Beta Was this translation helpful? Give feedback.
-
sbt plugin - https://github.com/heremaps/here-sbt-bom |
Beta Was this translation helpful? Give feedback.
-
Currently, Pekko does not allow 'mixed versioning' - please read https://pekko.apache.org/docs/pekko/current/common/binary-compatibility-rules.html#mixed-versioning-is-not-allowed to get the background.
This is causing confusion: people see the
IllegalStateException
and assume there is something wrong with Pekko, not with their project.We could consider dropping the requirement to have aligned versions. This means we can no longer make changes to, say,
pekko-stream
that also require changes topekko-actor
(even when remaining binary compatible in the user-facing API).Personally, I think requiring aligned versions for artifacts that are released together (e.g. between
pekko-actor
andpekko-stream
, but not betweenpekko-actor
andpekko-connector-mqtt
) is reasonable, and allowing mixed versioning would restrict changes too much.We should probably make the behavior less confusing, though. Perhaps instead of logging an
IllegalStateException
, we should explain the problem in anERROR
-level log message and shut down?Beta Was this translation helpful? Give feedback.
All reactions