-
Notifications
You must be signed in to change notification settings - Fork 9
/
CHANGELOG
227 lines (111 loc) · 3.68 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
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
lorm 1.0.11 2018-3-13
[NEW] add Struct.copy method
lorm 1.0.9 2018-3-13
[FIX] fix exception bug
lorm 1.0.7 2018-3-8
[IMPROVE] support python 3
lorm 1.0.6 2018-3-7
[FIX] fix QuerySet.clone
lorm 1.0.5 2018-3-5
[FIX] fix startswith/contains/endswith
lorm 1.0.3 2018-3-2
[FIX] improve Query.make_expr, safer than before.
lorm 1.0.2 2018-3-1
[FIX] fix ondup
lorm 1.0.0 2018-2-9
[FIX] fetchall(self, sql, args=None) =>
fetchall(self, sql, *args)
lorm 0.3.24 2018-2-8
[NEW] support subscript style to select a db/table
db['default']['pet'].get(id=1)
[DEL] QuerySet.wait, use translation instead
[FIX] 1. Solved the encoding problem that has been plagued for a long time,
unified encoding into Unicode later on.
2. update examples
lorm 0.3.22 2017-11-27
[FIX] add literal2 to fix '%' bug
lorm 0.3.17 2017-10-20
[FIX] filter encoding error
lorm 0.3.17 2017-5-12
[NEW] dynamically configured driver
remove install requires
add "ondup" filter
lorm 0.3.14 2017-5-5
[NEW] add MaxBadConnRetries like golang/database/sql
lorm 0.3.12 2017-5-2
[NEW] add ConnectionProxy.last_executed
lorm 0.3.10 2017-4-28
[FIX] issue#1 add backquote to field name. Thanks zhanghaofei.
[FIX] ignore unknown charset exception
lorm 0.3.9 2017-4-26
[NEW] add "exclude" filter
lorm 0.3.5 2017-4-25
[NEW] support transaction in autocommit mode.
lorm 0.3.4 2017-4-24
[NEW] add transaction example
lorm 0.3.0 2017-4-19
[NEW] rewrite connection-pool, now connection-pool is built-in.
cancel auto-reconnect.
cancel single connection mode, add Hub(), unified management connection pool.
lorm 0.2.23 2017-3-16
[NEW] support "not in" filter
db.pet.filter(id__ni=[1,2])
lorm 0.2.22 2017-1-4
[FIX] fix slice bug
lorm 0.2.21 2017-1-3
[NEW] compatible python3
lorm 0.2.20 2016-12-22
[DEL] MysqlPool.__len__
lorm 0.2.19 2016-11-16
[NEW] MysqlConnection.select_db
[NEW] MysqlConnection.dup(**kwargs)
lorm 0.2.18 2016-10-1
[NEW] support negative slice index. e.g. c.pets[-1:]
[NEW] add 'values', 'flat' row-style
[FIX] using count() implements __len__()
[FIX] optimize count() and exists()
lorm 0.2.16 2016-9-30
[FIX] 'startswith', 'endswith', 'contains' can only support string type now.
[DEL] remove 'join'
lorm 0.2.16 2016-9-28
[FIX] fix 'startswith'
lorm 0.2.15 2016-9-28
[FIX] fix 'in' operation with empty argument.
lorm 0.2.11 2016-8-25
[NEW] MysqlConnection.dup
[NEW] MysqlConnection.set_charset, autocommit, get_autocommit
[NEW] MysqlPool.full
[FIX] QuerySet.update, delete return value
[FIX] improve README.rst and test.py
lorm 0.2.10 2016-8-25
[FIX] improve README.rst
[FIX] delete README.md
lorm 0.2.9 2016-8-22
[NEW] MysqlPool: last_query
[NEW] mysql_pool
lorm 0.2.8 2016-8-22
[NEW] Connection: add begin, rollback, commit
[NEW] QuerySet: add update, delete with argument.
lorm 0.2.3 2016-8-20
[NEW] MysqlPool add max_connections
lorm 0.2.3 2016-8-20
[NEW] add new argument: ignore
[FIX] QuerySet.filter(xxx__in=[]) crushed when list is empty
[FIX] execute_many returns affected row count.
lorm 0.2.1 2016-8-20
[FIX] default: autoreconnect=False
lorm 0.2.0 2016-8-20
[NEW] base on new mysql engine: pymysql
[NEW] add callproc
[NEW] threading safe
[NEW] add MysqlPool
[NEW] add test scripts
[FIX] disorder in make_query
[FIX] modify escape and literal to support charset
lorm 0.1.13 2016-8-18
[FIX] Struct arguments is more generic.
lorm 0.1.12 2016-8-18
[NEW] add QuerySet.exists method
[NEW] add QuerySet.__bool__ method
[NEW] add QuerySet.__nonzero__ method
[FIX] fix escape encode issue