From 9614487789943c5054f9a4eed1b7839d1dac220d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 27 Mar 2026 17:48:41 +0000 Subject: [PATCH 1/6] chore(ci): support opting out of skipping builds on metadata-only commits --- .github/workflows/ci.yml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index f5eea81..d9bf098 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -24,8 +24,7 @@ jobs: runs-on: ${{ github.repository == 'stainless-sdks/orb-go' && 'depot-ubuntu-24.04' || 'ubuntu-latest' }} if: |- github.repository == 'stainless-sdks/orb-go' && - (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && - (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') + (github.event_name == 'push' || github.event.pull_request.head.repo.fork) && (github.event_name != 'push' || github.event.head_commit.message != 'codegen metadata') steps: - uses: actions/checkout@v6 From f07c97e7799fa07429bc7c3f549a60f549f11aa5 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 13:29:43 +0000 Subject: [PATCH 2/6] chore(tests): bump steady to v0.20.1 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index 4931f30..8b82c3e 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.19.7 -- steady --version + npm exec --package=@stdy/cli@0.20.1 -- steady --version - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.19.7 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index 7f58b2e..b540e88 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.19.7 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" echo exit 1 From c431042b8e16043f2ba12518c4ba9b3f6b8e535d Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 18:14:39 +0000 Subject: [PATCH 3/6] codegen metadata --- .stats.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.stats.yml b/.stats.yml index c2abdb9..d7991c0 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 139 openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-17c43dab26af75e1b9f7e61ac8da1219cea65c7d0666d98686b71a60183e458d.yml -openapi_spec_hash: bbbd86881508bb69904eacdbce1e52b6 +openapi_spec_hash: 7d7f4d41ccb2023153327ca685dcf942 config_hash: c01c1191b1cd696c7ca855ff6d28a8df From 8363a10eaf419374f6a58e3dcae96d2b53cf769f Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Tue, 31 Mar 2026 19:18:42 +0000 Subject: [PATCH 4/6] chore(tests): bump steady to v0.20.2 --- scripts/mock | 6 +++--- scripts/test | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/scripts/mock b/scripts/mock index 8b82c3e..886f2ff 100755 --- a/scripts/mock +++ b/scripts/mock @@ -22,9 +22,9 @@ echo "==> Starting mock server with URL ${URL}" # Run steady mock on the given spec if [ "$1" == "--daemon" ]; then # Pre-install the package so the download doesn't eat into the startup timeout - npm exec --package=@stdy/cli@0.20.1 -- steady --version + npm exec --package=@stdy/cli@0.20.2 -- steady --version - npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & + npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" &> .stdy.log & # Wait for server to come online via health endpoint (max 30s) echo -n "Waiting for server" @@ -48,5 +48,5 @@ if [ "$1" == "--daemon" ]; then echo else - npm exec --package=@stdy/cli@0.20.1 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" + npm exec --package=@stdy/cli@0.20.2 -- steady --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets "$URL" fi diff --git a/scripts/test b/scripts/test index b540e88..dc62ebf 100755 --- a/scripts/test +++ b/scripts/test @@ -43,7 +43,7 @@ elif ! steady_is_running ; then echo -e "To run the server, pass in the path or url of your OpenAPI" echo -e "spec to the steady command:" echo - echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.1 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" + echo -e " \$ ${YELLOW}npm exec --package=@stdy/cli@0.20.2 -- steady path/to/your.openapi.yml --host 127.0.0.1 -p 4010 --validator-query-array-format=brackets --validator-form-array-format=brackets --validator-query-object-format=brackets --validator-form-object-format=brackets${NC}" echo exit 1 From db5a16b173854459dcb344ca79e7a97c479a8812 Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 20:14:38 +0000 Subject: [PATCH 5/6] feat(api): api update --- .stats.yml | 4 ++-- coupon.go | 6 ++---- eventbackfill.go | 10 ++++------ subscription.go | 8 ++++---- 4 files changed, 12 insertions(+), 16 deletions(-) diff --git a/.stats.yml b/.stats.yml index d7991c0..e1694ad 100644 --- a/.stats.yml +++ b/.stats.yml @@ -1,4 +1,4 @@ configured_endpoints: 139 -openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-17c43dab26af75e1b9f7e61ac8da1219cea65c7d0666d98686b71a60183e458d.yml -openapi_spec_hash: 7d7f4d41ccb2023153327ca685dcf942 +openapi_spec_url: https://storage.googleapis.com/stainless-sdk-openapi-specs/orb%2Forb-1ca41c4b1d872cf2a198c8cf5edeeeddac012259a7cf211b102bf137c05b8240.yml +openapi_spec_hash: 955066d4865fc42440cd81e40f5f79cd config_hash: c01c1191b1cd696c7ca855ff6d28a8df diff --git a/coupon.go b/coupon.go index 5b27787..4e62355 100644 --- a/coupon.go +++ b/coupon.go @@ -67,8 +67,7 @@ func (r *CouponService) New(ctx context.Context, body CouponNewParams, opts ...o // // The list of coupons is ordered starting from the most recently created coupon. // The response also includes `pagination_metadata`, which lets the caller retrieve -// the next page of results if they exist. More information about pagination can be -// found in the Pagination-metadata schema. +// the next page of results if they exist. func (r *CouponService) List(ctx context.Context, query CouponListParams, opts ...option.RequestOption) (res *pagination.Page[Coupon], err error) { var raw *http.Response opts = slices.Concat(r.Options, opts) @@ -90,8 +89,7 @@ func (r *CouponService) List(ctx context.Context, query CouponListParams, opts . // // The list of coupons is ordered starting from the most recently created coupon. // The response also includes `pagination_metadata`, which lets the caller retrieve -// the next page of results if they exist. More information about pagination can be -// found in the Pagination-metadata schema. +// the next page of results if they exist. func (r *CouponService) ListAutoPaging(ctx context.Context, query CouponListParams, opts ...option.RequestOption) *pagination.PageAutoPager[Coupon] { return pagination.NewPageAutoPager(r.List(ctx, query, opts...)) } diff --git a/eventbackfill.go b/eventbackfill.go index 3309ae4..a37171d 100644 --- a/eventbackfill.go +++ b/eventbackfill.go @@ -47,8 +47,8 @@ func NewEventBackfillService(opts ...option.RequestOption) (r *EventBackfillServ // 3 steps: // // 1. Create the backfill, specifying its parameters. -// 2. [Ingest](ingest) usage events, referencing the backfill (query parameter -// `backfill_id`). +// 2. [Ingest](/api-reference/event/ingest-events) usage events, referencing the +// backfill (query parameter `backfill_id`). // 3. [Close](close-backfill) the backfill, propagating the update in past usage // throughout Orb. // @@ -94,8 +94,7 @@ func (r *EventBackfillService) New(ctx context.Context, body EventBackfillNewPar // The list of backfills is ordered starting from the most recently created // backfill. The response also includes // [`pagination_metadata`](/api-reference/pagination), which lets the caller -// retrieve the next page of results if they exist. More information about -// pagination can be found in the [Pagination-metadata schema](pagination). +// retrieve the next page of results if they exist. func (r *EventBackfillService) List(ctx context.Context, query EventBackfillListParams, opts ...option.RequestOption) (res *pagination.Page[EventBackfillListResponse], err error) { var raw *http.Response opts = slices.Concat(r.Options, opts) @@ -118,8 +117,7 @@ func (r *EventBackfillService) List(ctx context.Context, query EventBackfillList // The list of backfills is ordered starting from the most recently created // backfill. The response also includes // [`pagination_metadata`](/api-reference/pagination), which lets the caller -// retrieve the next page of results if they exist. More information about -// pagination can be found in the [Pagination-metadata schema](pagination). +// retrieve the next page of results if they exist. func (r *EventBackfillService) ListAutoPaging(ctx context.Context, query EventBackfillListParams, opts ...option.RequestOption) *pagination.PageAutoPager[EventBackfillListResponse] { return pagination.NewPageAutoPager(r.List(ctx, query, opts...)) } diff --git a/subscription.go b/subscription.go index 444c128..611be28 100644 --- a/subscription.go +++ b/subscription.go @@ -466,10 +466,10 @@ func (r *SubscriptionService) Fetch(ctx context.Context, subscriptionID string, // metric, in usage units rather than a currency). // // The semantics of this endpoint exactly mirror those of -// [fetching a customer's costs](fetch-customer-costs). Use this endpoint to limit -// your analysis of costs to a specific subscription for the customer (e.g. to -// de-aggregate costs when a customer's subscription has started and stopped on the -// same day). +// [fetching a customer's costs](/api-reference/customer/fetch-customer-costs). Use +// this endpoint to limit your analysis of costs to a specific subscription for the +// customer (e.g. to de-aggregate costs when a customer's subscription has started +// and stopped on the same day). func (r *SubscriptionService) FetchCosts(ctx context.Context, subscriptionID string, query SubscriptionFetchCostsParams, opts ...option.RequestOption) (res *SubscriptionFetchCostsResponse, err error) { opts = slices.Concat(r.Options, opts) if subscriptionID == "" { From 4f75e7a7d02c4a605590eb2a05555952b8f9351b Mon Sep 17 00:00:00 2001 From: "stainless-app[bot]" <142633134+stainless-app[bot]@users.noreply.github.com> Date: Fri, 3 Apr 2026 20:15:26 +0000 Subject: [PATCH 6/6] release: 1.68.0 --- .release-please-manifest.json | 2 +- CHANGELOG.md | 15 +++++++++++++++ README.md | 2 +- internal/version.go | 2 +- 4 files changed, 18 insertions(+), 3 deletions(-) diff --git a/.release-please-manifest.json b/.release-please-manifest.json index 4556676..42bc7e2 100644 --- a/.release-please-manifest.json +++ b/.release-please-manifest.json @@ -1,3 +1,3 @@ { - ".": "1.67.0" + ".": "1.68.0" } \ No newline at end of file diff --git a/CHANGELOG.md b/CHANGELOG.md index c8a9d03..09530ef 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,20 @@ # Changelog +## 1.68.0 (2026-04-03) + +Full Changelog: [v1.67.0...v1.68.0](https://github.com/orbcorp/orb-go/compare/v1.67.0...v1.68.0) + +### Features + +* **api:** api update ([db5a16b](https://github.com/orbcorp/orb-go/commit/db5a16b173854459dcb344ca79e7a97c479a8812)) + + +### Chores + +* **ci:** support opting out of skipping builds on metadata-only commits ([9614487](https://github.com/orbcorp/orb-go/commit/9614487789943c5054f9a4eed1b7839d1dac220d)) +* **tests:** bump steady to v0.20.1 ([f07c97e](https://github.com/orbcorp/orb-go/commit/f07c97e7799fa07429bc7c3f549a60f549f11aa5)) +* **tests:** bump steady to v0.20.2 ([8363a10](https://github.com/orbcorp/orb-go/commit/8363a10eaf419374f6a58e3dcae96d2b53cf769f)) + ## 1.67.0 (2026-03-26) Full Changelog: [v1.66.1...v1.67.0](https://github.com/orbcorp/orb-go/compare/v1.66.1...v1.67.0) diff --git a/README.md b/README.md index 49b2656..29810ba 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.67.0' +go get -u 'github.com/orbcorp/orb-go@v1.68.0' ``` diff --git a/internal/version.go b/internal/version.go index 1d722d7..35c7f93 100644 --- a/internal/version.go +++ b/internal/version.go @@ -2,4 +2,4 @@ package internal -const PackageVersion = "1.67.0" // x-release-please-version +const PackageVersion = "1.68.0" // x-release-please-version