Skip to content

Releases: gruntwork-io/go-commons

v0.11.0

28 Feb 19:39
75d5cc4
Compare
Choose a tag to compare

Modules affected

  • entrypoint [BACKWARD INCOMPATIBLE]
  • errors

Description

  • Updated dependency urfave/cli to v2 branch. All usage of urfave/cli needs to update to v2. Refer to the urfave/cli v1 to v2 migration guide for information on how to update downstream projects to this version.

Related links

#33

v0.10.2

17 Feb 18:20
d82375b
Compare
Choose a tag to compare

Modules affected

  • awscommons

Description

  • Added new function for retrieving all enabled regions in an account.

Related links

#56

v0.10.1

16 Feb 15:17
a5e2a44
Compare
Choose a tag to compare

Modules affected

  • git [NEW]

Description

  • Added new functions for interacting with the git CLI.

Related links

#55

v0.10.0

16 Jul 17:59
d713ae7
Compare
Choose a tag to compare

Modules affected

  • shell [BACKWARD INCOMPATIBLE]
  • awscommons

Description

  • Add new function to upload string contents to S3 bucket.
  • Refactor shell functions to use a common underlying runtime interface.
  • New shell run command functions RunShellCommandAndGetOutputStruct and RunShellCommandAndGetOutputStructAndStreamOutput which will return a struct that captures stdout, stderr, and merged outputs so you can access all of those outputs.
  • Refactor implementation of streaming and capturing outputs. This implementation respects the ordering in stdout and stderr better. The previous implementation always preferred to read stdout over stderr, which resulted in delaying the streaming of stderr if both were simultaneously written to. The updated implementation will properly interleave the contents regardless of timing.

NOTE: This release introduces changes that modify the behavior of the captured and streamed outputs for the *StreamOutput shell functions. Specifically, the streamed logs are now more interleaved, and the output strings will include terminating newlines if the original stdout/stderr included a terminating newline before EOF.

Related links

#51
#52

v0.9.2

11 Jun 15:15
ca9f6c2
Compare
Choose a tag to compare

Modules affected

  • lock [NEW]

Description

  • Add new functionality to allow locking of resources when they're being used from multiple places simultaneously.
    We expect this to be useful especially when testing AWS resources/services which can only be enabled once for the whole AWS Account - such as SecurityHub, GuardDuty, or any others.

Related links

#46
#47

v0.9.1

28 Apr 21:24
058aa58
Compare
Choose a tag to compare

Modules affected

  • awscommons [NEW]

Description

  • Add new functions to interact with the AWS API using the AWS SDK for Go V2.

Related links

#43

v0.9.0

23 Apr 15:58
6867043
Compare
Choose a tag to compare

Modules affected

  • version [BACKWARD INCOMPATIBLE]

Description

This release renames the VERSION variable in the version package to Version to align with conventional Go style. The Version() func has also been renamed to GetVersion().

Related links

#45

v0.8.2

17 Mar 18:22
3315105
Compare
Choose a tag to compare

Modules affected

  • retry [NEW]

Description

  • Add new functions to allow for retrying a specific action.

Related links

#41

v0.8.1

12 Mar 13:40
177b60e
Compare
Choose a tag to compare

Modules affected

  • ssh [NEW]

Description

  • Add new functions to allow running a command over SSH.

Related links

#40

v0.8.0

11 Mar 16:13
96ff82e
Compare
Choose a tag to compare

This release is backwards incompatible.

Description

This repo has been renamed to to go-commons. You will need to update your references from gruntwork-cli to go-commons to use the updated version.