-
Enhancements
- Add
BSON.ObjectID.encode!/1
andBSON.ObjectID.decode!/1
- Optimize and reduce binary copying
- Add tuple/raising versions of functions in
Mongo
- Add
:inserted_count
field toMongo.InsertManyResult
- Support NaN and infinite numbers in bson float encode/decode
- Add
Mongo.object_id/0
for generating objectids - Add
Mongo.child_spec/2
- Add
Mongo.find_one_and_update/5
- Add
Mongo.find_one_and_replace/5
- Add
Mongo.find_one_and_delete/4
- Add
-
Bug fixes
- Fix float endianness
-
Breaking changes
- Switched to using
db_connection
library, see the current docs for changes
- Switched to using
-
Enhancements
- Add
BSON.DateTime.from_datetime/1
- Add
-
Bug fixes
- Fix timestamp epoch in generated object ids
- Fix
Mongo.run_command/3
to accept errors without code
Initial release