Releases: aselab/scala-activerecord
Releases · aselab/scala-activerecord
0.6.2
0.6.1
Fixed
- Fixed error
java.lang.AssertionError: unsafe symbol Ignore
when not in JDK 14 environment
0.6.0
Breaking changes
- Drop support for Scala 2.11.x, 2.12.x
- Drop support for Play 2.6.x
New features
- Scala 2.13 Support
- Play 2.8 support
- Scalatra 2.7 support
Changed
- Bump library versions
- drop generator projects
0.5.0
Breaking changes
- Drop support for Java 8
Changed
- Bump Scala version (2.12.3 => 2.12.8)
- Bump library versions
0.4.0
Breaking changes
- Drop support for Scala 2.10.x
- Drop support for Play 2.4.x
- Replace BoneCP with HikariCP (#47)
New features
- Scala 2.12 support
- Play 2.6 support
- Added PagerSupport
- Added nscala-time support (#16)
- Add isEmpty and nonEmpty to Relations
- Support Map[String, Any] value for Json serialize
Changed
- Bump Scala version (2.11.8 => 2.11.11)
- Bump library versions
- Typo fixed in validation error messages
- Added throws option for fromJson (default throws=false)
0.3.2
0.3.1
New features
- Support for JSON serialization and deserialization (documentation)
- Support for
groupBy
andhaving
(documentation) - Support for joinning 5 tables
- Type safety setting of model variables methods
newInstance
andassign
(only Scala 2.11.x)
Changed
- Type safety find methods
findBy
,findAllBy
andfindByOrCreate
(only Scala 2.11.x) - Display for
dsl#inTransaction
deprecation message at compile-time - Form assign should be able to handle Option (#56 by @shota-kobayashi)
- Bump Scala version (2.11.2 => 2.11.6)
- Bump library versions
Fixed
- Fix bug in
ActiveRecordTables#cleanup
on multiple schemas - Fix bug in
ActiveRecordTables#isCreated
for Oracle (#61)
0.3.0
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 models
import com.github.aselab.activerecord._
import com.github.aselab.activerecord.dsl._
case class Person(name: String, age: Int) extends ActiveRecord
object Person extends ActiveRecordCompanion[Person]
...
// using inTransaction
object App extends App {
Person.inTransaction {
Person("person1", 10).save
}
}
- 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