---
title: "github.com/gammazero/deque v1.0.0 Breaking Changes"
description: "What each github.com/gammazero/deque release removed, renamed or changed: 19 breaking changes in 2 versions on Go modules, each with its source."
canonical_url: https://since.dev/packages/go/github.com/gammazero/deque
last_updated: 2026-12-04
---

# github.com/gammazero/deque breaking changes

github.com/gammazero/deque v1.0.0 (November 15, 2024) is its newest release with breaking changes, 3 of them. The first: Removed github.com/gammazero/deque.Deque.SetMinCapacity. Every breaking API change we have recorded in github.com/gammazero/deque on Go modules: 19 breaking changes in 2 versions. Below, its 2 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `v1.2.4`, released December 1, 2026. 

Its v1.0.0 release requires [Go 1.22](https://since.dev/calendar/go/1.22.md) or later. [Go end of life dates](https://since.dev/calendar/go.md).

- From [v0.2.0](#v-v0-2-0) to [v1.0.0](#v-v1-0-0): 3 breaking changes in 1 version.

## github.com/gammazero/deque v1.0.0 breaking changes

github.com/gammazero/deque v1.0.0, released November 15, 2024: 3 breaking changes.

- **Removed** `github.com/gammazero/deque.Deque.SetMinCapacity`  

SetMinCapacity is replaced by SetBaseCap, which reserves space for at least the specified number of items. Update calls to use SetBaseCap. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v1.0.0)
- **Removed** `github.com/gammazero/deque.New`  

The New function is removed. Use Grow and SetBaseCap to set initial size and base capacity. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v1.0.0)
- **Behavior changed**  

The package now requires Go 1.22 or later. Upgrade your Go toolchain before using this version. [github.com](https://github.com/gammazero/deque/releases/tag/v1.0.0)

## github.com/gammazero/deque v0.2.0 breaking changes

github.com/gammazero/deque v0.2.0, released June 3, 2022: 16 breaking changes.

- **Removed**  

The package now requires Go 1.18, so older Go versions are no longer supported. [github.com](https://github.com/gammazero/deque/releases/tag/v0.2.0)
- **Signature changed**  

The Deque is defined using generics for a type, and upgrading from v0.1.x requires updating code. [github.com](https://github.com/gammazero/deque/releases/tag/v0.2.0)
- **Signature changed** `github.com/gammazero/deque.Deque`  

Was type Deque struct; now type Deque\[T any\] struct. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v0.2.0)
- **Signature changed** `github.com/gammazero/deque.Deque.At`  

Was func At(int) interface{}; now func At(int) T. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v0.2.0)
- **Signature changed** `github.com/gammazero/deque.Deque.Back`  

Was func Back() interface{}; now func Back() T. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v0.2.0)
- **Signature changed** `github.com/gammazero/deque.Deque.Front`  

Was func Front() interface{}; now func Front() T. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v0.2.0)
- **Signature changed** `github.com/gammazero/deque.Deque.Index`  

Was func Index(func(interface{}) bool) int; now func Index(func(T) bool) int. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v0.2.0)
- **Signature changed** `github.com/gammazero/deque.Deque.Insert`  

Was func Insert(int, interface{}); now func Insert(int, T). [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v0.2.0)
- **Signature changed** `github.com/gammazero/deque.Deque.PopBack`  

Was func PopBack() interface{}; now func PopBack() T. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v0.2.0)
- **Signature changed** `github.com/gammazero/deque.Deque.PopFront`  

Was func PopFront() interface{}; now func PopFront() T. [pkg.go.dev](https://pkg.go.dev/github.com/gammazero/deque@v0.2.0)

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

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