wix/greyhound

ZIO 2.x migration?

exp0nge opened this issue ยท 10 comments

Are there plans to support ZIO 2.x? https://zio.dev/next/howto/migrate/zio-2.x-migration-guide/

One of the issues:

java.lang.NoClassDefFoundError: zio/Has$
        at com.wixpress.dst.greyhound.future.GreyhoundRuntime$.<init>(GreyhoundRuntime.scala:25)
        at com.wixpress.dst.greyhound.future.GreyhoundRuntime$.<clinit>(GreyhoundRuntime.scala)

There are some internal discussions about ZIO 2.0. However since it's not GA yet, talking about timelines is moot at this point.

are you currently using ZIO 1.0 greyhound?
I think it would be hard to support both 1.0 and 2.0 by greyhound...

are you currently using ZIO 1.0 greyhound? I think it would be hard to support both 1.0 and 2.0 by greyhound...

No, but thought this was a good candidate for a client lib.

We have a monorepo so not possible to undo that decision to use 2.x ZIO

same for us. we will migrate between first GA and first patch version...

This is blocking us from using greyhound in our monorepo as well, since we have some 2.x zio elsewhere. Glad to hear this is a priority for you folks as well @natansil

Zio 2.0 is GA now, yay!

yep. we are in the process of migrating our private code base to ZIO 2.0
once that process is merged, the changes will automatically sync to public code.
No concrete ETA, but this is a high priority for us

Hi @natansil, any chance there's an update? ๐Ÿ˜ƒ

Hi,
We will release a new greyhound version with ZIO 2.0 soon.
I will update here when it's out.

@exp0nge I'm so sorry for the delay.
We had issues with several ZIO versions, but we are happy with the stability and perfomance of zio 2.0.5
I've published a new version to maven-central for greyhound 0.3.1 which we depends on zio 2.0.5.
https://repo1.maven.org/maven2/com/wix/greyhound-core_2.12/0.3.1/