Skip to content

Releases: trilogy-libraries/trilogy

v2.12.3

02 Apr 12:37
v2.12.3
9fa6862

Choose a tag to compare

  • Exclude Trilogy#server_version from Synchronization mutex.

v2.12.2

01 Apr 14:53
v2.12.2
b89f376

Choose a tag to compare

  • Fixed incorrect usec for local time casting.

v2.12.1

01 Apr 13:18
v2.12.1
b5f8172

Choose a tag to compare

  • Fixed local time casting sometimes using the wrong offset.

v2.12.0

31 Mar 13:19
v2.12.0
5c1f9e1

Choose a tag to compare

  • Fixed compatibility with Manticore.
  • Improved performance of result parsing and type casting in the Ruby extension. Particularly for datetime fields.
  • Added Trilogy::Result#in_transaction?

v2.11.1

23 Mar 08:28

Choose a tag to compare

Fixed

  • Allow concurrent calls to Trilogy#closed?. #277.

v2.11.0

21 Mar 11:23
v2.11.0
f4648ae

Choose a tag to compare

Changed

  • Establish socket connection in Ruby #218

Added

  • Support caching_sha2_password over TCP without TLS by requesting the server RSA public key when needed. #262
  • Now raise an explicit error when a single connection is being used concurrently by multiple threads or fibers. #226.
  • Trilogy#abandon_results! as an optimized alternative to client.next_result while client.more_results_exist?. #264

Fixed

  • Handle server disconnects (Error 4031) correctly by raising Trilogy::BaseConnectionError instead of raising a QueryError / TRILOGY_INVALID_SEQUENCE_ID. #257.
  • Column names in results are now encoded using the connection encoding. #210.
  • Use correct malloc and free to avoid invalid pointer crashes #266 and #269

v2.10.0

07 Jan 00:53
v2.10.0
e48d000

Choose a tag to compare

Added

  • Add size alias for Trilogy::Result#count. #209

Fixed

  • Declare bigdecimal dependency for Ruby 3.4+. #213
  • Fix Ractor support. #215
  • Use append_cflags instead of appending directly. #231
  • Don't confuse length encoded int with EOF. #179

Changed

  • Speed up Trilogy#escape by 3 to 5x. #212
  • Use a buffer pool. #214

v2.9.0

11 Oct 23:41
v2.9.0
d22ed28

Choose a tag to compare

Added

  • Add support for the VECTOR type. #194

Changed

  • Mark C-extension as Ractor-safe. #192

Fixed

  • Fix bug allowing queries larger than the configured max_allowed_packet. #203
  • Restore error message context that was accidentally removed. #187

v2.8.1

13 May 18:08
v2.8.1
0a18015

Choose a tag to compare

Fixed

  • Fix "Got packets out of order" errors on connect. #184

v2.8.0

09 Apr 02:21
v2.8.0
4cd757e

Choose a tag to compare

Added

  • Add support for caching_sha2_password when using MySQL 8.0+. #165
  • Add support for mysql_clear_password client plugin. #171
  • Add connection #check. #154

Fixed

  • Use connect_timeout for initial connection. #159