Skip to content

v0.12.2 - initial scala 3 support

Compare
Choose a tag to compare
@hughsimpson hughsimpson released this 23 Jun 09:37
· 141 commits to master since this release
7c297b8
Scala 3 initial attempt (#27)

* experiment

* sugar seems to work

* improvements

* bump bunch

* fix type ascencion in update method ; ignore test

* tidy naming

* we don't need macros for the extension/id methods now

* rm old primitive element macros

* wip

* REVERT ME

* Initial attempt to compile (using sbt ++3.0.0 core/compile core/test hl7/compile hl7/test); pausing here to verify generator

* fix enum generation bug

* core/test passing. hl7 mostly compiling...

* fix hl7/test for scala 3, and restore core/test for scala 2

* fix hl7/test:compile for scala 2

* fix fhirpath compilation on scala2

* some formatting

* wip

* regen all

* fix some warnings

* build is now a really really expensive step

* bump Xmx

* bump more

* Change choice (#28)

* revert

* start to remove \/ from scala-3; just use |

* wip

* rm dup package

* wip

* wip

* crossbuild bench

* tests

* wip

* bump scala2

* uncomment test. Clean more in CI

* Format almost everything (MedicationKnowledge and ETypeWithFallback break with scalafmt ATM)

* fix extension extraction set syntax

* fix some things

* temporarily exclude usbase -- I don't understand the reason for failure

* WIP

* some random formatting changes

* bench scala 3

* see if we can skip clean now

* scalameter not built yet. Bump scala 3 version

* fix test

* revert scala version to 3.0.0. Make doc exclusion conditional on scalaVersion, and include test in exclusions

* use nightly scala 3 build for bugfix

* bump scalameter for cross-compilation of bench tests; revert the default scalaVersion thingie. Add -Ytasty-reader scalacOption for scala 3

* download scala3 deps too

* ugh. Implicit conversions...

* fix protoshim compile, temporarily revery bench to just 2.13

* maybe this?

* wip

* gproto keeps rebuilding all the time if 'crosspublished' for some reason

* co change_choice -- .jvmopts .sbtopts; delete the \/.typetagFromType method in scala 3, seems redundant

* one workaround for scalafmt bug

* fix the formatting stuff

* sorta do the fold and map functions in scala 3

* new regression cache; add test cache

* whoos naming

* docs should work now