github.com/hashicorp/vault/sdk breaking changes
Updated December 4, 2026
On this page
Latest version v0.26.0, released September 24, 2026.
Packages on Go modules run on Go. Go end of life dates.
github.com/hashicorp/vault/sdk v0.26.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/helper/consts.GetEnterpriseTokenPrefix
github.com/hashicorp/vault/sdk/helper/consts.GetEnterpriseTokenPrefix was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.PluginSession.AssertRaftHealthy
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.PluginSession.AssertRaftHealthy was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.PluginSession.GetClusterNodeCount
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.PluginSession.GetClusterNodeCount was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.PluginSession.WaitForNewLeader
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.PluginSession.WaitForNewLeader was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.Session.AssertRaftHealthy
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.Session.AssertRaftHealthy was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.Session.GetClusterNodeCount
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.Session.GetClusterNodeCount was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.Session.WaitForNewLeader
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.Session.WaitForNewLeader was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.Request.EnterpriseTokenAudience
github.com/hashicorp/vault/sdk/logical.Request.EnterpriseTokenAudience was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.Request.EnterpriseTokenAuthorizationDetails
github.com/hashicorp/vault/sdk/logical.Request.EnterpriseTokenAuthorizationDetails was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.Request.EnterpriseTokenIssuer
github.com/hashicorp/vault/sdk/logical.Request.EnterpriseTokenIssuer was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.Request.EnterpriseTokenMetadata
github.com/hashicorp/vault/sdk/logical.Request.EnterpriseTokenMetadata was removed in github.com/hashicorp/vault/sdk v0.26.0 pkg.go.dev - Renamed
github.com/hashicorp/vault/sdk/helper/keysutil.Policy.ValidateLeafCertKeyMatch
Use github.com/hashicorp/vault/sdk/helper/keysutil.Policy.ValidateLeafCertKeyMatchWithNativeKeyVersion instead. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/keysutil.Policy.CreateCsr
Was func CreateCsr(int, *x509.CertificateRequest) ([]byte, error); now func CreateCsr(int, *x509.CertificateRequest, CsrCreator) ([]byte, error). pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/keysutil.Policy.ValidateAndPersistCertificateChain
Was func ValidateAndPersistCertificateChain(context.Context, int, []*x509.Certificate, logical.Storage) error; now func ValidateAndPersistCertificateChain(context.Context, int, []*x509.Certificate, LeafCertKeyMatchValidator... pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/license.Features
Was type Features uint; now type Features uint64. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/locksutil.CreateLocks
Was func CreateLocks() []*LockEntry; now func CreateLocks() StandardLockArray. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/locksutil.CreateLocksWithDeadlockDetection
Was func CreateLocksWithDeadlockDetection() []*DeadlockRWMutex; now func CreateLocksWithDeadlockDetection() DeadlockDetectingLockArray. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.PluginSession.AssertServerVersion
Was func AssertServerVersion(string); now func AssertServerVersion(string, string). pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/testcluster/blackbox.Session.AssertServerVersion
Was func AssertServerVersion(string); now func AssertServerVersion(string, string). pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/testcluster/docker.DockerClusterNode.UpdateConfig
Was func UpdateConfig(context.Context, *testcluster.VaultNodeConfig) error; now func UpdateConfig(context.Context, *DockerClusterOptions) error. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/logical.NewStatusHeaderResponseWriter
Was func NewStatusHeaderResponseWriter(http.ResponseWriter, map[string][]*CustomHeader) *StatusHeaderResponseWriter; now func NewStatusHeaderResponseWriter(http.ResponseWriter, map[string][]*CustomHeader, string)... pkg.go.dev
github.com/hashicorp/vault/sdk v0.24.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/logical.CertificateCounter.AddIssuedCertificate
github.com/hashicorp/vault/sdk/logical.CertificateCounter.AddIssuedCertificate was removed in github.com/hashicorp/vault/sdk v0.24.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.CertificateCounter.IncrementCount
github.com/hashicorp/vault/sdk/logical.CertificateCounter.IncrementCount was removed in github.com/hashicorp/vault/sdk v0.24.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.NewNullPkiCertificateCounter
github.com/hashicorp/vault/sdk/logical.NewNullPkiCertificateCounter was removed in github.com/hashicorp/vault/sdk v0.24.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.PkiCertificateCountSystemView
github.com/hashicorp/vault/sdk/logical.PkiCertificateCountSystemView was removed in github.com/hashicorp/vault/sdk v0.24.0 pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/keysutil.LockManager.RestorePolicy
Was func RestorePolicy(context.Context, logical.Storage, string, string, bool) error; now func RestorePolicy(context.Context, logical.Storage, string, string, bool) (string, error). pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/ldaputil.ConfigEntry.Validate
Was func Validate() error; now func Validate(...string) error. pkg.go.dev
github.com/hashicorp/vault/sdk v0.22.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/logical.PkiCertificateCounter
github.com/hashicorp/vault/sdk/logical.PkiCertificateCounter was removed in github.com/hashicorp/vault/sdk v0.22.0 pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/testcluster.EnableDRSecondaryNoWait
Was func EnableDRSecondaryNoWait(context.Context, VaultCluster, string) error; now func EnableDRSecondaryNoWait(context.Context, VaultCluster, VaultCluster, string) error. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/logical.NewNullPkiCertificateCounter
Was func NewNullPkiCertificateCounter() PkiCertificateCounter; now func NewNullPkiCertificateCounter() CertificateCounter. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/logical.PkiCertificateCountSystemView.GetPkiCertificateCounter
Was func GetPkiCertificateCounter() PkiCertificateCounter; now func GetPkiCertificateCounter() CertificateCounter. pkg.go.dev
github.com/hashicorp/vault/sdk v0.21.0 breaking changes
- Signature changed
github.com/hashicorp/vault/sdk/framework.Backend.ActivationFunc
Was ActivationFunc func(context.Context, *logical.Request) error; now ActivationFunc func(context.Context, *logical.Request, string) error. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/certutil.DefaultOrValueHashBits
Was func DefaultOrValueHashBits(string, int, int) (int, error); now func DefaultOrValueHashBits(string, int) (int, error). pkg.go.dev
github.com/hashicorp/vault/sdk v0.20.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/queue.PriorityQueue.PeekByKey
github.com/hashicorp/vault/sdk/queue.PriorityQueue.PeekByKey was removed in github.com/hashicorp/vault/sdk v0.20.0 pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/jsonutil.VerifyMaxDepthStreaming
Was func VerifyMaxDepthStreaming(io.Reader, JSONLimits) (int, error); now func VerifyMaxDepthStreaming(io.Reader, JSONLimits, *int64) (int, error). pkg.go.dev
github.com/hashicorp/vault/sdk v0.19.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/helper/keysutil.KeyType.IsPQC
github.com/hashicorp/vault/sdk/helper/keysutil.KeyType.IsPQC was removed in github.com/hashicorp/vault/sdk v0.19.0 pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/database/helper/connutil.GetCloudSQLAuthOptions
Was func GetCloudSQLAuthOptions(string, bool) ([]cloudsqlconn.Option, error); now func GetCloudSQLAuthOptions(string, bool, bool) ([]cloudsqlconn.Option, error). pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/testhelpers/snapshots.SnapshotTestCase.DoRecover
Was func DoRecover(testing.TB, string) (*logical.Response, error); now func DoRecover(testing.TB, string, ...Option) (*logical.Response, error). pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/testhelpers/snapshots.SnapshotTestCase.RunList
Was func RunList(testing.TB, string); now func RunList(testing.TB, string, ...Option). pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/testhelpers/snapshots.SnapshotTestCase.RunRead
Was func RunRead(testing.TB, string); now func RunRead(testing.TB, string, ...Option). pkg.go.dev
Older versions
14 older versions, each with its first changes. Sign up to see every change
Show 14 older versions
github.com/hashicorp/vault/sdk v0.18.0 breaking changes
- Signature changed
github.com/hashicorp/vault/sdk/helper/docker.RunCmdOpt.Apply
Was func Apply(*types.ExecConfig) error; now func Apply(*container.ExecOptions) error. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/docker.RunCmdUser.Apply
Was func Apply(*types.ExecConfig) error; now func Apply(*container.ExecOptions) error. pkg.go.dev
And 1 more in this version.
github.com/hashicorp/vault/sdk v0.17.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/helper/pluginutil.EntPluginClientConfig
github.com/hashicorp/vault/sdk/helper/pluginutil.EntPluginClientConfig was removed in github.com/hashicorp/vault/sdk v0.17.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/helper/pluginutil.EntPluginRunner
github.com/hashicorp/vault/sdk/helper/pluginutil.EntPluginRunner was removed in github.com/hashicorp/vault/sdk v0.17.0 pkg.go.dev
And 6 more in this version.
github.com/hashicorp/vault/sdk v0.16.0 breaking changes
- Signature changed
github.com/hashicorp/vault/sdk/helper/docker.RunCmdOpt.Apply
Was func Apply(*types.ExecConfig) error; now func Apply(*container.ExecOptions) error. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/docker.RunCmdUser.Apply
Was func Apply(*types.ExecConfig) error; now func Apply(*container.ExecOptions) error. pkg.go.dev
And 1 more in this version.
github.com/hashicorp/vault/sdk v0.15.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/helper/automatedrotationutil.AutomatedRotationParams.RotationID
github.com/hashicorp/vault/sdk/helper/automatedrotationutil.AutomatedRotationParams.RotationID was removed in github.com/hashicorp/vault/sdk v0.15.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.Request.RotationEntryName
github.com/hashicorp/vault/sdk/logical.Request.RotationEntryName was removed in github.com/hashicorp/vault/sdk v0.15.0 pkg.go.dev
And 12 more in this version.
github.com/hashicorp/vault/sdk v0.14.0 breaking changes
- Renamed
github.com/hashicorp/vault/sdk/helper/testcluster.NewTestExecDevCluster
Use github.com/hashicorp/vault/sdk/helper/testcluster.NewTestExecDevServer instead. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/database/helper/connutil.GetCloudSQLAuthOptions
Was func GetCloudSQLAuthOptions(string) ([]cloudsqlconn.Option, error); now func GetCloudSQLAuthOptions(string, bool) ([]cloudsqlconn.Option, error). pkg.go.dev
And 3 more in this version.
github.com/hashicorp/vault/sdk v0.13.0 breaking changes
- Signature changed
github.com/hashicorp/vault/sdk/helper/clientcountutil.ActivityLogDataGenerator.ToJSON
Was func ToJSON() ([]byte, error); now func ToJSON(...generation.WriteOptions) ([]byte, error). pkg.go.dev
github.com/hashicorp/vault/sdk v0.12.0 breaking changes
- Signature changed
github.com/hashicorp/vault/sdk/helper/ldaputil.Connection.Close
Was func Close(); now func Close() error. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/ldaputil.PagingConnection.Close
Was func Close(); now func Close() error. pkg.go.dev
github.com/hashicorp/vault/sdk v0.10.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/helper/certutil.CIEPSVaultParams.IsDRSecondary
github.com/hashicorp/vault/sdk/helper/certutil.CIEPSVaultParams.IsDRSecondary was removed in github.com/hashicorp/vault/sdk v0.10.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/helper/certutil.ICACIEPSMOde
github.com/hashicorp/vault/sdk/helper/certutil.ICACIEPSMOde was removed in github.com/hashicorp/vault/sdk v0.10.0 pkg.go.dev
And 4 more in this version.
github.com/hashicorp/vault/sdk v0.9.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/logical.EventData.ID
github.com/hashicorp/vault/sdk/logical.EventData.ID was removed in github.com/hashicorp/vault/sdk v0.9.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.EventReceived.GetTimestamp
github.com/hashicorp/vault/sdk/logical.EventReceived.GetTimestamp was removed in github.com/hashicorp/vault/sdk v0.9.0 pkg.go.dev
And 8 more in this version.
github.com/hashicorp/vault/sdk v0.8.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/helper/keysutil.Policy.ManagedKeyName
github.com/hashicorp/vault/sdk/helper/keysutil.Policy.ManagedKeyName was removed in github.com/hashicorp/vault/sdk v0.8.0 pkg.go.dev - Removed
github.com/hashicorp/vault/sdk/logical.ManagedEncryptingKey.GetAEAD
github.com/hashicorp/vault/sdk/logical.ManagedEncryptingKey.GetAEAD was removed in github.com/hashicorp/vault/sdk v0.8.0 pkg.go.dev
And 5 more in this version.
github.com/hashicorp/vault/sdk v0.7.0 breaking changes
- Behavior changed
Any GET or LIST request is canonicalized to a trailing slash, so policies granting list capability must be checked to include the trailing slash. github.com - Default changed
Certificates issued by the PKI backend get no leases by default; enable the generate_lease toggle in PKI roles to keep lease-based revocation. github.com
github.com/hashicorp/vault/sdk v0.6.0 breaking changes
- Removed
auth.token.revoke-prefix
The auth/token/revoke-prefix endpoint has been removed; sys/revoke-prefix now revokes both leases and tokens. github.com - Removed
github.com/hashicorp/vault/sdk/plugin.BackendPluginClient.Mutex
github.com/hashicorp/vault/sdk/plugin.BackendPluginClient.Mutex was removed in github.com/hashicorp/vault/sdk v0.6.0 pkg.go.dev
And 4 more in this version.
github.com/hashicorp/vault/sdk v0.5.0 breaking changes
- Signature changed
github.com/hashicorp/vault/sdk/helper/useragent.PluginString
Was func PluginString(*logical.PluginEnvironment, string) string; now func PluginString(*logical.PluginEnvironment, string, ...string) string. pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/helper/useragent.String
Was func String() string; now func String(...string) string. pkg.go.dev
github.com/hashicorp/vault/sdk v0.4.0 breaking changes
- Removed
github.com/hashicorp/vault/sdk/database/dbplugin/v5.DatabasePluginClient.Mutex
github.com/hashicorp/vault/sdk/database/dbplugin/v5.DatabasePluginClient.Mutex was removed in github.com/hashicorp/vault/sdk v0.4.0 pkg.go.dev - Signature changed
github.com/hashicorp/vault/sdk/database/dbplugin/v5.NewPluginClient
Was func NewPluginClient(context.Context, pluginutil.RunnerUtil, *pluginutil.PluginRunner, log.Logger, bool) (Database, error); now func NewPluginClient(context.Context, pluginutil.RunnerUtil, pluginutil.PluginClientConfig) (Database... pkg.go.dev
And 1 more in this version.
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.