www.digitalmars.com         C & C++   DMDScript  

digitalmars.D.announce - mysql-native release v3.0.2

reply Steven Schveighoffer <schveiguy gmail.com> writes:
This release is a complete overhaul of the CI system and dub files. 
Instead of using travis-ci (which now requires "credits", and I burned 
through all the free credits in one test run), it is using github 
actions. This also has the benefit of running much faster, though the 
integration tests no longer run on Windows or MacOS (this is a current 
limitation of github that I expect eventually will be solved). Very 
little has changed in terms of functionality, the exception being a 
now-default collation of utf8mb4 (as recommended 
[here](https://adamhooper.medium.com/in-mysql-never-use-utf8-use-utf8mb4-11761243e434)).

The recent issue with DMD 2.095 (specifically dub) not being able to 
build with mysql-native should be resolved.

Please see the 
[changelog](https://github.com/mysql-d/mysql-native/blob/master/CHANGELOG.md) 
for release notes. File any issues on the github project, especially any 
issues with your project no longer building with it.

Next I will likely be releasing the safe update (after I rebase it onto 
this new layout).

-Steve
May 28
parent reply surlymoor <surlymoor cock.li> writes:
On Saturday, 29 May 2021 at 02:34:51 UTC, Steven Schveighoffer 
wrote:
 [...]
Thanks for the work you, singingbush, et al., are putting into this project. Besides the glorious safe update, any thoughts on supporting TLS connections? (Ideally, one's path to the DB wouldn't be routed outside of a protected network, but such is life.)
May 28
parent Steven Schveighoffer <schveiguy gmail.com> writes:
On 5/28/21 11:29 PM, surlymoor wrote:
 On Saturday, 29 May 2021 at 02:34:51 UTC, Steven Schveighoffer wrote:
 [...]
Thanks for the work you, singingbush, et al., are putting into this project. Besides the glorious safe update, any thoughts on supporting TLS connections? (Ideally, one's path to the DB wouldn't be routed outside of a protected network, but such is life.)
I'm not sure when it will happen, but we do have to involve TLS for default mysql-8 authentication (currently, you must switch from the default in mysql-8 in order to use mysql-native). Given that vibe already supports TLS connections, it shouldn't be too difficult to make it work with vibe. Using Phobos sockets, we probably have to support TLS directly, which isn't as pleasant. I also want to support other types of connections (Unix sockets, etc.) but not sure when any of that will happen. The safe update is a priority, because the PR is already way out of date with these recent changes, and it's a big PR. -Steve
May 31