Releases: Piszmog/cloudconfigclient
Releases · Piszmog/cloudconfigclient
v2.2.1
What's Changed
- Fix linting warnings
- Added a lint step to workflow
- Bump github.com/stretchr/testify from 1.8.4 to 1.9.0 by @dependabot in #72
- Bump golang.org/x/oauth2 from 0.17.0 to 0.18.0 by @dependabot in #73
- Bump google.golang.org/protobuf from 1.31.0 to 1.33.0 by @dependabot in #74
- Bump golang.org/x/oauth2 from 0.18.0 to 0.19.0 by @dependabot in #75
- Bump golang.org/x/oauth2 from 0.19.0 to 0.20.0 by @dependabot in #76
- Bump coverallsapp/github-action from 2.2.3 to 2.3.0 by @dependabot in #77
- Bump golang.org/x/oauth2 from 0.20.0 to 0.21.0 by @dependabot in #78
- Bump golang.org/x/oauth2 from 0.21.0 to 0.23.0 by @dependabot in #80
- Bump jandelgado/gcov2lcov-action from 1.0.9 to 1.1.1 by @dependabot in #84
- Bump coverallsapp/github-action from 2.3.0 to 2.3.2 by @dependabot in #83
- Bump coverallsapp/github-action from 2.3.2 to 2.3.3 by @dependabot in #85
- Bump coverallsapp/github-action from 2.3.3 to 2.3.4 by @dependabot in #86
- Bump github.com/stretchr/testify from 1.9.0 to 1.10.0 by @dependabot in #88
- Bump golang.org/x/oauth2 from 0.23.0 to 0.24.0 by @dependabot in #87
Full Changelog: v2.2.0...v2.2.1
v2.2.0
What's Changed
- Added a new option
Basic
to authenticate with the config server with basic credentials (username+password)Basic(client *http.Client, username, password string, urls ...string)
- Removed usage of
ioutil
forio
Full Changelog: v2.1.0...v2.2.0
v2.1.0
What's Changed
- Bump action versions
- Issue #67 by @TristanHorlamus in #68
- Added the ability to retrieve configurations from a branch/label
New Contributors
- @TristanHorlamus made their first contribution in #68
Full Changelog: v2.0.4...v2.1.0
v2.0.4
v2.0.3
v2.0.2
What's Changed
- Bump coverallsapp/github-action from 1.1.2 to 1.1.3 by @dependabot in #23
- Bump actions/checkout from 2.3.4 to 2.3.5 by @dependabot in #24
- Bump actions/checkout from 2.3.5 to 2.4.0 by @dependabot in #25
- Unmarshal Source Data to Struct by @Piszmog in #27
Full Changelog: v2.0.1...v2.0.2
2.0.1
2.0.0-alpha.2
- Increase code coverage to 100%
- Add additional checks to ensure no out of bounds errors
- fix error check when resource is not found
- Read the environment variable
VCAP_SERVICES
once when checking for new and old service existence
2.0.0
ConfigClient
is nowClient
- Functions
NewLocalClientFromEnv
,NewLocalClient
,NewCloudClient
, andNewOAuth2Client
are removed- Use the universal
New
function and instead pass options (e.g.LocalEnv
,Local
,DefaultCFService
, andOAuth2
)
- Use the universal
GetConfiguration
no longer takes a slice of strings for the profiles, but is a variadic argumentGetLocalCredentials
removedNewOAuth2HTTPClient
removedNewOAuth2Config
removedGetCloudCredentials
removedNotFoundError
has been renamed toResourceNotFoundError
- update tests to use more test tables
- add more resource functions
- cleanup hacks when building url
- Increase code coverage to 100%
- Add additional checks to ensure no out of bounds errors
- fix error check when resource is not found
- Read the environment variable
VCAP_SERVICES
once when checking for new and old service existence
2.0.0-alpha.1
First pass at V2 for the library.
- Change how the Client is created
- update tests to use more test tables
- add more resource functions
- cleanup hacks when building url