Releases: gruntwork-io/go-commons
Releases · gruntwork-io/go-commons
v0.13.3
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
Description
- Fixed bug in
github
package where json unmarshalling was improperly implemented.
Related links
v0.13.1
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
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
Modules affected
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
Modules affected
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
Modules affected
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
Modules affected
Description
- Added
ScanLocks
function to support functionality reporting on all currently held locks.
v0.12.1
Modules affected
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
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