Since I forked the project of emmanuelbuah, before adding new features, the very first thing to do is to make a stable version of this fork. The initial state for this fork is v0.9-dev
.
My goal with this project is to maintain this repository with a good workflow using CI and unit/integration tests, as well as having ~100% coverage and ensure support for node 8,10,11,12 the latest version of mongodb (currently 4.0), and node-mongodb-native 3.x.
- Improve TypeScript & TSlint configuration
- Create documentation using Docsify
- Init CLI app
- Refactor TS types
- Improve unit tests (to fit with new features)
- Compile library files (including CLI app) using Webpack
- Add the following API methods (#16):
.isLocked()
.getMigrations()
.getConfig()
- Rename
log
config option tologs
to fit with CLI usage - Implement MongoDB query interface (#15)
- Add time spent while executing migration for CLI usage (#42)
- Rename getClient() to getDb() to avoid misleading (#30)
- Allow array in iterate method (#39)
- Fix docker:test build exiting with code 0 when errored (#29)
- Init command
- Improve migration organization; see object injection (#55)
- Display a warning when migration up/down function is not an async function (mgdb-migrator/issue#5, see this)
- Rename
mongo-interface.ts
toquery-interface.ts
- Create a license file
- Move
src
tolib
anddist
tobuild
- Rerun command
- Init monorepo using Lerna with the following packages
- Support for ES6 and Typescript
- Validate command
- Event isteners
- Refactor yargs implementation (#131)
- Create examples (#132)
- commonjs
- babel-async-await
- babel-typescript
- typescript
- backup
- Update documentation (guides)
- Organizing migrations
- Usage with Typescript
- Usage with Babel
- Working with backups
Then, next releases will come with new features and codebase improvements !