Skip to content

v0.8.0

Compare
Choose a tag to compare
@josevalim josevalim released this 12 Feb 19:59
· 4519 commits to master since this release

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