Mercurial > p > mysql-python > mysqldb-2
annotate HISTORY @ 80:6ec608cdd19c MySQLdb
Death to CVS! Long live Mercurial.
author | Kyle VanderBeek <kylev@kylev.com> |
---|---|
date | Thu, 17 Jun 2010 18:48:37 -0700 |
parents | d9bb912776a5 |
children |
rev | line source |
---|---|
78 | 1 ===================== |
2 What's new in 1.2.3 | |
3 ===================== | |
4 | |
5 ez_setup.py has been update to include various fixes that affect the build. | |
6 | |
7 Better Python version and dependency detection as well as eliminate exception | |
8 warnings under Python 2.6. | |
9 | |
10 Eliminated memory leaks related to Unicode and failed connections. | |
11 | |
12 Corrected connection .escape() functionality. | |
13 | |
14 Miscellaneous cleanups and and expanded testing suite to ensure ongoing release | |
15 quality. | |
16 | |
9
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
17 ===================== |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
18 What's new in 1.2.2 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
19 ===================== |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
20 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
21 The build system has been completely redone and should now build |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
22 on Windows without any patching; uses setuptools. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
23 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
24 Added compatibility for Python 2.5, including support for with statement. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
25 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
26 connection.ping() now takes an optional boolean argument which can |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
27 enable (or disable) automatic reconnection. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
28 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
29 Support returning SET columns as Python sets was removed due to an |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
30 API bug in MySQL; corresponding test removed. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
31 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
32 Added a test for single-character CHAR columns. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
33 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
34 BLOB columns are now returned as Python strings instead of byte arrays. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
35 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
36 BINARY character columns are always returned as Python strings, and not |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
37 unicode. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
38 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
39 Fixed a bug introduced in 1.2.1 where the new SHOW WARNINGS support broke |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
40 SSCursor. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
41 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
42 Only encode the query (convert to a string) when it is a unicode instance; |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
43 re-encoding encoded strings would break things. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
44 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
45 Make a deep copy of conv when connecting, since it can be modified. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
46 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
47 Added support for new VARCHAR and BIT column types. |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
48 |
0e37ee00beb7
Merge changes from 1.2 branch (r470:483): Mostly build-related.
adustman
parents:
3
diff
changeset
|
49 |
3 | 50 ======================== |
51 What's new in 1.2.1_p2 | |
52 ======================== | |
53 | |
54 There are some minor build fixes which probably only affect MySQL | |
55 older than 4.0. | |
56 | |
57 If you had MySQL older than 4.1, the new charset and sql_mode | |
58 parameters didn't work right. In fact, it was impossible to create | |
59 a connection due to the charset problem. | |
60 | |
61 If you are using MySQL-4.1 or newer, there is no practical difference | |
62 between 1.2.1 and 1.2.1_p2, and you don't need to upgrade. | |
63 | |
64 | |
65 ===================== | |
66 What's new in 1.2.1 | |
67 ===================== | |
68 | |
69 Switched to Subversion. Was going to do this for 1.3, but a | |
70 SourceForge CVS outage has forced the issue. | |
71 | |
72 Mapped a lot of new 4.1 and 5.0 error codes to Python exceptions | |
73 | |
74 Added an API call for mysql_set_character_set(charset) (MySQL > 5.0.7) | |
75 | |
76 Added an API call for mysql_get_character_set_info() (MySQL > 5.0.10) | |
77 | |
78 Revamped the build system. Edit site.cfg if necessary (probably not | |
79 in most cases) | |
80 | |
81 Python-2.3 is now the minimum version. | |
82 | |
83 Dropped support for mx.Datetime and stringtimes; always uses Python | |
84 datetime module now. | |
85 | |
86 Improved unit tests | |
87 | |
88 New connect() options: | |
89 * charset: sets character set, implies use_unicode | |
90 * sql_mode: sets SQL mode (i.e. ANSI, etc.; see MySQL docs) | |
91 | |
92 When using MySQL-4.1 or newer, enables MULTI_STATEMENTS | |
93 | |
94 When using MySQL-5.0 or newer, enables MULTI_RESULTS | |
95 | |
96 When using MySQL-4.1 or newer, more detailed warning messages | |
97 are produced | |
98 | |
99 SET columns returned as Python Set types; you can pass a Set as | |
100 a parameter to cursor.execute(). | |
101 | |
102 Support for the new MySQL-5.0 DECIMAL implementation | |
103 | |
104 Support for Python Decimal type | |
105 | |
106 Some use of weak references internally. Cursors no longer leak | |
107 if you don't close them. Connections still do, unfortunately. | |
108 | |
109 ursor.fetchXXXDict() methods raise DeprecationWarning | |
110 | |
111 cursor.begin() is making a brief reappearence. | |
112 | |
113 cursor.callproc() now works, with some limitations. | |
114 |