emigrate

The modern, modular and flexible migration tool for any database

MIT License

Downloads
319
Stars
2
Committers
3

Bot releases are hidden (Show)

emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Patch Changes

  • e5eec7c: Throw a more descriptive error when a file lock couldn't be acquired
  • Updated dependencies [8f35812]
emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Minor Changes

  • 59ec16b: Make the dry run mode work for the "up" command using the "--dry" CLI option
  • 59ec16b: Improve the default reporter with good looking output that has colors and animations. In non-interactive environments the animations are not used (this includes CI environments).
  • 59ec16b: Improve the "up" command flow and the usage of reporters, handle migration errors and automatic skipping of migrations.
  • 8f35812: Add support for "reporter" plugins and implement a simple default reporter

Patch Changes

emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Minor Changes

  • 23a323c: Add the convenience functions getOrLoadPlugin and getOrLoadPlugins
  • 62bd5a4: Add more properties to the MigrationMetadata type to ease writing "loader" plugins
  • 81fde2e: Prepare for supporting "loader" plugins. A loader plugin is used to transform a migration file of a given type (file extension) to a function that will execute the actual migration.
  • 9f5abf7: Simplify plugin interfaces by getting rid of the "type" string, in preparation for having packages that contains multiple different plugins

Patch Changes

  • 1799b6e: Add missing types and utility methods related to the new "loader" plugins
  • 3e0ff07: Specify files to include in published NPM package
emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Minor Changes

  • 9f5abf7: Simplify plugin interfaces by getting rid of the "type" string, in preparation for having packages that contains multiple different plugins

Patch Changes

  • 3e0ff07: Specify files to include in published NPM package
  • Updated dependencies [1799b6e]
  • Updated dependencies [3e0ff07]
  • Updated dependencies [23a323c]
  • Updated dependencies [62bd5a4]
  • Updated dependencies [81fde2e]
  • Updated dependencies [9f5abf7]
emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Minor Changes

  • 0c49249: Implement a first version of the File System Storage plugin for simple migration setups

Patch Changes

  • Updated dependencies [1799b6e]
  • Updated dependencies [3e0ff07]
  • Updated dependencies [23a323c]
  • Updated dependencies [62bd5a4]
  • Updated dependencies [81fde2e]
  • Updated dependencies [9f5abf7]
emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Minor Changes

  • 8dadfe9: Support migration functions using the old NodeJS callback style API, i.e. accepting a callback as a single parameter which in turns takes any error as its first parameter (any other parameters are ignored)
  • a058ebf: Handle file extensions with or without a leading period, i.e. emigrate new -e .js ... is now the same as emigrate new -e js ...
  • b56794a: Implement the "up" command with support for "storage" and "loader" plugins
  • 0b78d5c: Rename the "emigrate" package to "@emigrate/cli" to mimic other tools
  • 30a448b: Improve error handling by making more granular custom Error instances
  • 3b36b3d: Implement a default "loader" plugin for JavaScript files (supports .js, .cjs and .mjs file extensions)
  • 9f5abf7: Simplify plugin interfaces by getting rid of the "type" string, in preparation for having packages that contains multiple different plugins

Patch Changes

  • 46b9104: Don't run any migrations if there's a failed migration in the migration history
  • 3e0ff07: Specify files to include in published NPM package
  • a1debba: Fix a logical error that didn't allow creating new migration files with only the "extension" option
  • Updated dependencies [1799b6e]
  • Updated dependencies [3e0ff07]
  • Updated dependencies [23a323c]
  • Updated dependencies [62bd5a4]
  • Updated dependencies [81fde2e]
  • Updated dependencies [9f5abf7]
emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Patch Changes

  • 50fce0a: Add some simple README's for each package and add homepage, repository and bugs URLs to each package.json file
emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Patch Changes

  • 50fce0a: Add some simple README's for each package and add homepage, repository and bugs URLs to each package.json file
emigrate - @emigrate/[email protected]

Published by joakimbeng 11 months ago

Patch Changes

  • 50fce0a: Add some simple README's for each package and add homepage, repository and bugs URLs to each package.json file
  • Updated dependencies [50fce0a]
emigrate - [email protected]

Published by joakimbeng 11 months ago

Patch Changes

  • 50fce0a: Add some simple README's for each package and add homepage, repository and bugs URLs to each package.json file
  • Updated dependencies [50fce0a]