You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35-30
Original file line number
Diff line number
Diff line change
@@ -7,68 +7,73 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
7
7
8
8
## 2.0.0
9
9
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
14
14
15
15
### Possible breaking changes
16
16
17
17
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.
18
18
19
19
## 1.1.2
20
-
* Add support for loading nil dates
20
+
21
+
- Add support for loading nil dates
21
22
22
23
## 1.1.1
23
-
* Allow `binary_id` fields to be nil
24
+
25
+
- Allow `binary_id` fields to be nil
24
26
25
27
## 1.1.0
26
-
* Add support for Ecto 1.11
28
+
29
+
- Add support for Ecto 1.11
27
30
28
31
## 1.0.0
29
32
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
33
36
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.
37
40
38
41
### Possible breaking changes
39
42
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.
41
44
42
45
## v0.1.4 (2016-03-03)
43
46
44
-
* Support MongoDB version 3.2
47
+
- Support MongoDB version 3.2
45
48
46
49
## v0.1.3 (2016-01-15)
47
50
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
49
52
50
-
* Additions:
51
-
* Implement `count(field, :distinct)`
53
+
- Additions:
52
54
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
57
61
58
62
## v0.1.2 (2015-10-18)
59
63
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
Copy file name to clipboardExpand all lines: README.md
+2-2
Original file line number
Diff line number
Diff line change
@@ -76,7 +76,7 @@ Add `:mongodb_ecto` as a dependency in your `mix.exs` file.
76
76
```elixir
77
77
defdepsdo
78
78
[
79
-
{:mongodb_ecto, "~> 1.0.0"}
79
+
{:mongodb_ecto, "~> 2.0.0"}
80
80
]
81
81
end
82
82
```
@@ -132,7 +132,7 @@ The adapter and the driver are tested against most recent versions from 5.0, 6.0
132
132
133
133
## Migrating to 2.0
134
134
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`.
136
136
137
137
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:
0 commit comments