Skip to content

v3.0.0-beta.2

Pre-release
Pre-release
Compare
Choose a tag to compare
@papb papb released this 05 Apr 21:46
· 282 commits to master since this release

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 of const Umzug = require('umzug')
  • Removed Bluebird, so you can no longer use things like .tap directly on the Promise returned by some umzug method (you will have to wrap it first)
  • Renamed Storage to NoneStorage
  • Removed the already deprecated old Umzug Storage constructor

Internals

  • Although the old tests written in Mocha were kept for now, starting today all new Umzug tests will be AVA + TypeScript!
  • Replaced a mixture of several ESLint plugins with XO

v3.0.0-beta.1...v3.0.0-beta.2