-
Notifications
You must be signed in to change notification settings - Fork 0
Release Notes
Nuget package: http://nuget.org/packages/FluentMigrator/
see https://github.com/schambers/fluentmigrator/releases
Released: Wednesday, June 26, 2013
The 1.1.1 was a small bugfix/improvement release.
Features:
- Expose connectionstring within a migration @daniellee
- Autoscript migration @speccabit
- SqlServer Extension: Indexes with include columns @matthewdunsdon
- SqlLiteSchemaDumper @dsoronda
Bug fixes:
- Oracle: ALTER COLUMN without changing nullability @swalters
- Oracle: ALTER COLUMN to nullable @vgrigoriu
- MsBuild Runner: Tags didn't work as they should @daniellee
- MySql: Remapping Money Type @tommarien
- PostgreSQL: ALTER COLUMN nullable to not nullable @daniellee
- SqlServer: ALTER COLUMN WithDefault(SystemMethods.NewGuid()) @daniellee
- SqlServer: ALTER COLUMN WithDefault(SystemMethods.CurrentDateTime()) @daniellee
Released: Sunday, May 05, 2013
In the 1.1.0 release, the major focus has been the refactoring of the MigrationRunner to allow two transaction modes. Up to this release, there has been one mode, Transaction-Per-Session. This means that if two migrations or more migrations are run together during the same task (e.g. migrate up or down) then this occurs in the same transaction and if one of the migrations fails then all the migrations are rolled back. We are introducing a new mode called Transaction-Per-Migration. This mode means that each migration is run in its own transaction and allows selected migrations to be run with no transaction. This allows migrations to be able to do tasks like creating full-text indexes which cannot be run in a transaction.
Features:
- Transaction per migration @tommarien
- New TransactionBehavior attribute that allows a migration to run with no transaction. Idea and original PR from @ericklaus, implementation by @tommarien
- Validation for Migrations. Previously when an error has been made in a migration (like forgetting the table name in the Create.Table expression) an exception has been thrown and the user sees a stacktrace. This will make MigrationRunner return a friendly error instead if there is a validation rule. @daniellee
- Added transaction handling to Jet @dabide
- Support for Auto Reversing of CreateConstraintExpression for Firebird @concept-hf
- SQL Server specific - ExplicitUnicodeString class for the Insert expression that prefixes a string with N'Text' allowing the contents to be treated as explicit Unicode. @Ashthos
Bug fixes:
- Create.UniqueConstraint for Postgres did not support the InSchema expression. @tommarien
- Sqlite - Incorrect quoting of identifers causing problems in the where clause. Changed to double quotes instead of single quotes. @ClockworkPenguin
- All custom exceptions deriving from ApplicationException caused problems in WinRT. Fixed to derive from System.Exception instead. @tommarien
- Split a batched SQL string into separate statements for SQLServerCE @redsolo
- Sealed the down method on ForwardOnlyMigration @MatthewLymer
- The FormatDateTime() call in the JetQuoter is was returning "YYYY-02-DD 08:23:15" for 2/14/2013 8:23:15. A change made to lowercase the Ys and Ds, yielding "2013-02-14 08:23:15". @tgmayfield
Released: Monday, December 31, 2012
1.0.6 was a release with lots of small bug fixes and improvements.
- More SystemMethods implemented. CurrentUser for SqlServer and Postgres. CurrentUTCDateTime for Postgres. CurrentDateTime for MySql. @daniellee
- SqlServerCE now works after some fixes done by @heing
- Quoting and case sensitivity issues for Oracle fixed by @heing again.
- The default versiontablemetdata is now overridable (see Overriding the DefaultVersionTableMetaData class by @tommarien
- A small fix to the SqlServerSchemaDumper by @qntmfred
- A bug fix for SqlServer so that default value constraint names are now escaped. This allows you to have dots in your table names (don't ask me why you'd do that). The fix was done by @Pathoschild
- Added support for byte arrays when inserting data. Change done by @spaccabit
- A change to allow using raw sql when using the Insert.IntoTable expression. Description in the wiki here.. Change done by @duereg.
- Getting FluentMigrator
- How to create a Migration
- Fluent Interface
- Migration Runners
- Use inbuilt database functions when setting the default value
- Sql Server Specific Extensions
- Raw Sql Helper for inserting data
- Auto Reversing Migrations
- Resharper File Template
- Transaction Modes for the Migration Runner
- ApplicationContext: Passing parameters to Migrations
- Dealing with Multiple Database Types
- Filter migrations run based on Tags
- Enforce migration version numbering rules
- Create custom metadata for the VersionInfo table