---
title: "block-buffer 0.12.0 Breaking Changes on crates.io"
description: "What each block-buffer release removed, renamed or changed: 19 breaking changes in 2 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/block-buffer
last_updated: 2026-12-04
---

# block-buffer breaking changes

block-buffer 0.12.0 (February 24, 2026) is its newest release with breaking changes, 2 of them. The first: Signature changed block_buffer::BlockBuffer. Every breaking API change we have recorded in block-buffer on crates.io: 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 `0.12.1`, released June 11, 2026. [Source repository](https://github.com/RustCrypto/utils)

Packages on crates.io run on Rust. [Rust end of life dates](https://since.dev/calendar/rust.md).

- From [0.11.0](#v-0-11-0) to [0.12.0](#v-0-12-0): 2 breaking changes in 1 version.

## block-buffer 0.12.0 breaking changes

block-buffer 0.12.0, released February 24, 2026: 2 breaking changes.

- **Signature changed** `block_buffer::BlockBuffer`  

BlockBuffer's block size parameter is now bound by the BlockSizes trait, so generic code that uses it must add that bound. [crates.io](https://crates.io/crates/block-buffer/0.12.0)
- **Signature changed** `block_buffer::ReadBuffer`  

ReadBuffer's block size parameter is now bound by the BlockSizes trait, so generic code that uses it must add that bound. [crates.io](https://crates.io/crates/block-buffer/0.12.0)

## block-buffer 0.11.0 breaking changes

block-buffer 0.11.0, released November 7, 2025: 17 breaking changes.

- **Removed** `block_buffer::Block`  

block_buffer::Block was removed in block-buffer 0.11.0 [crates.io](https://crates.io/crates/block-buffer/0.11.0)
- **Removed** `block_buffer::BlockBuffer::set_data`  

block_buffer::BlockBuffer::set_data was removed in block-buffer 0.11.0 [crates.io](https://crates.io/crates/block-buffer/0.11.0)
- **Removed** `block_buffer::generic_array`  

block_buffer::generic_array was removed in block-buffer 0.11.0 [crates.io](https://crates.io/crates/block-buffer/0.11.0)
- **Removed** `EagerBuffer.set_data`  

The EagerBuffer::set_data method was removed. Use the ReadBuffer type instead. [github.com](https://github.com/RustCrypto/utils/blob/block-buffer-v0.11.0/block-buffer/CHANGELOG.md)
- **Behavior changed**  

The crate edition changed to 2024 and the minimum supported Rust version is now 1.85. Users on older Rust toolchains must upgrade. [github.com](https://github.com/RustCrypto/utils/blob/block-buffer-v0.11.0/block-buffer/CHANGELOG.md)
- **Behavior changed**  

Block sizes must now be bigger than 0 and smaller than 256, enforced by compile-time errors. Code using other block sizes will no longer compile. [github.com](https://github.com/RustCrypto/utils/blob/block-buffer-v0.11.0/block-buffer/CHANGELOG.md)
- **Behavior changed** `EagerBuffer`  

The size of EagerBuffer now equals the buffer size, previously it was buffer size plus one byte. Code relying on the old size may behave differently. [github.com](https://github.com/RustCrypto/utils/blob/block-buffer-v0.11.0/block-buffer/CHANGELOG.md)
- **Signature changed** `block_buffer::BlockBuffer`  

Was struct BlockBuffer\<BlockSize, Kind> where BlockSize: ArrayLength\<u8> + IsLess\<U256>, Le\<BlockSize, U256>: NonZero, Kind: BufferKind,; now struct BlockBuffer\<BS: ArraySize, K: BufferKind>. [crates.io](https://crates.io/crates/block-buffer/0.11.0)
- **Signature changed** `block_buffer::BlockBuffer::digest_blocks`  

Was fn digest_blocks(&mut self, mut input: &\[u8\], mut compress: impl FnMut(&\[Block\<BlockSize>\])); now fn digest_blocks(&mut self, mut input: &\[u8\], mut compress: impl FnMut(&\[Array\<u8, BS>\])). [crates.io](https://crates.io/crates/block-buffer/0.11.0)
- **Signature changed** `block_buffer::BlockBuffer::digest_pad`  

Was fn digest_pad(&mut self, delim: u8, suffix: &\[u8\], mut compress: impl FnMut(&Block\<BlockSize>)); now fn digest_pad(&mut self, delim: u8, suffix: &\[u8\], mut compress: impl FnMut(&Array\<u8, BS>)). [crates.io](https://crates.io/crates/block-buffer/0.11.0)

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

## Related packages

- [zeroize](https://since.dev/packages/crates/zeroize.md)
- [hex-literal](https://since.dev/packages/crates/hex-literal.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.
