Skip to content

Upgrade zio json#2804

Merged
adamw merged 4 commits intosoftwaremill:masterfrom
mijicd:upgrade-zio-json
Feb 16, 2026
Merged

Upgrade zio json#2804
adamw merged 4 commits intosoftwaremill:masterfrom
mijicd:upgrade-zio-json

Conversation

@mijicd
Copy link
Contributor

@mijicd mijicd commented Feb 15, 2026

Resolves #2792, closes #2715

Before submitting pull request:

  • Check if the project compiles by running sbt compile
  • Verify docs compilation by running sbt compileDocs
  • Check if tests pass by running sbt test
  • Format code by running sbt scalafmt

if: matrix.java == '21'
run: echo "WITH_ZIO=1" >> $GITHUB_ENV
- name: Enable Loom-specific modules
if: matrix.target-platform == 'JVM' && matrix.java == '21' && matrix.scala-version == '3'
Copy link
Contributor Author

@mijicd mijicd Feb 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that this excludes zio project, but it resembles the old behavior where no modules but loom ones are tested/published for this particular build point (3, JVM, 21). We can adjust this if necessary (e.g. using ALSO_LOOM?).


lazy val loomProjects: Seq[String] = Seq(ox, examples).flatMap(_.projectRefs).flatMap(projectId)
lazy val loomProjects: Seq[String] = Seq(ox, examples, zioJson).flatMap(_.projectRefs).flatMap(projectId)
lazy val zioProjects: Seq[String] = Seq(zioJson).flatMap(_.projectRefs).flatMap(projectId)
Copy link
Contributor Author

@mijicd mijicd Feb 15, 2026

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Note that zio1Json is still around, but it is heavily deprecated, therefore, I did not include it here. I would propose removing it at one point.

@mijicd mijicd marked this pull request as ready for review February 15, 2026 13:54
@adamw adamw merged commit 58f12bf into softwaremill:master Feb 16, 2026
22 checks passed
@adamw
Copy link
Member

adamw commented Feb 16, 2026

Thanks, let's see if the release works properly :)

@mijicd mijicd deleted the upgrade-zio-json branch February 16, 2026 13:28
@mijicd
Copy link
Contributor Author

mijicd commented Feb 16, 2026

@adamw Unfortunately, it didn't work. I notice an unwanted leftover (see this comment), but I can't explain the lack of zio-json artifact 😞 . Looking into it.

@mijicd mijicd mentioned this pull request Feb 16, 2026
4 tasks
adamw pushed a commit that referenced this pull request Feb 16, 2026
Resolves issues introduced by
#2804:
- It enabled the native build for zio-json, which wasn't there before
(while possible, it needs a bit work)
- Restored "Enable Native-specific modules" release condition (i.e.
`target-platform` does not exist there 🤦‍♂️, see
923fbe7)
- Adjusted "Enable Loom-specific modules" release condition (the same as
previous, see
39ef8bc)

Before submitting pull request:
- [x] Check if the project compiles by running `sbt compile`
- [x] Verify docs compilation by running `sbt compileDocs`
- [x] Check if tests pass by running `sbt test`
- [x]  Format code by running `sbt scalafmt`
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.

ZIO-JSON Update

2 participants