naga breaking changes
naga 31.0.0 (December 4, 2026) is its newest release with breaking changes, 15 of them. The first: SPIR-V cube sample NaN coordinates now become zero in naga 31.0.0. Every breaking API change we have recorded in naga on crates.io: 15 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.
naga 31.0.0 breaking changes
- Behavior changed
The SPIR-V backend replaces NaN cube texture sample coordinates with zero, so the selected face may differ from before. github.com - Behavior changed
WGSL shaders must now declare enable wgpu_f64; to use the f64 type or the lf literal suffix. github.com - Behavior changed
naga.valid.Capabilities.LINEAR_INTERPOLATION
The LINEAR_INTERPOLATION capability is now required to use @interpolate(linear). Validators must enable it to accept such shaders. github.com - Signature changed
naga::back::glsl::Error::MissingFeatures
Was MissingFeatures(Features); now MissingFeatures(Features, Version). crates.io - Signature changed
naga::back::pipeline_constants::PipelineConstantError::ValidationError
Was ValidationError(#[from] WithSpan<ValidationError>); now ValidationError(#[from] Box<WithSpan<ValidationError>>). crates.io - Signature changed
naga::Expression::As
Was As {/// Source expression, which can only be a scalar or a vector. expr: Handle<Expression>, /// Target scalar kind. kind: ScalarKind, /// If provided, converts to the specified byte width. /// Otherwise, bitcast. convert... crates.io - Signature changed
naga::front::wgsl::ImplementedLanguageExtension
Was enum ImplementedLanguageExtension; now pub use crate::front::wgsl::parse::directive::language_extension::ImplementedLanguageExtension. crates.io - Signature changed
naga::front::wgsl::LanguageExtension
Was enum LanguageExtension; now pub use crate::front::wgsl::parse::directive::language_extension::LanguageExtension. crates.io - Signature changed
naga::front::wgsl::UnimplementedLanguageExtension
Was enum UnimplementedLanguageExtension; now pub use crate::front::wgsl::parse::directive::language_extension::UnimplementedLanguageExtension. crates.io - Signature changed
naga::ir::Expression::As
Expression::As now only converts, and its kind and convert fields are replaced by target: Scalar. Bit reinterpretation must use the new Bitcast expression. crates.io - Signature changed
naga::valid::ImmediateSlots::from_range
Was fn from_range(offset: u32, size_bytes: u32) -> Self; now fn from_range(offset: u32, size_bytes: u32) -> Result<Self, ImmediateSlotsOverflowError>. crates.io - Signature changed
naga::valid::ImmediateSlots::from_type
Was fn from_type(ty: &crate::TypeInner, offset: u32, types: &crate::UniqueArena<crate::Type>, gctx: crate::proc::GlobalCtx) -> Self; now fn from_type(ty: &crate::TypeInner, types: &crate::UniqueArena<crate::Type>, gctx... crates.io - Signature changed
naga::valid::Validator::validate
Was fn validate(&mut self, module: &crate::Module) -> Result<ModuleInfo, WithSpan<ValidationError>>; now fn validate(&mut self, module: &crate::Module) -> Result<ModuleInfo, Box<WithSpan<ValidationError>>>. crates.io - Signature changed
naga::valid::Validator::validate_resolved_overrides
Was fn validate_resolved_overrides(&mut self, module: &crate::Module) -> Result<ModuleInfo, WithSpan<ValidationError>>; now fn validate_resolved_overrides(&mut self, module: &crate::Module) -> Result<ModuleInfo... crates.io - Signature changed
naga.valid.ValidationError
Validation errors are wrapped in a box. Code that matches on the error type directly must unbox it first. github.com
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.