---
title: "wgpu-types 31.0.0 Breaking Changes on crates.io | Since.dev"
description: "What each wgpu-types release removed, renamed or changed: 11 breaking changes in 1 version on crates.io, each with its source."
canonical_url: https://since.dev/packages/crates/wgpu-types
last_updated: 2026-12-04
---

# wgpu-types breaking changes

wgpu-types 31.0.0 (December 4, 2026) is its newest release with breaking changes, 11 of them. The first: Removed wgpu_types::BlendFactor::ref_second_blend_source. Every breaking API change we have recorded in wgpu-types on crates.io: 11 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 `31.0.1`, released December 5, 2026. [Source repository](https://github.com/gfx-rs/wgpu)

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

## wgpu-types 31.0.0 breaking changes

wgpu-types 31.0.0, released December 4, 2026: 11 breaking changes.

- **Removed** `wgpu_types::BlendFactor::ref_second_blend_source`  

BlendFactor::ref_second_blend_source is renamed to uses_second_blend_source. Update call sites to the new name. [crates.io](https://crates.io/crates/wgpu-types/31.0.0)
- **Removed** `wgpu_types::DepthStencilState::is_read_only`  

wgpu_types::DepthStencilState::is_read_only was removed in wgpu-types 31.0.0 [crates.io](https://crates.io/crates/wgpu-types/31.0.0)
- **Removed** `wgpu_types.DownlevelFlags.SHADER_F16_IN_F32`  

The SHADER_F16_IN_F32 flag has been removed. Code that references it will no longer compile. [github.com](https://github.com/gfx-rs/wgpu/releases/tag/v31.0.0)
- **Renamed** `wgpu_types.TextureFormat.is_srgb`  

TextureFormat::is_srgb has been renamed to has_srgb_suffix. Update call sites to the new name. [github.com](https://github.com/gfx-rs/wgpu/releases/tag/v31.0.0)
- **Behavior changed** `wgpu_types.DownlevelFlags.compliant`  

DownlevelFlags::compliant() no longer includes SURFACE_VIEW_FORMATS, so code that checks compliance for that flag will see it absent. [github.com](https://github.com/gfx-rs/wgpu/releases/tag/v31.0.0)
- **Signature changed** `wgpu_hal.Queue.present`  

hal::Queue::present has a new damage_rects parameter. Pass an empty slice for the previous behavior. [github.com](https://github.com/gfx-rs/wgpu/releases/tag/v31.0.0)
- **Signature changed** `wgpu_types::BufferDescriptor`  

Was struct BufferDescriptor\<L>; now struct BufferDescriptor\<L, BU = BufferUsages>. [crates.io](https://crates.io/crates/wgpu-types/31.0.0)
- **Signature changed** `wgpu_types::BufferDescriptor::usage`  

Was usage: BufferUsages; now usage: BU. [crates.io](https://crates.io/crates/wgpu-types/31.0.0)
- **Signature changed** `wgpu_types::DeviceDescriptor::map_label`  

Was fn map_label<'a, K>(&'a self, fun: impl FnOnce(&'a L) -> K) -> DeviceDescriptor\<K>; now fn map_label<'a, K>(&'a self, fun: impl Fn(&'a L) -> K) -> DeviceDescriptor\<K>. [crates.io](https://crates.io/crates/wgpu-types/31.0.0)
- **Signature changed** `wgpu_types::error::WebGpuError`  

Was trait WebGpuError: core::error::Error + 'static; now trait WebGpuError: error::Error + 'static. [crates.io](https://crates.io/crates/wgpu-types/31.0.0)
- **Signature changed** `wgpu_types::ShaderRuntimeChecks::all`  

Was unsafe fn all(all_checks: bool) -> Self; now fn all(all_checks: bool) -> Self. [crates.io](https://crates.io/crates/wgpu-types/31.0.0)

## Related packages

- [wgpu](https://since.dev/packages/crates/wgpu.md)
- [wgpu-core](https://since.dev/packages/crates/wgpu-core.md)
- [wgpu-hal](https://since.dev/packages/crates/wgpu-hal.md)
- [naga](https://since.dev/packages/crates/naga.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.
