---
title: "github.com/Microsoft/hcsshim v0.15.0 Breaking Changes"
description: "What each github.com/Microsoft/hcsshim release removed, renamed or changed: 1,809 breaking changes in 10 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/Microsoft/hcsshim
last_updated: 2026-12-04
---

# github.com/Microsoft/hcsshim breaking changes

github.com/Microsoft/hcsshim v0.15.0 (October 15, 2026) is its newest release with breaking changes, 19 of them. The first: Removes the standard JSON enforcer and Rego JSON policy parsing in github.com/Microsoft/hcsshim v0.15.0. Every breaking API change we have recorded in github.com/Microsoft/hcsshim on Go modules: 1,809 breaking changes in 10 versions. Below, its 10 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

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](https://since.dev/calendar/go.md).

- From [v0.10.0](#v-v0-10-0) to [v0.15.0](#v-v0-15-0): 1,603 breaking changes in 7 versions.

## github.com/Microsoft/hcsshim v0.15.0 breaking changes

github.com/Microsoft/hcsshim v0.15.0, released October 15, 2026: 19 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](https://github.com/microsoft/hcsshim/releases/tag/v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **Removed** `github.com/Microsoft/hcsshim/tools`  

github.com/Microsoft/hcsshim/tools was removed in github.com/Microsoft/hcsshim v0.15.0 [pkg.go.dev](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **Default changed**  

Log scrubbing is now on by default, so logs will be scrubbed unless users turn it off. [github.com](https://github.com/microsoft/hcsshim/releases/tag/v0.15.0)
- **Signature changed** `github.com/Microsoft/hcsshim/cmd/containerd-shim-runhcs-v1/options.Options.ScrubLogs`  

Was ScrubLogs bool; now ScrubLogs \*bool. [pkg.go.dev](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **Signature changed** `github.com/Microsoft/hcsshim/pkg/amdsevsnp.IsSNP`  

Was func IsSNP() bool; now func IsSNP() (bool, error). [pkg.go.dev](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.15.0)
- **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](https://github.com/microsoft/hcsshim/releases/tag/v0.15.0)

## github.com/Microsoft/hcsshim v0.14.0 breaking changes

github.com/Microsoft/hcsshim v0.14.0, released March 31, 2026: 1 breaking change.

- **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](https://github.com/microsoft/hcsshim/releases/tag/v0.14.0)

## github.com/Microsoft/hcsshim v0.13.0 breaking changes

github.com/Microsoft/hcsshim v0.13.0, released May 7, 2025: 3 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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.13.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.13.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.13.0)

## github.com/Microsoft/hcsshim v0.13.0-rc.3 breaking changes

github.com/Microsoft/hcsshim v0.13.0-rc.3, released May 7, 2025: 1 breaking change.

- **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](https://github.com/microsoft/hcsshim/releases/tag/v0.13.0-rc.3)

## github.com/Microsoft/hcsshim v0.12.0 breaking changes

github.com/Microsoft/hcsshim v0.12.0, released March 5, 2024: 1,305 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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.12.0)

And 1,295 more in this version. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

## github.com/Microsoft/hcsshim v0.12.0-rc.1 breaking changes

github.com/Microsoft/hcsshim v0.12.0-rc.1, released March 5, 2024: 1 breaking change.

- **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](https://github.com/microsoft/hcsshim/releases/tag/v0.12.0-rc.1)

## Older versions

4 older versions, each with its first changes. [Sign up to see every change](https://app.since.dev/login?mode=signup&src=package-page)

### github.com/Microsoft/hcsshim v0.11.0 breaking changes

github.com/Microsoft/hcsshim v0.11.0, released September 6, 2023: 273 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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.11.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.11.0)

And 271 more in this version.

### github.com/Microsoft/hcsshim v0.10.0 breaking changes

github.com/Microsoft/hcsshim v0.10.0, released July 24, 2023: 204 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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.10.0)
- **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](https://pkg.go.dev/github.com/Microsoft/hcsshim@v0.10.0)

And 202 more in this version.

### github.com/Microsoft/hcsshim v0.10.0-rc.8 breaking changes

github.com/Microsoft/hcsshim v0.10.0-rc.8, released July 24, 2023: 1 breaking change.

- **Removed**  

The UVM and container cloning functionality has been removed from the package. Code that relied on cloning must be changed. [github.com](https://github.com/microsoft/hcsshim/releases/tag/v0.10.0-rc.8)

### github.com/Microsoft/hcsshim v0.10.0-rc.4 breaking changes

github.com/Microsoft/hcsshim v0.10.0-rc.4, released July 24, 2023: 1 breaking change.

- **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](https://github.com/microsoft/hcsshim/releases/tag/v0.10.0-rc.4)

## Related packages

- [github.com/Microsoft/go-winio](https://since.dev/packages/go/github.com/Microsoft/go-winio.md)

## 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.
