wgpu breaking changes
wgpu 31.0.0 (December 4, 2026) is its newest release with breaking changes, 67 of them. The first: Removed CreateBlasError.InvalidAabbStride. Every breaking API change we have recorded in wgpu on crates.io: 67 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
On this page
Latest version 31.0.1, released December 5, 2026. Source repository
Packages on crates.io run on Rust. Rust end of life dates.
wgpu 31.0.0 breaking changes
- Removed
CreateBlasError.InvalidAabbStride
Removed CreateBlasError::InvalidAabbStride variant in wgpu 31.0.0 github.com - Removed
DepthStencilState.is_read_only
DepthStencilState::is_read_only removed in wgpu 31.0.0 github.com - Removed
DownlevelFlags.SHADER_F16_IN_F32
DownlevelFlags::SHADER_F16_IN_F32 removed in wgpu 31.0.0 github.com - Removed
Instance.generate_report
Instance::generate_report removed in wgpu 31.0.0 github.com - Removed
parking_lot
The feature no longer exists, so remove it from your wgpu feature list. wgpu now always uses parking_lot for its locks when std is enabled. github.com - Removed
TextureUses.DEPTH_STENCIL_READ
TextureUses::DEPTH_STENCIL_READ replaced in wgpu 31.0.0 github.com - Removed
TextureUses.DEPTH_STENCIL_WRITE
TextureUses::DEPTH_STENCIL_WRITE replaced in wgpu 31.0.0 github.com - Removed
VULKAN_EXTERNAL_MEMORY_DMA_BUF
VULKAN_EXTERNAL_MEMORY_DMA_BUF feature removed in wgpu 31.0.0 github.com - Removed
VULKAN_EXTERNAL_MEMORY_FD
VULKAN_EXTERNAL_MEMORY_FD feature removed in wgpu 31.0.0 github.com - Removed
VULKAN_EXTERNAL_MEMORY_WIN32
VULKAN_EXTERNAL_MEMORY_WIN32 feature removed in wgpu 31.0.0 github.com - Removed
VULKAN_GOOGLE_DISPLAY_TIMING
VULKAN_GOOGLE_DISPLAY_TIMING feature removed in wgpu 31.0.0 github.com - Removed
wgpu_hal.gles.Instance.egl_config
gles Instance::egl_config removed in wgpu 31.0.0 github.com - Removed
wgpu::custom::BufferMappedRangeInterface::len
wgpu::custom::BufferMappedRangeInterface::len was removed in wgpu 31.0.0 crates.io - Renamed
BlendFactor.ref_second_blend_source
BlendFactor::ref_second_blend_source renamed in wgpu 31.0.0 github.com - Renamed
TextureFormat.is_srgb
TextureFormat::is_srgb renamed to has_srgb_suffix in wgpu 31.0.0 github.com - Renamed
wgpu_hal.vulkan.Device.texture_from_d3d11_shared_handle
Vulkan texture_from_d3d11_shared_handle renamed in wgpu 31.0.0 github.com - Behavior changed
@interpolate(linear) needs LINEAR_INTERPOLATION capability in wgpu 31.0.0 github.com - Behavior changed
SPIR-V cube sample NaN coordinates become zero in wgpu 31.0.0 github.com - Behavior changed
WGSL f64 requires enable wgpu_f64 directive in wgpu 31.0.0 github.com - Behavior changed
Buffer.destroy
Buffer::destroy now panics if a BufferView or BufferViewMut is alive. Drop views before destroying the buffer. github.com - Behavior changed
Buffer.unmap
Buffer::unmap no longer raises validation errors in wgpu 31.0.0 github.com - Behavior changed
clear_texture
clear_texture rejects partial aspect clears in wgpu 31.0.0 github.com - Behavior changed
Device.create_shader_module
Shader validation errors omit source text in wgpu 31.0.0 github.com - Behavior changed
Device.destroy
Device::destroy now panics if a BufferView or BufferViewMut is alive. Drop views before destroying the device. github.com - Behavior changed
Device.poll
Device::poll with Wait returns CantWait on WebGPU in wgpu 31.0.0 github.com - Behavior changed
DownlevelFlags.compliant
DownlevelFlags::compliant no longer includes SURFACE_VIEW_FORMATS in wgpu 31.0.0 github.com - Behavior changed
get_mapped_range
get_mapped_range now returns an error for buffers mapped with MapMode::Write, including mapped_at_creation buffers. Use get_mapped_range_mut for these. github.com - Behavior changed
get_mapped_range_mut
get_mapped_range_mut now returns an error for buffers mapped with MapMode::Read. github.com - Behavior changed
request_adapter
request_adapter errors in strict mode after adapter reuse in wgpu 31.0.0 github.com - Behavior changed
request_device
request_device enables CORE_FEATURES_AND_LIMITS when supported in wgpu 31.0.0 github.com - Behavior changed
Surface.configure
Surface::configure destroys live SurfaceTexture in wgpu 31.0.0 github.com - Behavior changed
wgpu.CompositeAlphaMode.PostMultiplied
Metal surfaces no longer advertise PostMultiplied, so configuring with it fails with UnsupportedAlphaMode. Use PreMultiplied instead. github.com - Default changed
max_binding_array_sampler_elements_per_shader_stage
Metal sampler binding array limit reduced to 996 in wgpu 31.0.0 github.com - Signature changed
BufferUsages
BufferUsages composed of WebGPU and WGPU parts github.com - Signature changed
Device.create_texture_from_hal
create_texture_from_hal takes a new cleared argument in wgpu 31.0.0 github.com - Signature changed
DeviceDescriptor
Struct literals of DeviceDescriptor must now set the new default_queue field of type QueueDescriptor. github.com - Signature changed
DeviceDescriptor.map_label
DeviceDescriptor::map_label takes Fn instead of FnOnce in wgpu 31.0.0 github.com - Signature changed
hal.Queue.present
hal::Queue::present gained damage_rects parameter in wgpu 31.0.0 github.com - Signature changed
Instance.from_core
Instance::from_core takes an Arc in wgpu 31.0.0 github.com - Signature changed
naga.ir.Expression.As
Expression::As fields replaced by target in wgpu 31.0.0 github.com - Signature changed
naga.valid.ValidationError
naga ValidationError always returned boxed in wgpu 31.0.0 github.com - Signature changed
Queue.submit
Queue::submit now returns an Option that is None when submission failed. Pass the index to poll wrapped in Some only if you need it, as the diff shows. github.com - Signature changed
RenderBundleEncoderInterface
Custom backends implementing RenderBundleEncoderInterface must implement insert_debug_marker, push_debug_group and pop_debug_group. github.com - Signature changed
ShaderStages
ShaderStages composed of WebGPU and WGPU parts github.com - Signature changed
TextureDescriptor
Struct literals of TextureDescriptor must now set the new texture_binding_view_dimension field. On GLES and WebGL it constrains texture bindings. github.com - Signature changed
TextureInterface
Custom backends implementing TextureInterface must implement texture_binding_view_dimension. github.com - Signature changed
TextureViewDescriptor
Struct literals of TextureViewDescriptor must now set the new swizzle field. A non-identity swizzle requires the TEXTURE_COMPONENT_SWIZZLE feature. github.com - Signature changed
TlasInstance.new
TlasInstance::new takes new arguments in wgpu 31.0.0 github.com - Signature changed
util.RenderEncoder
RenderEncoder implementations need lifetime updates in wgpu 31.0.0 github.com - Signature changed
wgpu_core.validation.StageError
StageError entry point variants reorganized in wgpu 31.0.0 github.com
And 17 more in this version. Sign up to see every change
Related packages
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.