Skip to content

Releases: Piszmog/cloudconfigclient

v2.2.1

30 Nov 16:50
Compare
Choose a tag to compare

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

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