Skip to content

Releases: microsoft/go-sqlcmd

v1.10.0: update go-mssqldb (#715)

03 Mar 17:02
affbc17

Choose a tag to compare

Pre-release

Changes:

  • affbc17 update go-mssqldb (#715)
  • dadb2d8 LEGO: Pull request from juno/hb_d639428f-b4f7-44e1-9f59-4eea699b1621_20260211051845082 to main (#714)
  • cc0cf95 deps(deps): bump golang.org/x/tools from 0.41.0 to 0.42.0 (#709)
  • d5ae81b LEGO: Pull request from juno/hb_d639428f-b4f7-44e1-9f59-4eea699b1621_20260210051650851 to main (#713)
  • c702a83 fix: help flags preprocessing for -h and -help (#707)
  • 8ae5174 feat(connect): add --server-name flag for tunneled connections (#678)
  • 2138fa7 deps: bump chroma v2.23.1 and Go 1.24.13 (#701)
  • ca107b8 LEGO: Pull request from juno/hb_d639428f-b4f7-44e1-9f59-4eea699b1621_20260205051644628 to main (#698)
  • 7685e6b Localized file check-in by OneLocBuild Task: Build definition ID 51965: Build ID 206114786 (#695)
  • 037b458 reuse one PR for loc changes (#696)
See More
  • eb5505c fix: turn off auto-merge for localization (#694)
  • 460b0c9 deps: upgrade docker/distribution to v2.8.3 with reference package migration (#674)
  • 74817c9 deps(deps): bump github.com/spf13/viper from 1.14.0 to 1.21.0 (#657)
  • 4d89d70 deps(deps): bump github.com/stretchr/testify from 1.10.0 to 1.11.1 (#656)
  • 87dd99e deps(deps): bump github.com/docker/go-connections from 0.4.0 to 0.6.0 (#655)
  • 9565585 deps(deps): bump github.com/spf13/cobra from 1.6.1 to 1.10.2 (#654)
  • 905c58f deps(deps): bump github.com/opencontainers/image-spec from 1.0.2 to 1.1.1 (#653)
  • de8f7ad deps(deps): bump github.com/spf13/pflag from 1.0.5 to 1.0.10 (#652)
  • d285857 deps(deps): bump github.com/billgraziano/dpapi from 0.4.0 to 0.5.0 (#651)
  • 6f0a955 deps(deps): bump github.com/docker/docker from 28.0.0+incompatible to 28.5.2+incompatible (#650)
  • d9bee35 deps(deps): bump golang.org/x/tools from 0.40.0 to 0.41.0 (#649)
  • b342274 ci: bump golangci/golangci-lint-action from 6 to 9 (#648)
  • ebafcd8 Update copilot instructions and localization files (#661)
  • e17f5f5 ci: bump actions/setup-go from 5 to 6 (#647)
  • 3620fb5 feat: support Azure AD auth in e2e tests (#659)
  • 98bd823 ci: bump actions/checkout from 4 to 6 (#646)
  • f43706d feat: add end-to-end tests for sqlcmd binary (fixes #641) (#642)
  • 8f3ee3b Add Dependabot configuration and govulncheck workflow (#645)
  • 4d55710 Update Go toolchain and stdlib dependencies to resolve 26 CVEs (#643)
  • e31f42f fix: prevent nil pointer panic when piping input to sqlcmd (fixes #607) (#640)
  • 56b1fb1 Add copilot-instructions.md for go-sqlcmd repository (#611)
  • 758fca9 Fix CVE-2025-54410: Upgrade docker/docker to v28.0.0 (#617)
  • e7dc6a4 Implement -J flag for server certificate pinning with strict encryption (#615)
  • ba5b460 Bump golang.org/x/crypto from 0.38.0 to 0.45.0 (#608)

This list of changes was auto generated.

v1.9.0

17 Jul 15:44
310b400

Choose a tag to compare

Changes:

  • 310b400 Localized file check-in by OneLocBuild Task: Build definition ID 51965: Build ID 181243959 (#600)
  • bd5a47d LEGO: Pull request from juno/hb_d639428f-b4f7-44e1-9f59-4eea699b1621_20250714205939751 to main (#599)
  • 58af949 LEGO: Pull request from juno/hb_d639428f-b4f7-44e1-9f59-4eea699b1621_20250714205148417 to main (#598)
  • e6b006c add localization build (#594)
  • be3c5d4 Feat: Add HostNameInCertificate for strict encryption (#589)
  • b7ec634 Update to go-mssqldb 1.9.2 (#591)
  • 6b98225 fix scriptdir variable casing in build.sh (#592)
  • e8f9c26 Fix piping query without go command into sqlcmd-go (#583)
  • 34ab426 Automatically suppress line prompts when stdin is redirected (#582)
  • 6513013 Bump github.com/prometheus/client_golang from 1.1.0 to 1.11.1 (#579)
See More

This list of changes was auto generated.

v1.8.2

12 Dec 20:11
458b787

Choose a tag to compare

Changes:

  • 458b787 use correct version for go toolchain (#560)
  • abdb3bf Fix: Make colon optional for reset (#559)
  • 58bc354 bump to docker v27.3.1+incompatible (#554)
  • 708776a Fix: Print headers when zero rows are returned (#558)
  • f3a0721 Bump golang.org/x/crypto from 0.24.0 to 0.31.0 (#557)
  • 0221d93 omit comments from commands (#548)
  • 412fe02 fix: When both -Q and -q are specified, take -Q input and finish (#547)
  • 5f78da8 Bump github.com/docker/docker from 24.0.9+incompatible to 25.0.6+incompatible (#545)
  • 5532ff3 fix: Parse list flags correctly (#543)

This list of changes was auto generated.

v1.8.1

26 Aug 17:37
0221d93

Choose a tag to compare

v1.8.1 Pre-release
Pre-release

Version 1.8.1

  • Release date: August 26, 2024

What's new in 1.8.1

  • Fix: Parse list flags correctly for flags without spaces like -isomefile1 somefile2 -V10 (#543)
  • Fix: When both -Q and -q are specified, take -Q input and finish (#547)
  • Fix: Better handling of comments in commands (#548)
  • Update github.com/docker/docker from 24.0.9+incompatible to 25.0.6+incompatible (#545)

Full Changelog: v1.8.0...v1.8.1

v1.8.0

16 Jul 18:49
c7ab91d

Choose a tag to compare

Version 1.8.0

  • Release date: July 16, 2024

What's new in 1.8.0

  • Fix: Apply x flag during batch parsing (#542)
  • Update github.com/Azure/azure-sdk-for-go/sdk/azidentity from 1.5.1 to 1.6.0 (#538)

Full Changelog: v1.7.0...v1.8.0

v1.7.0

06 Jun 02:18
23ee876

Choose a tag to compare

Version 1.7.0

  • Release date: June 6, 2024

What's new in 1.7.0

  • Changes to enhance security of official builds (#536)
  • Incorporate latest go-mssqldb driver - version 1.7.2 (#534)
  • Update golang.org/x/net from version 0.21.0 to 0.23.0 (#527)
  • Update google.golang.org/protobuf from version 1.28.1 to 1.33.0 (#515)
  • Update golang.org/x/tools to version v0.18.0 (#513)
  • Update Go tools to version1.21 (#500)
  • Update docker/docker version to v24.0.9 (#508)
  • Resolve vars in error and out commands (#535)
  • Fix parsing of multiline strings (#516)
  • Handle error from osuser.Current (#503)
  • Update text of README.md (#518)

Full Changelog: v1.6.0...v1.7.0

Version 1.6.0

09 Jan 19:52
992aa2c

Choose a tag to compare

Version 1.6.0

  • Release date: January 9, 2024

What's new in 1.6.0

  • Add product name and description to output (#452)
  • Implement -L for local instances (#483)
  • Default value for -N is now TRUE to match ODBC SQLCMD (#498)
  • Fix formatting for port numbers to not include commas (#489)
  • Update golang.org/x/crypto from 0.14.0 to 0.17.0 (#493)
  • Update github.com/docker/docker from 24.0.6+incompatible to 24.0.7+incompatible (#475)

Full Changelog: v1.5.0...v1.6.0

v1.5.0

26 Oct 20:19
7002492

Choose a tag to compare

Version 1.5.0

  • Release date: October 26, 2023

What's new in 1.5.0

  • Update Docker from v20.10.24 to v24.0.6 (#472)
  • Update golang.org/x/net from 0.14.0 to 0.17.0 (#469)
  • Localization Improvements (#464, #465, #466, #467)
  • Fix issues with special characters in files (#463)
  • Enhanced handling of extended characters in UTF8 input files (#473)

Full Changelog: v1.4.0...v1.5.0

v1.4.0

18 Sep 20:26
2c2da58

Choose a tag to compare

Version 1.4.0

  • Release date: September 18, 2023

What's new in 1.4.0

  • Added support changing password on login (#461)
  • Added support for Always Encrypted -g (#457)
  • Added support for -e, -k and enhance -X, -r, -L support (#447)
  • Added support for TDS8 -N (#459)
  • Fixed EXIT parameter being sent as separate batch (#455)

v1.3.0

03 Aug 16:17
ff6d88f

Choose a tag to compare

Version 1.3.0

  • Release date: August 3, 2023

What's new in 1.3.0

  • Add support for extended chars in SQL instance names (#445)
  • Add support for passing multiple values via space delimited args for -i and -v (#440)
  • Support for longer inputs / larger SQL scripts (#441)
  • Further localization improvements (#444)
  • Improved help text / added instructions for Macs running Apple Silicon (M1/M2) (#375)