Skip to content

Commit

Permalink
Merge pull request #90 from idearium/db2
Browse files Browse the repository at this point in the history
MongoDB upgrades
  • Loading branch information
allanchau committed Feb 21, 2024
2 parents 074b6b4 + 2849aba commit b6cf17c
Show file tree
Hide file tree
Showing 5 changed files with 11 additions and 15 deletions.
18 changes: 7 additions & 11 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,25 +4,21 @@ This file is a history of the changes made to @idearium/cli.

## Unreleased

### Added

- `c d image prune` command.

## v5.1.0-beta.3 - 2022-08-09
## v5.1.0 - 2024-02-21

### Fixed

- Fixed issue with `set-value` usage.
### Changed

## v5.1.0-beta.2 - 2022-08-09
- Now using MongoDB 7.
- Re-release of v4.4.0-beta.3.

### Added

- `c d image prune` command.
- Incorporated v5.0.1.

## v5.1.0-beta.1 - 2022-08-09
### Fixed

- Re-release of v4.4.0-beta.3.
- Fixed issue with `set-value` usage.

## v5.0.1 - 2022-08-09

Expand Down
2 changes: 1 addition & 1 deletion bin/c-mongo-connect.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ loadConfig(`mongo.${env}`)
connection.volumes.length > 0
? ` ${connection.volumes.join(' ')}`
: ''
} mongo:4.4 mongo ${
} mongo:7 mongosh ${
connection.host
? connectionStringWithHost(connection)
: connectionStringWithAddress(connection)
Expand Down
2 changes: 1 addition & 1 deletion bin/c-mongo-download.js
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ loadConfig(`mongo.${env}`)
connection.volumes.length > 0
? ` ${connection.volumes.join(' ')}`
: ''
} --rm mongo:4.4 mongodump ${
} --rm mongo:7 mongodump ${
connection.host
? connectionStringWithHost(connection)
: connectionStringWithAddress(connection)
Expand Down
2 changes: 1 addition & 1 deletion bin/c-mongo-import.js
Original file line number Diff line number Diff line change
Expand Up @@ -88,7 +88,7 @@ loadConfig('mongo')
toDbConnection.volumes.length > 0
? ` ${toDbConnection.volumes.join(' ')}`
: ''
}${addHost} --rm mongo:4.4 mongorestore --noIndexRestore --drop ${
}${addHost} --rm mongo:7 mongorestore --noIndexRestore --drop ${
toDbConnection.host
? connectionStringWithHost(toDbConnection)
: connectionStringWithAddress(toDbConnection)
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@idearium/cli",
"version": "5.1.0-beta.3",
"version": "5.1.0",
"description": "The Idearium cli, which makes working with our projects much easier.",
"main": "index.js",
"bin": {
Expand Down

0 comments on commit b6cf17c

Please sign in to comment.