Releases: Piszmog/cloudconfigclient
Releases · Piszmog/cloudconfigclient
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