diff --git a/.release-please-manifest.json b/.release-please-manifest.json index ba2c585..1ee5dee 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.44.0" + ".": "1.44.1" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index 2e4c239..16366af 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 1.44.1 (2025-11-21) + +Full Changelog: [v1.44.0...v1.44.1](https://github.com/orbcorp/orb-go/compare/v1.44.0...v1.44.1) + +### Bug Fixes + +* **client:** correctly specify Accept header with */* instead of empty ([a625cf3](https://github.com/orbcorp/orb-go/commit/a625cf3832841242591aade2a613c22bb4e6fd1d)) + ## 1.44.0 (2025-11-18) Full Changelog: [v1.43.0...v1.44.0](https://github.com/orbcorp/orb-go/compare/v1.43.0...v1.44.0) diff --git a/README.md b/README.md index 1c07463..97ac493 100644 --- a/README.md +++ b/README.md @@ -22,7 +22,7 @@ Or to pin the version: ```sh -go get -u 'github.com/orbcorp/orb-go@v1.44.0' +go get -u 'github.com/orbcorp/orb-go@v1.44.1' ``` diff --git a/customer.go b/customer.go index d69b845..2fc586a 100644 --- a/customer.go +++ b/customer.go @@ -127,7 +127,7 @@ func (r *CustomerService) ListAutoPaging(ctx context.Context, query CustomerList // its deletion. func (r *CustomerService) Delete(ctx context.Context, customerID string, opts ...option.RequestOption) (err error) { opts = slices.Concat(r.Options, opts) - opts = append([]option.RequestOption{option.WithHeader("Accept", "")}, opts...) + opts = append([]option.RequestOption{option.WithHeader("Accept", "*/*")}, opts...) if customerID == "" { err = errors.New("missing required customer_id parameter") return @@ -178,7 +178,7 @@ func (r *CustomerService) FetchByExternalID(ctx context.Context, externalCustome // **Note**: This functionality is currently only available for Stripe. func (r *CustomerService) SyncPaymentMethodsFromGateway(ctx context.Context, customerID string, opts ...option.RequestOption) (err error) { opts = slices.Concat(r.Options, opts) - opts = append([]option.RequestOption{option.WithHeader("Accept", "")}, opts...) + opts = append([]option.RequestOption{option.WithHeader("Accept", "*/*")}, opts...) if customerID == "" { err = errors.New("missing required customer_id parameter") return @@ -196,7 +196,7 @@ func (r *CustomerService) SyncPaymentMethodsFromGateway(ctx context.Context, cus // **Note**: This functionality is currently only available for Stripe. func (r *CustomerService) SyncPaymentMethodsFromGatewayByExternalCustomerID(ctx context.Context, externalCustomerID string, opts ...option.RequestOption) (err error) { opts = slices.Concat(r.Options, opts) - opts = append([]option.RequestOption{option.WithHeader("Accept", "")}, opts...) + opts = append([]option.RequestOption{option.WithHeader("Accept", "*/*")}, opts...) if externalCustomerID == "" { err = errors.New("missing required external_customer_id parameter") return diff --git a/customercredittopup.go b/customercredittopup.go index 47e421a..530e2a5 100644 --- a/customercredittopup.go +++ b/customercredittopup.go @@ -87,7 +87,7 @@ func (r *CustomerCreditTopUpService) ListAutoPaging(ctx context.Context, custome // credit blocks purchased through the top-up. func (r *CustomerCreditTopUpService) Delete(ctx context.Context, customerID string, topUpID string, opts ...option.RequestOption) (err error) { opts = slices.Concat(r.Options, opts) - opts = append([]option.RequestOption{option.WithHeader("Accept", "")}, opts...) + opts = append([]option.RequestOption{option.WithHeader("Accept", "*/*")}, opts...) if customerID == "" { err = errors.New("missing required customer_id parameter") return @@ -123,7 +123,7 @@ func (r *CustomerCreditTopUpService) NewByExternalID(ctx context.Context, extern // credit blocks purchased through the top-up. func (r *CustomerCreditTopUpService) DeleteByExternalID(ctx context.Context, externalCustomerID string, topUpID string, opts ...option.RequestOption) (err error) { opts = slices.Concat(r.Options, opts) - opts = append([]option.RequestOption{option.WithHeader("Accept", "")}, opts...) + opts = append([]option.RequestOption{option.WithHeader("Accept", "*/*")}, opts...) if externalCustomerID == "" { err = errors.New("missing required external_customer_id parameter") return diff --git a/internal/version.go b/internal/version.go index 0dcd507..e51f27d 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "1.44.0" // x-release-please-version +const PackageVersion = "1.44.1" // x-release-please-version