Releases: trilogy-libraries/trilogy
Releases · trilogy-libraries/trilogy
v2.9.0
v2.8.1
v2.8.0
v2.7.0
Trilogy::SyscallError::*
errors now use the standardModule#===
implementation #143Trilogy::TimeoutError
no longer inherits fromErrno::ETIMEDOUT
#143- Deprecated
Trilogy::ConnectionRefusedError
andTrilogy::ConnectionResetError
, replaced byTrilogy::SyscallError::ECONNREFUSED
andTrilogy::SyscallError::ECONNRESET
#143
v2.6.1
Fixed
- Report
EOFError: TRILOGY_CLOSED_CONNECTION
forSSL_ERROR_ZERO_RETURN
write_timeout
on connection now raisesTrilogy::TimeoutError
(previously it raisedEINPROGRESS
)- Fix memory leak on failed connections
- Fix memory leak when connecting to unix socket
v2.6.0
v2.5.0
2.5.0
Fixed
- Fix build with LibreSSL #73
- Fix build error on FreeBSD #82
- Fix Trilogy.new with no arguments #94
- Fix issues with OpenSSL #95 #112
- Avoid closing connections that are not connected
- Always close socket on error
- Clear error queue after close
- Clear error queue before each operation to defend against other misbehaving libraries
- Close connection if interrupted by a Ruby timeout #110
- Correctly cast time of 00:00:00 #97
Added
v2.4.1
v2.4.0
Added
- 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
Fixed
- Fix msec values for time columns. #61
Changed
- (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