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
+21-1
Original file line number
Diff line number
Diff line change
@@ -4,6 +4,26 @@ For richer information consult the commit log on github with referenced pull req
4
4
5
5
We do not include break-fix version release in this file.
6
6
7
+
### 7.0.0
8
+
9
+
#### Breaking Changes
10
+
11
+
- Drop support for node < `4.x`.
12
+
- Remove `pg.connect``pg.end` and `pg.cancel` singleton methods.
13
+
-`Client#connect(callback)` now returns `undefined`. It used to return an event emitter.
14
+
- Upgrade [pg-pool](https://github.com/brianc/node-pg-pool) to `2.x`.
15
+
- Upgrade [pg-native](https://github.com/brianc/node-pg-native) to `2.x`.
16
+
- Standardize error message fields between JS and native driver. The only breaking changes were in the native driver as its field names were brought into alignment with the existing JS driver field names.
17
+
- Result from multi-statement text queries such as `SELECT 1; SELECT 2;` are now returned as an array of results instead of a single result with 1 array containing rows from both queries.
18
+
19
+
[Please see here for a migration guide](https://node-postgres.com/guides/upgrading)
- Add `Client#connect() => Promise<void>` and `Client#end() => Promise<void>` calls. Promises are now returned from all async methods on clients _if and only if_ no callback was supplied to the method.
25
+
- Add `connectionTimeoutMillis` to pg-pool.
26
+
7
27
### v6.2.0
8
28
9
29
- Add support for [parsing `replicationStart` messages](https://github.com/brianc/node-postgres/pull/1271/files).
@@ -204,7 +224,7 @@ decimal | string | number (float)
204
224
```
205
225
206
226
For more information see https://github.com/brianc/node-postgres/pull/353
207
-
If you are unhappy with these changes you can always [override the built in type parsing fairly easily](https://github.com/brianc/node-pg-parse-float).
227
+
If you are unhappy with these changes you can always [override the built in type parsing fairly easily](https://github.com/brianc/node-pg-parse-float).
0 commit comments