Skip to content

v0.11.0

Compare
Choose a tag to compare
@tminglei tminglei released this 03 Jan 14:01
· 834 commits to master since this release
  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)