All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Also works with MongoDB driver v6
- Fixed migration lock - this requires a code change; see
synchronizedUp
in the readme.
- Require MongoDB NodeJS driver v5 as
peerDependency
- Require at least NodeJS 14.20.1 (according to updated MongoDB driver)
- Add lock mechanism to prevent running migrations simulataneously in clustered environments.
- Require MongoDB NodeJS driver v4 as
peerDependency
and adapt to new API - Require at least NodeJS 12.9 (according to updated MongoDB driver)
- Set
useUnifiedTopology
flag to avoid deprecation warning
- Allow to specify collection name for migrations state (kudos to Dante Calderón) by instantiating the store with a configuration object
- Require at least NodeJS 10
- Set
useNewUrlParser
flag to avoid deprecation warning (potentially breaking -- check the MongoDB documentation and your URL string) - Update tool chain (Jest, ESLint, Prettier)
- Comprehensive test suite