Bump FluentMigrator from 1.6.2 to 8.0.1 - #14
Open
dependabot[bot] wants to merge 1 commit into
Open
Conversation
--- updated-dependencies: - dependency-name: FluentMigrator dependency-version: 8.0.1 dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] <support@github.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Updated FluentMigrator from 1.6.2 to 8.0.1.
Release notes
Sourced from FluentMigrator's releases.
8.0.1
What's Changed
New Contributors
Full Changelog: fluentmigrator/fluentmigrator@v8.0.0...v8.0.1
Milestone log: https://github.com/fluentmigrator/fluentmigrator/milestone/62
8.0.0
What's Changed
Full Changelog: fluentmigrator/fluentmigrator@v7.2.0...v8.0.0
Milestone log: https://github.com/fluentmigrator/fluentmigrator/milestone/61
7.2.0
What's Changed
Features
Bug Fixes
Breaking Changes
Runner Behavior Changes
Third Party Database Runners
Possible ABI Breaking Changes
Removing Obsolete APIs
Remove obsolete IMigrationProcessor.ConnectionString (fixes #2036) by @PhenX in Remove obsolete IMigrationProcessor.ConnectionString (fixes #2036) fluentmigrator/fluentmigrator#2120
Remove obsolete constructor in DotConnectOracleDbFactory by @jzabroski in Remove obsolete constructor in DotConnectOracleDbFactory fluentmigrator/fluentmigrator#2133
Remove obsolete constructors on DefaultVersionTableMetaData by @jzabroski in Remove obsolete constructors on DefaultVersionTableMetaData fluentmigrator/fluentmigrator#2134
Remove obsolete ReflectionBasedDbFactory constructors by @jzabroski in Remove obsolete ReflectionBasedDbFactory constructors fluentmigrator/fluentmigrator#2138
Add comprehensive VitePress documentation website for FluentMigrator by @PhenX in Add comprehensive VitePress documentation website for FluentMigrator fluentmigrator/fluentmigrator#2166
Fix VitePress base path for organization GitHub Pages deployment by @Copilot in Fix VitePress base path for organization GitHub Pages deployment fluentmigrator/fluentmigrator#2177
... (truncated)
7.1.0
What's Changed
New Features
As part of fixing #2018, IMigrationGenerator now has explicit GeneratorId and GeneratorIdAliases properties.
Bug Fixes
Planned Obsolesence
ProcessorIdconstants class is now namedProcessorIdConstants. There is now a parallelGeneratorIdConstantsclass. Generally, these will be 1:1, but there may be useful scenarios to decouple the two.Breaking Changes
As part of fixing #2018,
AddPostgresno longer registersPostgresProcessorandPostgresGenerator(the base interfaces). It will now always register the "latest" database version. Currently,Postgres15_0ProcessorandPostgres15_0Generator. Generally, this should have minimal impact to end users as the main impact would be if you were on a 14 year old version of Postgres.Full Changelog: fluentmigrator/fluentmigrator@v7.0.0...v7.1.0
7.0.0
What's Changed
End of Life Support Changes
Bug fixes
Removing Code that has been marked Obsolete for 7 years :) 🥳
Dependency Injection improvements
Generator improvements
AppliedOnby @nathanpovo in Use database function to set the value ofAppliedOnfluentmigrator/fluentmigrator#1847MySQL improvements
FluentMigrator.MSBuild improvements
MicrosoftBuildLogger. by @teo-tsirpanis in ImproveMicrosoftBuildLogger. fluentmigrator/fluentmigrator#1905Testing improvements
Dependency Bumps
... (truncated)
6.2.0
What's Changed
Full Changelog: fluentmigrator/fluentmigrator@v6.1.4...v6.2.0
6.1.4
What's Changed
Full Changelog: fluentmigrator/fluentmigrator@v6.1.3...v6.1.4
6.1.3
What's Changed
dotnet.exe msbuild /t:migrateFull Changelog: fluentmigrator/fluentmigrator@v6.1.2...v6.1.3
6.1.2
What's Changed
Full Changelog: fluentmigrator/fluentmigrator@v6.1.1...v6.1.2
6.1.1
What's Changed
Full Changelog: fluentmigrator/fluentmigrator@v6.1.0...v6.1.1
6.1.0
What's Changed
Full Changelog: fluentmigrator/fluentmigrator@v6.0.0...v6.1.0
6.0.0
What's Changed
New Contributors
Full Changelog: fluentmigrator/fluentmigrator@v5.2.0...v6.0.0
5.2.0
What's Changed
Dependency Bumps
Enhancements
Bug Fixes
Copyright updates
New Contributors
What's Next
Version 6.0.0 will be released and remove all obsolete code from the code-base. Feel free to help submit PRs as part of the 2024 Spring Cleaning 🌤️ 🧹 🎉
Full Changelog: fluentmigrator/fluentmigrator@v5.1.0...v5.2.0
5.1.0
What's Changed
Contributions
Dependency updates
Bump Snowflake.Data from 2.1.3 to 2.1.5 by @dependabot in Bump Snowflake.Data from 2.1.3 to 2.1.5 fluentmigrator/fluentmigrator#1701
Bump Npgsql from 8.0.0 to 8.0.1 by @dependabot in Bump Npgsql from 8.0.0 to 8.0.1 fluentmigrator/fluentmigrator#1700
Bump NUnit from 3.14.0 to 4.0.1 by @dependabot in Bump NUnit from 3.14.0 to 4.0.1 fluentmigrator/fluentmigrator#1695
Bump FSharp.Core from 8.0.100 to 8.0.101 by @dependabot in Bump FSharp.Core from 8.0.100 to 8.0.101 fluentmigrator/fluentmigrator#1713
Bump MySqlConnector from 2.3.1 to 2.3.2 by @dependabot in Bump MySqlConnector from 2.3.1 to 2.3.2 fluentmigrator/fluentmigrator#1704
Bump MySqlConnector from 2.3.2 to 2.3.5 by @dependabot in Bump MySqlConnector from 2.3.2 to 2.3.5 fluentmigrator/fluentmigrator#1720
Bump AutoMapper from 12.0.1 to 13.0.0 by @dependabot in Bump AutoMapper from 12.0.1 to 13.0.0 fluentmigrator/fluentmigrator#1725
Bump Oracle.ManagedDataAccess.Core from 3.21.120 to 3.21.130 by @dependabot in Bump Oracle.ManagedDataAccess.Core from 3.21.120 to 3.21.130 fluentmigrator/fluentmigrator#1711
Bump Oracle.ManagedDataAccess from 21.12.0 to 21.13.0 by @dependabot in Bump Oracle.ManagedDataAccess from 21.12.0 to 21.13.0 fluentmigrator/fluentmigrator#1710
New Contributors
Full Changelog: fluentmigrator/fluentmigrator@v5.0.0...v5.1.0
5.0.0
What's Changed
Announcements
Breaking Changes
IDeleteExpressionRootinterface methodIInSchemaSyntax Table(string tableName)is nowIIfExistsOrInSchemaSyntax Table(string tableName). The consequence of this is that it is not possible to run 3.x migrations against the 5.0 runner if you reference a Delete expression, with the exception error messageMethod not found: 'FluentMigrator.Builders.IInSchemaSyntax FluentMigrator.Builders.Delete.IDeleteExpressionRoot.Table(System.String)'(see commit b758e9cbbc8d2e625cf470d7d604ce57236b4e30 for technical details).In general, we can't provide a backwards compatible interface for this, since C# does not support return type covariance.
In general, we can't provide a backwards compatible interface for this, since C# does not support return type covariance.
End Of Life Support
Big New Features
FluentMigrator now supports .NET 8!
FluentMigrator now supports Snowflake, thanks to Ellis Kenyo in the following commit fluentmigrator/fluentmigrator@7f12600 and merged in via 734aa5c588e28717695c0b7045a44ef86dc6db7d
Add categories for all tests #671 by @eloekset
Other Changes
Add IColumnTypeSyntax.AsType(DbType type) method for columns. Fixes #1085 by @jzabroski in a624ae08b423041a5b5dafd1101995dee78bf023
table_infoby @mattbrailsford in SQLite Processor: Query column without loading wholetable_infofluentmigrator/fluentmigrator#1580... (truncated)
3.3.2
💯 Enhancements
#1528 Add support for Postgres Insert statement "OVERRIDING { SYSTEM | USER } VALUE"
See Also
https://github.com/fluentmigrator/fluentmigrator/milestone/34
3.3.1
🐞 Fixes
#1515 : Limited query to current database to fix #1114 (When Renaming a column in MySQL, it may use column definition from another table). Fixed by @x3ntrix ; reported by @socolin
3.3.0
Improvements
#1507 : Additional tool support for TFMs (@slang25 )
3.2.17
Bug Fixes 🐞
#1487 : Fixes error to add default value for Json (@lillo42) (Fixes #1457 : FormatException with creating column with default json value ("{}") (@kroliczek94))
3.2.16
Fixes
#1478 : Password to SQL Server is logged as plaintext when connection string contains whitespace around quality mark. (Fixes #1479) (@wiciok)
#1449 : SAP Hana - Wrong Column Type Mapping (Fixes #1447) (@Mosheh)
Enhancements
#1414 : Postgres add support for tablespace (@lillo42) (Partially fixes #967 - PRs welcome to continue support for other DBs!)
#1433 : Improve docs on PostgreSQL Extensions (@lillo42)
Infrastructure
#1459 : Upgrade to GitHub-native dependabot
Breaking Changes
#1436 Replace usage of System.Data.SqlClient with Microsoft.Data.SqlClient (Fixes #1023)
Milestone Data
https://github.com/fluentmigrator/fluentmigrator/milestone/44?closed=1
3.2.15
#1424 : Temporary workaround for runtime and local assembly loading (@OneThatWalks) Fixes #1406 Could not load file or assembly 'System.Runtime, Version=4.2.2.0 ...
3.2.14
The previous two releases, Version 3.2.12 and Version 3.2.13, was skipped due to a build error. Since we don't delete tags, we are creating new release notes and incrementing the patch number from 12 to 14. Below are the new release notes, with fix #1421 added to address build errors.
#1411 Oracle: Log SQL on Error. Error Handling code now shared via
ProcessorBase. (@robertwilliams2000)#1404 Postgres - Index - Add support for Index Storage parameters (@lillo42)
#1421 Fixes stack-overflow error in using Postgres FillFactor option (@lillo42) : Fixes #1416
#1423 Replace legacy myget feed with AzureDevOps feed (@jzabroski)
3.2.13
The previous release, Version 3.2.12, was skipped due to a build error. Since we don't delete tags, we are creating new release notes and incrementing the patch number from 12 to 13. Below are the new release notes, with fix #1421 added to address build errors.
#1411 Oracle: Log SQL on Error. Error Handling code now shared via
ProcessorBase. (@robertwilliams2000)#1404 Postgres - Index - Add support for Index Storage parameters (@lillo42)
#1421 Fixes stack-overflow error in using Postgres FillFactor option (@lillo42) : Fixes #1416
3.2.12
#1411 Oracle: Log SQL on Error. Error Handling code now shared via
ProcessorBase. (@robertwilliams2000)#1404 Postgres - Index - Add support for Index Storage parameters (@lillo42)
3.2.11
Postgres Changes
#1397 : Add support for nulls last/first on column (@lillo42)
#1399 : Fixes error to create a index with index method (@lillo42)
3.2.10
Breaking Changes
#1334 : SQLiteProcessor now takes a SQLiteQuoter instance (@AndrewKitu)
Features
#1385 : Postgres add support for
CONCURRENTLYandONLY.AsOnly()for Only,.AsConcurrently()for Concurrently..AsConcurrently()in a transaction context will fail.#1386 : Postgres add support for partial index (Fixes #1367: Add support for PgSQL partial indexes)
.Filter()will allow partial indexes (aka filtered indexes), similar to SQL Server#1362 : Add Postgres include for index (@lillo42)
.Include()On Postgres <11 will throwNotSupportedException. UseIfDatabaseif this is intended.#1366 : Add Postgres
.Using()index method (@lillo42).Using(Algorithm.BTree)#1382 : Add Support for MysqlConnector 1 namespace changes
#1394 : Add Postgres 10/11 for FluentMigrator.DotNet.CLI
Fixes
#1334 : Fix SQLite message about incorrect double quotes (Frédéric Vaillancourt)
#1334 : Fix issue with single quote in SQLite TableExists (Frédéric Vaillancourt)
#1350 : update test libs (@SimonCropp)
#1354 : Removing GUID from test project as it's not needed since VS 15.7 (@BigYellowHammer)
#1355 : Rename Directory.Buiild.props to Directory.Build.props (@PhenX)
Readability Improvements
#1328 : Fix some typos (@AndrewKitu)
#1329 : Fix yet another typo series (@AndrewKitu)
#1330 : Use 'nameof' expression to reference name (@AndrewKitu)
#1331 : Fix variable names (readability improvement) (@AndrewKitu)
Design Proposals (Future Progress)
DbTransactions belonging to aSqlConnectioninstance. Goal is to better support disconnected scenarios where users cannot run FluentMigrator.DotNet.Cli or FluentMigrator.Console against a production database.3.2.9
#1319 - Support
OutputSemicolonDelimiterConfig Option for Console Runner (@manu-m)#1325 - Enhance description to disable flag that has default value = true (@igitur)
#1324 - Remove unnecessary Microsoft.Data.Sqlite dependencies to a lot of the projects. (@igitur)
#1322 - Oracle: fix query in SequenceExists (@emejibka)
#1261 - Oracle: add schemaName to sql for create index expressions (@emejibka)
3.2.8
#1272 - Add support for Postgres 10 Identity fields (@Sohra) cf #1084 (@EduAlbSantos alternative proposal that was built and deserves noteworthy praise for effort)
#1287 - Add Schema Name to OracleGenerator (@emejibka) R/t #1261
#1286 - Support SequenceExists test for OracleProcessorBase (@emejibka) R/t #1261
#1291 - Sqlite rename column (@Chandler-Davidson). R/t #1290
#1266 - Fix OracleException ORA-01704 string literal too long. (@fairking) R/t bug from #1265
#1296 - Add option to output semicolon delimiter (@pedrofernandesfilho) R/t bug from #765
#1283 - Connection string Password is not replaced (@jzabroski) R/t bug from #1283 (@benjaminrupp)
#1289 - Fully Deterministic Build with SourceLink (@jzabroski)
#1278 - Can't create a unique filtered index with included columns. (@jzabroski) R/t bug from #1278 (@Powerz)
#1304 - PostgreSQL: DbType 'DateTimeOffset' Validate Precision (@jzabroski) R/t bug from @ikusmart)
3.2.7
#1210 :
AddFluentMigratorCore()- Only register defaultIConventionSetif none registered yet. (@tgharold) Fixes #1194. (@rodrigoramos)#1257 : Display preview-only mode header when running migrate:down (@sowings13)
#1253 : Do not use Console.WriteLine. (@pergardebrink) Fixes #1252 (@YeskaNova)
#1243 : Add description to sql statement expression. (@pergardebrink) Addresses feature request #1242 How to remove sensitive information (ex: passwords) from the output (@andrecarlucci)
#1130 : Add unmapped subcommands for FluentMgirator.DotNet.Cli. Fixes #1123 dotnet fm rollback all does not work . Documentation was also updated in fluentmigrator/documentation#19 @gandarez
#1196 : Fix large string literals oracle @PhenX
#1187 : Adds tests to reproduce the infinite loop issue in #970 (@PeterKneale)
#1081 : Support for MSSQL index filters and data compression (@gliljas)
3.2.6
This release is exactly like release 3.2.5. It's created just to get our build and release pipelines work correctly, ref issue #1213.
3.2.5
Fixes #1209 (issue is with nuget.org FluentMigrator.Console package, only)
3.2.4
3.2.2
3.2.1
You're now able to disable stripping of comments with the option
--strip:false.3.2.0
New
WithGlobalConnectionStringaccepting a lambda for lazy connection string query (PR #919)PostgresOptions.ForceQuotetofalseForce Quote=falseForce Quote=trueCurrentVersionMigrationConstraintto ensure that thismigration only gets run when the database version is greater or equal
than the given number. This allows some kind of migrations that will only
be executed when a conversion is necessary.
IConventionSetloaded from given assemblies (Issue #916)Documentation
RunnerOptions.StartVersion(PR #992)Fixes
//instead of#for comments (Issue #859)#for comments (Issue #859)#for comments (Issue #859)Execute.WithConnectiondelegate (Issue #1001)Contributors
... (truncated)
3.1.3
Fixed
3.1.2
Fixed
3.1.1
Fixed
3.1.0
An upgrade guide is available here:
https://fluentmigrator.github.io/articles/guides/upgrades/guide-3.0-to-3.1.html
Added
IFilteringMigrationSourceto avoid unnecessary instantiationsIVersionTableMetaDataSourceItemto specify multiple places to search for version table metadatadotnet-fmandMigrate.exeare now referencingFSharp.Corewhich should ease the problems with F# (issue #883).Changed
IConfigurationRootfor the connection string ifIConfigurationcouldn't be foundFixed
Details
dotnet-fmnow uses the Oracle beta ADO.NET driverOracle plans to release a non-beta version of the driver in Q3, but
it's the only Oracle driver that works under Linux/MacOS. The console
tool (
Migrate.exe) is more Windows-centric and will therefore keepusing the standard Oracle ADO.NET library. The
dotnet-fmis mostlyused on non-Windows platforms and is therefore predestinated to use
the new beta driver.
The statement from Oracle can be found on the
Oracle website.
The console tool will switch to the new driver when it becomes stable.
New configuration options
... (truncated)
3.0.0
The new documentation is online on https://fluentmigrator.github.io.
Upgrade Guide
https://fluentmigrator.github.io/articles/guides/upgrades/guide-2.0-to-3.0.html
What changed?
Breaking changes
ProcessorOptions.Timeoutis now of typeSystem.TimeSpan?MigrationRunner.MaintenanceLoaderis now read-onlyMigrationRunner.CaughtExceptionsreturns now aIReadOnlyListdotnet-fmis now a global tool and requires at least the .NET Core tooling 2.1-preview2Added
IConfigurationservice (Microsoft.Extensions.Configuration)IMigrationExpressionValidatorfor custom migration expression validationFixed
NULLconstraint for custom types for PostgreSQL and SQL ServerDeprecated
IAssemblyCollectionand all its implementationsIAnnouncerand all its implementationsIMigrationRunnerConventions.GetMigrationInfoIProfileLoader.ApplyProfiles()IProfileLoader.FindProfilesInIMigrationProcessorOptionsIMigrationProcessorFactoryand all its implementationsIRunnerContextandRunnerContext, replaced by several dedicated options classes:RunnerOptionsare the newRunnerContext(minus some properties extracted into separate option classes)ProcessorOptionsfor global processor-specific optionsGeneratorOptionsto allow setting the compatibility modeTypeFilterOptionsfor filtering migrations by namespaceAnnouncerOptionsto enable showing SQL statements and the elapsed timeSelectingProcessorAccessorOptionsallows selection of a processor by its identifierSelectingGeneratorAccessorOptionsallows selection of a generator by its identifierAppConfigConnectionStringAccessorOptionsto allow leading the connection strings from the *.config xml file (deprecated, only for transition toMicrosoft.Extensions.Configuration)CompatabilityMode(is nowComatibilityMode)ApplicationContextin various interfaces/classesManifestResourceNameWithAssemblyreplaced byValueTuple... (truncated)
2.0.7
Added
2.0.5
Added
Changed
tools/net452/x86/Migrate.exe)This has become necessary to enable a better out-of-the-box experience for the migration tool.
2.0.1
Fixed
FluentMigrator.Consolenow contains the migration tool in thetools/directory (fixes #846)Added
FluentMigrator.Toolspackage added as upgrade path2.0.0
Breaking changes
IQuerySchema.DatabaseTypenow returnsSqlServer2016, etc... and notSqlServerany moreIMigrationConventionswas renamed toIMigrationRunnerConventionsIMigrationContextdoesn't contain theIMigrationConventionsany moreIConventionSetICanBeConventionalwas removed during the overhaul of the expression convention systemNonUnicodeStringfor ANSI stringsFluentMigrator.Toolswas split into the following packagesFluentMigrator.Console: TheMigrate.exetoolFluentMigrator.MSBuild: The MSBuildMigratetaskAdded
ALTER/DROP DEFAULTvalue supportNVARCHARforAsStringWITH (ONLINE=ON/OFF)supportForce Quote=trueto enforce quotesSetExistingRowsTosupportsSystemMethodsStopOnErrorflagChanged
... (truncated)
Commits viewable in compare view.
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting
@dependabot rebase.Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)