github.com/Microsoft/hcsshim breaking changes
Updated December 4, 2026
On this page
Latest version v0.15.0, released October 15, 2026.
Its v0.11.0 release requires Go 1.17 or later. Go end of life dates.
github.com/Microsoft/hcsshim v0.15.0 breaking changes
- Removed
The standard JSON enforcer and JSON policy parsing in the Rego enforcer were removed, so JSON-based policies no longer apply. github.com - Removed
github.com/Microsoft/hcsshim/pkg/octtrpc
The deprecated pkg/octtrpc package was removed, so code importing it must stop using it. pkg.go.dev - Removed
github.com/Microsoft/hcsshim/pkg/securitypolicy.NewOpenDoorPolicy
github.com/Microsoft/hcsshim/pkg/securitypolicy.NewOpenDoorPolicy was removed in github.com/Microsoft/hcsshim v0.15.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/pkg/securitypolicy.NewSecurityPolicy
github.com/Microsoft/hcsshim/pkg/securitypolicy.NewSecurityPolicy was removed in github.com/Microsoft/hcsshim v0.15.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/pkg/securitypolicy.NewStandardSecurityPolicyEnforcer
github.com/Microsoft/hcsshim/pkg/securitypolicy.NewStandardSecurityPolicyEnforcer was removed in github.com/Microsoft/hcsshim v0.15.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/pkg/securitypolicy.StandardSecurityPolicyEnforcer
github.com/Microsoft/hcsshim/pkg/securitypolicy.StandardSecurityPolicyEnforcer was removed in github.com/Microsoft/hcsshim v0.15.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/pkg/securitypolicy.WithPrivilegedMounts
github.com/Microsoft/hcsshim/pkg/securitypolicy.WithPrivilegedMounts was removed in github.com/Microsoft/hcsshim v0.15.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/tools
github.com/Microsoft/hcsshim/tools was removed in github.com/Microsoft/hcsshim v0.15.0 pkg.go.dev - Default changed
Log scrubbing is now on by default, so logs will be scrubbed unless users turn it off. github.com - Signature changed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.ScrubLogs
Was ScrubLogs bool; now ScrubLogs *bool. pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/amdsevsnp.IsSNP
Was func IsSNP() bool; now func IsSNP() (bool, error). pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/securitypolicy.ClosedDoorSecurityPolicyEnforcer.GetUserInfo
Was func GetUserInfo(string, *oci.Process) (IDName, []IDName, string, error); now func GetUserInfo(*oci.Process, string) (IDName, []IDName, string, error). pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/securitypolicy.ClosedDoorSecurityPolicyEnforcer.LoadFragment
Was func LoadFragment(context.Context, string, string, string) error; now func LoadFragment(context.Context, LoadFragmentOptions) error. pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/securitypolicy.MarshalPolicy
Was func MarshalPolicy(string, bool, []*Container, []ExternalProcessConfig, []FragmentConfig, bool, bool, bool, bool, bool, bool) (string, error); now func MarshalPolicy(string, bool, []*Container, []ExternalProcessConfig... pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/securitypolicy.OpenDoorSecurityPolicyEnforcer.GetUserInfo
Was func GetUserInfo(string, *oci.Process) (IDName, []IDName, string, error); now func GetUserInfo(*oci.Process, string) (IDName, []IDName, string, error). pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/securitypolicy.OpenDoorSecurityPolicyEnforcer.LoadFragment
Was func LoadFragment(context.Context, string, string, string) error; now func LoadFragment(context.Context, LoadFragmentOptions) error. pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/securitypolicy.SecurityPolicyEnforcer.GetUserInfo
Was func GetUserInfo(string, *oci.Process) (IDName, []IDName, string, error); now func GetUserInfo(*oci.Process, string) (IDName, []IDName, string, error). pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/securitypolicy.SecurityPolicyEnforcer.LoadFragment
Was func LoadFragment(context.Context, string, string, string) error; now func LoadFragment(context.Context, LoadFragmentOptions) error. pkg.go.dev - Signature changed
LinuxPids.Limit
LinuxPids.Limit is now a pointer field, so code that sets or reads it as a plain value must be updated. github.com
github.com/Microsoft/hcsshim v0.14.0 breaking changes
- Configuration changed
Annotation handling was reorganized and annotation expansions changed. Code that relies on the previous annotation expansion behavior may need to be updated. github.com
github.com/Microsoft/hcsshim v0.13.0 breaking changes
- Removed
github.com/Microsoft/hcsshim/pkg/annotations.DmVerityHashVhd
github.com/Microsoft/hcsshim/pkg/annotations.DmVerityHashVhd was removed in github.com/Microsoft/hcsshim v0.13.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/pkg/ociwclayer/cim.DestroyCimLayer
github.com/Microsoft/hcsshim/pkg/ociwclayer/cim.DestroyCimLayer was removed in github.com/Microsoft/hcsshim v0.13.0 pkg.go.dev - Signature changed
github.com/Microsoft/hcsshim/pkg/ociwclayer/cim.ImportCimLayerFromTar
Was func ImportCimLayerFromTar(context.Context, io.Reader, string, []string) (int64, error); now func ImportCimLayerFromTar(context.Context, io.Reader, string, string, []string, []string) (int64, error). pkg.go.dev
github.com/Microsoft/hcsshim v0.13.0-rc.3 breaking changes
- Removed
The dmverity-vhd tooling and its release pipeline were removed. Users who relied on that tooling must find another way to create dm-verity VHDs. github.com
github.com/Microsoft/hcsshim v0.12.0 breaking changes
- Removed
github.com/Microsoft/hcsshim.HNSEndpoint.State
github.com/Microsoft/hcsshim.HNSEndpoint.State was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim.OutboundNatPolicy.MaxPortPoolUsage
github.com/Microsoft/hcsshim.OutboundNatPolicy.MaxPortPoolUsage was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_DebugType_name
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_DebugType_name was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_DebugType_value
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_DebugType_value was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_SandboxIsolation_name
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_SandboxIsolation_name was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_SandboxIsolation_value
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_SandboxIsolation_value was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.Marshal
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.Marshal was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.MarshalTo
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.MarshalTo was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.MarshalToSizedBuffer
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.MarshalToSizedBuffer was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.Size
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.Size was removed in github.com/Microsoft/hcsshim v0.12.0 pkg.go.dev
And 1,295 more in this version. Sign up to see every change
github.com/Microsoft/hcsshim v0.12.0-rc.1 breaking changes
- Behavior changed
The dm-verity hashing reader now defaults to unbuffered. Code that relied on the previous default reader behavior may need to set the buffered option explicitly. github.com
Older versions
4 older versions, each with its first changes. Sign up to see every change
Show 4 older versions
github.com/Microsoft/hcsshim v0.11.0 breaking changes
- Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.File_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.File_github_com_Microsoft_hcsshim_cmd_containerd_shim_runhcs_v1_options_runhcs_proto was removed in github.com/Microsoft/hcsshim... pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_DebugType.Descriptor
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_DebugType.Descriptor was removed in github.com/Microsoft/hcsshim v0.11.0 pkg.go.dev
And 271 more in this version.
github.com/Microsoft/hcsshim v0.10.0 breaking changes
- Removed
github.com/Microsoft/hcsshim.OutboundNatPolicy.MaxPortPoolUsage
github.com/Microsoft/hcsshim.OutboundNatPolicy.MaxPortPoolUsage was removed in github.com/Microsoft/hcsshim v0.10.0 pkg.go.dev - Removed
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_DebugType_name
github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options_DebugType_name was removed in github.com/Microsoft/hcsshim v0.10.0 pkg.go.dev
And 202 more in this version.
github.com/Microsoft/hcsshim v0.10.0-rc.8 breaking changes
- Removed
The UVM and container cloning functionality has been removed from the package. Code that relied on cloning must be changed. github.com
github.com/Microsoft/hcsshim v0.10.0-rc.4 breaking changes
- Behavior changed
When no policy is provided, the policy is no longer set to open door. Code that depended on the old open default must now supply a policy. github.com
Related packages
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.