All Versions
36
Latest Version
Avg Release Cycle
49 days
Latest Release
1460 days ago

Changelog History
Page 2

  • v0.8.3 Changes

    January 14, 2018
    • โšก๏ธ Updated for Crystal 0.24.1
  • v0.8.2 Changes

    December 15, 2017
    • Cleaned up README @faustinoaq
    • ๐Ÿ›  Fixed join on belogns_to associations
    • ๐ŸŒฒ Enabled logging on aggregate queries
  • v0.8.1 Changes

    November 20, 2017
    • ๐Ÿ”„ changeset validations now validate virtual attibutes
  • v0.8.0 Changes

    November 11, 2017
    • โž• 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
  • v0.7.1 Changes

    October 22, 2017
    • ๐Ÿ›  fixed bug introduced in 0.7.0 for users not using postgres
  • v0.7.0 Changes

    October 19, 2017
    • ๐Ÿ“‡ 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
  • v0.6.2 Changes

    • ๐Ÿ›  fixed bug when using model classes like Module::Class
    • handle Json type in update_from_hash
    • โž• added more types to inclusion / exclusion validators
  • v0.6.1 Changes

    July 14, 2017
    • ๐Ÿ‘ 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
  • v0.6.0 Changes

    May 26, 2017
    • ๐Ÿ‘ enum_field support for Enums as model fields @faultyserver
    • update_from_hash method added, for updating records from HTTP::Params#to_s (to support crecto-admin)
    • (breaking change) added Repo#get_association, depreciating Repo#get(post, :user) and Repo#all(user, :posts) for getting associations
    • ๐Ÿ›  Fix Repo.get for associations @faultyserver
    • Always set has_many association values @faultyserver
  • v0.5.4 Changes

    May 20, 2017
    • ๐Ÿšš Moved Crecto to an organization
    • unique parameters in WHERE IN query
    • ๐Ÿ›  fix bug in Query.where, cast params to DbValue @faultyserver
    • Separate nilable/non-nilable accessors for associations @faultyserver
    • Repo#all preloads from opts now
    • ๐Ÿ›  fixed Repo#get! with a Query, was previously breaking