Skip to content

Commit 84f5714

Browse files
authored
🔖 release v2.0.2 (#73)
# 2.0.2 * [FIX] properly import CMySQLConnection
1 parent 794b612 commit 84f5714

File tree

3 files changed

+332
-1
lines changed

3 files changed

+332
-1
lines changed

CHANGELOG.md

+330
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,330 @@
1+
# 2.0.2
2+
3+
* [FIX] properly import CMySQLConnection
4+
5+
# 2.0.1
6+
7+
* [FIX] fix types
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] add types
15+
* [CHORE] add types to tests
16+
* [CHORE] update dependencies
17+
* [CHORE] use f-strings where appropriate
18+
19+
# 1.4.20
20+
21+
* [CHORE] update dependencies
22+
* [CHORE] use [black](https://github.com/psf/black) and [isort](https://github.com/PyCQA/isort) in tox linters
23+
24+
# 1.4.19
25+
26+
* [FEAT] handle generated columns
27+
28+
# 1.4.18
29+
30+
* [CHORE] migrate from setup.py to pyproject.toml
31+
32+
# 1.4.17
33+
34+
* [CHORE] add publishing workflow
35+
* [CHORE] add Python 3.11 support
36+
* [CHORE] Remove CI tests for Python 3.5, 3.6, add CI tests for Python 3.11
37+
* [CHORE] add MariaDB 10.11 CI tests
38+
39+
# 1.4.16
40+
41+
* [FIX] pin mysql-connector-python to <8.0.30
42+
* [CHORE] update CI actions/checkout to v3
43+
* [CHORE] update CI actions/setup-python to v4
44+
* [CHORE] update CI actions/cache to v3
45+
* [CHORE] update CI github/codeql-action/init to v2
46+
* [CHORE] update CI github/codeql-action/analyze to v2
47+
* [CHORE] update CI codecov/codecov-action to v2
48+
49+
# 1.4.15
50+
51+
* [FEAT] add option to truncate existing tables before inserting data
52+
53+
# 1.4.14
54+
55+
* [FIX] fix safe_identifier_length
56+
57+
# 1.4.13
58+
59+
* [FEAT] add option to update duplicate records
60+
* [FEAT] add option to skip duplicate index creation if key name already exists
61+
* [CHORE] mark test_quiet with xfail
62+
* [CHORE] fix CLI test
63+
* [CHORE] remove Fix MySQL GA Github Action step
64+
65+
# 1.4.12
66+
67+
* [FEAT] add --debug switch
68+
* [FIX] import backports-datetime-fromisoformat only for Python 3.4, 3.5 and 3.6
69+
* [FIX] handle SQLite date conversion
70+
71+
# 1.4.11
72+
73+
* [FIX] fix regression introduced in v1.4.9
74+
75+
# 1.4.10
76+
77+
* [FEAT] add ability to change default text type using --mysql-text-type
78+
* [FIX] fix BOOLEAN conversion to TINYINT(1)
79+
80+
# 1.4.9
81+
82+
* [FEAT] add support for DEFAULT statements
83+
84+
# 1.4.8
85+
86+
* [CHORE] fix tests
87+
88+
# 1.4.7
89+
90+
* [CHORE] add support for Python 3.10
91+
* [CHORE] add Python 3.10 tests
92+
93+
# 1.4.6
94+
95+
* [FEAT] add CLI options for custom charset and collation
96+
* [FEAT] add unicase custom collation
97+
* [FIX] limit MySQL identifier to 64 characters
98+
* [FIX] handle multiple column FULLTEXT index transfer error
99+
* [FIX] fix multiple column index length #28
100+
* [CHORE] move some MySQL helper methods out of the main transporter
101+
* [CHORE] refactor package
102+
* [CHORE] add experimental tests for Python 3.10-dev
103+
104+
# 1.4.5
105+
106+
* [FIX] revert change introduced in v1.4.4
107+
* [FIX] fix Click 8.0 OptionEatAll wrong type
108+
* [CHORE] add tests for MariaDB 10.6
109+
110+
# 1.4.4
111+
112+
* [FIX] pin Click to <8.0
113+
114+
# 1.4.3
115+
116+
* [FIX] pin python-tabulate to <0.8.6 for Python 3.4 or less
117+
* [FIX] pin Click to <8.0 only for Python 3.5 or less
118+
119+
# 1.4.2
120+
121+
* [FIX] fix auto_increment
122+
* [CHORE] add DECIMAL test
123+
* [FIX] pin Click to <8.0
124+
125+
# 1.4.1
126+
127+
* [FIX] pin mysql-connector-python to <8.0.24 for Python 3.5 or lower
128+
129+
# 1.4.0
130+
131+
* [FEAT] add password prompt. This changes the default behavior of -p
132+
* [FEAT] add option to disable MySQL connection encryption
133+
* [FEAT] add progress bar
134+
* [FEAT] implement feature to transport custom data types as strings
135+
* [FIX] require sqlalchemy <1.4.0 to make compatible with sqlalchemy-utils
136+
* [CHORE] fix CI tests
137+
138+
# 1.3.12
139+
140+
* [FIX] handle duplicate indices
141+
* [CHORE] transition from Travis CI to GitHub Actions
142+
143+
# 1.3.11
144+
145+
* [CHORE] add Python 3.9 tests
146+
147+
# 1.3.10
148+
149+
* [FEAT] add --use-fulltext option
150+
* [FIX] use FULLTEXT index only if all columns are TEXT
151+
152+
# 1.3.9
153+
154+
* [FEAT] add --quiet option
155+
156+
# 1.3.8
157+
158+
* [FIX] test for mysql client more gracefully
159+
160+
# 1.3.7
161+
162+
* [FEAT] transfer composite primary keys
163+
164+
# 1.3.6
165+
166+
* [FEAT] simpler access to the debug version info using the --version switch
167+
* [FEAT] add debug_info module to be used in bug reports
168+
* [CHORE] use pytest fixture fom Faker 4.1.0 in Python 3 tests
169+
* [CHORE] omit debug_info.py in coverage reports
170+
171+
# 1.3.5
172+
173+
* [FEAT] set default collation of newly created databases and tables to utf8mb4_general_ci
174+
* [FEAT] optional transfer of implicit column rowid using --with-rowid
175+
* [CHORE] test non-numeric primary keys
176+
* [CHORE] add rowid transfer tests
177+
* [CHORE] fix tests
178+
179+
# 1.3.4
180+
181+
* [FIX] fix information_schema issue introduced with MySQL 8.0.21
182+
* [FIX] sqlalchemy-utils dropped Python 2.7 support in v0.36.7
183+
* [CHORE] add MySQL version output to CI tests
184+
* [CHORE] add Python 3.9 to the CI tests
185+
* [CHORE] add MariaDB 10.5 to the CI tests
186+
* [CHORE] remove Python 2.7 from allowed CI test failures
187+
* [CHORE] use Ubuntu Bionic instead of Ubuntu Xenial in CI tests
188+
189+
# 1.3.3
190+
191+
* [FEAT] add support for SQLite STRING and translate it as MySQL TEXT
192+
193+
# 1.3.2
194+
195+
* [FIX] force not null on primary-key columns
196+
197+
# 1.3.1
198+
199+
* [CHORE] test legacy databases in CI tests
200+
* [CHORE] fix MySQL 8 CI tests
201+
202+
# 1.3.0
203+
204+
* [FEAT] add option to transfer only specific tables using -t
205+
* [CHORE] add tests for transferring only certain tables
206+
207+
# 1.2.17
208+
209+
* [FIX] properly escape foreign keys names
210+
211+
# 1.2.16
212+
213+
* [FIX] differentiate better between MySQL and SQLite errors
214+
* [CHORE] add Python 3.8 and 3.8-dev test build
215+
216+
# 1.2.15
217+
218+
* [CHORE] update Readme on PyPI
219+
220+
# 1.2.14
221+
222+
* [FIX] add INT64 as an alias for NUMERIC
223+
* [CHORE] add support for Python 3.8
224+
* [CHORE] add INT64 tests
225+
226+
# 1.2.13
227+
228+
* [CHORE] add [bandit](https://github.com/PyCQA/bandit) tests
229+
* [CHORE] add more tests to increase test coverage
230+
* [CHORE] fix tests
231+
232+
# 1.2.12
233+
234+
* [FEAT] transfer indices
235+
* [CHORE] add additional index transfer tests
236+
237+
# 1.2.11
238+
239+
* [FIX] remove redundant SQL cleanup
240+
* [CHORE] clean up a test
241+
242+
# 1.2.10
243+
244+
* [CHORE] update development requirements
245+
246+
# 1.2.9
247+
248+
* [FIX] change the way foreign keys are added.
249+
* [FIX] change default MySQL character set to utf8mb4
250+
* [CHORE] add more verbosity
251+
252+
# 1.2.8
253+
254+
* [FIX] disable FOREIGN_KEY_CHECKS before inserting the foreign keys and enable FOREIGN_KEY_CHECKS back once finished
255+
256+
# 1.2.7
257+
258+
* [FEAT] transfer foreign keys
259+
* [FIX] in Python 2 MySQL binary protocol can not handle 'buffer' objects so we have to convert them to strings
260+
* [CHORE] test transfer of foreign keys
261+
* [CHORE] only test databases that support JSON
262+
* [CHORE] fix tests
263+
264+
# 1.2.6
265+
266+
* [CHORE] refactor package
267+
268+
# 1.2.5
269+
270+
* [CHORE] update Readme
271+
272+
# 1.2.4
273+
274+
* [CHORE] fix CI tests
275+
* [CHORE] add linter rules
276+
277+
# 1.2.3
278+
279+
* [CHORE] refactor package
280+
* [CHORE] test the CLI interface
281+
* [CHORE] fix tests
282+
283+
# 1.2.2
284+
285+
* [FEAT] add Python 2.7 support
286+
* [CHORE] refactor package
287+
* [CHORE] fix tests
288+
* [CHORE] add option to test against a real SQLite file
289+
290+
# 1.2.1
291+
292+
* [FIX] catch exceptions
293+
* [FIX] default mysql_string_type from VARCHAR(300) to VARCHAR(255)
294+
* [CHORE] fix CI tests
295+
* [CHORE] option to run tests against a physical MySQL server instance as well as a Docker one
296+
* [CHORE] run tests against any Docker image with a MySQL/MariaDB database
297+
* [CHORE] clean up hanged Docker images with the name "pytest_sqlite3_to_mysql"
298+
* [CHORE] 100% code coverage
299+
300+
# 1.2.0
301+
302+
* [CHORE] add more tests
303+
304+
# 1.1.2
305+
306+
* [FIX] fix creation of tables with non-numeric primary keys
307+
308+
# 1.1.1
309+
310+
* [FIX] fix error of transferring empty tables
311+
312+
# 1.1.0
313+
314+
* [CHORE] update to work with MySQL Connector/Python v8.0.11+
315+
316+
# 1.0.3
317+
318+
* [FIX] don't autoincrement if primary key is TEXT/VARCHAR
319+
320+
# 1.0.2
321+
322+
* [CHORE] refactor package
323+
324+
# 1.0.1
325+
326+
* [CHORE] change license from GPL to MIT
327+
328+
# 1.0.0
329+
330+
Initial commit

pyproject.toml

+1
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,7 @@ include = [
5959
"sqlite3_to_mysql",
6060
"tests",
6161
"README.md",
62+
"CHANGELOG.md",
6263
"CODE-OF-CONDUCT.md",
6364
"LICENSE",
6465
"requirements_dev.txt",

sqlite3_to_mysql/__init__.py

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

44
from .transporter import SQLite3toMySQL

0 commit comments

Comments
 (0)