hex ecto 0.6.0
on Hex

latest releases: 3.12.4, 3.12.3, 3.12.2...
9 years ago

Enhancements

  • Pass the repository with the changeset to callbacks
  • Add template, encoding, lc_collate and lc_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 and Ecto.Model.Timestamps
  • Add validate_unique/3 to Ecto.Changeset
  • Support setting :auto_field to false in Ecto.Schema.belongs_to/3

Bug fixes

  • Do not choke on empty order_by or group_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

Don't miss a new ecto release

NewReleases is sending notifications on new releases.