Skip to content

Latest commit

 

History

History
94 lines (49 loc) · 3.06 KB

File metadata and controls

94 lines (49 loc) · 3.06 KB

0.1.7 (2018-09-11)

Bug Fixes

  • increase mongoose peer dep range to >=4.0.0 <6.0.0 (f1db469)

0.1.6 (2018-09-11)

Bug Fixes

  • increase mongoose peer dep range to >=4.7.3 <6.0.0 (1ba6d91)

0.1.5 (2018-09-07)

Bug Fixes

0.1.4 (2018-05-03)

Bug Fixes

  • migrate function does not return promise in all cases (8704119)

0.1.3 (2018-05-02)

0.1.2 (2017-12-06)

Features

  • allow specifying version-collection name as thrid parameter for all migrators (342394a)

0.1.1 (2017-10-30)

Bug Fixes

0.1.0 (2017-10-30)

Features

  • add method for simply upgrading a collection (by name) (ee2cbf8)

BREAKING CHANGES

  • migrateDb was renamed to migrateModel
  • writeVersion/readVersion now only accept collection names
  • interface Migration was renamed to ModelMigrationHandler
  • signature for up/down function of ModelMigrationHandler has changed (last two parameters are now fromVersion, toVersion)

0.0.5 (2017-05-31)

0.0.4 (2017-05-30)

Bug Fixes

  • Output: remove console output (d19a4e2)

0.0.3 (2017-05-04)

0.0.2 (2016-12-20)

0.0.1 (2016-12-19)

Features

  • implement method that allows to register upgrade method for a mongoose model 98ec8ea