Swiftpack.co - Package - vapor/mysql-nio


Stars: 12

Used By

Total: 0


Fix statement close during binding - 2020-06-29 20:55:02

This patch was authored and released by @tanner0101.

Fixes an issue causing prepared statements to not close if an error happened during parameter binding (#34).

notes: MySQL NIO will now assert that statements have been closed before the query handler deinitializes.

Fix statement close on error - 2020-06-19 20:47:22

This patch was authored and released by @tanner0101.

Fixes a bug causing query statements to not be cleaned up (closed) if an error was thrown in the onRow callback (#32, fixes https://github.com/vapor/mysql-nio/issues/30).

MySQL driver no longer crashes on auth failures - 2020-05-16 16:49:18

This patch was authored and released by @gwynne.
  • Fix a user-unsolvable crash triggered by any failure whatsoever during the wire protocol handshake.
  • Propagate loggers a bit better.

See Git commit log for a detailed explanation of the problem and its solution.

No API changes or additions.

Copy row byte buffer slices - 2020-05-12 16:20:31

This patch was authored and released by @tanner0101.

Fixes an issue causing MySQLRow to retain large amounts of memory (#28).

Note: Adds an explicit copy to MySQLRow value byte buffer slices allowing wire protocol buffers to be released from memory.

Rmann/fix constraint error - 2020-05-06 09:34:46

This patch was authored by @JetForMe and released by @gwynne.

The MySQL support wasn't properly detecting duplicate key constraint violations. This change adds MySQLError.duplicateEntry() and associated unit test. A separate PR fixes the constraint test in fluent-mysql-driver.

Decode string from tiny, medium and long blob - 2020-05-01 14:36:27

This patch was authored by @florianreinhart and released by @tanner0101.

Adds support for .tinyBlob, .mediumBlob, and .longBlob to MySQLData.string (#26, fixes https://github.com/vapor/mysql-kit/issues/275).

Date and Bool fixes - 2020-04-22 22:45:16

This patch was authored and released by @tanner0101.
  • Adds support for converting Foundation.Date to/from MySQL DATE column type (#25).
  • Swift.Bool now serializes as TINYINT by default (#25).

Implement length encoding - 2020-04-17 16:35:08

This patch was authored and released by @tanner0101.

Add support for encoding dynamically sized values longer than 251 bytes (fixes #23).

Support MYSQL_TYPE_NEWDECIMAL - 2020-03-19 19:08:53

This patch was authored by @thecheatah and released by @tanner0101.

Adds support for MYSQL_TYPE_NEWDECIMAL conversion on MySQLData (#19, fixes #18).

Release Candidate 1 - 2020-02-28 18:39:45

Updates to Swift 5.2 and macOS 10.15. Replaces OpenSSL usage with SwiftCrypto.

Release candidates represent the final shift toward focusing on bug fixes and documentation. Breaking changes will only be accepted for critical issues. We expect a final release of this package shortly after Swift 5.2's release date.

Logging improvements + ok packet fix - 2020-02-21 22:41:58

Fixes an issue where MySQLQueryMetadata would not be correctly returned in certain situations. Improves logging.

MySQL 1.0.0 Beta 2.3 - 2019-12-13 22:01:21

Publicize useful MySQLRow properties (#14)

MySQLNIO 1.0.0 Beta 2.2 - 2019-12-11 04:43:48

  • Fixed an issue where connect could hang indefinitely when tlsConfiguration is nil (#13)

MySQLNIO 1.0.0 Beta 2.1 - 2019-12-11 00:50:16

  • Added support for Foundation.Decimal (#12)

MySQLNIO 1.0.0 Beta 2 - 2019-12-09 20:08:25

  • Added support for passing custom Logger (#10)

  • Enabled test discovery on Linux (#11)

MySQLNIO 1.0.0 Alpha 1.1 - 2019-08-08 19:54:45

  • MySQLData.double and .float can now handle both double / float types (#7)
  • MySQLClient.query now supports throwing closures

MySQLNIO 1.0.0 Alpha 1 - 2019-08-02 18:43:57

Pure Swift MySQL client library built on SwiftNIO 2.