tabmo / play-microservice-common

Common library for microservices designed on top on Play Framework

Version Matrix

Play microservice common library

Shared stuff between micro-services build on top on Play

Releases

4.0.0-M1 (11/09/2017) (scala 2.12.3)

  • Add client token service

3.0.4 (11/09/2017) (scala 2.12.3)

  • FIX wrong AWS dependencies (break how AWS client must be created)
  • Upgrade some dependencies (play, playSlick, pgSlick...)

3.0.3 (26/07/2017) (scala 2.12.3)

  • fix Auth0ServiceImpl not resolve implicit

3.0.2 (26/07/2017) (scala 2.12.2)

  • fix illegal inheritance error on AuditableAction extends

3.0.1 (26/07/2017) (scala 2.12.2)

  • suppress scaladoc error to allow releasing of play-microservice-utils
  • update readme installation guide

3.0.0 (26/07/2017) (scala 2.12.2)

Update dependencies :

  • play 2.6.2
  • slick 3.2.x
  • playslick 3.0.0
  • pg-slick 0.15.2

Rollback to standard jto-validation Rollback to standard scala compiler

2.3.1 (06/06/2017)

  • Allow RichLogger extension
  • Fix Future.retry utility

2.3.0 (16/05/2017)

  • Add cats monad for slick

2.2.0 (10/05/2017)

  • Add pagination for slick queries

2.1.0 (05/05/2017)

  • Add utils for filter slick queries

2.0.1 (16/04/2017)

  • Project splitted in multi-modules (take only what you need)
  • Slick major version upgrade: 3.2.0 (with play-slick 2.1.0 and pg-slick 0.15.0)
  • Jto/validation major version upgrade: 2.1 (with cats 0.9). Version forked to be compatible with play 2.5, see studiodev/validation.
  • Some package name have be updated
  • All global ExecutionContext have been removed (you must provide it)
  • Little improvment on audit log timing

⚠️ pg-slick 0.15 is theorically not compatible with play 2.5, because slick-pg_play-json has a dependency on play-json 2.6.0. But fortunately, play-json 2.5.14 is (almost) binary compatible with play-json 2.6.0, so by excluding this dependency, it should work.

1.3.4

Dependencies:

  • play 2.5.x
  • play-slick 2.0.0 (-> Slick 3.1)
  • jto 2.0 (-> cats 0.6)

Installation

After 2.0.0

resolvers += Resolver.bintrayRepo("tabmo", "maven")
resolvers += Resolver.bintrayRepo("dwhjames", "maven")

val tabmoMicroserviceV = "2.0.1"
libraryDependencies += "io.tabmo" %% "play-microservice-utils" % tabmoMicroserviceV
libraryDependencies += "io.tabmo" %% "play-microservice-services" % tabmoMicroserviceV
libraryDependencies += "io.tabmo" %% "play-microservice-jto" % tabmoMicroserviceV
libraryDependencies += ("io.tabmo" %% "play-microservice-slick" % tabmoMicroserviceV)
  // The lib is already excluded in `play-microservice-slick`, but not sure why, we need to re-exclude it here
  .exclude("com.typesafe.play", "play-json_2.11"))

Before 2.0.0

Project splited in many modules, take only what you need:

resolvers += Resolver.bintrayRepo("tabmo", "maven")

libraryDependencies += "io.tabmo" %% "play-microservice-common" % "1.3.+"

Publish a new version

sbt> release