All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
- Change underlying driver from
mongodb
tomongodb_driver
1.4.0 - Remove config options
pool
,pool_overflow
, andpool_timeout
- Add support for MongoDB 6.0 and 7.0
- Add support for loading & dumping nil binaries and dumping nil dates
Calls to the Ecto adapter itself should not require any changes. However, if you make direct calls to the Mongo
driver, you will need to update some of them to account for the mongodb
-> mongodb_driver
upgrade. See Migrating to 2.0 in the Readme.
- Add support for loading nil dates
- Allow
binary_id
fields to be nil
- Add support for Ecto 1.11
-
Introduce support for Ecto 3
-
Introduce GitHub actions, replacing Travis CI
-
Use MongoDB 1.0.0 to add support for Mongodb 4.4. and 5.0
-
NOTE: This might work with versions of Ecto less than 3.6. Refer to the ecto-3 branch if you need to find a commit that works with a non-officially supported version of Ecto.
- Some upsert operations are only supported with MongoDBs 4.2 or newer.
- Support MongoDB version 3.2
-
This version is limited to Ecto 1.0 because of known issues with 1.1
-
Additions:
- Implement
count(field, :distinct)
- Implement
-
Bug fixes:
- Handle models without autogenerated primary key on update and delete
- Implement
Ecto.Adapter.stop/2
callback - Move encoding to adapter
load
anddump
callbacks
-
Breaking changes:
- Raise on
limit
andoffset
inupdate_all
anddelete_all
queries, it's not supported by MongoDB, we were failing siletnly before
- Raise on
-
Bug fixes:
- Allow interpolation in limit and offset
- Bug fixes:
- Fix logging issues on find queries
- First release