8000 Releases · maxar-infrastructure/go-commons · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

Releases: maxar-infrastructure/go-commons

v0.10.0

26 Oct 13:43
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

gruntwork-io/go-commons#51
gruntwork-io/go-commons#52

v0.9.2

26 Oct 13:43
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

gruntwork-io/go-commons#46
gruntwork-io/go-commons#47

v0.9.1

26 Oct 13:43
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

gruntwork-io/go-commons#43

v0.9.0

26 Oct 13:43
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

gruntwork-io/go-commons#45

v0.8.2

26 Oct 13:43
3315105
Compare
Choose a tag to compare

Modules affected

  • retry [NEW]

Description

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

Related links

gruntwork-io/go-commons#41

v0.8.1

26 Oct 13:43
177b60e
Compare
Choose a tag to compare

Modules affected

  • ssh [NEW]

Description

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

Related links

gruntwork-io/go-commons#40

v0.8.0

26 Oct 13:43
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.

v0.7.2

26 Oct 13:43
571dadf
Compare
Choose a tag to compare

Modules affected

  • shell

Description

  • Add new functions to allow getting the stdout from a running command.

Related links

gruntwork-io/go-commons#38

v0.7.1

26 Oct 13:43 AFFF
6fc74d4
Compare
Choose a tag to compare

Modules affected

  • version [NEW MODULE]
  • entrypoint

Description

  • Added a new version package that can be used to set the VERSION variable from the CLI, and return the version via version.Version(). This reduces the boilerplate needed for managing version numbers in CLI apps. See the version package and updated README for more details.
  • Fixed some minor string formatting in entrypoint.

Related links

gruntwork-io/go-commons#37

v0.7.0

26 Oct 13:43
2045b19
Compare
Choose a tag to compare

Modules affected

  • logging [BACKWARDS INCOMPATIBLE]

Description

logging.GetLogger now returns a new logger using a custom formatter that prefixes the given name to the log entries.

Related links

gruntwork-io/go-commons#32

0