Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
This article lists significant changes in each release of the go-mssqldb driver. The microsoft/go-mssqldb repository is a fork of denisenkom/go-mssqldb. This article lists only releases published under the Microsoft fork, starting with v0.16.0. For a full changelog, see the GitHub releases page.
Note
Some version numbers aren't sequential. For example, versions v1.2.0 through v1.4.0 were never published. The version jumps reflect the actual release history of the Microsoft fork.
v1.10.0 (April 2026)
- Added
FailoverPartnerSPNconnection string parameter for database mirroring failover. - Added
NewConnectorWithProcessQueryTextfunction for compatibility with themssqldriver name. - Added nullable
civiltypes (NullDate,NullTime,NullDateTime) for date and time parameters. - Implemented the
driver.DriverContextinterface fordatabase/sqlcompatibility. - Detected server-aborted transactions to prevent silent auto-commit when
XACT_ABORTis enabled. - Surfaced server errors from
Rows.Close()during token drain. - Handled
COLINFOandTABNAMETDS tokens returned by tables with triggers. - Returned
interface{}scan type forsql_variantcolumns instead ofnil. - Made
readCancelConfirmationrespect context cancellation. - Exposed
TrustServerCertificateinmsdsn.Configand URL round-trip. - Sanitized credentials from connection string parsing errors.
- Allowed named pipe protocol support for ARM64 Windows.
v1.9.8 (March 2026)
- Updated dependencies to resolve
govulncheckfindings.
v1.9.7 (February 2026)
- Added Extended Protection for Authentication (EPA) support.
- Improved performance by using pointer receivers for
columnStruct, reducing memory copies. - Fixed bulk copy column escaping.
- Fixed
stateSephandling in the batch package.
v1.9.6 (January 2026)
- Added
serverCertificateconnection parameter for byte-comparison TLS certificate validation. - Updated
golang.org/x/cryptodependency.
v1.9.4 (November 2025)
- Fixed attention packet handling during transaction rollback.
- Restricted named pipe and shared memory protocols to supported platforms.
v1.9.3 (September 2025)
- Fixed bulk copy
FMTONLYreset on failure. - Fixed TLS handshake packet flush during connection setup.
- Added support for double-quoted values in ADO-style connection strings.
v1.8.2 (May 2025)
- Recognized
Pwdas a password field alias in connection strings. - Added
COMMITandROLLBACKas recognized builtin commands.
v1.8.0 (December 2024)
- Added user-defined type (UDT) support for
hierarchyid,geometry, andgeography. - Added tracing data to prelogin and login7 packets.
- Fixed connection not closed when database name is incorrect.
- Bumped
azidentityto v1.6.0.
v1.7.2 (May 2024)
- Fixed nullable type support for Always Encrypted in bulk copy.
- Fixed Entra authentication scope handling.
v1.7.1 (April 2024)
- Implemented Always Encrypted with the
columnencryptionconnection parameter. - Added Azure Key Vault (
akv) column encryption key provider. - Added
ActiveDirectoryDeviceCodeandActiveDirectoryAzClifedauth types. - Accepted additional values for the
encryptparameter in TDS 8.0 mode. - Added DER certificate support.
- Added
multisubnetfailoverconnection parameter. - Allowed Kerberos (krb5) configuration through environment variables.
- Implemented change password during login.
- Fixed LCID-to-code-page mappings.
- Fixed string output parameter truncation.
- Fixed
UniqueIdentifierNULL value handling inScan(). - Fixed named pipe path handling.
v1.7.0 (February 2024)
- Added
NullUniqueIdentifiertype with JSON and text marshaling support.
v1.6.0 (August 2023)
- Added TDS 8.0 support with
encrypt=strict.
v1.5.0 (August 2023)
- Vendored the
npipepackage for named pipe connections. - Added DAC (Dedicated Administrator Connection) port browser support.
- Added
UniqueIdentifierMarshalTextandUnmarshalJSONmethods. - Enabled local DNS resolution with custom dialers.
- Fixed
mipsandmipselbuilds.
v1.1.0 (June 2023)
- Added DAC port browser service.
v0.16.0 (August 2022) - First Microsoft fork release
- Migrated to
azidentityv1.0 for Microsoft Entra authentication. - Added
tlsminconnection parameter to enforce a minimum TLS version.