Skip to content

Releases: Piszmog/cloudconfigclient

v2.2.0

18 Feb 21:25
Compare
Choose a tag to compare

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 for io

Full Changelog: v2.1.0...v2.2.0

v2.1.0

24 Jan 19:03
372828f
Compare
Choose a tag to compare

What's Changed

  • Bump action versions
  • Issue #67 by @TristanHorlamus in #68
    • Added the ability to retrieve configurations from a branch/label

New Contributors

Full Changelog: v2.0.4...v2.1.0

v2.0.4

01 Sep 19:32
b82dd86
Compare
Choose a tag to compare

Changes

  • Upgrade dependencies
  • Upgrade GitHub Actions
  • Test against Go 1.21

v2.0.3

16 Jun 01:36
Compare
Choose a tag to compare
  • Fix broken links
  • Add contributing guidelines
  • Fix verbage in docs
  • Upgrade dependencies

v2.0.2

27 Feb 22:14
b1a4d0f
Compare
Choose a tag to compare

What's Changed

Full Changelog: v2.0.1...v2.0.2

2.0.1

09 Jun 22:01
Compare
Choose a tag to compare
  • Fix exported error naming conventions
    • PropertySourceDoesNotExistErr to ErrPropertySourceDoesNotExist
    • ResourceNotFoundError to ErrResourceNotFound
  • Update docs

2.0.0-alpha.2

09 Jun 20:48
Compare
Choose a tag to compare
  • 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

09 Jun 21:43
14954ee
Compare
Choose a tag to compare
  • ConfigClient is now Client
  • Functions NewLocalClientFromEnv, NewLocalClient, NewCloudClient, and NewOAuth2Client are removed
    • Use the universal New function and instead pass options (e.g. LocalEnv, Local, DefaultCFService, and OAuth2)
  • GetConfiguration no longer takes a slice of strings for the profiles, but is a variadic argument
  • GetLocalCredentials removed
  • NewOAuth2HTTPClient removed
  • NewOAuth2Config removed
  • GetCloudCredentials removed
  • NotFoundError has been renamed to ResourceNotFoundError
  • 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

08 Jun 23:58
Compare
Choose a tag to compare

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

1.7.3

30 Mar 21:17
Compare
Choose a tag to compare

Update dependencies and tidy module file