Commit Graph

1101 Commits

Author SHA1 Message Date
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
raceybe
1468dce073 Update README.md (#633)
fixed typo in Customize build (POSIX)
2023-06-30 12:22:35 +09:00
Inada Naoki
807933eb25 Support pkg-config libmariadb (#631)
Fix #629.
2023-06-29 17:36:30 +09:00
Inada Naoki
4f2a8393c7 update issue config 2023-06-23 05:07:28 +09:00
Inada Naoki
1b29c60d44 Update bugreport issue template 2023-06-23 05:05:24 +09:00
Inada Naoki
020f040ce1 Add issue template config 2023-06-23 04:09:24 +09:00
Inada Naoki
df302ff62f Add discussion template 2023-06-23 04:05:48 +09:00
Mario Haustein
eb5cb3d564 Add build dependency for pkg-config to README (#621)
Fix #620
2023-06-22 22:10:48 +09:00
Inada Naoki
1e1405587c Release v2.2.0 (#618) v2.2.0 2023-06-22 14:51:11 +09:00
renovate[bot]
ae1a098930 Configure Renovate (#616) 2023-06-22 03:23:57 +09:00
Inada Naoki
d05a00eebc ci: Run django test after our test (#612) 2023-05-21 02:46:16 +09:00
Inada Naoki
c650aa0d4f CI: Use MariaDB (#611) 2023-05-21 02:03:59 +09:00
Inada Naoki
d48c8524cb CI: Fix Windows wheel build workflow 2023-05-19 13:44:56 +09:00
Inada Naoki
640fe6de2a Release v2.2.0rc1 (#607) v2.2.0rc1 2023-05-19 13:20:33 +09:00
Inada Naoki
5dfab4d9c5 CI: Update Django test workflow (#610) 2023-05-19 03:04:56 +09:00
Matthias Schoettle
398208f8c8 Fix mariadbclient SSL support (#609) 2023-05-19 02:11:13 +09:00
Inada Naoki
ba85984505 Update README.md 2023-05-18 20:21:11 +09:00
Inada Naoki
b162dddcf3 Fix Connection.escape() with Unicode input (#608)
After aed1dd2, Connection.escape() used ASCII to escape Unicode input.
This commit makes it uses connection encoding instead.
2023-05-18 20:08:04 +09:00