Quill v0.8.0 Release Notes
-
๐ see migration notes below
- introduce contexts
- ๐ sqlite support
- ๐ scala.js support
- ๐ support
toInt
andtoLong
- ๐ quill-jdbc: support nested
transaction
calls - fix bind order for take/drop with extra param
- quotation: allow lifting of
AnyVal
s - make liftable values work for the cassandra module
- apply intermediate map before take/drop
- ๐ support decoding of optional single-value case classes
- make type aliases for
run
results public - fail compilation if query is defined outside a
quote
- fix empty sql string
Migration notes
๐ This version introduces
Context
as a relacement forSource
. This change makes the quotation creation dependent on the context to open the path for a few refactorings and improvements we're planning to work on before the1.0-RC1
release.Migration steps:
- โ Remove any import that is not
import io.getquill._
- ๐ Replace the
Source
creation by aContext
creation. See the readme for more details. All types necessary to create the context instances are provided byimport io.getquill._
. - Instead of importing from
io.getquill._
to create quotations, import from you context instanceimport myContext._
. The context import will provide all types and methods to interact with quotations and the database. - ๐ See the documentation about dependent contexts in case you get compilation errors because of type mismatches.