github neilotoole/sq v0.48.12

8 hours ago

🫡: This patch release addresses issues reported by @Dialga.

Fixed

  • #532: sq sql now uses the usql lib for SQL input mode determination
    (does the SQL input execute a query or a statement?) replacing the custom
    implementation introduced in v0.48.11. The usql impl is battle-tested:
    there's no point reinventing that wheel.

Changed

  • #531: Several changes to sq version handling.
    • sq version now returns faster by reducing the update-check timeout from
      2s to 500ms. Additionally, the version check now uses the official
      homebrew-core formula instead of the legacy tap. There's still future work to be
      done here to make it possible to configure or disable this update-check behavior.
    • Relatedly, sq now warns instead of erroring when the config file's
      config.version is newer than the sq build version. This allows users to
      downgrade to older sq versions for testing or debugging, at the small risk
      of config schema incompatibilities (which will likely error out). There's
      future work to be done to improve how sq stamps the config schema version
      in sq.yml (currently it uses the build version rather than tracking actual
      config schema changes).

Don't miss a new sq release

NewReleases is sending notifications on new releases.