Releases: gruntwork-io/go-commons
Releases · gruntwork-io/go-commons
v0.11.0
Modules affected
entrypoint
[BACKWARD INCOMPATIBLE]errors
Description
- Updated dependency
urfave/cli
to v2 branch. All usage ofurfave/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
v0.10.2
v0.10.1
v0.10.0
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
andRunShellCommandAndGetOutputStructAndStreamOutput
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
v0.9.2
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
v0.9.1
v0.9.0
v0.8.2
v0.8.1
v0.8.0
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.