-
Notifications
You must be signed in to change notification settings - Fork 74
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
slf4j depends on core jvm, not core js #644
Conversation
I think this would require a 2.4 release? cc @danicheg if you can weigh in please, I got rusty with releases for the past year 😅 |
The issue causes log4cats-slf4j not to declare its dependency on log4cats-core, and to declare an unneeded dependency on log4cats-core_sjs1 The chance should result in only a different POM. That means in terms of binary compatibility, it's backwards and forwards compatible, and doesn't require a minor bump. |
@@ -74,7 +74,7 @@ lazy val noop = crossProject(JSPlatform, JVMPlatform) | |||
|
|||
lazy val slf4j = project | |||
.settings(commonSettings) | |||
.dependsOn(core.js) |
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.
Actually, that was discussed when @armanbilge was adding it #592 (review).
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.
Oops. This is 💯 my mistake and I really must not have been paying attention since your comment point it out 😳 I think I was trying to change coreJVM
to core.jvm
but I wrote core.js
... sorry everyone.
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.
In a Just world, either the build system or the compiler should have given you a fatal warning for this. This is a way too easy mistake to make.
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.
What really baffles me is that the tests run and pass using the JS artifact ...
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.
@armanbilge It's my fault too. I wasn't insistent and thought it's no matter what we'd use in that place :)
I agree, this can go into a 2.3.1. |
@martijnhoekstra Could you please rebase your branch? I've fixed the error that caused the failing CI in this PR. |
should close typelevel#643
Yes, rebased |
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.
Thank you so much for fixing this!
should close #643