Skip to content

Releases: tminglei/slick-pg

v0.14.0

09 May 09:01
Compare
Choose a tag to compare
  1. add aggregate function support
  2. add window function support

v0.13.0

25 Apr 02:34
Compare
Choose a tag to compare
  1. test on postgres 9.5
  2. native upsert support for pg 9.5+
  3. enhanced pg json support (added support for ||, -, #-, jsonb_set etc.)

p.s. to enable native upsert support, you should do like this:

object MyPostgresDriver extends ExPostgresDriver {
  // Add back `capabilities.insertOrUpdate` to enable native `upsert` support
  override protected def computeCapabilities: Set[Capability] =
    super.computeCapabilities + JdbcProfile.capabilities.insertOrUpdate
}

v0.12.2

16 Apr 02:21
Compare
Choose a tag to compare

v0.12.1

03 Apr 05:38
Compare
Choose a tag to compare
  1. declare typeMapper's return type, to allow it to be overrided

v0.12.0

16 Mar 08:00
Compare
Choose a tag to compare
  1. add circe-json support (#262)

v0.11.3

27 Feb 02:56
Compare
Choose a tag to compare
  1. add plain sql support for Array[Byte] (#260)

v0.11.2

06 Feb 03:21
Compare
Choose a tag to compare
  1. fixed #234

v0.11.0

03 Jan 14:01
Compare
Choose a tag to compare
  1. Upgrade json4s to v3.3.0 (#242)
  2. Array support - change basedOn to mapTo (!!!BROKEN CHANGE)
  3. Array support - add built-in supported type checking (#244)
  4. Optimize object insertions and updates (#247)
  5. Support at time zone for time/timestamp (#250)

NOTE:
When you define a array type mapper for a wrap type Institution, you do it

before

implicit val institutionListTypeWrapper =  new SimpleArrayJdbcType[Institution]("int8")
  .basedOn[Long](_.value, new Institution(_)).to(_.toList)

now

implicit val institutionListTypeWrapper =  new SimpleArrayJdbcType[Long]("int8")
  .mapTo[Institution](new Institution(_), _.value).to(_.toList)

v0.10.2

05 Dec 04:15
Compare
Choose a tag to compare

Downgrade postgres driver to 9.4-1201-jdbc41 to resolve #220 temporarily.

v0.10.1

21 Oct 23:45
Compare
Choose a tag to compare
  1. upgrade postgres driver to 9.4-1204-jdbc41
  2. fix/resolve #149, #221, #222