Skip to content

Releases: tminglei/slick-pg

v0.8.3

27 Feb 23:32
Compare
Choose a tag to compare

To resolve #134, upgrade json4s dependency to v3.2.11.

p.s. in json4s v3.2.11_2.10, the method signature of JsonMethods.render was changed
from

def render(value: JValue): T

to

def render(value: JValue)(implicit formats: Formats = DefaultFormats): T

which caused a binary incompatibility.

v0.8.2

24 Feb 10:42
Compare
Choose a tag to compare
  1. add ?-contained operators support
  2. add plain sql support for composite

Note: nextXXXArray/nextXXXArrayOptions in PgArraySupport.SimpleArrayPlainImplicits are unified to nextArray[XXX]/nextArrayOption[XXX].

But, not all array of types are built-in supported, it just means that you can get them in a unified way.

For unsupported array of types, you can extend it by overriding the method of SimpleArrayPlainImplicits.extNextArray, as I did in MyPostgresDriver:

    override protected def extNextArray(tpe: u.Type, r: PositionedResult): (Boolean, Option[Seq[_]]) =
      tpe match {
        case tpe if tpe.typeConstructor =:= u.typeOf[LTree].typeConstructor =>
          (true, r.nextStringOption().flatMap(fromString(LTree.apply)))
        case _ => super.extNextArray(tpe, r)
      }

v0.8.1

03 Feb 04:25
Compare
Choose a tag to compare
  1. add postgres 9.4 jsonb support
  2. add more json operators/functions

Note: to keep compatible, jsonb support is not on by default.

You can enable it with config like this:

trait MyPostgresDriver extends ExPostgresDriver
                          ...
                          with PgJsonSupport
                          with PgSearchSupport {
  override val pgjson = "jsonb"
  ...

v0.8.0

18 Jan 14:34
Compare
Choose a tag to compare
  1. add plain sql support
  2. allow to specify scala type for pg array
  3. refactor and add public search type support
  4. fixed #118

v0.7.0

04 Dec 11:57
Compare
Choose a tag to compare
  1. merge add-on support codes into slick-pg main jar, and declare these 3rd dependencies optional

v0.6.5

03 Oct 04:14
Compare
Choose a tag to compare
  1. add pg ltree support
  2. pg search support: more operators/methods; allow to specify language
  3. date2/threeten addons: allow Duration/Period selective binding; microseconds support
  4. pg date/range support: allow multiple binding
  5. some other bug fixs

v0.6.3

20 Aug 11:03
Compare
Choose a tag to compare
  1. add pg inet/macaddr support
  2. fix bug #94

v0.6.2

14 Aug 11:20
Compare
Choose a tag to compare
  1. add default json support

v0.6.1

10 Aug 01:37
Compare
Choose a tag to compare
  1. pick up changes of #88 and #90
  2. fix release typo: 0.6.0-RC1 was typoed to 0.6.0-R1, which occupied lastest place on maven repository now

v0.6.0

04 Aug 13:02
Compare
Choose a tag to compare
  1. upgrade to slick v2.1.0
  2. added pg inherits support
  3. add argonaut json support
  4. re-implement composite support