github elixir-ecto/ecto v0.15.0

latest releases: v3.11.2, v3.11.1, v3.11.0...
8 years ago

Enhancements

  • Add query caching
  • Add compare/2 to Ecto.DateTime and friends
  • Add Ecto.Query.API with the purpose of documenting query functions
  • Add Ecto.Migration.rename/3 to rename columns
  • Support changing has_one and has_many via changesets

Deprecations

  • :size option in adapter configuration has been renamed to the more obvious :pool_size

Backwards incompatible change

  • exists?/1 helper in migration has been removed in favor of create_if_not_exists and drop_if_exists
  • rename table(:foo), table(:bar) in migrations has been changed to rename table(:foo), to: table(:bar)
  • Ecto.NoPrimaryKeyError was renamed to Ecto.NoPrimaryKeyFieldError
  • Ecto.MissingPrimaryKeyError was renamed to Ecto.NoPrimaryKeyValueError

Don't miss a new ecto release

NewReleases is sending notifications on new releases.