- Changed always encrypted key provider error handling not to panic on failure
- Support DER certificates for server authentication (#152)
- Improved speed of CharsetToUTF8 (#154)
- krb5 authenticator supports standard Kerberos environment variables for configuration
- Go.mod updated to Go 1.17
- Azure SDK for Go dependencies updated
- Added
ActiveDirectoryAzCli
andActiveDirectoryDeviceCode
authentication types toazuread
package - Always Encrypted encryption and decryption with 2 hour key cache (#116)
- 'pfx', 'MSSQL_CERTIFICATE_STORE', and 'AZURE_KEY_VAULT' encryption key providers
- TDS8 can now be used for connections by setting encrypt="strict"
- Handle extended character in SQL instance names for browser lookup (#122)
- Adds UnmarshalJSON interface for UniqueIdentifier (#126)
- Fixes MarshalText prototype for UniqueIdentifier
- A connector's dialer can now be used to resolve DNS if the dialer implements the
HostDialer
interface
admin
protocol for dedicated administrator connections
- Added
Hidden()
method toProtocolParser
interface
- Updated azidentity to 1.2.1, which adds in memory cache for managed credentials (#90)
- Fixed uninitialized server name in TLS config (#93)(#94)
- Fixed several kerberos authentication usages on Linux with new krb5 authentication provider. (#65)
- New kerberos authenticator implementation uses more explicit connection string parameters.
Old | New |
---|---|
krb5conffile | krb5-configfile |
krbcache | krb5-credcachefile |
keytabfile | krb5-keytabfile |
realm | krb5-realm |
- Add driver version and name to TDS login packets
- Add
pipe
connection string parameter for named pipe dialer - Expose network errors that occur during connection establishment. Now they are wrapped, and can be detected by using errors.As/Is practise. This connection errors can, and could even before, happen anytime the sql.DB doesn't have free connection for executed query.