github elixir-ecto/ecto v0.8.0

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

Enhancements

  • Allow changesets to be merged with Ecto.Changeset.merge/2
  • Add Ecto.Changeset.put_new_change/3
  • Support the :using option for indexes in Postgres
  • Support adding/dropping indexes concurrently with Postgres
  • Allow expressions to be given as default when adding columns via fragment/1
  • Support integer casting on float types
  • Explicitly checks if adapter supports ddl transactions
  • Log query parameters (this means custom log functions should now expect another element in the query tuple)

Bug fixes

  • Only drop existing indexes when reversing create index
  • Allow boolean literals as defaults when adding columns
  • Add default size to migrations for string columns

Backwards incompatible changes

  • uuid() and <<>> syntax in queries has been removed in favor of explicit parameters
  • lock expressions now must be a literal string

Don't miss a new ecto release

NewReleases is sending notifications on new releases.