Skip to content

Commit c46df88

Browse files
committed
Update CHANGELOG
[ci skip]
1 parent 1791688 commit c46df88

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

CHANGELOG.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,19 @@
11
# CHANGELOG
22

3+
## 0.8.0 (2017-03-21)
4+
5+
### Possibly Breaking Changes
6+
+ MySQLTable: Simplify parsing arguments to [`.insert()`](https://github.com/nwoltman/node-mysql-plus#MySQLTable+insert) and [`.update()`](https://github.com/nwoltman/node-mysql-plus#MySQLTable+update) ([`725cdfa`](https://github.com/nwoltman/node-mysql-plus/commit/725cdfa6b70639f0f1292ca500bd4425454a3f2e))
7+
+ Should not be a breaking change if you don't pass strings or numbers as the `values` parameter and you don't use `undefined` or `null` to fill in unused arguments (i.e. `.insert({data}, undefined, undefined, callback)`)
8+
9+
### New Features
10+
+ MySQLTable: Implement new [`.insertIfNotExists()`](https://github.com/nwoltman/node-mysql-plus#MySQLTable+insertIfNotExists) method ([`1791688`](https://github.com/nwoltman/node-mysql-plus/commit/17916886b1d1db34c8b37966f6c9e8b4824b342a))
11+
+ MySQLTable: Allow [`.insert()`](https://github.com/nwoltman/node-mysql-plus#MySQLTable+insert) to accept a string as the first parameter ([`f4c9d92`](https://github.com/nwoltman/node-mysql-plus/commit/f4c9d922a6b3a806dee434ea3b080933937ebca6))
12+
+ docs: Show generated SQL in MySQLTable query examples ([`785d853`](https://github.com/nwoltman/node-mysql-plus/commit/785d853ead1692091bc3b2f5966cf7d699b2814b))
13+
14+
### Bug Fixes
15+
+ MySQLTable: Fix bug in [`.insert()`](https://github.com/nwoltman/node-mysql-plus#MySQLTable+insert) where `sqlString` was ignored if data was an array ([`55cc324`](https://github.com/nwoltman/node-mysql-plus/commit/55cc324adccdc6f3b79f45ec8e4a19c09077e79e))
16+
317
## 0.7.0 (2017-03-13)
418

519
### Breaking Changes

0 commit comments

Comments
 (0)