Releases: sequelize/umzug
Releases · sequelize/umzug
Release list
v3.0.0-beta.16
v3.0.0-beta.15
- Support tsconfigs with esModuleInterop (#438) (fixes #434) e0e6584
- Breaking change (to storages): remove string parameter (#429) b6414ba
- Custom storage implementations must update
logMigration(name) { ... }tologMigration({ name }) { ...}. Likewise withunlogMigration. This is to allow receivingcontextandpathproperties in the same arg object.
- Custom storage implementations must update
- Add prod tsconfig for lib output (#430) 92b5d45
- fix(deps): update dependency emittery to ^0.8.0 (#428) beca973
v3.0.0-beta.14...v3.0.0-beta.15
v3.0.0-beta.14
v3.0.0-beta.13
Breaking change to the beta tag: beforeAll/afterAll are replaced by beforeCommand/afterCommand, which also run on executed and pending commands too now. For hooks that should only run before migrations are applied/reverted, use:
umzug.on('beforeCommand', ev => {
if (ev.command !== 'up' && ev.command !== 'down') {
return
}
// ...whatever you were doing in beforeAll/afterAll before
})v3.0.0-beta.12
v3.0.0-beta.11
v3.0.0-beta.10
Changes in this release:
- Move types into their own file (#413) 14649cb
- Add examples folder (#411) 24623c8
- Command-line interface (#389) ae4b3eb
- Pass context to storage methods (#398) d676db8
- Add beforeAll/afterAll events + file locking (#397) bdde73b
- Typed async events (#394) 6fce00e
- Log json-able objects instead of strings (#393) 4856743