Skip to content

Update cats to 0.8.1 and add Scala 2.12 support - #80

Merged
juanpedromoreno merged 3 commits into
masterfrom
peter-cats-08-update
Nov 14, 2016
Merged

Update cats to 0.8.1 and add Scala 2.12 support#80
juanpedromoreno merged 3 commits into
masterfrom
peter-cats-08-update

Conversation

@peterneyens

Copy link
Copy Markdown
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

codecov-io commented Nov 9, 2016

Copy link
Copy Markdown

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

@juanpedromoreno juanpedromoreno left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Looks nice!

@ghost

ghost commented Nov 14, 2016

Copy link
Copy Markdown

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.

3 participants