Skip to content

Commit

Permalink
Merge pull request #7 from theogravity/v12.0.0
Browse files Browse the repository at this point in the history
v12.0.0
  • Loading branch information
theogravity authored Jul 10, 2024
2 parents 342f061 + 1b2e60f commit 3f9fd18
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 8 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,11 @@
# Changelog

## 12.0.0

- Rebased against the repo that this project is forked from, [`seppevs/migrate-mongo`](migrate-mongo)
* Rebase is against v11.0.0
- [@sam-myers](https://github.com/sam-myers): Add oplog logging to print oplog timestamps, which is useful for MongoDB Atlas point-in-time restores. In the event of a faulty migration, this will allow restoration of the database to the exact last possible moment via the Atlas UI.

## 11.1.0

Added a modification of @bdcorps PR [Add custom migration file option to up](https://github.com/seppevs/migrate-mongo/pull/251) which adds the `--migration-file`
Expand Down
5 changes: 0 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -79,11 +79,6 @@ module.exports = {
directConnection: true
// connectTimeoutMS: 3600000, // increase connection timeout to 1 hour
// socketTimeoutMS: 3600000, // increase socket timeout to 1 hour
// You may need this option if you are unable to connect
// https://docs.mongodb.com/drivers/node/current/fundamentals/connection/#connect-to-a-replica-set
directConnection: true
// connectTimeoutMS: 3600000, // increase connection timeout to 1 hour
// socketTimeoutMS: 3600000, // increase socket timeout to 1 hour
}
},

Expand Down
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "migrate-mongo-alt",
"version": "11.2.0",
"version": "12.0.0",
"description": "A database migration tool for MongoDB in Node",
"main": "lib/migrate-mongo.js",
"bin": {
Expand All @@ -22,7 +22,7 @@
"url": "https://github.com/theogravity/migrate-mongo-alt.git"
},
"engines": {
"node": ">=12"
"node": ">=18"
},
"preferGlobal": true,
"dependencies": {
Expand All @@ -34,7 +34,7 @@
"p-each-series": "^2.2.0"
},
"peerDependencies": {
"mongodb": "^4.4.1 || ^5.0.0 || ^6.0.0"
"mongodb": "^4.4.1 || ^5.0.0 || ^6.0.0 || ^7.0.0"
},
"devDependencies": {
"chai": "^4.3.6",
Expand Down

0 comments on commit 3f9fd18

Please sign in to comment.