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 withbin/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 defaultbelongs_to
behavior and simplify static number assignation.