You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* deprecate main.default_character_set, with a notice to move the
setting to the [connection] section
* deprecate main.ssl_mode, with a notice to move the setting to
connection.default_ssl_mode
These deprecation notices will affect a modest number of users who
installed mycli for the first time during the periods in which the
given connection-level settings were in [main] in the default myclirc
file.
For default_ssl_mode, that is fresh installs between 2026-01-02 and
2026-02-09. For default_character_set, that is fresh installs between
2026-01-22 and 2026-02-02.
Users who ran "mycli --checkup" since then were already advised to
migrate the settings to the [connection] section.
While the notices are in red, and printed on every execution of mycli,
respecting of the deprecated settings in [main] still works, iff the
given setting under [main] has a non-blank value.
The --checkup instructions for migrating the settings are not removed,
though they are somewhat duplicative, to keep the checkup instructions
more coherent.
Motivation: general simplification; bundling all breaking changes into
the 2.0 release. The logic for determining whether the user or package
configuration controls is too subtle when there are multiple possible
locations for the setting.
Preparation for release 2.0
0 commit comments