This release brings a full TypeScript rewrite of the source code!
Features
- Built-in TypeScript typings, so you should stop using
@types/umzug
Breaking changes
- You now have to use
const { Umzug } = require('umzug')instead ofconst Umzug = require('umzug') - Removed Bluebird, so you can no longer use things like
.tapdirectly on the Promise returned by some umzug method (you will have to wrap it first) - Renamed
StoragetoNoneStorage - Removed the already deprecated old Umzug Storage constructor