clear v0.3 Release Notes

Release Date: 2018-08-09 // over 5 years ago
  • ๐Ÿ”‹ Features

    • โž• Add support to pg Enum
    • โž• Add support for UUID primary key, with uuid autogeneration
    • โž• Add support for BCrypt fields, like passwords
    • Finalization of CLI !
    • โž• Add Clear.seed(&block)
      ๐Ÿ‘€ Clear.seed goes in pair with bin/clear migrate seed which will call the seed blocks.
    • โž• Add possibility to use has_many through without having to declare the model doing the relation
      For example, if A belongs to B, B belongs to C, then A has_many C through B. You can
      ๐Ÿ‘€ perform this now without declaring any class for B; see the guide about relations for
      more informations.
    • โž• Add error messages so cool you want your code to crash ๐Ÿ˜‰

    ๐Ÿ› Bug fixes

    • ๐Ÿ›  Fix #23 bug with has_many through: and select
    • โž• Add support for DISTINCT ON feature.
    • Array(String), Array(Int64) columns type are working now works

    ๐Ÿ’ฅ Breaking changes

    • ๐Ÿ‘ป Model#save on read only model do not throw exception anymore but return false (save! still throw error)
    • with_serial_pkey use Int32 (type :serial) and Int64 (type :longserial) pkey instead of UInt32 and UInt64. This would prevent issue with default belongs_to behavior and simplify static number assignation.