Skip to content

Port to Scala 3 #651

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

Open
wants to merge 151 commits into
base: main
Choose a base branch
from
Open

Port to Scala 3 #651

wants to merge 151 commits into from

Conversation

benko-ct
Copy link
Contributor

@benko-ct benko-ct commented Feb 21, 2025

  • sphere-mongo-core and sphere-json-core are now cross-compiled to scala2/3.
  • We decided to drop scala 2.12 support, if anyone needs that, we can add it back

Some guide for the review:

  • sphere-mongo-core and sphere-json-core now contain scala-3 folders containing scala3 specific code.
    • That's true for both the main and test folders.
    • The test folders contain all tests from the derivation modules + some new tests

benko-ct added 28 commits May 10, 2025 11:09
# Conflicts:
#	json/json-core/src/main/scala/io/sphere/json/FromJSONInstances.scala
#	json/json-core/src/main/scala/io/sphere/json/ToJSONInstances.scala
…es to allow compatibility with the scala 2 API
# Conflicts:
#	json/json-derivation/src/test/scala-2/io/sphere/json/JSONSpec.scala
#	json/json-derivation/src/test/scala/io/sphere/json/generic/DefaultValuesSpec.scala
#	json/json-derivation/src/test/scala/io/sphere/json/generic/JSONKeySpec.scala
#	mongo/mongo-derivation/src/test/scala-2/io/sphere/mongo/SerializationTest.scala
@benko-ct benko-ct changed the title Add sphere-mongo-3 and sphere-json-3 (the scala 3 version of similarly named modules) Port to Scala 3 Jul 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants