Enhancements
- Add
Ecto.Repo.get_by/3
andEcto.Repo.get_by!/3
- Add
to_erl
/from_erl
to datetime modules - Add
:scope
option toEcto.Changeset.validate_unique/2
- Allow
distinct(query, true)
query expression - Effectively track dirty changes in
Ecto.Changeset
. If the value being sent as parameter is the same as the value in the model, it won't be sent to the Repo on insert/update
Deprecations
- Deprecate
nil
as parameters inEcto.Changeset.cast/4
in favor of:empty
Backwards incompatible changes
- The pool size now defaults to 10 with no overflow. This will affect you if you were not explicitly setting those values in your pool configuration.
Ecto.Model
now only importsfrom/2
fromEcto.Query
out of the boxEcto.Changeset.apply/1
was removed in favor ofEcto.Changeset.apply_changes/1