1+ ======================
2+ What's new in 2.0.0
3+ ======================
4+
5+ Release: TBD
6+
7+ * Dropped Python 2 support
8+ * Dropped Django 1.11 support
9+ * Add context manager interface to Connection which closes the connection on ``__exit__ ``.
10+
11+
12+ ======================
13+ What's new in 1.4.6
14+ ======================
15+
16+ Release: 2019-11-21
17+
18+ * The ``cp1252 `` encoding is used when charset is "latin1". (#390)
19+
20+ ======================
21+ What's new in 1.4.5
22+ ======================
23+
24+ Release: 2019-11-06
25+
26+ * The ``auth_plugin `` option is added. (#389)
27+
28+
29+ ======================
30+ What's new in 1.4.4
31+ ======================
32+
33+ Release: 2019-08-12
34+
35+ * ``charset `` option is passed to ``mysql_options(mysql, MYSQL_SET_CHARSET_NAME, charset) ``
36+ before ``mysql_real_connect `` is called.
37+ This avoid extra ``SET NAMES <charset> `` query when creating connection.
38+
39+
40+ ======================
41+ What's new in 1.4.3
42+ ======================
43+
44+ Release: 2019-08-09
45+
46+ * ``--static `` build supports ``libmariadbclient.a ``
47+ * Try ``mariadb_config `` when ``mysql_config `` is not found
48+ * Fixed warning happend in Python 3.8 (#359)
49+ * Fixed ``from MySQLdb import * ``, while I don't recommend it. (#369)
50+ * Fixed SEGV ``MySQLdb.escape_string("1") `` when libmariadb is used and
51+ no connection is created. (#367)
52+ * Fixed many circular references are created in ``Cursor.executemany() ``. (#375)
53+
54+
55+ ======================
56+ What's new in 1.4.2
57+ ======================
58+
59+ Release: 2019-02-08
60+
61+ * Fix Django 1.11 compatibility. (#327)
62+ mysqlclient 1.5 will not support Django 1.11. It is not because
63+ mysqlclient will break backward compatibility, but Django used
64+ unsupported APIs and Django 1.11 don't fix bugs including
65+ compatibility issues.
66+
67+ ======================
68+ What's new in 1.4.1
69+ ======================
70+
71+ Release: 2019-01-19
72+
73+ * Fix dict parameter support (#323, regression of 1.4.0)
74+
75+ ======================
76+ What's new in 1.4.0
77+ ======================
78+
79+ Release: 2019-01-18
80+
81+ * Dropped Python 3.4 support.
82+
83+ * Removed ``threadsafe `` and ``embedded `` build options.
84+
85+ * Remove some deprecated cursor classes and methods.
86+
87+ * ``_mysql `` and ``_mysql_exceptions `` modules are moved under
88+ ``MySQLdb `` package. (#293)
89+
90+ * Remove ``errorhandler `` from Connection and Cursor classes.
91+
92+ * Remove context manager API from Connection. It was for transaction.
93+ New context manager API for closing connection will be added in future version.
94+
95+ * Remove ``waiter `` option from Connection.
96+
97+ * Remove ``escape_sequence ``, and ``escape_dict `` methods from Connection class.
98+
99+ * Remove automatic MySQL warning checking.
100+
101+ * Drop support for MySQL Connector/C with MySQL<5.1.12.
102+
103+ * Remove ``_mysql.NULL `` constant.
104+
105+ * Remove ``_mysql.thread_safe() `` function.
106+
107+ * Support non-ASCII field name with non-UTF-8 connection encoding. (#210)
108+
109+ * Optimize decoding speed of string and integer types.
110+
111+ * Remove ``MySQLdb.constants.REFRESH `` module.
112+
113+ * Remove support for old datetime format for MySQL < 4.1.
114+
115+ * Fix wrong errno is raised when ``mysql_real_connect `` is failed. (#316)
116+
117+
118+ ======================
119+ What's new in 1.3.14
120+ ======================
121+
122+ Release: 2018-12-04
123+
124+ * Support static linking of MariaDB Connector/C (#265)
125+
126+ * Better converter for Decimal and Float (#267, #268, #273, #286)
127+
128+ * Add ``Connection._get_native_connection `` for XTA project (#269)
129+
130+ * Fix SEGV on MariaDB Connector/C when some methods of ``Connection ``
131+ objects are called after ``Connection.close() `` is called. (#270, #272, #276)
132+ See https://jira.mariadb.org/browse/CONC-289
133+
134+ * Fix ``Connection.client_flag `` (#266)
135+
136+ * Fix SSCursor may raise same exception twice (#282)
137+
138+ * This removed ``Cursor._last_executed `` which was duplicate of ``Cursor._executed ``.
139+ Both members are private. So this type of changes are not documented in changelog
140+ generally. But Django used the private member for ``last_executed_query `` implementation.
141+ If you use the method the method directly or indirectly, this version will break
142+ your application. See https://code.djangoproject.com/ticket/30013
143+
144+ * ``waiter `` option is now deprecated. (#285)
145+
146+ * Fixed SSL support is not detected when built with MySQL < 5.1 (#291)
147+
148+
149+ ======================
150+ What's new in 1.3.13
151+ ======================
152+
153+ Support build with MySQL 8
154+
155+ Fix decoding tiny/medium/long blobs (#215)
156+
157+ Remove broken row_seek() and row_tell() APIs (#220)
158+
159+ Reduce callproc roundtrip time (#223)
160+
161+
162+ ======================
163+ What's new in 1.3.12
164+ ======================
165+
166+ Fix tuple argument again (#201)
167+
168+ InterfaceError is raised when Connection.query() is called for closed connection (#202)
169+
170+ ======================
171+ What's new in 1.3.11
172+ ======================
173+
174+ Support MariaDB 10.2 client library (#197, #177, #200)
175+
176+ Add NEWDECIMAL to the NUMBER DBAPISet (#167)
177+
178+ Allow bulk insert which no space around `VALUES ` (#179)
179+
180+ Fix leak of `connection->converter `. (#182)
181+
182+ Support error `numbers > CR_MAX_ERROR ` (#188)
183+
184+ Fix tuple argument support (#145)
185+
186+
187+ ======================
188+ What's new in 1.3.10
189+ ======================
190+
191+ Added `binary_prefix ` option (disabled by default) to support
192+ `_binary ` prefix again. (#134)
193+
194+ Fix SEGV of `_mysql.result() ` when argument's type is unexpected. (#138)
195+
196+ Deprecate context interface of Connection object. (#149)
197+
198+ Don't use workaround of `bytes.decode('ascii', 'surrogateescape') ` on Python 3.6+. (#150)
199+
200+
1201=====================
2202 What's new in 1.3.9
3203=====================
4204
5- Revert adding _binary prefix for bytes/bytearray parameter. It broke backward compatibility.
205+ Revert adding ` _binary ` prefix for bytes/bytearray parameter. It broke backward compatibility.
6206
7207Fix Windows compile error on MSVC.
8208
@@ -13,7 +213,7 @@ Fix Windows compile error on MSVC.
13213
14214Update error constants (#113)
15215
16- Use _binary prefix for bytes/bytearray parameters (#106)
216+ Use ` _binary ` prefix for bytes/bytearray parameters (#106)
17217
18218Use mysql_real_escape_string_quote() if exists (#109)
19219
@@ -135,7 +335,7 @@ beta 5
135335
136336Another internal fix for handling remapped character sets.
137337
138- _mysql.c was broken for the case where read_timeout was *not* available. (Issue #6)
338+ ` _mysql.c ` was broken for the case where read_timeout was *not * available. (Issue #6)
139339
140340Documentation was converted to sphinx but there is a lot of cleanup left to do.
141341
0 commit comments