Skip to content

Releases: snapmaster-io/snap

Support for printing log details based on action output contract

27 Jul 05:36
Compare
Choose a tag to compare

All snapmaster actions as of July 26 2020 follow the standard { status, message, data } contract for their output.

snap v0.6.1 prints the action output according to this contract. It also makes special dispensation for an output.data that
contains the data.stdout / data.stderr properties, printing them as standard output/error.

protocol updates

12 Jul 08:03
Compare
Choose a tag to compare

The snap CLI now supports the standard snapmaster protocol, where all responses follow a standard JSON format:

{
  "status": "success" / "error",
  "message": "error message",
  "data": [] or {}
}

Support for switching between prod and dev environments

29 Jun 06:08
Compare
Choose a tag to compare

v0.5.4

11 Jun 06:03
Compare
Choose a tag to compare

Detect 401 unauthorized HTTP response for expired tokens

Color-print support for yaml and json responses

10 May 05:27
Compare
Choose a tag to compare

Small but pleasing enhancement: snap and provider yml definitions now print using colors. JSON object responses also color-print. JSON array responses still use uncolorized text, but will be phased out as the protocol gets updated to return an enclosing object for every response.

Fixed token expiration detection issue

03 May 01:02
Compare
Choose a tag to compare

Fixed token expiration detection after change to Unauthorized exception logic in API.

bug fix release

29 Apr 18:11
Compare
Choose a tag to compare

snap now detects stale access tokens and displays a proper error.

Support for managing connections and credentials

26 Apr 02:54
Compare
Choose a tag to compare

Release v0.5.0 adds snap CLI support for the following scenarios:

  • listing tools in the library and getting their definitions
  • adding, listing, and removing connections to tools
  • adding, listing, and removing credential-sets associated with connections

Examples:
$ snap tools list - list all tools in the library
$ snap tools get slack - get the definition of the slack provider
$ snap connect slack - connect slack (will prompt for connection parameters)
$ snap connections list - list all connections
$ snap connections get slack - get the credential-sets for the slack connection
$ snap connections credential-set list slack - (synonym for the snap connections get command)
$ snap connections credential-set add slack - add a new credential-set for the slack connection
$ snap connections credential-set add gcp my-project credentials.json - add a new c-s for gcp from a file
$ snap connections credential-set remove gcp my-project - remove the my-project credential-set for gcp
$ snap connections disconnect gcp - disconnect gcp, and remove all credential-sets associated with it

Config get/set subcommands

22 Apr 06:55
Compare
Choose a tag to compare

Snap supports the config get/set subcommands to set API URL and other configuration information.

This version also includes better handling of JSON payloads for logs and log details, as well as better table printing.

bug fix release

17 Apr 19:42
Compare
Choose a tag to compare

Bug fix(es):

  • resolved float64/int64 conversion issue in snap active get {snapid}