-
Mongonaut now extends spawngo to return promises.
-
allow for
numInsertions
flag. Defaults to number of cores on current user's machine. Issue resolved with spawngo repo, which mongonaut extends. -
Change
exec
tospawn
to remove buffer restriction. Issue resolved with spawngo repo, which mongonaut extends. -
allow for
drop
flag configuration (defaults to false). Issue resolved with spawngo repo, which mongonaut extends.
- Mongonaut will no longer take an array of files directly.
- Mongonaut's passed data object has been altered from versions previous to
3.0.0
. This is largely due to howmongoimport
sends tostdout
andstderr
.
- enhancement/24
- allow to configure host. Default is still localhost.
- enhancement/16
- allow for importing non-standard, MongoDB flabvored JSON
- enhancement/17
- add config option for
upsertfields
- Added missing docs in README
- enhancement/13
- created export feature
- clean-up/14
- moved release notes to own file
- enhancement/11
- If
user
andpwd
configs are BOTH not set, then the mongo query will not invoke authentication. - If a
user
config is set without apwd
, or vice versa, an error will be thrown.
- updated changelog
- bumped version in package.json
-
.import()
function can be passed either a string of the path to a single JSON file, or an array of strings each pointing to a JSON file to be imported.
-
breaking change the returned promise from
.import()
resolving callback is now passed an array instead of an object.
- bug/7
- Config property is now sealed before options are applied during instantiation.
- enchancement/1
.set()
function can either accept key/value arguments, or a config object
- enhancement/2
- Can now import CSV and TSV files
- Bugfix bug/4
- fixed typo in
.npmignore
- Initial release