---
title: "github.com/cyberark/conjur-api-go v0.21.0 Breaking Changes"
description: "What each github.com/cyberark/conjur-api-go release removed, renamed or changed: 21 breaking changes in 3 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/cyberark/conjur-api-go
last_updated: 2026-12-04
---

# github.com/cyberark/conjur-api-go breaking changes

github.com/cyberark/conjur-api-go v0.21.0 (December 2, 2026) is its newest release with breaking changes, 11 of them. The first: Removed github.com/cyberark/conjur-api-go/conjurapi.Workload.AuthenticationSource. Every breaking API change we have recorded in github.com/cyberark/conjur-api-go on Go modules: 21 breaking changes in 3 versions. Below, its 3 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.22.0`, released December 4, 2026. 

Packages on Go modules run on Go. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v0.18.0](#v-v0-18-0) to [v0.21.0](#v-v0-21-0): 19 breaking changes in 2 versions.

## github.com/cyberark/conjur-api-go v0.21.0 breaking changes

github.com/cyberark/conjur-api-go v0.21.0, released December 2, 2026: 11 breaking changes.

- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.Workload.AuthenticationSource`  

Workload drops the AuthenticationSource field. Stop reading or setting it. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.21.0)
- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.Workload.AuthnDescriptors`  

Workload drops the AuthnDescriptors field. Add descriptors with AddAuthnDescriptor and read them with ListAuthnDescriptors. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.21.0)
- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.Workload.Owner`  

Workload drops the Owner field, which SaaS refuses on create. Stop setting it. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.21.0)
- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.Workload.RestrictedTo`  

Workload drops the RestrictedTo field. Stop reading or setting it. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.21.0)
- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.WorkloadFields.AuthenticationSource`  

WorkloadFields drops the AuthenticationSource field. Stop setting it. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.21.0)
- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.WorkloadFields.AuthnDescriptors`  

WorkloadFields drops the AuthnDescriptors field. Add descriptors with AddAuthnDescriptor instead. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.21.0)
- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.WorkloadFields.RestrictedTo`  

WorkloadFields drops the RestrictedTo field. Stop setting it. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.21.0)
- **Behavior changed**  

V2 calls now send application/x.secretsmgr.v2+json instead of the beta Accept header. GetManagedSecretValue and GetDynamicSecretValue keep the beta one. [github.com](https://github.com/cyberark/conjur-api-go/releases/tag/v0.21.0)
- **Behavior changed** `CertificateIssue`  

CertificateIssue now escapes the issuer name as one path segment and refuses empty, '.' and '..' names. Pass a valid issuer name. [github.com](https://github.com/cyberark/conjur-api-go/releases/tag/v0.21.0)
- **Behavior changed** `CertificateSign`  

CertificateSign now escapes the issuer name as one path segment and refuses empty, '.' and '..' names. Pass a valid issuer name. [github.com](https://github.com/cyberark/conjur-api-go/releases/tag/v0.21.0)
- **Behavior changed** `GroupMember.Validate`  

Validate no longer rejects member kinds; the server now decides, and workload members are accepted. [github.com](https://github.com/cyberark/conjur-api-go/releases/tag/v0.21.0)

## github.com/cyberark/conjur-api-go v0.20.0 breaking changes

github.com/cyberark/conjur-api-go v0.20.0, released November 25, 2026: 8 breaking changes.

- **Behavior changed**  

Unreleased V2 APIs (authenticators, workloads, safes, groups and more) return contract.FeatureNotSupportedError before any request. Set CONJUR_ENABLE_UNRELEASED_V2=true to use them anyway. [github.com](https://github.com/cyberark/conjur-api-go/releases/tag/v0.20.0)
- **Behavior changed** `ClientV2.UpdateAuthenticator`  

On Self-Hosted, UpdateAuthenticator now returns an error before sending a patch that sets annotations or data, or does not set enabled. [github.com](https://github.com/cyberark/conjur-api-go/releases/tag/v0.20.0)
- **Behavior changed** `Workload.AuthnDescriptors`  

On SaaS, GetWorkload and ListWorkloads leave Workload.AuthnDescriptors empty. Use ListAuthnDescriptors to fetch them. [github.com](https://github.com/cyberark/conjur-api-go/releases/tag/v0.20.0)
- **Configuration changed**  

A saved server_version is not re-checked with the server. After upgrading, remove server_version from .conjurrc if a call is still refused. [github.com](https://github.com/cyberark/conjur-api-go/releases/tag/v0.20.0)
- **Signature changed** `github.com/cyberark/conjur-api-go/conjurapi.ClientV2.ListAuthenticators`  

ListAuthenticators takes a \*AuthenticatorFilter. Pass nil to get the server's default page. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.20.0)
- **Signature changed** `github.com/cyberark/conjur-api-go/conjurapi.ClientV2.ListAuthenticatorsRequest`  

Was func ListAuthenticatorsRequest() (\*http.Request, error); now func ListAuthenticatorsRequest(\*AuthenticatorFilter) (\*http.Request, error). [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.20.0)
- **Signature changed** `github.com/cyberark/conjur-api-go/conjurapi.ClientV2.UpdateAuthenticator`  

UpdateAuthenticator takes a \*AuthenticatorPatch instead of enabled bool. Callers must pass a patch, or use SetAuthenticatorEnabledV2, which keeps the old behaviour. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.20.0)
- **Signature changed** `github.com/cyberark/conjur-api-go/conjurapi.ClientV2.UpdateAuthenticatorRequest`  

Was func UpdateAuthenticatorRequest(string, string, bool) (\*http.Request, error); now func UpdateAuthenticatorRequest(string, string, \*AuthenticatorPatch) (\*http.Request, error). [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.20.0)

## github.com/cyberark/conjur-api-go v0.18.0 breaking changes

github.com/cyberark/conjur-api-go v0.18.0, released November 25, 2026: 2 breaking changes.

- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.GroupMembersResponse.HasMore`  

Code that reads GroupMembersResponse.HasMore must instead page through ListGroupMembers by advancing the filter's Offset by each page length until it reaches Count. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.18.0)
- **Removed** `github.com/cyberark/conjur-api-go/conjurapi.GroupsResponse.HasMore`  

Code that reads GroupsResponse.HasMore must instead page through ClientV2.ReadGroups by advancing the filter's Offset by each page length until it reaches Count. [pkg.go.dev](https://pkg.go.dev/github.com/cyberark/conjur-api-go@v0.18.0)

## Check your code

These are the changes. To see which of them reach your code, [scan a public repository](https://since.dev/scan.md), or have your coding agent call `check_code` with your manifest or lockfile over [MCP](https://since.dev/docs.md#mcp). [The API](https://since.dev/docs.md#api) reads every change in every version. A fix pull request opens for the changes that reach a connected repository. Nothing merges or deploys.

## Put your code on continuous maintenance.

Scan a public repository now, or give your agent one line.

[Scan a repository](https://since.dev/scan.md). Any public GitHub repository. No sign-in.

### Tell your agent what changed since it was trained.

`claude mcp add --transport http since https://api.since.dev/mcp`

[Get an API key](https://app.since.dev/login?mode=signup)

Codex, Cursor and any MCP client use https://api.since.dev/mcp.

---

Every page on this site as Markdown: https://since.dev/sitemap.md. For agents: https://since.dev/llms.txt.
