-
-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update dependencies, add Scala Native support for circe integration, add jsoniter-scala integration #7
Conversation
53beacb
to
aa0763f
Compare
@plokhotnyuk thank you for contributing! I unfortunately don't have the time right now to dive deep into how the codecs work, but it looks good at first glance and I'll try to find some time soon-ish if @satabin isn't faster. As for using the code in a tutorial, no objections from my side, looking forward to read it. A link back to geo-scala would of course be appreciated :) |
…add jsoniter-scala integration
@ybasket Please approve the workflow run, I hope the latest commit will fix CI build failures |
Done. Sorry, we probably should have updated after the last release (still learning the details of sbt-typelevel). Edit: Seems as it wants |
@ybasket Thanks for the help! Please approve the workflow run again, I hope it will show the green mark finally. |
Ups, it failed again... Now looking a way how to generate CI scripts with Java 11 for the |
Just to clarify—it not only builds Java 8 bytecode, it also restricts compilation to use only JDK 8 APIs and nothing newer. |
@armanbilge Thank you a lot! It looks like a clear solution (not a workaround) isn't it? |
Yes, I would consider it to be a solution. In fact there is a proposal to make a configuration like this the default for the next major release of sbt-typelevel. |
Thank you, @ybasket! I missed to run the |
Btw, I think this can be removed: Lines 30 to 32 in 876e75c
|
Note: you should never set
tlVersionIntroduced := Map("2.12" -> "1.2.3", "2.13" -> "1.2.3", "3" -> "1.2.3") Assuming that |
@ybasket @satabin Should I fix "issues" reported by Codacy Static Code Analysis? Some of them like in |
Hi @plokhotnyuk You can disregard Codacy, their profile is not tuned yet for our usage. |
jsoniter-scala/src/main/scala/com/free2move/geoscala/jsoniter_scala.scala
Show resolved
Hide resolved
Just to clarify, the "improvement" is deleting one line :) Lines 30 to 32 in 876e75c
|
@armanbilge I have tried All modules are still unchecked due to empty We should set it explicitly, isn't it? |
Is the base version correctly set? |
@plokhotnyuk yes, that is the correct, expected behavior. Because you have bumped the base version from You should not update the base version if you want to continue checking against previous versions. I highly recommend you read the material that I linked you to before :) it explains this in detail, with examples. https://typelevel.org/sbt-typelevel/faq.html#how-do-i-introduce-breaking-changes-intended-for-my-next-version |
@armanbilge I don't understand how all the magic should work... Locally when I revert the base version back to |
Have you pulled the tags to your local clone? Otherwise it will be unable to detect previous versions locally (but tags are always present in CI). |
Btw, I see that v0.3.0 is already released. So now I am confused what is happening in your PR. |
For the record: if I leave the
|
It doesn't work for me... Have I missed to run some sbt task? Details
|
@plokhotnyuk what is the output of |
@armanbilge Thanks for the tip! There were no tags in the local clone of my fork until I fetched them from the upstream. Details
|
I bumped the base version to |
scala/scala#9982 produces some warnings while compiling that are then turned into errors 😢 I downgraded to Scala 2.13.8 to avoid this. I didn't see anything in the release notes of 2.13.9 we would profit from… |
@plokhotnyuk thank you for contributing this and your patience with the CI 👍. Would be interested to read that blog article, maybe you throw a link here once ready? And also thank you 👍, @armanbilge! I'll release as 0.4.0. |
Close #6 by adding jsoniter-scala module
@ybasket @satabin Can I use code from this PR in a tutorial for jsoniter-scala?