Skip to content

Latest commit

 

History

History
886 lines (407 loc) · 37.4 KB

CHANGELOG.md

File metadata and controls

886 lines (407 loc) · 37.4 KB

5.18.3 (2024-12-13)

Bug Fixes

  • bump golang.org/x/crypto to avoid CVE-2024-45337 (#234) (4b6901f)

5.18.2 (2024-12-12)

Bug Fixes

  • wrap full validation errors instead of just their message (#232) (1bfb146)

5.18.1 (2024-10-21)

Bug Fixes

  • fix minor problem with debug message (#231) (cf84c9d)

5.18.0 (2024-10-15)

Features

  • IamAssumeAuthenticator: introduce new authenticator type (#229) (df85f15)

5.17.5 (2024-09-03)

Bug Fixes

  • logging: improve go core's debug logging (#227) (f0f3237)

5.17.4 (2024-06-25)

Bug Fixes

  • tidy Go modules (#221) (5da6409)
  • This also includes the change to bump go-retryablehttp from v0.7.5 to v0.7.7 to avoid a vulnerability.

5.17.3 (2024-05-16)

Bug Fixes

  • request_builder: encode unresolved path string prior to path parameter insertion (#219) (5f567da)

5.17.2 (2024-05-08)

Bug Fixes

  • errors: flatten sdk problem chains to reduce hash complexity (#218) (9fc1ebc)

5.17.1 (2024-05-06)

Bug Fixes

  • use correct error variable in external auth case (#217) (0b70d7d)

5.17.0 (2024-04-17)

Features

  • send user-agent header with auth token requests (#216) (90f0ba5)

5.16.5 (2024-04-10)

Bug Fixes

  • bump golang.org/x/net to avoid CVE-2023-45288 (#215) (b9287d2)

5.16.4 (2024-04-08)

Bug Fixes

  • errors: wrap errors from external authenticators to use new system (#214) (c74778e)

5.16.3 (2024-03-21)

Bug Fixes

  • errors: restore matching against all original errors (#213) (005fdb8)

5.16.2 (2024-03-20)

Bug Fixes

  • errors: support error checking methods for new problem structures (#212) (65eb01d)

5.16.1 (2024-03-14)

Bug Fixes

  • deps: upgrade yaml package to avoid vulnerability (#211) (0ee3e33)

5.16.0 (2024-03-13)

Features

  • errors: augment errors with new "Problem" types (#199) (6ec86dd)

5.15.3 (2024-02-27)

Bug Fixes

5.15.2 (2024-02-23)

Bug Fixes

5.15.1 (2024-01-29)

Bug Fixes

  • deps: bump dependencies to the latest versions (#205) (9f23f44)

5.15.0 (2023-11-15)

Features

  • MCSPAuthenticator: add new authenticator for Multi-Cloud Saas Platform (#198) (8987085)

5.14.1 (2023-08-22)

Bug Fixes

  • RedactSecrets: add additional keywords to be redacted (#191) (d176568), closes #190

5.14.0 (2023-08-18)

Features

5.13.4 (2023-05-22)

Bug Fixes

  • ContainerAuthenticator: add sa-token as default CR token filename (#183) (25472f3)

5.13.3 (2023-05-18)

Bug Fixes

5.13.2 (2023-05-05)

Bug Fixes

  • deps: bump dependencies to recent versions (#184) (a33f767)

5.13.1 (2023-02-28)

Bug Fixes

  • utils: recognize content types with whitespace (#181) (09fe5cf)

5.13.0 (2023-02-24)

Bug Fixes

Features

5.12.2 (2023-02-23)

Bug Fixes

  • BaseService.Request invoked without result does not close http.Response (#176) (a8c0324)

5.12.1 (2023-02-08)

Bug Fixes

  • avoid warnings with new gosec (a2b536c)

5.12.0 (2023-01-10)

Features

  • utils: add helper for creating a byte array pointer (#173) (df9dcc6)

5.11.0 (2023-01-09)

Features

  • create multi-part form as a streamed request body (#169) (7df8c71)

5.10.3 (2023-01-09)

Bug Fixes

  • pin build to semantic-release v19 (11c0810)
  • use node v18 with semantic-release (07a57ef)
  • VpcInstanceAuthenticator: use correct version string (b4c7377)

5.10.2 (2022-08-01)

Bug Fixes

  • bump deps to avoid yaml.v3 vulnerability (#164) (2885864)

5.10.1 (2022-05-27)

Bug Fixes

  • deps: refresh some build dependencies (#163) (b66932a)

5.10.0 (2022-05-09)

Features

5.9.5 (2022-03-23)

Bug Fixes

  • IamAuthenticator: tweak Validate() method to be more lenient (#158) (8f002d6)

5.9.4 (2022-03-22)

Bug Fixes

  • retain http.Client config when retries are enabled (#157) (fe093da)

5.9.3 (2022-03-16)

Bug Fixes

  • set the minimum TLS version in the client to v1.2 (#156) (0188990)

5.9.2 (2022-02-02)

Bug Fixes

  • allow retries and disable ssl to co-exist (#154) (b16fe8d)

5.9.1 (2021-12-10)

Bug Fixes

5.9.0 (2021-11-29)

Features

  • IamAuthenticator: support refresh token flow in IamAuthenticator (#146) (97f89dd)

5.8.2 (2021-11-25)

Bug Fixes

  • bump go-openapi/strfmt to avoid vulnerability alert (#147) (7d61715)

5.8.1 (2021-11-19)

Bug Fixes

5.8.0 (2021-11-08)

Features

  • VpcInstanceAuthenticator: add support for new VPC authentication flow (#139) (9906ab3)

5.7.2 (2021-10-26)

Bug Fixes

  • use consistent retry behavior for 5xx status codes (ee5f62d)

5.7.1 (2021-10-25)

Bug Fixes

  • redact secrets when logging requests/responses (8693f6a)

5.7.0 (2021-10-07)

Features

5.6.5 (2021-09-15)

Bug Fixes

  • recognize vendor-specific JSON mimetypes (#138) (fb2c14a)

5.6.4 (2021-08-31)

Bug Fixes

  • handle the error during gzip compression instead of panic (#137) (15bc45b)

5.6.3 (2021-08-13)

Bug Fixes

  • support 'AUTHTYPE' as alias for 'AUTH_TYPE' config property (#133) (6795484)

5.6.2 (2021-08-04)

Bug Fixes

  • refactor container authenticator with recent design changes (#129) (58d4475)

5.6.1 (2021-07-27)

Bug Fixes

  • error message used by CR Authenticator (#126) (3632ce6)

5.6.0 (2021-07-26)

Features

  • add support for new ComputeResourceAuthenticator (#123) (c7631e3)

5.5.1 (2021-06-22)

Bug Fixes

5.5.0 (2021-06-02)

Features

5.4.5 (2021-05-28)

Bug Fixes

  • allow user to set "Host" request header (#118) (efd7fe3)

5.4.4 (2021-05-21)

Bug Fixes

  • add check for empty string in ParseDate with tests (#116) (35cd647)

5.4.3 (2021-05-14)

Bug Fixes

  • build: prevent semantic-release from committing package-lock.json (#115) (7fa259f)

5.4.2 (2021-04-29)

Bug Fixes

  • switch to a fork of the original JWT package (#114) (18d04ad)

5.4.1 (2021-04-27)

Bug Fixes

  • support expected (but empty) response body (#111) (2f857c2)

5.4.0 (2021-04-23)

Bug Fixes

  • eliminate goroutine leak in the authenticators (#109) (e5d921a)

Features

  • add FileWithMetadata type to the core (#110) (c1a4884)

5.3.0 (2021-03-30)

Features

  • add support for unmarshalling two-dimensional slices of model instances (#103) (1438a2c)

5.2.1 (2021-03-30)

Bug Fixes

5.2.0 (2021-03-11)

Features

  • add GetQueryParam method to support pagination (e6528df)

5.1.0 (2021-03-04)

Features

  • add UUID, date, and datetime helpers for terraform usage (#96) (e651369)

5.0.3 (2021-02-25)

Bug Fixes

  • IAM Authenticator: canonicalize iam url & improve iam error reporting (835ba17)

5.0.2 (2021-02-18)

Bug Fixes

  • ensure result value is set if err is nil (c80dc2f)

5.0.1 (2021-02-10)

Bug Fixes

5.0.0 (2021-01-20)

Features

  • add debug logging of requests/responses (37e6597)

BREAKING CHANGES

  • several methods added to Logger interface

Several methods were added to the Go core's Logger interface: SetLogLevel(), GetLogLevel(), and IsLogLevelEnabled(). These additional methods will need to be added to any user implementations of the Logger interface.

  • additional parameter added to NewLogger() signature

The NewLogger() function has a new parameter "errorLogger". Any calls to NewLogger() will need to be modified to include the new parameter.

  • deprecated unmarshal-related methods have been removed

Several deprecated unmarshal-related methods were removed from the Go core:

  • UnmarshalString, UnmarshalStringSlice, UnmarshalStringMap, UnmarshalStringMapSlice
  • UnmarshalByteArray, UnmarshalByteArraySlice, UnmarshalByteArrayMap, UnmarshalByteArrayMapSlice
  • UnmarshalBool, UnmarshalBoolSlice, UnmarshalBoolMap, UnmarshalBoolMapSlice
  • UnmarshalInt64, UnmarshalInt64Slice, UnmarshalInt64Map, UnmarshalInt64MapSlice
  • UnmarshalFloat32, UnmarshalFloat32Slice, UnmarshalFloat32Map, UnmarshalFloat32MapSlice
  • UnmarshalFloat64, UnmarshalFloat64Slice, UnmarshalFloat64Map, UnmarshalFloat64MapSlice
  • UnmarshalUUID, UnmarshalUUIDSlice, UnmarshalUUIDMap, UnmarshalUUIDMapSlice
  • UnmarshalDate, UnmarshalDateSlice, UnmarshalDateMap, UnmarshalDateMapSlice
  • UnmarshalDateTime, UnmarshalDateTimeSlice, UnmarshalDateTimeMap, UnmarshalDateTimeMapSlice
  • UnmarshalObject, UnmarshalObjectSlice
  • UnmarshalAny, UnmarshalAnySlice, UnmarshalAnyMap, UnmarshalAnyMapSlice These methods are no longer used by code emitted by the Go generator. If you have old generated Go code that still uses these methods, then you should continue using version 4 of the Go core, or regenerate your SDK code using a new version of the SDK generator.

4.10.0 (2021-01-15)

Features

4.9.0 (2020-12-03)

Features

  • BaseService: add Clone() method to clone a BaseService instance (45b40ee)

4.8.2 (2020-11-17)

Bug Fixes

4.8.1 (2020-10-30)

Bug Fixes

  • support enable-retries via external configuration (2f88b9f)

4.8.0 (2020-10-27)

Features

4.7.1 (2020-10-26)

Bug Fixes

4.7.0 (2020-10-15)

Features

4.6.1 (2020-10-12)

Bug Fixes

  • expose IamAuthenticator.requestToken as a public method (c7f4cfd)

4.6.0 (2020-10-05)

Features

4.5.1 (2020-09-25)

Bug Fixes

  • dont panic in SetBodyContent when nonJSONContent is nil (#75) (23dfbd4)

4.5.0 (2020-09-17)

Features

  • IAM Authenticator: add support for optional 'scope' property (3aa18d5)

4.4.1 (2020-09-14)

Bug Fixes

4.4.0 (2020-09-09)

Features

4.3.1 (2020-09-08)

Bug Fixes

  • expose AuthenticationError.Err field and add ctor (3005687)

4.3.0 (2020-08-19)

Features

  • add utility function to convert primitive type slices to string slices (#68) (136d316)

4.2.0 (2020-08-14)

Features

  • add detailed error response to iam/cp4d authenticators (#66) (3485263)

4.1.0 (2020-08-07)

Features

  • rename isNil to be IsNil (public) (1698f78)

4.0.8 (2020-07-29)

Bug Fixes

  • improve error paths in BaseService.Request() (c5dd77f)

4.0.7 (2020-07-28)

Bug Fixes

  • use isNil() for interface{} values (e1c27a0)

4.0.6 (2020-07-14)

Bug Fixes

  • avoid linter error in DetailedResponse.String() (ad41174)

4.0.5 (2020-07-13)

Bug Fixes

  • correctly handle nil pointer interfaces (2734d50)

4.0.4 (2020-06-02)

Bug Fixes

  • correctly unmarshal JSON 'null' value for maps and slices (0117461)

4.0.3 (2020-05-29)

Bug Fixes

  • support applications that use 'dep' (70e852a)

4.0.2 (2020-05-09)

Bug Fixes

  • expose GetServiceProperties function (b908d82)

4.0.1 (2020-05-08)

Bug Fixes

  • allow = in config property values (13beaae)

4.0.0 (2020-05-04)

Features

  • BaseService: return non-JSON responses via 'result' and DetailedResponse.Result (6fd7194)
  • BaseService: return non-JSON responses via 'result' and DetailedResponse.Result (e46d8c2)
  • unmarshal: introduce new unmarshal functions for primitives and models (1a033d6)

BREAKING CHANGES

  • BaseService: This change to the BaseService.Request method introduces an incompatibility with respect to the 'result' parameter. Projects generated with the SDK generator v3.5.0 and below should continue using version 3.x of the Go core. Any code generated with the SDK generator version 3.6.0 or above, should use this new version 4.0.0 of the Go core.

Note: this commit contains only a trivial change and the

  • BaseService: message actually applies to the previous commit with the same commit message.

3.3.1 (2020-04-30)

Bug Fixes

  • Pace requests to token server for new auth tokens (#55) (578399b)

3.3.0 (2020-03-29)

Features

  • add unmarshal methods for maps of primitive types (0afd3f7)

3.2.4 (2020-02-24)

Bug Fixes

  • tolerate explicit JSON null values in UnmarshalXXX() methods (3967601)

3.2.3 (2020-02-19)

Bug Fixes

3.2.2 (2020-02-13)

Bug Fixes

3.2.1 (2020-02-13)

Bug Fixes

  • tolerate non-compliant error response bodies (f0e3a13)

3.2.0 (2020-02-07)

Features

  • add unmarshal functions for 'any' (55c1eee)

3.1.1 (2020-01-09)

Bug Fixes

  • ensure version # is updated in go.mod (8fdc596)
  • fixup version #'s to 3.1.0 (ecdafe1)

3.1.0 (2020-01-06)

Features

  • add unmarshal utility functions for primitive types (3f7299b)

3.0.0 (2019-12-09)

Features

  • created new major version 3.0.0 in v3 directory (1595df4)

BREAKING CHANGES

  • created new major version 3.0.0 in v3 directory

2.1.0 (2019-12-04)

Features

  • allow JSON response body to be streamed (d1345d7)

2.0.1 (2019-11-21)

Bug Fixes

2.0.0 (2019-11-06)

Features

  • loadFromVCAPServices: Service configuration factory. (87ac493)

BREAKING CHANGES

  • loadFromVCAPServices: NewBaseService constructor changes. displayname, and serviceName removed from construction function signature, since they are no longer used.

1.1.0 (2019-11-06)

Features

  • BaseService: add new method ConfigureService() to BaseService struct (27192a7)

1.0.1 (2019-10-18)

Bug Fixes

  • fixed ConstructHTTPURL to avoid '//' when path segment is empty string (e618205)
  • use go module instead of dep for dependency management; use golangci-lint for linting (58a9cf6)

1.0.0 (2019-10-04)

Bug Fixes

  • use correct error message for SSL verification errors (a7fe39e)

Documentation

  • Updated README with information about the authentticators (7ef7f24)

Features

  • creds: Search creds in working dir before home (bf4a377)
  • creds: Search creds in working dir before home (fbb900b)
  • disable ssl: Add description on disabling ssl verification (298ec08)

BREAKING CHANGES

  • this release introduces a new authentication scheme

0.9.0 (2019-09-24)

Features

  • creds: Search creds in working dir before home (bf4a377)
  • creds: Search creds in working dir before home (fbb900b)
  • disable ssl: Add description on disabling ssl verification (298ec08)

0.8.0 (2019-09-23)

Features