Miva Empresa/Mia/Script Compiler v5.33 Release Notes ---------------------------------------------------- Bugs Fixed ---------- 25435: Mia Configuration should be stored in HKEY_CURRENT_USER\Software, not HKEY_LOCAL_MACHINE\SOFTWARE 27013: xxx::ProcessPOSTedData should verify content length is greater than 0 27104: Add support for utf16 encoding of 4-byte utf8 sequenced characters 28084: Multiple MvCALL tags in the same file with the FLAGS attribute output an "Attribute is used more than once error" 28125: MvFUNCTIONRETURN within an MvASYNC causes a frame underflow 28154: Update MySQL client library to 5.5.61 or newer 28985: Miva mia settings never update when you click apply 29095: MvCALL Certificate Pinning 29484: Self-referencing UPDATE statements are subject to race condition 29826: Windows Read / Write operations should check for ERROR_LOCK_VIOLATION on failure New Builtin Functions --------------------- - miva_struct_member_callback( struct var, function, data var ) This function can be used to dynamically populate structure members as they are accessed Parameters: - struct - The structure on which to perform the callback function - function - The callback function that will be triggered when a member does not exist in the structure (if the callback function is empty, the callback will be disabled) - data - The data that will be passed to the callback function Return Value: - Empty Example MivaScript code: CustomCallback( struct var, member, data var ): Parameters: - struct - The structure that had the member accessed - member - The member that was accessed - data - The data that was passed to miva_struct_member_callback Return Value: - The value that should be assigned to the structure member. MySQL Connector Changes ----------------------- - Added the ability to have write segregation. By default, the write connection assumes the read connection's host, port, user, password, and database. The following are commands that can be issued via MvDBCOMMAND to change the write connection's values. - write_host - write_port - write_user - write_password - write_db Other ----- - Added the following values to MvCALL FLAG attribute: - "force_https" - This flag will only connect to the specified host if done so over HTTPS. If the HTTPS protocol is not used, MvCALL will raise an error. - "force_verify" - This flag will force certificate chain verification / IP verification even when the engine is configured to not to perform chain / hostname verification. - Added certificate pinning to MvCALL with the following attributes: - PIN-ALGORITHM - The algorithm to use to verify the connected server's certificate e.g. sha1, sha256, etc... - PIN-DIGESET - The binary value that should be used to compare against the connected server's certificate - Added s.callservercertificate as a system variable within an MvCALL tag. This variable will return the server's certificate in PEM format. - An MVBRedis.DLL library is now distributed with the Windows installer which will allow MivaScript code using redis functios to compile. It should be noted that redis is not supported on Windows and this library will return "Unsupported" for redis_last_error and 0 for all other redis functions. It was only added so developers could compile code related to redis on Windows, but the binary will need to be run on UNIX based systems. StoreMorph Changes ------------------ - Added - Added the pin-algorithm and pin-digest attributes to