diff --git a/.release-please-manifest.json b/.release-please-manifest.json index c7159c1..28e831b 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "0.0.2" + ".": "0.0.3" } \ No newline at end of file diff --git a/.stats.yml b/.stats.yml index fd1bbc1..89ecdb6 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 18 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/kernel%2Fhypeman-7c27e323412e72166bce2de104f1bf82b57197e05b686e94cd81d07e288bd558.yml openapi_spec_hash: 4656d2b318d04a9fec0210897d76b505 -config_hash: 0810d8be60d21d67ef4460157d1d238e +config_hash: 35db4c99791f175865381f13a8ad6075 diff --git a/CHANGELOG.md b/CHANGELOG.md index 5f7bfc4..48afd3e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,13 @@ # Changelog +## 0.0.3 (2025-11-19) + +Full Changelog: [v0.0.2...v0.0.3](https://github.com/onkernel/hypeman-go/compare/v0.0.2...v0.0.3) + +### Bug Fixes + +* **client:** correctly specify Accept header with */* instead of empty ([ac1a646](https://github.com/onkernel/hypeman-go/commit/ac1a64697c333aecdc6a463fe760b99635ba8b72)) + ## 0.0.2 (2025-11-11) Full Changelog: [v0.0.1...v0.0.2](https://github.com/onkernel/hypeman-go/compare/v0.0.1...v0.0.2) diff --git a/README.md b/README.md index 9402391..65dd46e 100644 --- a/README.md +++ b/README.md @@ -28,7 +28,7 @@ Or to pin the version: ```sh -go get -u 'github.com/onkernel/hypeman-go@v0.0.2' +go get -u 'github.com/onkernel/hypeman-go@v0.0.3' ``` diff --git a/image.go b/image.go index a7f1f46..3026a2c 100644 --- a/image.go +++ b/image.go @@ -67,7 +67,7 @@ func (r *ImageService) List(ctx context.Context, opts ...option.RequestOption) ( // Delete image func (r *ImageService) Delete(ctx context.Context, name 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 name == "" { err = errors.New("missing required name parameter") return diff --git a/instance.go b/instance.go index dbd1c46..af316af 100644 --- a/instance.go +++ b/instance.go @@ -73,7 +73,7 @@ func (r *InstanceService) List(ctx context.Context, opts ...option.RequestOption // Stop and delete instance func (r *InstanceService) Delete(ctx context.Context, id 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 id == "" { err = errors.New("missing required id parameter") return diff --git a/internal/version.go b/internal/version.go index 9b92696..b5b3e63 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "0.0.2" // x-release-please-version +const PackageVersion = "0.0.3" // x-release-please-version diff --git a/volume.go b/volume.go index 10c3669..e99cbb5 100644 --- a/volume.go +++ b/volume.go @@ -67,7 +67,7 @@ func (r *VolumeService) List(ctx context.Context, opts ...option.RequestOption) // Delete volume func (r *VolumeService) Delete(ctx context.Context, id 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 id == "" { err = errors.New("missing required id parameter") return