CHANGELOG.md

# Changelog

All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## 2.1.1

- Switch from `applications:` to `extra_applications:` in mixfile.

## 2.1.0

- Support Ecto 3.12. The changes _require_ Ecto 3.12, so its dependency is bumped.

## 2.0.0

- Change underlying driver from [`mongodb`](https://github.com/elixir-mongo/mongodb) to [`mongodb_driver`](https://github.com/zookzook/elixir-mongodb-driver) 1.4
- Remove config options `pool`, `pool_overflow`, and `pool_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

### Possible breaking changes

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](./README.md#migrating-to-20) in the Readme.

## 1.1.2

- Add support for loading nil dates

## 1.1.1

- Allow `binary_id` fields to be nil

## 1.1.0

- Add support for Ecto 1.11

## 1.0.0

- 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.

### Possible breaking changes

- Some upsert operations are only supported with MongoDBs 4.2 or newer.

## v0.1.4 (2016-03-03)

- Support MongoDB version 3.2

## v0.1.3 (2016-01-15)

- This version is limited to Ecto 1.0 because of known issues with 1.1

- Additions:

  - Implement `count(field, :distinct)`

- Bug fixes:
  - Handle models without autogenerated primary key on update and delete
  - Implement `Ecto.Adapter.stop/2` callback
  - Move encoding to adapter `load` and `dump` callbacks

## v0.1.2 (2015-10-18)

- Breaking changes:

  - Raise on `limit` and `offset` in `update_all` and `delete_all` queries,
    it's not supported by MongoDB, we were failing siletnly before

- Bug fixes:
  - Allow interpolation in limit and offset

## v0.1.1 (2015-08-30)

- Bug fixes:
  - Fix logging issues on find queries

## v0.1.0 (2015-08-25)

- First release