crecto v0.10.0 Release Notes
Release Date: 2018-10-25 // over 5 years ago-
- โก๏ธ Updated to crystal 0.26.1
- ๐ Allow defining models without any fields - @jreinert
- Queries in preloads
- Live transactions with
Repo#transaction!
- @jreinert - ๐ Changed model to use
JSON::Serializable
- @jreinert - Fields now correctly compare
nil
- @shiba-hiro - โ Added
Repo#join
method override with string argument - @shiba-hiro - โ Added more
where
andor_where
method signatures - @jreinert - โ Added
int8
andint16
suppoert - @jianghengle - ๐ Improved performance using
String::Builder
to build query strings - @jreinert - โ Added
Repo#get_by
method overloads to use Query objects - @jreinert - Compiler improvements by only including associations when used - @jianghengle
- โก๏ธ Updated to use new crystal time / timezone format - @wontruefree
- โก๏ธ Handle single-column updates for postgres 10.x - @faultyserver
- โ Added
Schema#cast
andSchema#cast!
mass assignment methods - @jreinert - ๐ Fixed has_one preloads - @jreinert