v3.1 requires Elixir v1.5+.
- Run all migrations in subdirectories as well
- Add
:repoand:typekeys to telemetry events - Add
:add_if_not_existsand:remove_if_existsto columns in migrations
- Load all migrations before running them
- Include queue_target and queue_interval in SQL Sandbox checkout
- Bump telemetry dependency
- Perform strict argument parsing in
ecto.migrate,ecto.rollback,ecto.loadandecto.dump
- Do not log migration versions query
Telemetry.attach/5andTelemetry.attach_many/5are deprecated in favor of:telemetry.attach/5and:telemetry.attach_many/5
- [migration] Support
after_beginandbefore_commitmigration callbacks - [migration] Add
:prefixoption toreferences/2
- [migration] Do not start a transaction for migrated versions if there is no
:migration_lock - [migration] Fix removing an reference column inside alter table
- [migration] Warn on removed
:pool_timeoutoption
- [query] Support
Ecto.Queryininsert_allvalues - [migration] Add
Ecto.Migration.repo/0
- [migrations] Support
drop_if_existsfor constraints
- [migrations] Only commit migration transaction if migration can be inserted into the DB
- [migrations] Do not run migrations from
_buildwhen using Mix - [migrations] Improve errors when checking in already committed sandboxes
- [mysql] Do not pass nil for
--userto mysqldump - [package] Require Ecto 3.0.2 with bug fixes
- [package] Require Mariaex 0.9.1 which fixes a bug when used with Ecto 3.0.2
- [sandbox] Raise when using sandbox on non-sandbox pools
- Initial release. Note support for
mariaexwill be deprecated in a future patch release in favor of the upcomingmyxqldriver, which is being finalized.