Scala ActiveRecord v0.3.0 Release Notes

Release Date: 2014-09-10 // over 9 years ago
  • ๐Ÿ’ฅ Breaking changes

    ๐Ÿ‘ The following functions have been unavailable by the multi-schema support:

    • com.github.aselab.activerecord.dsl#transaction
    • com.github.aselab.activerecord.dsl#inTransaction

    ๐Ÿ‘ท Please use the methods of ActiveRecordCompanion instead.

    code sample:

    package modelsimport com.github.aselab.activerecord.\_import com.github.aselab.activerecord.dsl.\_case class Person(name: String, age: Int) extends ActiveRecordobject Person extends ActiveRecordCompanion[Person] ...// using inTransactionobject App extends App { Person.inTransaction { Person("person1", 10).save } }
    
    • 0๏ธโƒฃ Set the sequence name of autoincrement in PostgreSQL by default (#42)

    ๐Ÿ†• New features and bug fixes

    • โž• Added support for Scala 2.11 (drop support for Scala 2.9.x)
    • โž• Added support for multiple schemas
    • โž• Added BoneCP configuration settings (MaxConnectionAge, IdleMaxAge, IdleConnectionTestPeriod) (#50, #53)
    • Required validator now treats Option fields (#44)
    • โž• Added ability to remove one record from CollectionAssociation (#41)
    • Implemented dynamic Relation#orderBy (#40)
    • ๐Ÿ›  Fixed a bug for assign empty value in optional field (#34)
    • โž• Added MSSQL support (#38)
    • โž• Added DB2 support
    • โž• Added ActiveModel
    • โž• Added sbt-plugins (play2, scalatra)
    • โž• Added factory methods for test

    all changes