Releases: Crecto/crecto
Releases · Crecto/crecto
v0.8.5, 2018-04-16
- Refactor types and transactions @jreinert
- Added some benchmarks vs crystal-db
- Added
String
toPkeyValue
to allow for string primary keys in joins @jwoertink - Allow updating
PkeyValue
from has @helaan
v0.8.4, 2018-01-31
- Added support for crystal
Logger
- Fixed Logger support @grig191
- Added type cast (non nilable) attributes @jianghengle
v0.8.3, 2017-01-14
Updated for crystal 0.24.1
v0.8.2, 2017-12-15
- Cleaned up README @faustinoaq
- Fixed join on belogns_to associations
- Enabled logging on aggregate queries
v0.8.1, 2017-11-20
- changeset validations now validate virtual attibutes
v0.8.0, 2017-11-11
- added
default
option to fields to set a default value - added
raw_query
,raw_exec
, andraw_scalar
to Repo to run queries directly on adapter connection - added support for postgres array types
v 0.7.1
- fixed bug introduced in 0.7.0 for users not using postgres
v 0.7.0
- renamed constants with
CRECTO_
prefix to prevent collisions with other libraries - fixed
@crecto_db
instance variable in repo config @vladfaust - added missing repo config options to the query string
- added single quote around primary key fields in queries
- patched a
delete
anddelete_all
query connection leak - Added
unique_constraint
v 0.6.2
- fixed bug when using model classes like
Module::Class
- handle
Json
type inupdate_from_hash
- added more types to inclusion / exclusion validators
v 0.6.1
- Crystal 0.23.1 support
- fix WHERE IN query with empty Array @metacortex
- (breaking change)
created_at_field
changed toset_created_at_field
,updated_at_field
changed toset_updated_at_field
- option to use schema without a primary key
- use 'first?' to prevent 'IndexError' when insert/update @metacortex