Skip to content

Commit 8a1da11

Browse files
committed
Update changelog
1 parent 8cc7308 commit 8a1da11

File tree

1 file changed

+21
-1
lines changed

1 file changed

+21
-1
lines changed

CHANGELOG.md

+21-1
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,26 @@ For richer information consult the commit log on github with referenced pull req
44

55
We do not include break-fix version release in this file.
66

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)
20+
21+
#### Enhancements
22+
23+
- Overhauled documentation: [https://node-postgres.com](https://node-postgres.com).
24+
- 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+
727
### v6.2.0
828

929
- Add support for [parsing `replicationStart` messages](https://github.com/brianc/node-postgres/pull/1271/files).
@@ -204,7 +224,7 @@ decimal | string | number (float)
204224
```
205225

206226
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).
208228

209229
### v1.3.0
210230

0 commit comments

Comments
 (0)