Skip to content

Releases: aboviq/emigrate

@emigrate/[email protected]

12 Dec 15:08
af360ca
Compare
Choose a tag to compare

Minor Changes

  • a79f8e8: When serializing errors take all "own properties" into account to be able to serialize errors thrown by the mysql2 package for instance without losing any information

Patch Changes

  • a79f8e8: Serialization of errors now happens inside storage plugins because it makes more sense and the types are easier to work with this way

@emigrate/[email protected]

12 Dec 15:08
af360ca
Compare
Choose a tag to compare

Patch Changes

@emigrate/[email protected]

12 Dec 15:08
af360ca
Compare
Choose a tag to compare

Patch Changes

  • a79f8e8: Serialization of errors now happens inside storage plugins because it makes more sense and the types are easier to work with this way
  • Updated dependencies [a79f8e8]
  • Updated dependencies [a79f8e8]

@emigrate/[email protected]

12 Dec 15:08
af360ca
Compare
Choose a tag to compare

Minor Changes

  • bc33e63: Improve error logging in the default reporter so that all "own properties" of errors are logged

Patch Changes

  • a79f8e8: Serialization of errors now happens inside storage plugins because it makes more sense and the types are easier to work with this way
  • 5307e87: Only log info about locked migrations in the "up" command, as "list" doesn't do any locking
  • Updated dependencies [a79f8e8]
  • Updated dependencies [a79f8e8]

@emigrate/[email protected]

08 Dec 12:12
3db7e99
Compare
Choose a tag to compare

Minor Changes

  • c1d5597: Handle the serialized errors coming from Emigrate, so no need to serialize errors ourselves
  • 703e6f0: Implement an empty "end" method for cleaning up

Patch Changes

@emigrate/[email protected]

08 Dec 10:16
3b2b21f
Compare
Choose a tag to compare

Patch Changes

@emigrate/[email protected]

08 Dec 12:11
3db7e99
Compare
Choose a tag to compare

Patch Changes

@emigrate/[email protected]

08 Dec 10:15
3b2b21f
Compare
Choose a tag to compare

Minor Changes

  • 3619d86: Implement the first version of the Pino reporter package

Patch Changes

@emigrate/[email protected]

08 Dec 12:11
3db7e99
Compare
Choose a tag to compare

Minor Changes

  • 703e6f0: Add "end" method to storage plugins so they can cleanup resources when a command is finished
  • c1d5597: Add serializeError utility function for serializing Error instances

@emigrate/[email protected]

08 Dec 10:16
3b2b21f
Compare
Choose a tag to compare

Patch Changes

  • 20ed2e8: Try importing plugins (and reporters) using prefixes before importing without, this is to avoid issue with accidentaly importing other non-emigrate related packages. E.g. setting the reporter to "pino" would import the "pino" package without this fix and will import "@emigrate/reporter-pino" with this fix.
  • d916043: Fix a regression issue where plugins wasn't correctly loaded if specified as strings