---
title: "github.com/eclipse/paho.golang v0.24.0 Breaking Changes"
description: "What each github.com/eclipse/paho.golang release removed, renamed or changed: 27 breaking changes in 1 version on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/eclipse/paho.golang
last_updated: 2026-12-04
---

# github.com/eclipse/paho.golang breaking changes

github.com/eclipse/paho.golang v0.24.0 (November 24, 2026) is its newest release with breaking changes, 27 of them. The first: github.com/eclipse/paho.golang v0.24.0 drops support for Go 1.24.0 and requires Go 1.26.0 or later. Every breaking API change we have recorded in github.com/eclipse/paho.golang on Go modules: 27 breaking changes in 1 version. Below, its one version with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v0.24.0`, released November 24, 2026. 

Its v0.24.0 release requires Go 1.26.0 or later. [Go end of life dates](https://since.dev/calendar/go.md).

## github.com/eclipse/paho.golang v0.24.0 breaking changes

github.com/eclipse/paho.golang v0.24.0, released November 24, 2026: 27 breaking changes.

- **Removed**  

The minimum Go version is now 1.26.0. Upgrade your Go toolchain before using this release. [github.com](https://github.com/eclipse-paho/paho.golang/releases/tag/v0.24.0)
- **Removed** `github.com/eclipse/paho.golang/paho/session/state.State.AllocateClientPacketIDForTest`  

github.com/eclipse/paho.golang/paho/session/state.State.AllocateClientPacketIDForTest was removed in github.com/eclipse/paho.golang v0.24.0 [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Behavior changed**  

A blocking QoS 2 publish now returns the response along with an error when the broker rejects it with PUBREC. [github.com](https://github.com/eclipse-paho/paho.golang/releases/tag/v0.24.0)
- **Behavior changed**  

Existing queue and store files in the new format cannot be opened by the basicfile packages. Switch to basicfile before upgrading to keep the old timestamp format. [github.com](https://github.com/eclipse-paho/paho.golang/releases/tag/v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/autopaho/queue/file.New`  

Was func New(string, string, string) (\*Queue, error); now func New(string, string, string, ...Option) (\*Queue, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Auth.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Connack.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Connect.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Disconnect.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Packet.Buffers`  

Callers must handle the extra return value, and custom packet types must update their Buffers signature. [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Pingreq.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Pingresp.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Properties.Pack`  

Callers must handle the additional return value. [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Properties.PackBuf`  

Callers must handle the additional return value. [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Puback.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Pubcomp.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Publish.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Pubrec.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Pubrel.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Suback.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Subscribe.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Unsuback.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/packets.Unsubscribe.Buffers`  

Was func Buffers() net.Buffers; now func Buffers() (net.Buffers, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/paho/session.SessionManager.AddToSession`  

Custom session managers must update AddToSession to return a receive-only response channel and an error. [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/paho/session/state.State.AddToSession`  

Was func AddToSession(context.Context, session.Packet, chan<- packets.ControlPacket) error; now func AddToSession(context.Context, session.Packet) (<-chan packets.ControlPacket, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `github.com/eclipse/paho.golang/paho/store/file.New`  

Was func New(string, string, string) (\*Store, error); now func New(string, string, string, ...Option) (\*Store, error). [pkg.go.dev](https://pkg.go.dev/github.com/eclipse/paho.golang@v0.24.0)
- **Signature changed** `session.SessionManager`  

Implementations must provide PacketNotSent to release a SUBSCRIBE or UNSUBSCRIBE packet identifier after a local encoding failure. [github.com](https://github.com/eclipse-paho/paho.golang/releases/tag/v0.24.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.
