fluentmigrator

Fluent migrations framework for .NET

APACHE-2.0 License

Stars
3.1K
Committers
220

Bot releases are visible (Hide)

fluentmigrator - Version 5.1.0 Latest Release

Published by jzabroski 9 months ago

What's Changed

Contributions

Dependency updates

New Contributors

Full Changelog: https://github.com/fluentmigrator/fluentmigrator/compare/v5.0.0...v5.1.0

fluentmigrator - Version 5.0.0

Published by jzabroski 10 months ago

What's Changed

Announcements

  • Everything marked as deprecated in this release will be permanently removed in 6.0.0. Plan accordingly.

Breaking Changes

  • Maintenance Migrations that are untagged are now included by default. See: #1689, which addresses various bug reports that would confuse quite a few users of FluentMigrator 3.x. The behavior is now consistent with regular Migrations.

End Of Life Support

Big New Features

FluentMigrator now supports .NET 8!
FluentMigrator now supports Snowflake, thanks to Ellis Kenyo in the following commit https://github.com/fluentmigrator/fluentmigrator/commit/7f1260090cda412a68c292eb704285065c5cce74 and merged in via 734aa5c588e28717695c0b7045a44ef86dc6db7d
Add categories for all tests #671 by @eloekset

Other Changes

New Contributors

Full Changelog: https://github.com/fluentmigrator/fluentmigrator/compare/v3.3.2...v5.0.0

fluentmigrator - Version 3.3.2

Published by jzabroski about 3 years ago

fluentmigrator - Version 3.3.1

Published by jzabroski about 3 years ago

🐞 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

fluentmigrator - Version 3.3.0

Published by jzabroski about 3 years ago

Improvements

#1507 : Additional tool support for TFMs (@slang25 )

fluentmigrator - Version 3.2.17

Published by jzabroski over 3 years ago

Bug Fixes 🐞

#1487 : Fixes error to add default value for Json (@lillo42) (Fixes #1457 : FormatException with creating column with default json value ("{}") (@kroliczek94))

fluentmigrator - Version 3.2.16

Published by jzabroski over 3 years ago

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

fluentmigrator - Version 3.2.15

Published by jzabroski over 3 years ago

#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 ...

fluentmigrator - Version 3.2.14

Published by jzabroski over 3 years ago

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)

fluentmigrator - Version 3.2.13

Published by jzabroski over 3 years ago

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

fluentmigrator - Version 3.2.12

Published by jzabroski over 3 years ago

#1411 Oracle: Log SQL on Error. Error Handling code now shared via ProcessorBase. (@robertwilliams2000)
#1404 Postgres - Index - Add support for Index Storage parameters (@lillo42)

fluentmigrator - Version 3.2.11

Published by jzabroski almost 4 years ago

Postgres Changes

#1397 : Add support for nulls last/first on column (@lillo42)
#1399 : Fixes error to create a index with index method (@lillo42)

fluentmigrator - Version 3.2.10

Published by jzabroski almost 4 years ago

Breaking Changes

#1334 : SQLiteProcessor now takes a SQLiteQuoter instance (@AndrewKitu)

Features

#1385 : Postgres add support for CONCURRENTLY and ONLY

  • Postgres Extension .AsOnly() for Only, .AsConcurrently() for Concurrently.
  • Calling .AsConcurrently() in a transaction context will fail.

#1386 : Postgres add support for partial index (Fixes #1367: Add support for PgSQL partial indexes)

  • Calling .Filter() will allow partial indexes (aka filtered indexes), similar to SQL Server

#1362 : Add Postgres include for index (@lillo42)

  • Calling .Include() On Postgres <11 will throw NotSupportedException. Use IfDatabase if this is intended.

#1366 : Add Postgres .Using() index method (@lillo42)

  • e.g., .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)

  1. adr/proposed/DefaultSchema.md : Two users have requested different behavior for default schema for Postgres. We documented how different databases implement the concept of "default schema" to make progress towards enhancing default schema behavior in FluentMigrator.
  2. Update adr/proposed/UnitOfWork.md : Progress on improving future design for how FluentMigrator handles logical transactions and physical DbTransactions belonging to a SqlConnection instance. Goal is to better support disconnected scenarios where users cannot run FluentMigrator.DotNet.Cli or FluentMigrator.Console against a production database.
fluentmigrator - Version 3.2.9

Published by jzabroski about 4 years ago

#1319 - Support OutputSemicolonDelimiter Config 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)

fluentmigrator - Version 3.2.8

Published by jzabroski about 4 years ago

#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)

fluentmigrator - Version 3.2.7

Published by jzabroski over 4 years ago

#1210 : AddFluentMigratorCore() - Only register default IConventionSet if 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 https://github.com/fluentmigrator/documentation/pull/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)

fluentmigrator - Version 3.2.6

Published by eloekset over 4 years ago

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.

fluentmigrator - Version 3.2.5

Published by jzabroski over 4 years ago

Fixes #1209 (issue is with nuget.org FluentMigrator.Console package, only)

fluentmigrator - Version 3.2.4

Published by jzabroski over 4 years ago

  • Fixes #1132
fluentmigrator - Hotfixes for various issues

Published by jzabroski over 4 years ago

  • #970 Infinite loop when AggregateException is thrown
  • #1037 Add explanation for Obsolete interfaces
  • #1082 update default-schema-name argument to properly accept a value
  • #1070 Fixing Oracle identity column type issues
  • #1060 Support renaming columns in MariaDb 10.2
  • #1058 Remove private XML asset Sap.Data.Hana.v4.5.dll.config
  • #1042 Fix Oracle dialect create sequence NOCACHE
  • #1027 Added ability for TagsAttribute to be applied to and inherited from interface