Skip to content

Commit 482a983

Browse files
authored
Release v27 (#8287)
1 parent 9380b87 commit 482a983

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

34 files changed

+2237
-63
lines changed

CHANGELOG.md

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ Bottom level categories:
4040

4141
## Unreleased
4242

43+
## v27.0.0 (2025-10-01)
44+
4345
### Major Changes
4446

4547
#### Deferred command buffer actions: `map_buffer_on_submit` and `on_submitted_work_done`
@@ -132,6 +134,7 @@ makes it significantly easier to store these types in structs, which is useful f
132134
```
133135

134136
By @sagudev in [#8046](https://github.com/gfx-rs/wgpu/pull/8046) and @cwfitzgerald in [#8070](https://github.com/gfx-rs/wgpu/pull/8161).
137+
135138
#### `EXPERIMENTAL_*` features now require unsafe code to enable
136139

137140
We want to be able to expose potentially experimental features to our users before we have ensured that they are fully sound to use.
@@ -201,7 +204,6 @@ By @wumpf in [#8282](https://github.com/gfx-rs/wgpu/pull/8282), [#8285](https://
201204
#### General
202205

203206
- Added mesh shader support to `wgpu`, with examples. Requires passthrough. By @SupaMaggie70Incorporated in [#7345](https://github.com/gfx-rs/wgpu/pull/7345).
204-
205207
- Added support for external textures based on WebGPU's [`GPUExternalTexture`](https://www.w3.org/TR/webgpu/#gpuexternaltexture). These allow shaders to transparently operate on potentially multiplanar source texture data in either RGB or YCbCr formats via WGSL's `texture_external` type. This is gated behind the `Features::EXTERNAL_TEXTURE` feature, which is currently only supported on DX12. By @jamienicol in [#4386](https://github.com/gfx-rs/wgpu/issues/4386).
206208
- `wgpu::Device::poll` can now specify a timeout via `wgpu::PollType::Wait`. By @wumpf in [#8282](https://github.com/gfx-rs/wgpu/pull/8282) & [#8285](https://github.com/gfx-rs/wgpu/pull/8285)
207209

Cargo.lock

Lines changed: 21 additions & 21 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 13 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -61,13 +61,13 @@ keywords = ["graphics"]
6161
license = "MIT OR Apache-2.0"
6262
homepage = "https://wgpu.rs/"
6363
repository = "https://github.com/gfx-rs/wgpu"
64-
version = "26.0.0"
64+
version = "27.0.0"
6565
authors = ["gfx-rs developers"]
6666

6767
[workspace.dependencies]
68-
naga = { version = "26.0.0", path = "./naga" }
69-
naga-test = { version = "26.0.0", path = "./naga-test" }
70-
wgpu = { version = "26.0.0", path = "./wgpu", default-features = false, features = [
68+
naga = { version = "27.0.0", path = "./naga" }
69+
naga-test = { path = "./naga-test" }
70+
wgpu = { version = "27.0.0", path = "./wgpu", default-features = false, features = [
7171
"serde",
7272
"wgsl",
7373
"vulkan",
@@ -77,21 +77,21 @@ wgpu = { version = "26.0.0", path = "./wgpu", default-features = false, features
7777
"static-dxc",
7878
"noop", # This should be removed if we ever have non-test crates that depend on wgpu
7979
] }
80-
wgpu-core = { version = "26.0.0", path = "./wgpu-core" }
81-
wgpu-hal = { version = "26.0.0", path = "./wgpu-hal" }
82-
wgpu-macros = { version = "26.0.0", path = "./wgpu-macros" }
83-
wgpu-test = { version = "26.0.0", path = "./tests" }
84-
wgpu-types = { version = "26.0.0", path = "./wgpu-types", default-features = false }
80+
wgpu-core = { version = "27.0.0", path = "./wgpu-core" }
81+
wgpu-hal = { version = "27.0.0", path = "./wgpu-hal" }
82+
wgpu-macros = { version = "27.0.0", path = "./wgpu-macros" }
83+
wgpu-test = { version = "27.0.0", path = "./tests" }
84+
wgpu-types = { version = "27.0.0", path = "./wgpu-types", default-features = false }
8585

8686
# These _cannot_ have a version specified. If it does, crates.io will look
8787
# for a version of the package on crates when we publish naga. Path dependencies
8888
# are allowed through though.
8989
hlsl-snapshots = { path = "naga/hlsl-snapshots" }
9090

91-
wgpu-core-deps-windows-linux-android = { version = "26.0.0", path = "./wgpu-core/platform-deps/windows-linux-android" }
92-
wgpu-core-deps-apple = { version = "26.0.0", path = "./wgpu-core/platform-deps/apple" }
93-
wgpu-core-deps-wasm = { version = "26.0.0", path = "./wgpu-core/platform-deps/wasm" }
94-
wgpu-core-deps-emscripten = { version = "26.0.0", path = "./wgpu-core/platform-deps/emscripten" }
91+
wgpu-core-deps-windows-linux-android = { version = "27.0.0", path = "./wgpu-core/platform-deps/windows-linux-android" }
92+
wgpu-core-deps-apple = { version = "27.0.0", path = "./wgpu-core/platform-deps/apple" }
93+
wgpu-core-deps-wasm = { version = "27.0.0", path = "./wgpu-core/platform-deps/wasm" }
94+
wgpu-core-deps-emscripten = { version = "27.0.0", path = "./wgpu-core/platform-deps/emscripten" }
9595

9696
anyhow = { version = "1.0.87", default-features = false }
9797
approx = "0.5"

LICENSE.MIT

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
MIT License
22

3-
Copyright (c) 2021 The gfx-rs developers
3+
Copyright (c) 2025 The gfx-rs developers
44

55
Permission is hereby granted, free of charge, to any person obtaining a copy
66
of this software and associated documentation files (the "Software"), to deal

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,13 +17,13 @@ The API is based on the [WebGPU standard][webgpu]. It serves as the core of the
1717

1818
| Docs | Examples | Changelog |
1919
|:---------------------:|:-------------------------:|:-----------------------:|
20-
| [v26][rel-docs] | [v26][rel-examples] | [v26][rel-change] |
20+
| [v27][rel-docs] | [v27][rel-examples] | [v27][rel-change] |
2121
| [`trunk`][trunk-docs] | [`trunk`][trunk-examples] | [`trunk`][trunk-change] |
2222

2323
Contributors are welcome! See [CONTRIBUTING.md][contrib] for more information.
2424

2525
[rel-docs]: https://docs.rs/wgpu/
26-
[rel-examples]: https://github.com/gfx-rs/wgpu/tree/v26/examples#readme
26+
[rel-examples]: https://github.com/gfx-rs/wgpu/tree/v27/examples#readme
2727
[rel-change]: https://github.com/gfx-rs/wgpu/releases
2828
[trunk-docs]: https://wgpu.rs/doc/wgpu/
2929
[trunk-examples]: https://github.com/gfx-rs/wgpu/tree/trunk/examples#readme

docs/broadcast_license.nu

Lines changed: 23 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,23 @@
1+
# Quick maintenance script which broadcasts the license files to all crates
2+
# that are released on crates.io
3+
4+
# Change to the root of the repository
5+
cd ($env.FILE_PWD | path dirname)
6+
7+
let crates = [
8+
"wgpu",
9+
"wgpu-core",
10+
"wgpu-core/platform-deps/apple",
11+
"wgpu-core/platform-deps/emscripten",
12+
"wgpu-core/platform-deps/wasm",
13+
"wgpu-core/platform-deps/windows-linux-android",
14+
"wgpu-hal",
15+
"wgpu-info",
16+
"wgpu-types",
17+
"naga",
18+
"naga-cli",
19+
]
20+
21+
for crate in $crates {
22+
cp LICENSE.APACHE LICENSE.MIT $"./($crate)/"
23+
}

docs/release-checklist.md

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -36,17 +36,7 @@ Day of Release:
3636
- Checkout `trunk` with the merged PR.
3737
- Publish! These commands can be pasted directly into your terminal in a single command, and they will publish everything.
3838
```bash
39-
cargo publish -p naga
40-
cargo publish -p naga-cli
41-
cargo publish -p wgpu-types
42-
cargo publish -p wgpu-hal --all-features
43-
cargo publish -p wgpu-core-deps-apple
44-
cargo publish -p wgpu-core-deps-emscripten
45-
cargo publish -p wgpu-core-deps-wasm
46-
cargo publish -p wgpu-core-deps-windows-linux-android
47-
cargo publish -p wgpu-core --all-features
48-
cargo publish -p wgpu
49-
cargo publish -p wgpu-info
39+
cargo +stable publish --workspace --exclude deno_webgpu
5040
```
5141
- If there were any newly published crates, ensure `github:gfx-rs/wgpu` is added as an owner of that crate.
5242
- Create a new tag called `vX.Y.Z` and push it to the repo.

examples/README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
> [!NOTE]
22
> These are the examples for the development version of wgpu. If you want to see the examples for the latest crates.io release
3-
> of wgpu, go to the [latest release branch](https://github.com/gfx-rs/wgpu/tree/v26/examples#readme).
3+
> of wgpu, go to the [latest release branch](https://github.com/gfx-rs/wgpu/tree/v27/examples#readme).
44
55
# Examples
66

@@ -23,7 +23,7 @@ be cloned out of the repository to serve as a starting point for your own projec
2323
You can also use [`cargo-generate`](https://github.com/cargo-generate/cargo-generate) to easily use these as a basis for your own projects.
2424

2525
```sh
26-
cargo generate gfx-rs/wgpu --branch v26
26+
cargo generate gfx-rs/wgpu --branch v27
2727
```
2828

2929
## Framework Examples

examples/standalone/01_hello_compute/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ publish = false
88
bytemuck = "1.22.0"
99
env_logger = "0.11"
1010
pollster = "0.4"
11-
wgpu = "26.0.0"
11+
wgpu = "27.0.0"

examples/standalone/02_hello_window/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,5 +7,5 @@ publish = false
77
[dependencies]
88
env_logger = "0.11"
99
pollster = "0.4"
10-
wgpu = "26.0.0"
10+
wgpu = "27.0.0"
1111
winit = { version = "0.30.8", features = ["android-native-activity"] }

0 commit comments

Comments
 (0)