- threw out the old Migr8 and remade it
- fixed some stuff
- fixed more stuff
- even more stuff fixed
- actually works
- added validation that prevents accidentally executing migrations, that come before those that have already been executed
- added ability to pick up
Migrations.FromFilesIn(aDirectory)
or justMigrations.FromFilesInCurrentDirectory()
- increased SQL migration command timeout to 10 minutes
- added PostgreSQL support (just use the
Migr8.Npgsql
package instead)
- better exceptions on errors during type scan - thanks madstt
- Target .NET Standard 2.0, because that's a good sane target
- Add SQL command timeout option
- Better comment parsing when using .sql files
- Add
.ToList()
method onMigrations
to allow for tooling to inspect found migrations - Add support for "hints", i.e. passing special tags along with migrations to instruct the execution engine to do certain things. For now,
hints: no-transaction
/[Hint(Hints.NoTransaction)]
will cause the migration to be executed on its own SQL connection without a transaction - Update MySQL driver to 8.0.17
- Update Postgres driver to 4.0.10
- Remove support for
System.Configuration.ConfigurationManager
- Support Azure Managed Identity authentication by setting
Authentication=ManagedIdentity
orAuthentication=Active Directory Interactive
in the connection string - Fix bug in MySQL implementation that would return incorrect table names when querying the database for them
- Make managed identity token retrieval use the hostname from the connection string to obtain the token
- Add ability to configure SQL command timeout individually for a script - thanks ctrlenter
- Detect
Authentication=Active Directory Integrated
the same way asAuthentication=Active Directory Interactive
- Use Microsoft.Data.SqlClient instead
- Extend accepted Microsoft.Data.SqlClient version range
- Extend accepted Microsoft.Data.SqlClient version range
- Fix bug that would result in not picking up migrations from files when there was no description
- Update all the packages
- Update all the packages :)
- Avoid mutating the connection string unless required to do so
- Update packages
- Update all the packages
- Update all the packages