Skip to content

feat(rest-client): allow customizing retry config via constructor option [backport stable/8.8]#811

Merged
jwulf merged 1 commit into
stable/8.8from
backport-808-to-stable/8.8
Jul 2, 2026
Merged

feat(rest-client): allow customizing retry config via constructor option [backport stable/8.8]#811
jwulf merged 1 commit into
stable/8.8from
backport-808-to-stable/8.8

Conversation

@jwulf

@jwulf jwulf commented Jul 2, 2026

Copy link
Copy Markdown
Member

Backport of commit cea5ab8 to stable/8.8.

Closes #808

Changes

Adds an optional retry parameter to the CamundaRestClient constructor options, allowing users to customize the HTTP retry configuration. Falls back to GotRetryConfig defaults when not provided.

const client = new CamundaRestClient({
  config: { ... },
  retry: {
    limit: 5,
    statusCodes: [429, 503],
    methods: ['GET', 'POST'],
  }
})

Closes #808

Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>
@jwulf jwulf self-assigned this Jul 2, 2026
@jwulf jwulf merged commit 805f0c0 into stable/8.8 Jul 2, 2026
13 checks passed
@github-actions

github-actions Bot commented Jul 2, 2026

Copy link
Copy Markdown

Released in v8.8.12 (npm: @camunda8/sdk@8.8.12).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant