Skip to content

Commit ebb533c

Browse files
committed
Update changelog
1 parent 2fd9c77 commit ebb533c

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.md

+14
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,20 @@ 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+
### v5.1.0
8+
- Make the query object returned from `client.query` implement the promise interface. This is the first step towards promisifying more of the node-postgres api.
9+
10+
Example:
11+
```js
12+
var client = new Client()
13+
client.connect()
14+
client.query('SELECT $1::text as name', ['brianc'])
15+
.then(function(res) {
16+
console.log('hello from', res.rows[0])
17+
client.end()
18+
})
19+
```
20+
721
### v5.0.0
822

923
#### Breaking Changes

0 commit comments

Comments
 (0)