Skip to content

Releases: Crecto/crecto

V 0.4.0

27 Feb 00:18
Compare
Choose a tag to compare
  • Repo.get now raises NoResults error if no record is found
  • MULTI + TRANSACTIONS!

V 0.3.5

22 Feb 00:42
Compare
Choose a tag to compare
  • Repo#aggregate methods
  • has_one relation type
  • added require "json"
  • update_all method override to allow for named tuples

V 0.3.4

07 Jan 01:19
Compare
Choose a tag to compare
  • fixed has_many through preloads when join association doesn’t exist
  • include JSON.mapping in schema

v 0.3.3

01 Jan 03:57
Compare
Choose a tag to compare

close result sets so pool is released correctly

V 0.3.1

29 Dec 06:22
Compare
Choose a tag to compare
  • Mysql Adapter
  • moved association preload to Query instead of Repo.all option
  • joins queries and has_many through associations

V 0.3.0

17 Dec 17:40
Compare
Choose a tag to compare
  • Check for result.rows.size in queries - @neovintage
  • or_where queries
  • update_all queries
  • delete_all queries
  • raw (aribtrary) sql queries (i.e. Crecto::Repo.query("select * from users")) - @neovintage
  • now using crystal-db
  • has_many associations, with preload
  • belongs_to assocaitions

V 0.2.0

01 Dec 04:11
Compare
Choose a tag to compare
  • Added this changelog
  • Paramterized queries to prevent SQL Injection
  • Generic / proc validations - @neovintage
  • ActiveRecord style validations - @cjgajard
  • BIGINT support - @neovintage

v 0.1.0

27 Nov 18:03
Compare
Choose a tag to compare

First release:

  • Schema
  • Repo
  • Queries
  • Changeset
  • Postgres Adapter