Releases: zookzook/elixir-mongodb-driver
Releases · zookzook/elixir-mongodb-driver
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
Minor changes for better performance
- Enhancements
- refactored
Mongo.Session
andMongo.Session.SessionPool
because of poor performance
- refactored
Support for session and transactions
- Enhancements
- refactored
writeConcern
- refactored
filter_nils
- refactored usage of
ReadPreference
- added support for sessions (
ServerSession
,SessionPool
,Session
) - added support for transaction
- added Decimal128 encoder
- added support for transaction to gridfs and bulk operation
- added
create
command (explicitly creating a collection or view)
- refactored
Minor fixes
-
Bug Fixes
- Test for existing index in
Bucket
works right now
- Test for existing index in
-
Enhancements
- Better handling for the
:timeout
options
- Better handling for the
Minor fixes
-
Bug Fixes
- Fixed a match error in
after_fun
of cursor module - Fixed a match error in the result of function
Monitor.force_check
- Resolved decode problem for the Binary (Old) BinData subtype
- Fixed a match error in
-
Enhancements
- Added support for
Mongo.BulkWriteResult
- Added support for