dbmigrations v2.0.0 Release Notes

Release Date: 2016-10-22 // over 5 years ago
  • ๐Ÿš€ This release contains breaking changes!

    • Factored out all database-specific functionality into separate ๐Ÿ“ฆ packages (thanks Bastian Krol)
    • Replaced "moo" program with one that emits an error instructing users ๐Ÿ“ฆ to use backend-specific dbmigrations packages
    • โž• Added missing test data files to package
    • Removed DBM_DATABASE_TYPE environment variable in favor of backend ๐Ÿ“ฆ selection by use of backend-specific packages
    • Allow DBM_TIMESTAMP_FILENAMES to be set via environment variable (thanks Alexander Lippling)

Previous changes from v1.1.1

    • ๐Ÿ‘Œ Improve configuration validation error messages and clean up validation routine
    • ๐Ÿ‘ Reinstate support for GHC 7.8

    1.1

    • โž• Add support for MySQL databases (thanks Ollie Charles ๐Ÿ‘€ [email protected]). Please see MOO.TXT for a disclaimer about this ๐Ÿ”‹ feature!

    1.0

    • โž• Added support for (optionally) adding timestamps to generated migration filenames (thanks Matt Parsons [email protected])
      • Adds flag for time stamp on file names
      • Adds configuration for timestamping filenames
    • โž• Added new "linear migrations" feature (thanks Jakub Fijaล‚kowski [email protected], Andrew Martin [email protected]). This ๐Ÿ”‹ feature is an optional alternative to the default behavior: rather than 0๏ธโƒฃ prompting the user for dependencies of new migrations (the default behavior), linear mode automatically selects dependencies for new migrations such that they depend on the smallest subset of migrations necessary to (effectively) depend on all existing migrations, thus ๐Ÿ‘€ "linearizing" the migration sequence. See MOO.TXT for details.
    • ๐Ÿ”ง Configuration file loading now defaults to "moo.cfg" in the CWD if --config-file is not specified, and environment variables override settings in the config file