Skip to content

Commit 0095622

Browse files
authored
🔖 release v2.0.2 (#52)
# 2.0.2 * [FIX] properly import CMySQLConnection
1 parent 0839e76 commit 0095622

File tree

3 files changed

+255
-1
lines changed

3 files changed

+255
-1
lines changed

CHANGELOG.md

Lines changed: 253 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,253 @@
1+
# 2.0.2
2+
3+
* [FIX] properly import CMySQLConnection
4+
5+
# 2.0.1
6+
7+
* [FEAT] add support for MySQL character set introducers in DEFAULT clause
8+
9+
# 2.0.0
10+
11+
* [CHORE] drop support for Python 2.7, 3.5 and 3.6
12+
* [CHORE] migrate pytest.ini configuration into pyproject.toml
13+
* [CHORE] migrate from setuptools to hatch / hatchling
14+
* [CHORE] update dependencies
15+
* [CHORE] add types
16+
* [CHORE] add types to tests
17+
* [CHORE] update dependencies
18+
* [CHORE] use f-strings where appropriate
19+
20+
# 1.4.18
21+
22+
* [CHORE] update dependencies
23+
* [CHORE] use [black](https://github.com/psf/black) and [isort](https://github.com/PyCQA/isort) in tox linters
24+
25+
# 1.4.17
26+
27+
* [CHORE] migrate from setup.py to pyproject.toml
28+
* [CHORE] update the publishing workflow
29+
30+
# 1.4.16
31+
32+
* [CHORE] add MariaDB 10.11 CI tests
33+
* [CHORE] add Python 3.11 support
34+
35+
# 1.4.15
36+
37+
* [FIX] fix BLOB default value
38+
* [CHORE] remove CI tests for Python 3.5, 3.6, add tests for Python 3.11
39+
40+
# 1.4.14
41+
42+
* [FIX] pin mysql-connector-python to <8.0.30
43+
* [CHORE] update CI actions/checkout to v3
44+
* [CHORE] update CI actions/setup-python to v4
45+
* [CHORE] update CI actions/cache to v3
46+
* [CHORE] update CI github/codeql-action/init to v2
47+
* [CHORE] update CI github/codeql-action/analyze to v2
48+
49+
# 1.4.13
50+
51+
* [FEAT] add option to exclude specific MySQL tables
52+
* [CHORE] update CI codecov/codecov-action to v2
53+
54+
# 1.4.12
55+
56+
* [FIX] fix SQLite convert_date converter
57+
* [CHORE] update tests
58+
59+
# 1.4.11
60+
61+
* [FIX] pin python-slugify to <6.0.0
62+
63+
# 1.4.10
64+
65+
* [FEAT] add feature to transfer tables without any data (DDL only)
66+
67+
# 1.4.9
68+
69+
* [CHORE] add Python 3.10 support
70+
* [CHORE] add Python 3.10 tests
71+
72+
# 1.4.8
73+
74+
* [FEAT] transfer JSON columns as JSON
75+
76+
# 1.4.7
77+
78+
* [CHORE] add experimental tests for Python 3.10-dev
79+
* [CHORE] add tests for MariaDB 10.6
80+
81+
# 1.4.6
82+
83+
* [FIX] pin Click to <8.0
84+
85+
# 1.4.5
86+
87+
* [FEAT] add -K, --prefix-indices CLI option to prefix indices with table names. This used to be the default behavior
88+
until now. To keep the old behavior simply use this CLI option.
89+
90+
# 1.4.4
91+
92+
* [FEAT] add --limit-rows CLI option
93+
* [FEAT] add --collation CLI option to specify SQLite collation sequence
94+
95+
# 1.4.3
96+
97+
* [FIX] pin python-tabulate to <0.8.6 for Python 3.4 or less
98+
* [FIX] pin python-slugify to <5.0.0 for Python 3.5 or less
99+
* [FIX] pin Click to 7.x for Python 3.5 or less
100+
101+
# 1.4.2
102+
103+
* [FIX] fix default column value not getting converted
104+
105+
# 1.4.1
106+
107+
* [FIX] get table list error when Click package is 8.0+
108+
109+
# 1.4.0
110+
111+
* [FEAT] add password prompt. This changes the default behavior of -p
112+
* [FEAT] add option to disable MySQL connection encryption
113+
* [FEAT] add non-chunked progress bar
114+
* [FIX] pin mysql-connector-python to <8.0.24 for Python 3.5 or lower
115+
* [FIX] require sqlalchemy <1.4.0 to make compatible with sqlalchemy-utils
116+
117+
# 1.3.8
118+
119+
* [FIX] some MySQL integer column definitions result in TEXT fields in sqlite3
120+
* [FIX] fix CI tests
121+
122+
# 1.3.7
123+
124+
* [CHORE] transition from Travis CI to GitHub Actions
125+
126+
# 1.3.6
127+
128+
* [FIX] Fix Python 3.9 tests
129+
130+
# 1.3.5
131+
132+
* [FIX] add IF NOT EXISTS to the CREATE INDEX SQL command
133+
* [CHORE] add Python 3.9 CI tests
134+
135+
# 1.3.4
136+
137+
* [FEAT] add --quiet option
138+
139+
# 1.3.3
140+
141+
* [FIX] test for mysql client more gracefully
142+
143+
# 1.3.2
144+
145+
* [FEAT] simpler access to the debug version info using the --version switch
146+
* [FEAT] add debug_info module to be used in bug reports
147+
* [CHORE] remove PyPy and PyPy3 CI tests
148+
* [CHORE] add tabulate to development dependencies
149+
* [CHORE] use pytest fixture fom Faker 4.1.0 in Python 3 tests
150+
* [CHORE] omit debug_info.py in coverage reports
151+
152+
# 1.3.1
153+
154+
* [FIX] fix information_schema issue introduced with MySQL 8.0.21
155+
* [FIX] fix MySQL 8 bug where column types would sometimes be returned as bytes instead of strings
156+
* [FIX] sqlalchemy-utils dropped Python 2.7 support in v0.36.7
157+
* [CHORE] use MySQL Client instead of PyMySQL in tests
158+
* [CHORE] add MySQL version output to CI tests
159+
* [CHORE] add Python 3.9 to the CI tests
160+
* [CHORE] add MariaDB 10.5 to the CI tests
161+
* [CHORE] remove Python 2.7 from allowed CI test failures
162+
* [CHORE] use Ubuntu Bionic instead of Ubuntu Xenial in CI tests
163+
* [CHORE] use Ubuntu Xenial only for MariaDB 10.4 CI tests
164+
* [CHORE] test legacy databases in CI tests
165+
166+
# 1.3.0
167+
168+
* [FEAT] add option to transfer only specific tables using -t
169+
* [CHORE] add tests for transferring only certain tables
170+
171+
# 1.2.11
172+
173+
* [FIX] duplicate foreign keys
174+
175+
# 1.2.10
176+
177+
* [FIX] properly escape SQLite index names
178+
* [FIX] fix SQLite global index name scoping
179+
* [CHORE] test the successful transfer of an unorthodox table name
180+
* [CHORE] test the successful transfer of indices with same names
181+
182+
# 1.2.9
183+
184+
* [FIX] differentiate better between MySQL and SQLite errors
185+
* [CHORE] add Python 3.8 and 3.8-dev test build
186+
187+
# 1.2.8
188+
189+
* [CHORE] add support for Python 3.8
190+
* [CHORE] update mysql-connector-python to a minimum version of 8.0.18 to support Python 3.8
191+
* [CHORE] update development dependencies
192+
* [CHORE] add [bandit](https://github.com/PyCQA/bandit) tests
193+
194+
# 1.2.7
195+
196+
* [FEAT] transfer unique indices
197+
* [FIX] improve index transport
198+
* [CHORE] test transfer of indices
199+
200+
# 1.2.6
201+
202+
* [CHORE] include tests in the PyPI package
203+
204+
# 1.2.5
205+
206+
* [FEAT] transfer foreign keys
207+
* [CHORE] removed duplicate import in test database models
208+
209+
# 1.2.4
210+
211+
* [CHORE] reformat MySQLtoSQLite constructor
212+
* [CHORE] reformat translator function
213+
* [CHORE] add more tests
214+
215+
# 1.2.3
216+
217+
* [CHORE] add more tests
218+
219+
# 1.2.2
220+
221+
* [CHORE] refactor package
222+
* [CHORE] fix CI tests
223+
* [CHORE] add linter rules
224+
225+
# 1.2.1
226+
227+
* [FEAT] add Python 2.7 support
228+
229+
# 1.2.0
230+
231+
* [CHORE] add CI tests
232+
* [CHORE] achieve 100% test coverage
233+
234+
# 1.1.2
235+
236+
* [FIX] fix error of transferring tables without primary keys
237+
* [FIX] fix error of transferring empty tables
238+
239+
# 1.1.1
240+
241+
* [FEAT] add option to use MySQLCursorBuffered cursors
242+
* [FEAT] add MySQL port
243+
* [FEAT] update --help hints
244+
* [FIX] fix slugify import
245+
* [FIX] cursor error
246+
247+
# 1.1.0
248+
249+
* [FEAT] add VACUUM option
250+
251+
# 1.0.0
252+
253+
Initial commit

mysql_to_sqlite3/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
"""Utility to transfer data from MySQL to SQLite 3."""
2-
__version__ = "2.0.1"
2+
__version__ = "2.0.2"
33

44
from .transporter import MySQLtoSQLite

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@ include = [
5858
"mysql_to_sqlite3",
5959
"tests",
6060
"README.md",
61+
"CHANGELOG.md",
6162
"CODE-OF-CONDUCT.md",
6263
"LICENSE",
6364
"requirements_dev.txt",

0 commit comments

Comments
 (0)