Ecto v1.1.0 brings many improvements and bug fixes.
In particular v1.1.0 deprecates functionality that has been shown by developers to be confusing, unclear or error prone. They include:
use Ecto.Modelhas been trimmed down to import less functionality out of the box in favor of explicitness- Given a model to
Repo.update/2has been deprecated as it is inneffective and error prone since changes cannot be tracked Ecto.Model.put_source/3provided a confusing API for changing prefix that has been replaced in favor of the clearer and more completeput_meta/2
Keep on reading for more general information about this release.
- Support lists in
Ecto.Changeset.validate_length/3 - Support
count(expr, :distinct)in query expressions - Support prefixes in
tableandindexin migrations - Allow multiple repos to be given to Mix tasks
- ...
- See the CHANGELOG.md in the v1.0 branch