diff --git a/.github/workflows/bump-version.yaml b/.github/workflows/bump-version.yaml index 914da53..af1487c 100644 --- a/.github/workflows/bump-version.yaml +++ b/.github/workflows/bump-version.yaml @@ -36,7 +36,7 @@ jobs: repo: speakeasy cli_name: speakeasy package_type: zip - version: 1.459.2 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy + version: 1.464.0 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy - name: Checkout uses: actions/checkout@v4 diff --git a/.github/workflows/generate_on_pr.yaml b/.github/workflows/generate_on_pr.yaml index af0156e..1f5f027 100644 --- a/.github/workflows/generate_on_pr.yaml +++ b/.github/workflows/generate_on_pr.yaml @@ -47,7 +47,7 @@ jobs: repo: speakeasy cli_name: speakeasy package_type: zip - version: 1.459.2 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy + version: 1.464.0 # renovate: datasource=github-releases depName=speakeasy-api/speakeasy - name: Checkout current repo uses: actions/checkout@v4 diff --git a/.gitignore b/.gitignore index 3330282..3489be2 100644 --- a/.gitignore +++ b/.gitignore @@ -1,2 +1,3 @@ +.speakeasy/reports # .gitignore bin/ diff --git a/.speakeasy/gen.lock b/.speakeasy/gen.lock index 0799ca1..9fd2494 100755 --- a/.speakeasy/gen.lock +++ b/.speakeasy/gen.lock @@ -3,10 +3,10 @@ id: b81e5def-5b1e-4753-ae7c-0efccc2e6f61 management: docChecksum: d1b1d533361b8d1a156a10a560fa0e38 docVersion: 0.0.1 - speakeasyVersion: 1.459.2 - generationVersion: 2.483.1 - releaseVersion: 0.1.16 - configChecksum: 037cc60c9527eefe39f1d52dbf84328b + speakeasyVersion: 1.464.0 + generationVersion: 2.486.6 + releaseVersion: 0.1.17 + configChecksum: bc18fd951cb6a116b76a2a87900403a6 features: go: additionalDependencies: 0.1.0 @@ -25,7 +25,7 @@ features: nameOverrides: 2.81.2 nullables: 0.1.0 responseFormat: 0.1.2 - retries: 2.83.1 + retries: 2.83.2 sdkHooks: 0.1.0 unions: 2.85.10 generatedFiles: diff --git a/.speakeasy/gen.yaml b/.speakeasy/gen.yaml index 4717ae1..2119972 100755 --- a/.speakeasy/gen.yaml +++ b/.speakeasy/gen.yaml @@ -13,7 +13,7 @@ generation: oAuth2ClientCredentialsEnabled: false oAuth2PasswordEnabled: false go: - version: 0.1.16 + version: 0.1.17 additionalDependencies: {} allowUnknownFieldsInWeakUnions: false clientServerStatusCodesAsErrors: true diff --git a/retry/config.go b/retry/config.go index aa4b334..aa809fc 100644 --- a/retry/config.go +++ b/retry/config.go @@ -20,6 +20,9 @@ type BackoffStrategy struct { // Config configures a retry policy. type Config struct { + // Strategy sets the algorithm to use for a retry loop. It can be one of: + // - "backoff": retry with exponential backoff and random jitter. + // - "none" or "": disables retries. Strategy string Backoff *BackoffStrategy RetryConnectionErrors bool diff --git a/sdk.go b/sdk.go index d63e4b2..a00cc81 100644 --- a/sdk.go +++ b/sdk.go @@ -264,9 +264,9 @@ func New(opts ...SDKOption) *SDK { sdkConfiguration: sdkConfiguration{ Language: "go", OpenAPIDocVersion: "0.0.1", - SDKVersion: "0.1.16", - GenVersion: "2.483.1", - UserAgent: "speakeasy-sdk/go 0.1.16 2.483.1 0.0.1 github.com/Kong/sdk-konnect-go", + SDKVersion: "0.1.17", + GenVersion: "2.486.6", + UserAgent: "speakeasy-sdk/go 0.1.17 2.486.6 0.0.1 github.com/Kong/sdk-konnect-go", Hooks: hooks.New(), }, }