v1.0.0-beta-009
·
18 commits
to vnext
since this release
This release adds the Microsoft.Extensions.Logging package to hide some details of the creation of an IMigrondi instance when using the library code.
Breaking Changes
Change the signature of MigrondiFactory to avoid asking extra information and orchestration from users.
previously
let factory = Migrondi.MigrondiFactory(logger)
let config = MigrondiConfig.Default
let rootDir =
Uri(__SOURCE_DIRECTORY__ + $"{Path.DirectorySeparatorChar}", UriKind.Absolute)
let migrationsDir =
Uri(Config.ensureWellFormed config.migrations, UriKind.Relative)
let migrondi = factory.Invoke(config, rootDir, migrationsDir)
Now:
let config = MigrondiConfig.Default
let migrondi = Migrondi.MigrondiFactory(config, ".")
On the follwing releases that MigrondiFactory name may be changed to simply Create
Full Changelog: v1.0.0-beta-008...v1.0.0-beta-009