-
Notifications
You must be signed in to change notification settings - Fork 7
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
Cross-compile for Scala 3 #227
Cross-compile for Scala 3 #227
Conversation
scassandra/src/main/scala-3/com/evolutiongaming/scassandra/LoadBalancingConfigImplicits.scala
Outdated
Show resolved
Hide resolved
e96d9dd
to
54c3b92
Compare
scassandra/src/main/scala/com/evolutiongaming/scassandra/QueryConfigImplicits.scala
Outdated
Show resolved
Hide resolved
scassandra/src/main/scala/com/evolutiongaming/scassandra/ReconnectionConfigImplicits.scala
Outdated
Show resolved
Hide resolved
scassandra/src/main/scala/com/evolutiongaming/scassandra/SocketConfigImplicits.scala
Outdated
Show resolved
Hide resolved
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks!
...andra/src/main/scala/com/evolutiongaming/scassandra/ReplicationStrategyConfigImplicits.scala
Outdated
Show resolved
Hide resolved
I did not double check if all properties are tested in unit tests. May be will do later. |
Yes, let's do it! |
One note, though. If it was not tested for binary compatibility, it might need to be released as a new major version with all the consequences involved. |
I just thought: does pureconfig derive codecs that can read only dash-separated names, or does it allow dots too? In other words, is it able to read only |
accc3b3
to
e94aad7
Compare
there were no changes to the API though, why do you think the compatibility could be broken? |
@rtar Grzegorz updated the version to 6.0.0, as you asked (though I think it was unnecessary). Shall we merge this, please, or do you have any other concerns? This PR is quite big, and I don't want to delay it for longer |
I suggest to merge it. I think it is fine to release it as 5.x if binary compatibility is maintained. |
@grzegorz-bielski, without going over all the files again, could you confirm only internals were changed without changes to signatures and APIs? I'd honestly prefer to keep the version to 5.x, otherwise it's going to be a lot of pain further down the road |
e94aad7
to
0dd53bd
Compare
@Z1kkurat The only change in the main API was splitting the implicit config readers to a separate trait like Edit: I found one issue, which is now fixed. |
I have set up the After f175a86
Not sure why, since I didn't remove it. 🤔 |
I suggest to merge it, and I think we can consider it binary compatible (i.e. release it as 5.x). I suspect one of your updated dependencies removed logback, hence is your error. You can add it manually back, but I think it is fine without it, either. |
@rtar Should I change the version to |
I am not sure, but I think you should use I think you might also use To summarize, it is up to you 😊 |
Since it also removes the transitive logback dependency then let's go with |
Updated all deps besides
cassandra-driver
, moved to testcontainers instead ofcassandra-launcher
like in here, removed pureconfig derivation and cross compiled against3.3.3
,2.13.13
and2.12.19
.TODO:- [ ] add https://github.com/scalacenter/sbt-version-policy- Will do it in separate PR.