forked from seamusabshere/upsert
-
Notifications
You must be signed in to change notification settings - Fork 0
/
CHANGELOG
58 lines (31 loc) · 1.35 KB
/
CHANGELOG
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
unreleased
* Bug fixes
* Don't raise TooBig - rely on Mysql2 to complain about oversized packets
* Enhancements
* For MySQL, increase speed for one-off upserts by not checking packet size
* Log to $stderr if ENV['UPSERT_DEBUG'] == 'true'
0.3.4 / 2012-07-03
* Bug fixes
* Allow upserting by auto-increment primary key (thanks @atandrau https://github.com/seamusabshere/upsert/issues/3)
* Enhancements
* Make document an optional argument
0.3.3 / 2012-06-26
* Bug fixes
* Properly quote table names - don't assume that everybody has ANSI_QUOTES turned on in MySQL :)
0.3.2 / 2012-06-22
* Enhancements
* Make sure ::PGconn is recognized as ::PG::Connection (thanks @joevandyk https://github.com/seamusabshere/upsert/issues/2)
0.3.1 / 2012-06-21
* Bug fixes
* On PostgreSQL, stop nullifying columns that weren't even involved in the upsert
* On SQLite, properly join WHERE conditions with ' AND ' instead of ','
0.3.0 / 2012-06-21
* Enhancements
* Remove all the sampling - just keep a cumulative total of sql bytes as we build up an ON DUPLICATE KEY UPDATE query.
* Deprecate Upsert.stream in favor of Upsert.batch (but provide an alias for backwards compat)
0.2.2 / 2012-06-21
* Bug fixes
* Correct and simplify how sql length is calculated when batching MySQL upserts.
0.2.1 / 2012-06-21
* Enhancements
* Added support for Ruby 1.8.7