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
Document deprecated and breaking changes for 0.8.0 release #2076
Comments
I am giving 0.8.0 a spin. It would be really helpful if all the deprecations had the suggested new thing. I can definitely imagine folks throwing up their hands when they encounter:
|
@brianmartin yup that's the one! |
@regadas regarding the breaking changes documented in https://spotify.github.io/scio/migrations/v0.8.0.html#scala-concurrent-future-removed-from-scioios, do you think we could provide a bunch of implicit convertions that would provide a "compatibility" layer to avoid breaking changes ? Let say we provide the following implicit conversions @deprecated(since = "0.8.0", "ScioIO#read does not return an Future anymore. Please see the following documentation: xxx")
implicit def toFutureTap[T](t: Tap[T]): Future[Tap[T]] = ???
@deprecated(since = "0.8.0", "ScioIO#write does not return an Future anymore. Please see the following documentation: xxx")
implicit def toClosedTap[T](t: Future[Tap[T]]): ClosedTap[T] = ??? we could limit the impact of upgrading from 0.7 to 0.8 while still moving to a cleaner API. Is there anything else we should implicitly convert ? I think to scalafix rules I implemented are not really good enough so this could be a good alternative. wdyt ? |
Looking at the codebase at Spotify, it seems that the removal of |
@jto yeah sounds like a plan! do you think it's feasible to have them under a |
We could for most of them but I'd rather have something that makes upgrading easy and hopefully requires minimal manual intervention. Having a different package name would defeat that. |
0.8.0 is out! |
Things missing from migration doc:
The text was updated successfully, but these errors were encountered: