GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — Comparing v0.1.13...v0.1.16 · jwcraig/sql-server-cli

Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jwcraig/sql-server-cli
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

base: v0.1.13
Loading
Loading
...
head repository: jwcraig/sql-server-cli
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading

Uh oh!

There was an error while loading. Please reload this page.

compare: v0.1.16
Loading
Loading
  • 11 commits
  • 37 files changed
  • 2 contributors

Commits on May 17, 2026

  1. Fix Rust 1.95 clippy lint

    @jc-systemslogiq
    jc-systemslogiq committed May 17, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 96683b1
    • Browse repository at this point
    Copy the full SHA
    96683b1 View commit details
    Browse the repository at this point in the history

Commits on Jun 28, 2026

  1. Add agent-first SQL Server ops workflows

    @jc-systemslogiq
    jc-systemslogiq committed Jun 28, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 1516670
    • Browse repository at this point
    Copy the full SHA
    1516670 View commit details
    Browse the repository at this point in the history

Commits on Jul 28, 2026

  1. feat(admin): make maintenance SQL outcomes observable

    admin sql printed nothing on success, so a completed DROP DATABASE and a
    command that never ran produced identical output. Callers scripting drops
    had to issue a separate sys.databases read-back to learn what happened.
    
    - always print an Execution summary (Status, Batches, ResultSets,
      RowsReturned, ElapsedMs) for admin execute paths; sql prints it when a
      script returns no result sets, leaving SELECT output unchanged
    - split admin sql on GO, which previously went to the server as one query
    - record per-batch outcomes and keep them when a batch fails, so a run
      that stops halfway reports which batches already applied
    - add --verify <SQL> and --expect-rows <N> to run a read-back on the same
      connection and fail on a row-count mismatch
    - word failures so a failed batch is never read as a rollback: statements
      before the failing one in that batch have committed, reported in text
      and as partialEffectPossible in JSON
    - silence duplicate tiberius token-error logs at default verbosity; the
      driver line repeated sscli's own error above the summary, and -v or
      RUST_LOG restores it
    
    Per-statement granularity and rows-affected counts stay out of reach:
    tiberius 0.12 drops DONE and INFO tokens before sscli sees them.
    @jc-systemslogiq
    jc-systemslogiq committed Jul 28, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 9b257fe
    • Browse repository at this point
    Copy the full SHA
    9b257fe View commit details
    Browse the repository at this point in the history
  2. chore(release): bump version to 0.1.15

    @jc-systemslogiq
    jc-systemslogiq committed Jul 28, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for e6a8c99
    • Browse repository at this point
    Copy the full SHA
    e6a8c99 View commit details
    Browse the repository at this point in the history
  3. fix(admin): build SQL Server restore paths without the host separator

    restore_file_path used PathBuf::join, which applies the separator of the
    machine sscli runs on. SQL Server routinely runs on a different OS, so
    building the POSIX data directory /var/opt/mssql/data from Windows emitted
    MOVE N'WDM' TO N'/var/opt/mssql/data\WDM.mdf' and produced an unusable
    RESTORE statement.
    
    Join on the separator the directory already uses instead. This is the
    failure that has kept the windows-latest CI job red since 2026-06-28.
    @jc-systemslogiq
    jc-systemslogiq committed Jul 28, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 531e772
    • Browse repository at this point
    Copy the full SHA
    531e772 View commit details
    Browse the repository at this point in the history
  4. ci: gate the release on the test suite

    release.yml validated only that the tag matched Cargo.toml, so pushing a tag
    published over failing tests. v0.1.14 shipped that way: windows-latest had
    been red since 2026-06-28 over a genuine PathBuf::join defect in admin, and
    nothing in the release path could report it.
    
    Run cargo test/clippy/fmt on ubuntu, macos and windows before build, so a
    red check blocks publication instead of merely recording it.
    @jc-systemslogiq
    jc-systemslogiq committed Jul 28, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 7ea26d9
    • Browse repository at this point
    Copy the full SHA
    7ea26d9 View commit details
    Browse the repository at this point in the history

Commits on Oct 9, 2026

  1. fix(sql): run GO scripts like sqlcmd -b and reject unknown profiles

    Scripts:
    - Each GO batch without parameters now goes to the server as a plain SQL
      batch instead of through sp_executesql. Transactions, SET options, USE and
      #temp tables carry across batches on the one session, so a script that
      opens a transaction in one batch and commits in a later one no longer
      fails with error 266. Applies to sql --file/--stdin and admin sql.
    - A GO line that continues a multi-line string or bracketed identifier is
      data, not a separator.
    - The first failing batch stops the script and the error names it
      ("Batch 3 of 5 failed: ..."); closing the session rolls back an open
      transaction, as with sqlcmd -b.
    
    Config:
    - A profile named by --profile, SQL_SERVER_PROFILE or defaultProfile that
      the config does not define is an error listing the available profiles,
      instead of silently targeting localhost:1433/master.
    - Commands warn on stderr when nothing names a server and the built-in
      localhost default is used.
    - The sql/admin Target banner names the profile and config file.
    @jc-systemslogiq
    jc-systemslogiq committed Oct 9, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for e95b347
    • Browse repository at this point
    Copy the full SHA
    e95b347 View commit details
    Browse the repository at this point in the history
  2. chore(release): bump version to 0.1.16

    @jc-systemslogiq
    jc-systemslogiq committed Oct 9, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 2a81ab9
    • Browse repository at this point
    Copy the full SHA
    2a81ab9 View commit details
    Browse the repository at this point in the history
  3. fix: keep compare connection labels and init free of profile lookup

    - compare: --source/--target is only a label when a connection string is
      given, so it is not resolved as a profile.
    - init: use default output settings instead of resolving a profile that
      the new config has not defined yet.
    - sql: bind parameters whenever a batch references one, including a
      parameter named like its placeholder; prefix errors with the batch only
      for multi-batch scripts.
    @jc-systemslogiq
    jc-systemslogiq committed Oct 9, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 990d2ee
    • Browse repository at this point
    Copy the full SHA
    990d2ee View commit details
    Browse the repository at this point in the history
  4. fix(compare): satisfy clippy on the profile label check

    @jc-systemslogiq
    jc-systemslogiq committed Oct 9, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 4062d25
    • Browse repository at this point
    Copy the full SHA
    4062d25 View commit details
    Browse the repository at this point in the history
  5. Merge pull request #1: run GO scripts like sqlcmd -b; reject unknown …

    …profiles; release 0.1.16
    
    Run GO scripts like sqlcmd -b; reject unknown profiles; release 0.1.16
    @jwcraig
    jwcraig authored Oct 9, 2026
    Configuration menu
    • View commit details
    • Copy full SHA for 7239933
    • Browse repository at this point
    Copy the full SHA
    7239933 View commit details
    Browse the repository at this point in the history
Loading

This comparison is taking too long to generate.

Unfortunately it looks like we can’t render this comparison for you right now. It might be too big, or there might be something weird with your repository.

You can try running this command locally to see the comparison on your machine:
git diff v0.1.13...v0.1.16

Uh oh!

There was an error while loading. Please reload this page.

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.