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.
- Switch from
applications:toextra_applications:in mixfile.
- Support Ecto 3.12. The changes require Ecto 3.12, so its dependency is bumped.
- Change underlying driver from
mongodbtomongodb_driver1.4 - 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
- Improve README setup instructions
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_idfields 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/2callback - Move encoding to adapter
loadanddumpcallbacks
-
Breaking changes:
- Raise on
limitandoffsetinupdate_allanddelete_allqueries, 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