-
-
Notifications
You must be signed in to change notification settings - Fork 244
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
Upgrade Cats dependency to 0.7 #212
Comments
Note that monix 2.0-RC11 did not work with cats 0.7. There are breaking changes.
In my example, I was using
so I was surprised to see cats trying to call |
I'm now getting some test failures. To resolve this I'm looking to supply custom equality methods for the checking (it's comparing two
Hopefully I can submit a PR soon. |
Unfortunately I'm blocked by this issue in Cats. ATM |
OK, I managed to reconfigure ScalaCheck, such that the tailRecM tests pass for Observable. I'm using the following parameters: Parameters.default
.withMinSuccessfulTests(10)
.withMaxDiscardRatio(50.0f)
.withMaxSize(6) Not good though, because it weakens the tests. I hope Cats will provide a solution for monads that do not want to implement |
- upgrade the Cats dependency to version 0.7.0, see issue #212 - rename `eval` to `evalAlways` across the board (in `Task`, `Coeval` and `Observable`), but keep `evalAlways` with the `@deprecated` sign - rename `eval(Coeval)` to `coeval(Coeval)` in `Task` and `Observable` - refactor the `Task` internals again, for optimizations - simplifies the internal states, e.g. instead of having `Now`, `Error`, `Always` and `Once`, we now have a single `Delay(coeval)` - get rid of `Task.Attempt`, it never made any sense that one. People can use `Coeval.Attempt` if they need a `Try` alternative (and convert to `Task` if they end up needing a `Task`) - moved everything from `monix.types.shims` to `monix.types` - in `monix.types`, split the `Deferrable` type in `Suspendable` and `Memoizable` - in `monix-execution` introduce `executeAsync` and `executeLocal` as macros - use `executeLocal` and `LocalRunnable` in key points in the `Task` implementation to reduce forking
Deployed in |
Cats 0.7 is out and dependency should be upgraded.
The text was updated successfully, but these errors were encountered: