---
title: "base64 0.23.0 Breaking Changes on crates.io | Since.dev"
description: "What each base64 release removed, renamed or changed: 60 breaking changes in 6 versions on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/base64
last_updated: 2026-12-04
---

# base64 breaking changes

base64 0.23.0 (July 23, 2026) is its newest release with breaking changes, 2 of them. The first: Raises the minimum supported Rust version to 1.71.0 in base64 0.23.0. Every breaking API change we have recorded in base64 on crates.io: 60 breaking changes in 6 versions. Below, its 6 versions with breaking changes, newest first, removals and renames first, each with its source.

Updated December 4, 2026

Latest version `0.23.1`, released August 4, 2026. [Source repository](https://github.com/marshallpierce/rust-base64)

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

- From [0.20.0](#v-0-20-0) to [0.23.0](#v-0-23-0): 29 breaking changes in 4 versions.

## base64 0.23.0 breaking changes

base64 0.23.0, released July 23, 2026: 2 breaking changes.

- **Configuration changed**  

The minimum supported Rust version is now 1.71.0, so projects on older compilers must upgrade their toolchain to build this release. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.23.0/RELEASE-NOTES.md)
- **Signature changed** `base64::DecodeError::InvalidLastSymbol`  

The InvalidLastSymbol error variant now includes the decoded value, so code that matches or constructs it without that field must be updated. [crates.io](https://crates.io/crates/base64/0.23.0)

## base64 0.22.0 breaking changes

base64 0.22.0, released March 2, 2024: 3 breaking changes.

- **Behavior changed** `DecodeError.InvalidLength`  

InvalidLength is now returned when the number of valid symbols is invalid (len % 4 == 1), not based on the raw input byte count. Code matching on this error may see different variants for some inputs. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.22.0/RELEASE-NOTES.md)
- **Signature changed** `base64::DecodeError::InvalidLength`  

Was InvalidLength; now InvalidLength(usize). [crates.io](https://crates.io/crates/base64/0.22.0)
- **Signature changed** `Engine.internal_decode`  

The return type of Engine::internal_decode changed from DecodeError to DecodeSliceError. The release notes do not expect external callers to be affected. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.22.0/RELEASE-NOTES.md)

## base64 0.21.0 breaking changes

base64 0.21.0, released January 8, 2023: 18 breaking changes.

- **Removed** `base64::engine::Engine::decoded_length_estimate`  

base64::engine::Engine::decoded_length_estimate was removed in base64 0.21.0 [crates.io](https://crates.io/crates/base64/0.21.0)
- **Removed** `base64::engine::fast_portable`  

base64::engine::fast_portable was removed in base64 0.21.0 [crates.io](https://crates.io/crates/base64/0.21.0)
- **Renamed** `base64::alphabet::Alphabet::from_str`  

Use base64::alphabet::Alphabet::new instead. [crates.io](https://crates.io/crates/base64/0.21.0)
- **Renamed** `base64::display::Base64Display::from`  

Use base64::display::Base64Display::new instead. [crates.io](https://crates.io/crates/base64/0.21.0)
- **Renamed** `base64::engine::DecodeEstimate::decoded_length_estimate`  

Use base64::engine::DecodeEstimate::decoded_len_estimate instead. [crates.io](https://crates.io/crates/base64/0.21.0)
- **Renamed** `base64::read::DecoderReader::from`  

Use base64::read::DecoderReader::new instead. [crates.io](https://crates.io/crates/base64/0.21.0)
- **Renamed** `base64::write::EncoderStringWriter::from`  

Use base64::write::EncoderStringWriter::new instead. [crates.io](https://crates.io/crates/base64/0.21.0)
- **Renamed** `base64::write::EncoderWriter::from`  

Use base64::write::EncoderWriter::new instead. [crates.io](https://crates.io/crates/base64/0.21.0)
- **Renamed** `decode_config`  

The short-lived 0.20 functions were replaced by engine methods; use the table equivalents. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.21.0/RELEASE-NOTES.md)
- **Renamed** `decode_config_buf`  

The short-lived 0.20 functions were replaced by engine methods; use the table equivalents. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.21.0/RELEASE-NOTES.md)

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

## base64 0.21.0-beta.1 breaking changes

base64 0.21.0-beta.1, released January 8, 2023: 6 breaking changes.

- **Removed** `base64::engine::DEFAULT_ENGINE`  

DEFAULT_ENGINE was replaced by engine::general_purpose::STANDARD. [crates.io](https://crates.io/crates/base64/0.21.0)
- **Removed** `decode*`  

The top-level decode functions are now methods on Engine. Call them on an Engine instance. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.21.0/RELEASE-NOTES.md)
- **Removed** `encode*`  

The top-level encode functions are now methods on Engine. Call them on an Engine instance. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.21.0/RELEASE-NOTES.md)
- **Renamed** `FastPortable`  

The interim name FastPortable is now GeneralPurpose. Update references to use GeneralPurpose. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.21.0/RELEASE-NOTES.md)
- **Renamed** `from`  

Several from() functions are now new(). Call new() instead of from(). [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.21.0/RELEASE-NOTES.md)
- **Behavior changed** `*_slice`  

The \*\_slice functions now return an error instead of panicking when the output slice is too small. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.21.0/RELEASE-NOTES.md)

## base64 0.20.0 breaking changes

base64 0.20.0, released December 10, 2022: 27 breaking changes.

- **Removed** `base64::BCRYPT`  

base64::BCRYPT was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::BINHEX`  

base64::BINHEX was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::Config`  

base64::Config was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::CRYPT`  

base64::CRYPT was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::decode_config`  

base64::decode_config was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::decode_config_buf`  

base64::decode_config_buf was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::decode_config_slice`  

base64::decode_config_slice was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::display::Base64Display::with_config`  

base64::display::Base64Display::with_config was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::encode_config`  

base64::encode_config was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)
- **Removed** `base64::encode_config_buf`  

base64::encode_config_buf was removed in base64 0.20.0 [crates.io](https://crates.io/crates/base64/0.20.0)

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

## base64 0.20.0-alpha.1 breaking changes

base64 0.20.0-alpha.1, released December 10, 2022: 4 breaking changes.

- **Removed** `base64::CharacterSet`  

Rename CharacterSet to Alphabet in code that uses it. Custom alphabets are now supported through Alphabet. [crates.io](https://crates.io/crates/base64/0.20.0)
- **Behavior changed**  

The package now requires Rust 1.47.0 or later to build. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.20.0/RELEASE-NOTES.md)
- **Behavior changed** `DecoderReader`  

DecoderReader owns the reader it wraps and exposes it via into_inner(). Code that relied on borrowing the inner reader must change. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.20.0/RELEASE-NOTES.md)
- **Configuration changed** `Config`  

Encoding and decoding settings now live in an Engine instance. Code that builds a Config must create an Engine instead; standard base64 is available via DEFAULT_ENGINE. [github.com](https://github.com/marshallpierce/rust-base64/blob/v0.20.0/RELEASE-NOTES.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.
