All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog.
- Set error code on deadlock timeout errors #69
- Remove superfluous
multi_result
connection option #68
- Implement set_option functionality, and add #set_server_option method to the Ruby binding. #52
- Implement multi-result support on the Ruby binding; TRILOGY_CAPABILITIES_MULTI_RESULTS flag enabled by default. #57
- Add
TRILOGY_FLAGS_CAST_ALL_DECIMALS_TO_BIGDECIMALS
flag, which enforces casting to BigDecimal even for column types without decimal digits. #59 - Implement #discard to close child connections without impacting parent. #65
- Fix msec values for time columns. #61
- (BREAKING CHANGE) C API
#trilogy_build_auth_packet
accepts encoding option now. The Ruby binding for the Trilogy client can now accept an:encoding
option, which will tell the connection to use the specified encoding, and will ensure that outgoing query strings are transcoded appropriately. If no encoding is supplied, utf8mb4 is used by default. #64 - All SystemCallErrors classified as
Trilogy::Error
. #63
- Implement multi-statement support on the Ruby binding. #35
- Add
#connection_options
method to Ruby binding. #48 - Introduced a variety of more detailed error classes. #15 and #41
- Cast to Integer rather than BigDecimal for column types without decimal digits. #37
- Error codes 1044-1045, 1064, 1152-1161, 1205, and 1927 recategorized as
ConnectionError
. #15
- Add
#closed?
method to Ruby binding. #30
- Support Ruby's
memsize
callback
- Ruby: Fixed a memory leak on freed connections
2022-10-04
- Don't scramble passwords when responding to auth switch request. #21
- Allow connecting to MariaDB. #22
2022-06-06
- Verify exact length of auth_data_len
2022-03-11
- Adjust read and write timeouts after connecting. #10
- Include
affected_rows
andlast_insert_id
on the result. #17
- Re-use existing interned strings where possible. #12
- Clang 13 warnings. #13 and #14
2021-12-15
- Initial release of the Trilogy client.