jennifer v0.7.1 Release Notes

Release Date: 2019-02-09 // about 5 years ago
  • 🔄 Changelog

    QueryBuilder

    • #pluck, #update, #db_results, #results. #each_result_set and #find_in_batchesof Query respects #none (returns empty result if it has being called)
    • ✂ remove deprecated QueryObject constructor accepting array of options and #params

    Model

    • 🛠 fix mapping issue when all Generics are assumed as unions (#208)

    Validation

    • 👍 allow passing multiple fields to .validates_uniqueness to validate combination uniqueness

    Adapter

    • 0️⃣ Mysql::SchemaProcessor now respects false as column default value
    • 0️⃣ Postgres::SchemaProcessor now respects false as column default value

    Config

    • introduce new configuration pool_size which sets max_idle_pool_size = max_pool_size = initial_pool_size to the given value; getter #pool_size returns #max_pool_size
    • 0️⃣ postgres is no more default adapter

    Migration

    • TableBuilder::Base::AllowedTypes alias includes Float64 and JSON::Any