-
Enhancements
- Send TLS server name indication (SNI) if none is set in the
:ssl_opts
- Fixed a couple dialyzer issues
- Add basic examples of
$and
,$or
, and$in
operators in README
- Send TLS server name indication (SNI) if none is set in the
-
Bug Fixes
- Ensure cursor requests are routed to the proper node in the cluster
- No longer attempting to authenticate against arbiter nodes
- Prevent monitor errors if you have stopped the mongo process
- Bug fixes
- Fix application crash when a replica set member goes offline
- Fix application crash on start when a replica set member is offline
- Bug fixes
- Monitors no longer use a pool
- Can now connect to a Mongo instance using a CNAME
- Pass options through Mongo.aggregate/4
- Replica Set Support
- Breaking changes
- Remove
BSON.DateTime
and replace it with native ElixirDateTime
- Remove
-
Enhancements
- SSL support
- Add functions
BSON.DateTime.to_elixir_datetime/1
andBSON.DateTime.from_elixir_datetime/1
-
Changes
- Requires Elixir ~> 1.3
-
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