-
Enhancements
- Added hostname and port to exceptions
- Added support for x509 authentication
- Allow passing only partial
read_preference
information - Add support for GridFS
-
Bug Fixes
- Fixed a connection leak
- Properly parse write concern for URL
- Properly follow read preference for
secondary_preferred
- Enhancements
- Added 4.0 to supported versions
- Initial support for mongodb+srv URLs
- Support for Decimal128
- Enhancements
- Added
:connect_timout_ms
toMongo.start_link/1
- Reorganized documentation
- Added
-
Enhancements
- Should now be able to send a query to your server before the connection is fully made
-
Bug Fixes
- Should actually be able to query for longer than 5 seconds
-
Enhancements
- Added support for using a mongo url via the
:url
key - Added MongoDB 3.6 to supported versions
- Added support for the deprecated
undefined
BSON type
- Added support for using a mongo url via the
-
Bug Fixes
- Added another case for BSON NaN
- Fixed encoding and decoding of the BSON Timestamp type
- Should now figure out Topology for replica sets even if you exclude the
:type
key - Fixed an issue where our monitors would become empty, preventing the driver from reconnecting to a downed database
-
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