Skip to content

Releases: gruntwork-io/go-commons

v0.13.3

27 Jul 15:24
2689f46
Compare
Choose a tag to compare

Description

  • Added a new function collections.KeyValueStringSliceAsMap which can be used to work with a slice of key=value pairs.

Related links

v0.13.2

14 Jul 18:06
3f0ebb8
Compare
Choose a tag to compare

Description

  • Fixed bug in github package where json unmarshalling was improperly implemented.

Related links

v0.13.1

14 Jul 13:55
9ca6d95
Compare
Choose a tag to compare

Description

  • Introduced a new package github that will contain helper routines for interacting with GitHub. For the first release, this package exposes a new high level function for getting an installation token for a GitHub App so you can use it to auth to the API.

Related links

v0.13.0

13 Jul 21:39
0cdfa1a
Compare
Choose a tag to compare

Description

  • Updated underlying dependency versions to latest. As a part of this, the minimum supported version of go has been updated to 1.17.

Migration guide

go-commons no longer supports any go version under 1.17. If you need to use go-commons going forward, you will need to update to at least go version 1.17 in your project.

Related links

v0.12.5

10 Jun 03:51
0256169
Compare
Choose a tag to compare

Modules affected

  • collections

Description

  • Added KeyValueStringSlice and KeyValueStringSliceWithFormat functions to convert a map into a string slice using the default or specified format.

Related links

#65

v0.12.4

04 May 22:08
f016e49
Compare
Choose a tag to compare

Modules affected

  • url

Description

  • Added OpenURL function to provide a cross-platform means of opening an arbitrary URL in the user's browser from within a Golang program.

Related links

#64

v0.12.3

29 Apr 21:00
b2d2507
Compare
Choose a tag to compare

Modules affected

  • git

Description

  • Added ConfigureCacheCredentialsHelper and StoreCacheCredentials functions to give CLI tools more control over the credential caching behavior of git, allowing you to have mixed credentials for accessing different repos.

Related links

#61

v0.12.2

29 Apr 13:50
e03df33
Compare
Choose a tag to compare

Modules affected

  • lock

Description

  • Added ScanLocks function to support functionality reporting on all currently held locks.

v0.12.1

27 Apr 21:55
2eb7181
Compare
Choose a tag to compare

Modules affected

  • lock

Description

  • Added the ability to provide an AWS Session directly to the lock functions to customize auth behavior of the SDK.

Related links

#58

v0.12.0

21 Apr 14:34
3901944
Compare
Choose a tag to compare

Modules affected

  • git [BACKWARD INCOMPATIBLE]

Description

  • Updated all git functions to accept a logrus.Logger object. This allows you to customize the logging options of the function (including suppressing the log entries with io.Discard).

Migration guide

The functions in the git module has been updated to require a logrus.Logger object to be passed in to use as the logger for the git commands. You can pass in nil for the new arg to retain the old behavior.

Related links

#57