{"ecosystem":"cargo","package":"wgpu-core","from_version":null,"to_version":null,"changes":[{"from_version":"v28.0.1","to_version":"v29.0.0","change_type":"breaking","description":"`new_with_display_handle`","migration_hint":null},{"from_version":"v28.0.1","to_version":"v29.0.0","change_type":"breaking","description":"`new_with_display_handle_from_env`","migration_hint":null},{"from_version":"v28.0.1","to_version":"v29.0.0","change_type":"breaking","description":"`new_without_display_handle`","migration_hint":null},{"from_version":"v28.0.1","to_version":"v29.0.0","change_type":"breaking","description":"`new_without_display_handle_from_env` If you are using `winit`, this can be populated using `EventLoop::owned_display_handle`. ```diff","migration_hint":null},{"from_version":"v28.0.1","to_version":"v29.0.0","change_type":"breaking","description":"InstanceDescriptor::default();","migration_hint":null},{"from_version":"v27.0.4","to_version":"v28.0.0","change_type":"breaking","description":"pub fn enumerate_adapters(&self, backends: Backends) -> Vec<Adapter> {","migration_hint":null},{"from_version":"v27.0.4","to_version":"v28.0.0","change_type":"breaking","description":"pub fn enumerate_adapters(&self, backends: Backends) -> impl Future<Output = Vec<Adapter>> { ``` This yields two benefits:","migration_hint":null},{"from_version":"v27.0.4","to_version":"v28.0.0","change_type":"breaking","description":"This method is now implemented on non-native using the standard `Adapter::request_adapter(…)`, making `enumerate_adapters` a portable surface. This was previously a nontrivial pain point when an application wanted to do some of its own filtering of adapters.","migration_hint":null},{"from_version":"v27.0.4","to_version":"v28.0.0","change_type":"breaking","description":"This method can now be implemented in custom backends. By @R-Cramer4 in [#8230](https://github.com/gfx-rs/wgpu/pull/8230)","migration_hint":null},{"from_version":"v26.0.4","to_version":"v27.0.0","change_type":"breaking","description":"The [`source()`](https://doc.rust-lang.org/std/error/trait.Error.html#method.source) method of `ShaderError` no longer reports the error as its own source. By @andyleiserson in [#8258](https://github.com/gfx-rs/wgpu/pull/8258).","migration_hint":null},{"from_version":"v26.0.4","to_version":"v27.0.0","change_type":"breaking","description":"naga correctly ingests SPIR-V that use descriptor runtime indexing, which in turn is correctly converted into WGSLs binding array. By @hasenbanck in [8256](https://github.com/gfx-rs/wgpu/pull/8256).","migration_hint":null},{"from_version":"v26.0.4","to_version":"v27.0.0","change_type":"breaking","description":"naga correctly ingests SPIR-V that loads from multi-sampled textures, which in turn is correctly converted into WGSLs texture_multisampled_2d and load operations. By @hasenbanck in [8270](https://github.com/gfx-rs/wgpu/pull/8270).","migration_hint":null},{"from_version":"v26.0.4","to_version":"v27.0.0","change_type":"breaking","description":"naga implement OpImageGather and OpImageDrefGather operations when ingesting SPIR-V. By @hasenbanck in [8280](https://github.com/gfx-rs/wgpu/pull/8280).","migration_hint":null},{"from_version":"v22.1.0","to_version":"v23.0.0","change_type":"breaking","description":"Call `flush_mapped_ranges` when unmapping write-mapped buffers. By @teoxoy in [#6089](https://github.com/gfx-rs/wgpu/pull/6089).","migration_hint":null},{"from_version":"v22.1.0","to_version":"v23.0.0","change_type":"breaking","description":"When mapping buffers for reading, mark buffers as initialized only when they have `MAP_WRITE` usage. By @teoxoy in [#6178](https://github.com/gfx-rs/wgpu/pull/6178).","migration_hint":null},{"from_version":"v22.1.0","to_version":"v23.0.0","change_type":"breaking","description":"Add a separate pipeline constants error. By @teoxoy in [#6094](https://github.com/gfx-rs/wgpu/pull/6094).","migration_hint":null},{"from_version":"v22.1.0","to_version":"v23.0.0","change_type":"breaking","description":"Ensure safety of indirect dispatch by injecting a compute shader that validates the content of the indirect buffer. By @teoxoy in [#5714](https://github.com/gfx-rs/wgpu/pull/5714).","migration_hint":null}],"total":17,"note":"Curated major-version breaking changes. Always verify against the package's official changelog before migrating.","_cache":"hit"}