Skip to content

Latest commit

 

History

History
70 lines (63 loc) · 3.02 KB

CHANGES.md

File metadata and controls

70 lines (63 loc) · 3.02 KB

0.7.0 (2018/05/13)

  • Update Cats to version 1.1.0.
  • Update Scalaz to version 7.2.22.

0.6.0 (2017/04/22)

  • Switch to new macros -- scala.meta
  • Don't require installing an IntelliJ plugin to use this library.
  • Fix #9
  • BREAKING CHANGE! Interp trait extends the natural transformation. See change -- example

0.5.0 (2016/11/06)

  • Add support for Scala 2.12 and Scala.js.
  • Update to Cats version 0.8.0.
  • Fix plugin issues for older Intellij versions ( #3 and #5 )

Starting with version 0.5.0, this project is now published to Sonatype. In addition, group id has been changed to com.github.thangiee. For example, to update from version 0.4.1 to 0.5.0, change your build.sbt from this:

resolvers += Resolver.jcenterRepo
libraryDependencies ++= Seq(
  "com.thangiee" %% "freasy-monad" % "0.4.1",
  "org.typelevel" %% "cats" % "0.7.2"
)
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)

to the following:

libraryDependencies ++= Seq(
  "com.github.thangiee" %% "freasy-monad" % "0.5.0",
  "org.typelevel" %% "cats" % "0.8.1" 
)
addCompilerPlugin("org.scalamacros" % "paradise" % "2.1.0" cross CrossVersion.full)

0.4.1 (2016/10/10)

  • #4: Fix expanded code does not add type param F to method's rhs in Injects class in some cases.
  • #4: Fix: empty-parentheses cause "too many arguments" error for methods in Injects class.

0.4.0 (2016/09/29)

  • Add support for scalaz. (freasymonad.scalaz.free)
  • BREAKING CHANGE! Rename freasymonad.free annotation to freasymonad.cats.free.
  • BREAKING CHANGE! Rename Inject class to Injects.
  • Update plugin

0.3.0 (2016/09/26)

  • #2: Support defining val
  • Add constraints that result in compiler error.
  • Optimize generated code.
  • Update plugin

0.2.0 (2016/09/10)

  • Replace Free.liftF with Free.inject.
  • Support multiple parameters lists for abstract method.
  • Generate additional injectOps obj. and Inject class for composing Free monads ADTs. See example here.
  • BREAKING CHANGE! Move ADT generation outside of ops obj. e.g. KVStore.ops.GrammarADT to KVStore.GrammarADT.
  • Plugin fix: error marks when @free trait is defined at root (i.e. not under a package).