Skip to content
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

Update cats to 0.8.1 and add Scala 2.12 support #80

Merged
merged 3 commits into from
Nov 14, 2016

Conversation

peterneyens
Copy link
Contributor

I updated cats to 0.8.1 (and monix to the compatible 2.1.0).
I think that all our dependencies and plugins now make it possible to also release for Scala 2.12.0.

The cats changes are mostly changing Xor/XorT to Either/EitherT and removing the RecursiveTailRecM evidence. I added the FromMonadError class which makes it easier to implement FetchMonadError[M] given a MonadError[M, Throwable] (mostly so that we are spared from reimplementing tailRecM).

I updated the scalafmt version which triggered some code reformatting. There is apparently an issue with sbt and scalafmt (sbt/sbt#2786) which keeps us from using sbt 0.13.13.

Fixes #72 and #68.

@dialelo and @juanpedromoreno, would you like to take a look?

Will not build until monix 2.1 is released (later today ?)
This also updated scalafmt, so some parts of the code are reformated as
a consequence.
@codecov-io
Copy link

codecov-io commented Nov 9, 2016

Current coverage is 75.66% (diff: 69.04%)

Merging #80 into master will decrease coverage by 0.21%

@@             master        #80   diff @@
==========================================
  Files             8          9     +1   
  Lines           228        226     -2   
  Methods         226        224     -2   
  Messages          0          0          
  Branches          2          2          
==========================================
- Hits            173        171     -2   
  Misses           55         55          
  Partials          0          0          

Powered by Codecov. Last update 58848d0...57611fd

Copy link
Contributor

@juanpedromoreno juanpedromoreno left a comment

Choose a reason for hiding this comment

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

Looks nice!

@ghost
Copy link

ghost commented Nov 14, 2016

LGTM :shipit:

@juanpedromoreno juanpedromoreno merged commit 56eb7f7 into master Nov 14, 2016
@juanpedromoreno juanpedromoreno deleted the peter-cats-08-update branch November 14, 2016 11:06
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.

None yet

3 participants