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
On this page
Latest version 0.23.1, released August 4, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
base64 0.23.0 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 - 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
base64 0.22.0 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 - Signature changed
base64::DecodeError::InvalidLength
Was InvalidLength; now InvalidLength(usize). crates.io - 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
base64 0.21.0 breaking changes
- Removed
base64::engine::Engine::decoded_length_estimate
base64::engine::Engine::decoded_length_estimate was removed in base64 0.21.0 crates.io - Removed
base64::engine::fast_portable
base64::engine::fast_portable was removed in base64 0.21.0 crates.io - Renamed
base64::alphabet::Alphabet::from_str
Use base64::alphabet::Alphabet::new instead. crates.io - Renamed
base64::display::Base64Display::from
Use base64::display::Base64Display::new instead. crates.io - Renamed
base64::engine::DecodeEstimate::decoded_length_estimate
Use base64::engine::DecodeEstimate::decoded_len_estimate instead. crates.io - Renamed
base64::read::DecoderReader::from
Use base64::read::DecoderReader::new instead. crates.io - Renamed
base64::write::EncoderStringWriter::from
Use base64::write::EncoderStringWriter::new instead. crates.io - Renamed
base64::write::EncoderWriter::from
Use base64::write::EncoderWriter::new instead. crates.io - Renamed
decode_config
The short-lived 0.20 functions were replaced by engine methods; use the table equivalents. github.com - Renamed
decode_config_buf
The short-lived 0.20 functions were replaced by engine methods; use the table equivalents. github.com
And 8 more in this version. Sign up to see every change
base64 0.21.0-beta.1 breaking changes
- Removed
base64::engine::DEFAULT_ENGINE
DEFAULT_ENGINE was replaced by engine::general_purpose::STANDARD. crates.io - Removed
decode*
The top-level decode functions are now methods on Engine. Call them on an Engine instance. github.com - Removed
encode*
The top-level encode functions are now methods on Engine. Call them on an Engine instance. github.com - Renamed
FastPortable
The interim name FastPortable is now GeneralPurpose. Update references to use GeneralPurpose. github.com - Renamed
from
Several from() functions are now new(). Call new() instead of from(). github.com - Behavior changed
*_slice
The *_slice functions now return an error instead of panicking when the output slice is too small. github.com
base64 0.20.0 breaking changes
- Removed
base64::BCRYPT
base64::BCRYPT was removed in base64 0.20.0 crates.io - Removed
base64::BINHEX
base64::BINHEX was removed in base64 0.20.0 crates.io - Removed
base64::Config
base64::Config was removed in base64 0.20.0 crates.io - Removed
base64::CRYPT
base64::CRYPT was removed in base64 0.20.0 crates.io - Removed
base64::decode_config
base64::decode_config was removed in base64 0.20.0 crates.io - Removed
base64::decode_config_buf
base64::decode_config_buf was removed in base64 0.20.0 crates.io - Removed
base64::decode_config_slice
base64::decode_config_slice was removed in base64 0.20.0 crates.io - Removed
base64::display::Base64Display::with_config
base64::display::Base64Display::with_config was removed in base64 0.20.0 crates.io - Removed
base64::encode_config
base64::encode_config was removed in base64 0.20.0 crates.io - Removed
base64::encode_config_buf
base64::encode_config_buf was removed in base64 0.20.0 crates.io
And 17 more in this version. Sign up to see every change
base64 0.20.0-alpha.1 breaking changes
- Removed
base64::CharacterSet
Rename CharacterSet to Alphabet in code that uses it. Custom alphabets are now supported through Alphabet. crates.io - Behavior changed
The package now requires Rust 1.47.0 or later to build. github.com - 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 - 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
Check your code
These are the changes. To see which of them reach your code, scan a public repository, or have your coding agent call check_code with your manifest or lockfile over MCP. The 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.
See how out of date your code is.
Tell your agent what changed since it was trained.
claude mcp add --transport http since https://api.since.dev/mcpCodex, Cursor and any MCP client use https://api.since.dev/mcp.