Skip to content

Releases: swimmio/pre-commit

Stable Release

29 Oct 16:09

Choose a tag to compare

I'm glad to tag in a new stable release! These are the hooks that both web and desktop users should be using.

  • swimm-export has been removed totally for now.
  • swimm-verify-nonblocking is now stable and cataloged in the yaml config
  • Update comments

Maintenance Release

25 Oct 20:00

Choose a tag to compare

This release provides two things:

  1. Hooks now use releases.swimm.io to resolve the utility that they need to run.
  2. Be noisier about what went wrong if no web hook is defined.

Universal Release

19 Oct 17:34

Choose a tag to compare

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.

Nonblocking Workflow With Issue Generation Preview

08 Oct 18:31

Choose a tag to compare

This is a pre-release which adds swimm-verify-nonblocking as an optional hook. With minimal configuration, you can allow verification failures to proceed by kicking off an issue with context of the failure right from the commit script.

Requires curl, wget and something like Zapier to receive the ping and actually open the issue.

Contains functionality to download the CLI executable on-the-fly which will be enabled in the next release.

Hatch

29 Apr 14:39

Choose a tag to compare

Hatch Pre-release
Pre-release

Tested and usable state, also contains targets to export markdown (requires 0.4.4)

Fledgeling

20 Apr 13:18

Choose a tag to compare

Fledgeling Pre-release
Pre-release

Usable hooks, but not currently complete (we will be adding checks for documentation coverage sometime in the future as well).