Skip to content

Latest commit

 

History

History
97 lines (61 loc) · 2.4 KB

CHANGELOG.md

File metadata and controls

97 lines (61 loc) · 2.4 KB

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog.

Unreleased

2.4.1

Fixed

  • Set error code on deadlock timeout errors #69

Changed

  • Remove superfluous multi_result connection option #68

2.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

2.3.0

Added

  • 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

Changed

  • 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

2.2.0

Added

  • Add #closed? method to Ruby binding. #30

Changed

  • Support Ruby's memsize callback

Fixed

  • Ruby: Fixed a memory leak on freed connections

2.1.2

2022-10-04

Fixed

  • Don't scramble passwords when responding to auth switch request. #21
  • Allow connecting to MariaDB. #22

2.1.1

2022-06-06

Fixed

  • Verify exact length of auth_data_len

2.1.0

2022-03-11

Added

  • Adjust read and write timeouts after connecting. #10
  • Include affected_rows and last_insert_id on the result. #17

Changed

  • Re-use existing interned strings where possible. #12

Fixed

  • Clang 13 warnings. #13 and #14

2.0.0

2021-12-15

Added

  • Initial release of the Trilogy client.