Releases: zookzook/elixir-mongodb-driver
Releases · zookzook/elixir-mongodb-driver
Minor changes
- Enhancements
- replica set connection: faster topology update if the primary is down (thanks to p-mongo)
Minor changes
Enhancements
- added a new option to specify a timeout, when increasing the connction pool is no option
Support for OTP 24
- Enhancements
- added support for OTP 24
- Add support for tls setting in connection string (tschmittni)
- Replace deprecated functions (OTP 24) (aenglisc )
Minor enhancements
- Enhancements
- Adds test to cover one of Mongo.find/4 errors (vukanac)
- Update specs for Mongo.find/4 with error tuple (vukanac)
- Fix build warnings and correct typespec (joeapearson)
- Update db_connection version to remove System.stacktrace warnings (vukanac)
- Update SCRAM auth procedure (LetThereBeDwight)
Updated dependencies
- Enhancements
- upgraded decimal to 2.0, jason to 1.2
- Add proper support for tailable cursors and awaitData (PR #74)
Better support for transaction
-
Enhancements
- refactored event notification system
- added support for retryable reads and writes
- refactored the test cases
- now using mtools for a MongoDB deployment in the travis ci environment
- travis ci uses only the latest MongoDB version The failCommand
Session.commit_transaction
returns now:ok
or an error{:error, %Mongo.Error{}}
-
Bugfixes
- Using
max_staleness_ms
> 0 results in a crash - Read preferences are sent to mongos
- Using
Minor enhancements
- Enhancements
- updated db_connection dependency
- generalize inconsistent typespecs
- new function
BSON.ObjectId.decode/1
andBSON.ObjectId.encode/1
- new function
Mongo.uuid/1
Fixed version for shard cluster deployments
- Bugfixes
- fixed bug in
Mongo.TopologyDescription
in case of a shard cluster deployment (#39)
- fixed bug in
Minor changes and bug fixes
-
Enhancements
- basic support for inserting structs
- removed duplicated code
- Cursor-API raises a
Mongo.Error
instead of aFunctionClauseError
-
Bugfixes
:appname
option (typo) #38- fixed index creation in
Mongo.GridFs.Bucket
Minor changes
- Enhancements
- refactored the api of
Mongo.limits
andMongo.wire_version
- add support for tracking recovery token from response in a sharded transaction
- refactored the api of