Skip to content

Universal Release

Choose a tag to compare

released this 19 Oct 17:34
· 14 commits to main since this release

We're happy to release version 0.5 of our pre-commit hooks! The following has changed since 0.3 with 0.4 being a testing release:

  • The swimm-export hook has been removed for now. As we finish developing sw.md we'll include new automation for publishing.
  • We introduced a non-blocking hook (swimm-verify-nonblocking)
  • Hooks now automatically use the Desktop CLI if you're using the Desktop version, or download the appropriate binary if you're using the web version. This requires curl and wget to be installed.
  • Hooks now call a web hook on failure and include any error messages in a context: field. This requires the environmental variable SWIMM_VERIFY_WEBHOOK to be set, and contain a valid URL that can receive POST requests.
  • Linux, MacOS users can use these natively, Windows users should use WSL.