Skip to content

Releases: Crecto/crecto

v0.8.5, 2018-04-16

16 Apr 13:36
Compare
Choose a tag to compare
  • Refactor types and transactions @jreinert
  • Added some benchmarks vs crystal-db
  • Added String to PkeyValue to allow for string primary keys in joins @jwoertink
  • Allow updating PkeyValue from has @helaan

v0.8.4, 2018-01-31

31 Jan 19:26
Compare
Choose a tag to compare
  • Added support for crystal Logger
  • Fixed Logger support @grig191
  • Added type cast (non nilable) attributes @jianghengle

v0.8.3, 2017-01-14

15 Jan 00:16
Compare
Choose a tag to compare

Updated for crystal 0.24.1

v0.8.2, 2017-12-15

15 Dec 16:28
Compare
Choose a tag to compare
  • Cleaned up README @faustinoaq
  • Fixed join on belogns_to associations
  • Enabled logging on aggregate queries

v0.8.1, 2017-11-20

20 Nov 16:43
Compare
Choose a tag to compare
  • changeset validations now validate virtual attibutes

v0.8.0, 2017-11-11

12 Nov 00:04
Compare
Choose a tag to compare
  • added default option to fields to set a default value
  • added raw_query, raw_exec, and raw_scalar to Repo to run queries directly on adapter connection
  • added support for postgres array types

v 0.7.1

22 Oct 17:46
Compare
Choose a tag to compare
  • fixed bug introduced in 0.7.0 for users not using postgres

v 0.7.0

19 Oct 12:25
Compare
Choose a tag to compare
  • 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 and delete_all query connection leak
  • Added unique_constraint

v 0.6.2

30 Jul 19:17
Compare
Choose a tag to compare
  • fixed bug when using model classes like Module::Class
  • handle Json type in update_from_hash
  • added more types to inclusion / exclusion validators

v 0.6.1

14 Jul 21:48
Compare
Choose a tag to compare
  • Crystal 0.23.1 support
  • fix WHERE IN query with empty Array @metacortex
  • (breaking change) created_at_field changed to set_created_at_field, updated_at_field changed to set_updated_at_field
  • option to use schema without a primary key
  • use 'first?' to prevent 'IndexError' when insert/update @metacortex