Changelog for v3.x
v3.1.0 (2019-04-02)
v3.1 requires Elixir v1.5+.
Enhancements
- Introduce Ecto.Adapters.MyXQL as an alternative library for MySQL
- Run all migrations in subdirectories
- Update to Telemetry v0.4.0 (note the measurements value differ from previous versions)
Bug fixes
- Respect
:ownership_timeoutrepo configuration on SQL Sandbox - Commit and relock after every migration to avoid leaving the DB in an inconsistent under certain failures
v3.0.5 (2019-02-05)
Enhancements
- Add
:repoand:typekeys to telemetry events - Add
:add_if_not_existsand:remove_if_existsto columns in migrations
Bug fixes
- Load all migrations before running them
- Include
:queue_targetand:queue_intervalin SQL Sandbox checkout
v3.0.4 (2018-12-31)
Enhancements
- Bump telemetry dependency
- Perform strict argument parsing in
ecto.migrate,ecto.rollback,ecto.loadandecto.dump
Bug fixes
- Do not log migration versions query
Deprecations
Telemetry.attach/5andTelemetry.attach_many/5are deprecated in favor of:telemetry.attach/5and:telemetry.attach_many/5
v3.0.3 (2018-11-29)
Enhancements
- [migration] Support
after_beginandbefore_commitmigration callbacks - [migration] Add
:prefixoption toreferences/2
Bug fixes
- [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
v3.0.2 (2018-11-20)
Enhancements
- [query] Support
Ecto.Queryininsert_allvalues - [migration] Add
Ecto.Migration.repo/0
v3.0.1 (2018-11-17)
Enhancements
- [migrations] Support
drop_if_existsfor constraints
Bug fixes
- [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
v3.0.0 (2018-10-29)
- Initial release