Skip to content

Commit a1f98d5

Browse files
committed
update versions
1 parent de2094f commit a1f98d5

File tree

2 files changed

+37
-32
lines changed

2 files changed

+37
-32
lines changed

CHANGELOG.md

+35-30
Original file line numberDiff line numberDiff line change
@@ -7,68 +7,73 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
77

88
## 2.0.0
99

10-
* Change underlying driver from [`mongodb`](https://github.com/elixir-mongo/mongodb) to [`mongodb_driver`](https://github.com/zookzook/elixir-mongodb-driver) 1.4.0
11-
* Remove config options `pool`, `pool_overflow`, and `pool_timeout`
12-
* Add support for MongoDB 6.0 and 7.0
13-
* Add support for loading & dumping nil binaries and dumping nil dates
10+
- Change underlying driver from [`mongodb`](https://github.com/elixir-mongo/mongodb) to [`mongodb_driver`](https://github.com/zookzook/elixir-mongodb-driver) 1.4
11+
- Remove config options `pool`, `pool_overflow`, and `pool_timeout`
12+
- Add support for MongoDB 6.0 and 7.0
13+
- Add support for loading & dumping nil binaries and dumping nil dates
1414

1515
### Possible breaking changes
1616

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

1919
## 1.1.2
20-
* Add support for loading nil dates
20+
21+
- Add support for loading nil dates
2122

2223
## 1.1.1
23-
* Allow `binary_id` fields to be nil
24+
25+
- Allow `binary_id` fields to be nil
2426

2527
## 1.1.0
26-
* Add support for Ecto 1.11
28+
29+
- Add support for Ecto 1.11
2730

2831
## 1.0.0
2932

30-
* Introduce support for Ecto 3
31-
* Introduce GitHub actions, replacing Travis CI
32-
* Use MongoDB 1.0.0 to add support for Mongodb 4.4. and 5.0
33+
- Introduce support for Ecto 3
34+
- Introduce GitHub actions, replacing Travis CI
35+
- Use MongoDB 1.0.0 to add support for Mongodb 4.4. and 5.0
3336

34-
* NOTE: This might work with versions of Ecto less than 3.6.
35-
Refer to the ecto-3 branch if you need to find a commit that works with a non-officially supported version
36-
of Ecto.
37+
- NOTE: This might work with versions of Ecto less than 3.6.
38+
Refer to the ecto-3 branch if you need to find a commit that works with a non-officially supported version
39+
of Ecto.
3740

3841
### Possible breaking changes
3942

40-
* Some upsert operations are only supported with MongoDBs 4.2 or newer.
43+
- Some upsert operations are only supported with MongoDBs 4.2 or newer.
4144

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

44-
* Support MongoDB version 3.2
47+
- Support MongoDB version 3.2
4548

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

48-
* This version is limited to Ecto 1.0 because of known issues with 1.1
51+
- This version is limited to Ecto 1.0 because of known issues with 1.1
4952

50-
* Additions:
51-
* Implement `count(field, :distinct)`
53+
- Additions:
5254

53-
* Bug fixes:
54-
* Handle models without autogenerated primary key on update and delete
55-
* Implement `Ecto.Adapter.stop/2` callback
56-
* Move encoding to adapter `load` and `dump` callbacks
55+
- Implement `count(field, :distinct)`
56+
57+
- Bug fixes:
58+
- Handle models without autogenerated primary key on update and delete
59+
- Implement `Ecto.Adapter.stop/2` callback
60+
- Move encoding to adapter `load` and `dump` callbacks
5761

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

60-
* Breaking changes:
61-
* Raise on `limit` and `offset` in `update_all` and `delete_all` queries,
62-
it's not supported by MongoDB, we were failing siletnly before
64+
- Breaking changes:
65+
66+
- Raise on `limit` and `offset` in `update_all` and `delete_all` queries,
67+
it's not supported by MongoDB, we were failing siletnly before
6368

64-
* Bug fixes:
65-
* Allow interpolation in limit and offset
69+
- Bug fixes:
70+
- Allow interpolation in limit and offset
6671

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

69-
* Bug fixes:
70-
* Fix logging issues on find queries
74+
- Bug fixes:
75+
- Fix logging issues on find queries
7176

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

74-
* First release
79+
- First release

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ Add `:mongodb_ecto` as a dependency in your `mix.exs` file.
7676
```elixir
7777
def deps do
7878
[
79-
{:mongodb_ecto, "~> 1.0.0"}
79+
{:mongodb_ecto, "~> 2.0.0"}
8080
]
8181
end
8282
```
@@ -132,7 +132,7 @@ The adapter and the driver are tested against most recent versions from 5.0, 6.0
132132

133133
## Migrating to 2.0
134134

135-
Release 2.0 changes the underlying driver from [`mongodb`](https://github.com/elixir-mongo/mongodb) to [`mongodb_driver`](https://github.com/zookzook/elixir-mongodb-driver) 1.4.0. Calls to the Ecto adapter itself should not require any changes. Some config options are no longer used and can be simply deleted: `pool`, `pool_overflow`, `pool_timeout`.
135+
Release 2.0 changes the underlying driver from [`mongodb`](https://github.com/elixir-mongo/mongodb) to [`mongodb_driver`](https://github.com/zookzook/elixir-mongodb-driver) 1.4. Calls to the Ecto adapter itself should not require any changes. Some config options are no longer used and can be simply deleted: `pool`, `pool_overflow`, `pool_timeout`.
136136

137137
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. Also, remember to replace `:mongodb` with `{:mongodb_driver, "~> 1.4"}` in your `mix.exs`. The known updates are:
138138

0 commit comments

Comments
 (0)