# Changelog for v3.0

## v3.0.3 (2018-11-29)

## Enhancements

  * [migration] Support `after_begin` and `before_commit` migration callbacks
  * [migration] Add `:prefix` option to `references/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_timeout` option

## v3.0.2 (2018-11-20)

## Enhancements

  * [query] Support Ecto.Query in insert_all values
  * [migration] Add `Ecto.Migration.repo/0`

## v3.0.1 (2018-11-17)

## Enhancements

  * [migrations] Support `drop_if_exists` for constraints

## Bug fixes

  * [migrations] Only commit migration transaction if migration can be inserted into the DB
  * [migrations] Do not run migrations from `_build` when using Mix
  * [migrations] Improve errors when checking in already committed sandboxes
  * [mysql] Do not pass nil for `--user` to 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. Note support for `mariaex` will be deprecated in a future patch release in favor of the upcoming `myxql` driver, which is being finalized.
