Support was added for encrypted sessions over TLS connections. An encrypted session can be requested either via the
ssl-enable
andssl-ca
options of a connection string, or using explicit session creation options. For X DevAPI or X DevAPI for C session settings, see the Connector/C++ X DevAPI Reference, available at https://dev.mysql.com/doc/index-connectors.html (check the documentation forenum mysqlx_opt_type_t
). (WL #9970)-
The X DevAPI
Schema
object now supports methods for view manipulation:createView()
,alterView()
, anddropView()
.X DevAPI for C now contains functions that implement similar functionality:
mysqlx_view_create()
,mysqlx_view_replace()
,mysqlx_view_modify()
, and (implemented previously)mysqlx_view_drop()
.As with other X DevAPI for C operations, there are functions that create a statement handle without executing it:
mysqlx_view_create_new()
,mysqlx_view_replace_new()
, andmysqlx_view_modify_new()
.These X DevAPI for C functions modify view DDL statements before execution:
mysqlx_set_view_algorithm()
,mysqlx_set_view_security()
,mysqlx_set_view_check_option()
,mysqlx_set_view_definer()
, andmysqlx_set_view_columns()
. (WL #10037)
The format of document ID values generated when adding documents to a collection has changed. It is still a string of 32 hexadecimal digits based on UUID, but the order of digits was changed to match the requirement of a stable ID prefix. (WL #10008)
Connector/C++ now supports IPv6 target hosts in connection strings and when creating sessions using other methods. (WL #10077)