Inada Naoki
a417303a05
require setuptools>=77
2026-02-12 15:06:31 +09:00
Inada Naoki
33f3948149
release v2.2.8 ( #776 )
v2.2.8
2026-02-10 17:27:43 +09:00
Inada Naoki
aeff560b73
free threading: do not enable GIL ( #775 )
...
fix #766
2026-02-10 12:12:18 +09:00
Jan Schmid
d0371b2044
update pyproject.toml to support Python 3.14 ( #772 )
2026-02-08 20:02:54 +09:00
Inada Naoki
21b99a031c
add Python 3.14 and drop Python 3.9 ( #774 )
2026-02-08 00:10:15 +09:00
Inada Naoki
af50276ca6
update mariadb-connector to 3.4.8 ( #773 )
2026-02-07 22:53:58 +09:00
Inada Naoki
e54e861295
update readthedocs conf ( #759 )
2025-02-23 19:58:05 +09:00
RasmusKard
5b358664e5
support local_infile_dir option ( #755 )
...
Adds support for `MYSQL_OPT_LOAD_DATA_LOCAL_DIR` in `mysql_options()` as
the kwarg `local_infile_dir`. A bit safer alternative than `local_infile` for MySQL versions >= 8.0.21.
2025-02-23 19:37:40 +09:00
Inada Naoki
2076d161e2
release v2.2.7 ( #754 )
v2.2.7
2025-01-10 20:45:32 +09:00
Inada Naoki
2226fc4719
support opentelemetry-instrumentation ( #753 )
2025-01-10 20:18:31 +09:00
Mikhail Chinkov
8103651bff
add database name as the Connection attribute ( #752 )
...
This change adds `self.database` as the Connection attribute
displaying the database name from connection parameters.
This is very useful for otel dbapi tracer.
2025-01-05 13:17:09 +09:00
Cristi Fati
207ac1a948
windows: add MariaDB include paths ( #749 )
2024-12-14 11:06:06 +09:00
renovate[bot]
49e44c5b46
chore(deps): update codecov/codecov-action action to v5 ( #747 )
2024-11-15 17:04:55 +09:00
Inada Naoki
afdd93a1c5
ci: fix django test ( #746 )
2024-11-13 14:07:00 +09:00
Inada Naoki
5e85107b92
release v2.2.6 ( #745 )
v2.2.6
2024-11-13 13:22:52 +09:00
Inada Naoki
feea60c00e
support server_public_key_path option. ( #744 )
...
fix #682
2024-11-12 20:52:23 +09:00
Inada Naoki
89511eef44
windows: use DEFAULT_SSL_VERIFY_SERVER_CERT=0 option ( #731 )
2024-11-12 19:06:52 +09:00
Inada Naoki
6eb6c2f879
release 2.2.5 ( #728 )
v2.2.5
2024-10-20 17:17:02 +09:00
Inada Naoki
95db801658
ci: update MariaDB Connector/C ( #726 )
2024-10-20 16:57:31 +09:00
Inada Naoki
b5c6cdc9ee
ci: update test ( #727 )
2024-10-20 16:57:14 +09:00
renovate[bot]
4bcf3e634d
chore(deps): update dependency sphinx to v8 ( #716 )
2024-10-11 02:51:43 +09:00
renovate[bot]
3599f77524
chore(deps): update dependency sphinx-rtd-theme to v3 ( #724 )
2024-10-07 16:40:24 +09:00
Inada Naoki
94cae1413d
Update license metadata ( #722 )
...
Use GPLv2 or later
2024-09-08 17:11:36 +09:00
Robert Silén
a958c5fa45
add MariaDB to README and doc ( #720 )
2024-08-21 19:10:56 +09:00
nattofriends
423e45e2c5
Support building against Percona Server builds of MySQL client library libperconaserverclient ( #718 )
2024-08-08 02:16:14 +09:00
Inada Naoki
9fd238b9e3
release 2.2.4 ( #701 )
v2.2.4
2024-02-09 00:35:16 +09:00
Inada Naoki
a7e3887c8a
Support ssl=True ( #700 )
...
MySQL use ssl by default but MariaDB don't.
Until mysqlclient<=2.2.1, `ssl=True` unintentionally allowed and it
called `mysql_ssl_set(mysql, NULL, NULL, NULL, NULL, NULL)`. Although it
is no-op in MySQL Connector, MariaDB Connector silently set
MYSQL_OPT_SSL_ENFORCE when the API is called. (See #698 )
In case of PyMySQL, ssl is not used by default but `ssl=True` behave
like `sslmode="PREFERRED"`.
For better backward compatibility and compatibility with PyMySQL and
security, I decided to allow ssl=True and it means sslmode="REQUIRED" on
MySQL Connector and
set MYSQL_OPT_SSL_ENFORCE on MariaDB Connector.
Fix #699
2024-02-09 00:21:36 +09:00
Inada Naoki
1fa31fd17d
release 2.2.3 ( #697 )
v2.2.3
2024-02-04 21:49:02 +09:00
Inada Naoki
b34f8ef174
fix build issue introduced in 2.2.2 ( #696 )
2024-02-04 21:43:11 +09:00
Inada Naoki
7c199a90f8
release 2.2.2 ( #693 )
v2.2.2
2024-02-04 14:22:58 +09:00
Inada Naoki
ace8b25649
deprecate APIs deprecated in MySQL 8
2024-02-04 13:41:50 +09:00
Inada Naoki
8b032d134e
doc: add link to README ( #692 )
...
Fix #650
2024-02-04 13:40:02 +09:00
Inada Naoki
2570ad48b8
use ruff for formatter ( #691 )
2024-02-04 12:31:52 +09:00
Inada Naoki
720b80497f
Support MySQL 8.3 ( #690 )
...
Fix #688
2024-02-03 19:16:26 +09:00
renovate[bot]
9e3b00fe19
chore(deps): update codecov/codecov-action action to v4 ( #689 )
2024-02-01 12:57:09 +09:00
renovate[bot]
e2a908bc28
update actions/cache action to v4 ( #684 )
2024-01-18 21:57:52 +09:00
renovate[bot]
a2212b3382
chore(deps): update actions/upload-artifact action to v4 ( #681 )
2023-12-15 14:12:50 +09:00
renovate[bot]
f67ad12d24
chore(deps): update github/codeql-action action to v3 ( #680 )
2023-12-14 16:05:34 +09:00
Inada Naoki
d82d0fd1e7
Release v2.2.1 ( #679 )
v2.2.1
2023-12-13 22:23:33 +09:00
Inada Naoki
6831bc2f34
win: update mariadb connector/c to 3.3.8 ( #676 )
2023-12-08 21:36:57 +09:00
renovate[bot]
16017b7354
chore(deps): update actions/setup-python action to v5 ( #674 )
2023-12-07 17:02:29 +09:00
renovate[bot]
f82dac326f
chore(deps): update dependency sphinx-rtd-theme to v2 ( #671 )
2023-11-28 16:55:13 +09:00
Alex Schmitz
3805b28abc
docs: Improve portability of brew prefix ( #667 )
...
homebrew's prefix can vary - with this minor change, the pkgconfig path
should work in more user environments.
2023-11-15 19:51:10 +09:00
Inada Naoki
2e86ccec70
use sphinx-rtd-theme ( #668 )
2023-11-15 19:14:04 +09:00
Benjamin Loison
cb236e9fef
add bash syntax highlighting to README.md ( #665 )
2023-11-13 17:53:15 +09:00
Inada Naoki
0d0fff7662
Do not use MYSQL_OPT_RECONNECT as possible. ( #664 )
...
MySQL 8.0.33+ shows deprecation warning to stderr.
So we avoid using it as possible.
In the future, we will deprecate `reconnect` option of the
`Connection.ping()`.
2023-11-13 17:36:09 +09:00
renovate[bot]
91c04282ea
Update actions/checkout action to v4 ( #654 )
2023-09-13 03:15:46 +09:00
Stevie Gayet
a72b7aa707
ci: add Python 3.12 in test matrix ( #644 )
2023-08-21 17:54:30 +09:00
Inada Naoki
fc6b9da632
fix templates
2023-07-02 03:07:09 +09:00
Inada Naoki
8878212ee9
Move issue report to discussions
2023-07-02 03:04:51 +09:00