-
-
Notifications
You must be signed in to change notification settings - Fork 134
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
Removed Joda functions and dependency from base play-json library. #432
Conversation
f5d42d2
to
84e3d04
Compare
Note that the build is failing but now that the SBT format is good, I think what's left is a "normal error":
It's reporting that I removed methods, which is indeed the intent. |
You're right, this probably should have been removed in 2.7 or 2.8. We can merge this, but since we're removing methods we might not want to backport it to 2.8. Or maybe since these are deprecated methods we can make an exception. I'm not sure. |
Yeah, you will have to setup the MiMa exclusions. See the recommended settings that need to be included and test that locally using |
I'd rather not backport. |
It's probably safer to keep it for 2.9 indeed, but I am not sure what the schedule for that is... If it is far in the distance, or worse if 2.8 is the last major version for Scala 2, then maybe make an exception. |
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.
As these methods have been deprecated since Play JSON 2.6.0 we can finally drop them for 2.9.0.
LGTM.
84e3d04
to
108774e
Compare
Thank you @bursauxa for starting this PR! |
Purpose
// TODO: remove joda after 2.6.0
I think the time has come 🙂
Background Context
play-json-joda has been there for quite some time now, as well as Java 8 Time.
Meanwhile, many projects without use of Joda are still unknowingly downloading Joda through Play-JSON or even more indirectly through Play.
If people maintaining this library are in agreement, I believe we can today move forward with cutting the Joda dependency from the base library, so it stays strictly in play-json-joda.