Enhancements
- Pass the repository with the changeset to callbacks
- Add
template
,encoding
,lc_collate
andlc_ctype
options to adapter that are used when creating the database - Add support for migrations (the previous migration style no longer works, just replace the SQL commands by
execute/1
calls) - Add support for timestamps via the
timestamps/0
macro in schemas andEcto.Model.Timestamps
- Add
validate_unique/3
toEcto.Changeset
- Support setting
:auto_field
to false inEcto.Schema.belongs_to/3
Bug fixes
- Do not choke on empty
order_by
orgroup_by
during query generation - Ensure queries are logged even during crashes
Backwards incompatible changes
- Previously deprecated validations have been removed
- Previously deprecated repository configuration has been removed