v0.8.0 clients/go/v0.8.0

medium risk

gohugoio/hugoAug 18, 2026 → Aug 18, 20260 days between releases

What's New

Go client v0.8.0 repackages the same AHP 0.8.0 spec changes as the core release, with no Go-specific delta documented.

Breaking Changes

  • The `ResourceReponsePart` to `ResourceResponsePart` rename is listed as breaking, though the Go client already exposed the corrected name via generator-level renames, so Go consumers should be unaffected.

New Features

  • All command parameters now accept optional `_meta` request metadata.
  • `ClientPluginCustomization` can publish child enablement decisions.
  • The `x-` prefix is reserved for implementation-defined channel URI schemes, commands, notifications, and actions.
  • `session/workingDirectoryReplaced` atomically replaces a working-directory entry, including a replaceable primary.

Improvements

  • `toolClientExecution` entries in `SessionState.inputNeeded` no longer raise `SessionStatus.InputNeeded`, keeping sessions `InProgress` while client tools run.
  • `Customization` enablement now carries scoped host-published provenance, and `session/customizationToggled` replaces the full decision set.
  • `auth/required` now carries complete `ProtectedResourceMetadata` in its required `resource` field.

Bug Fixes

  • `session/workingDirectoryReplaced` retains an earlier duplicate replacement so a later one cannot move a protected primary.
  • `primaryReplacement` may now accompany `immutablePrimary` for safe legacy-client compatibility.

Upgrade Notes

Because the release notes are identical to the core v0.8.0 notes, treat this as a version alignment rather than a distinct Go change set. Verify any code relying on the old misspelled type name and confirm handling of `_meta`, customization provenance, and `auth/required` resource payloads. Sessions using client tool execution will now stay `InProgress` instead of surfacing `InputNeeded`.

The Two Releases

v0.8.0

AHP Swift Package v0.8.0

Aug 18, 2026· 2 months ago

Implements AHP 0.8.0, adding metadata support, plugin customization, and working directory replacement features while fixing type naming inconsistencies across clients.

Full release notes
clients/go/v0.8.0

Go module v0.8.0

Aug 18, 2026· 2 months ago

Go client implementation of AHP 0.8.0, mirroring the Swift package updates regarding metadata and working directory replacement.

Full release notes