profunktor / fs2-rabbit

:rabbit: RabbitMQ stream-based client built on top of Fs2
https://fs2-rabbit.profunktor.dev/
Apache License 2.0
149 stars 44 forks source link

Cross compile to scala 3.5.x #978

Closed geirolz closed 2 months ago

geirolz commented 2 months ago

Are there any advantages? Just curious...

Just checking compatibility with 3.5.x and potentially use 3.5.x features ( in a dedicated package ) Moving towards to scala 3 in general

matejcerny commented 3 weeks ago

Are there any advantages? Just curious...

Just checking compatibility with 3.5.x and potentially use 3.5.x features ( in a dedicated package ) Moving towards to scala 3 in general

@geirolz What will be the next step in general? Will we keep the 3.5.2 or replace it with the 3.6.2?

geirolz commented 3 weeks ago

I would cross compile all major and minor since it is almost cost free for this kind of library. Moreover I'd drop 2.12 in order to just support 2.13 and all 3.x from now on.

Ideally we have to drop the oldest version when is no more commonly used, this also depends on how easy it is to migrate 3.x minors I'd say ( for the community I mean ).

I think we cannot define a strict rule now, let's see how Scala evolves and how difficult It becomes to maintain this library supporting multiple versions.

What do you think @matejcerny ?