Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Version 0.29.0 #1388

Merged
merged 1 commit into from Dec 17, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
10 changes: 10 additions & 0 deletions .github/changelog.md
@@ -1,3 +1,13 @@
# 0.29

- Update win32 metadata ([1387](https://github.com/microsoft/windows-rs/pull/1387))
- Feature and doc generation for `windows-sys` ([1381](https://github.com/microsoft/windows-rs/pull/1381))
- New `windows-bindgen` for simpler code generation ([1379](https://github.com/microsoft/windows-rs/pull/1379))
- Simplify and unify underlying types ([1368](https://github.com/microsoft/windows-rs/pull/1368))
- Callbacks now consistently use `Option` ([1344](https://github.com/microsoft/windows-rs/pull/1344))
- Reduce crate size by limiting Xaml bindings ([1341](https://github.com/microsoft/windows-rs/pull/1341))
- Other small improvements and fixes

# 0.28

- Prefer type aliases for the `windows-sys` crate ([1331](https://github.com/microsoft/windows-rs/pull/1331))
Expand Down
4 changes: 2 additions & 2 deletions .github/readme.md
Expand Up @@ -14,7 +14,7 @@ Start by adding the following to your Cargo.toml file:

```toml
[dependencies.windows]
version = "0.28.0"
version = "0.29.0"
features = [
"alloc",
"Data_Xml_Dom",
Expand Down Expand Up @@ -62,7 +62,7 @@ Start by adding the following to your Cargo.toml file:

```toml
[dependencies.windows-sys]
version = "0.28.0"
version = "0.29.0"
features = [
"Win32_Foundation",
"Win32_Security",
Expand Down
6 changes: 3 additions & 3 deletions crates/libs/bindgen/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "windows-bindgen"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Code gen support for the windows crate"

[dependencies]
quote = { package = "windows_quote", path = "../quote", version = "0.28.0" }
reader = { package = "windows_reader", path = "../reader", version = "0.28.0" }
quote = { package = "windows_quote", path = "../quote", version = "0.29.0" }
reader = { package = "windows_reader", path = "../reader", version = "0.29.0" }
6 changes: 3 additions & 3 deletions crates/libs/gen/Cargo.toml
@@ -1,11 +1,11 @@
[package]
name = "windows_gen"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
description = "Code gen support for the windows crate"

[dependencies]
quote = { package = "windows_quote", path = "../quote", version = "0.28.0" }
reader = { package = "windows_reader", path = "../reader", version = "0.28.0" }
quote = { package = "windows_quote", path = "../quote", version = "0.29.0" }
reader = { package = "windows_reader", path = "../reader", version = "0.29.0" }
8 changes: 4 additions & 4 deletions crates/libs/macros/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "windows_macros"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -10,7 +10,7 @@ description = "Macros for the windows crate"
proc-macro = true

[dependencies]
gen = { package = "windows_gen", path = "../gen", version = "0.28.0" }
reader = { package = "windows_reader", path = "../reader", version = "0.28.0" }
gen = { package = "windows_gen", path = "../gen", version = "0.29.0" }
reader = { package = "windows_reader", path = "../reader", version = "0.29.0" }
syn = { version = "1.0", default-features = false, features = ["parsing", "proc-macro", "printing", "full", "derive"] }
quote = { package = "windows_quote", path = "../quote", version = "0.28.0" }
quote = { package = "windows_quote", path = "../quote", version = "0.29.0" }
2 changes: 1 addition & 1 deletion crates/libs/quote/Cargo.toml
@@ -1,7 +1,7 @@
[package]
#TODO: rename to windows_tokens and rename quote! macro to tokens!
name = "windows_quote"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/libs/reader/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "windows_reader"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
12 changes: 6 additions & 6 deletions crates/libs/sys/Cargo.toml
@@ -1,7 +1,7 @@

[package]
name = "windows-sys"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -14,19 +14,19 @@ default-target = "x86_64-pc-windows-msvc"
all-features = true

[target.i686-pc-windows-msvc.dependencies]
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.28.0" }
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.29.0" }

[target.x86_64-pc-windows-msvc.dependencies]
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.28.0" }
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.29.0" }

[target.aarch64-pc-windows-msvc.dependencies]
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.28.0" }
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.29.0" }

[target.i686-pc-windows-gnu.dependencies]
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.28.0" }
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.29.0" }

[target.x86_64-pc-windows-gnu.dependencies]
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.28.0" }
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.29.0" }

[features]
default = []
Expand Down
18 changes: 9 additions & 9 deletions crates/libs/windows/Cargo.toml
@@ -1,7 +1,7 @@

[package]
name = "windows"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -15,24 +15,24 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[target.i686-pc-windows-msvc.dependencies]
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.28.0" }
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.29.0" }

[target.x86_64-pc-windows-msvc.dependencies]
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.28.0" }
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.29.0" }

[target.aarch64-pc-windows-msvc.dependencies]
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.28.0" }
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.29.0" }

[target.i686-pc-windows-gnu.dependencies]
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.28.0" }
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.29.0" }

[target.x86_64-pc-windows-gnu.dependencies]
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.28.0" }
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.29.0" }

[dependencies]
windows_macros = { path = "../macros", version = "0.28.0", optional = true }
windows_reader = { path = "../reader", version = "0.28.0", optional = true }
windows_gen = { path = "../gen", version = "0.28.0", optional = true }
windows_macros = { path = "../macros", version = "0.29.0", optional = true }
windows_reader = { path = "../reader", version = "0.29.0", optional = true }
windows_gen = { path = "../gen", version = "0.29.0", optional = true }

[features]
default = []
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/aarch64_msvc/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "windows_aarch64_msvc"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/i686_gnu/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "windows_i686_gnu"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/i686_msvc/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "windows_i686_msvc"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/x86_64_gnu/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "windows_x86_64_gnu"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
2 changes: 1 addition & 1 deletion crates/targets/x86_64_msvc/Cargo.toml
@@ -1,6 +1,6 @@
[package]
name = "windows_x86_64_msvc"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand Down
4 changes: 2 additions & 2 deletions crates/tools/api/Cargo.toml
Expand Up @@ -5,6 +5,6 @@ edition = "2018"
publish = false

[dependencies]
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.28.0" }
bindgen = { package = "windows-bindgen", path = "../../libs/bindgen", version = "0.28.0" }
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.29.0" }
bindgen = { package = "windows-bindgen", path = "../../libs/bindgen", version = "0.29.0" }
rayon = "1.5.1"
18 changes: 9 additions & 9 deletions crates/tools/api/src/main.rs
Expand Up @@ -25,7 +25,7 @@ fn main() {
r#"
[package]
name = "windows"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -39,24 +39,24 @@ default-target = "x86_64-pc-windows-msvc"
targets = []

[target.i686-pc-windows-msvc.dependencies]
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.28.0" }
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.29.0" }

[target.x86_64-pc-windows-msvc.dependencies]
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.28.0" }
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.29.0" }

[target.aarch64-pc-windows-msvc.dependencies]
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.28.0" }
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.29.0" }

[target.i686-pc-windows-gnu.dependencies]
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.28.0" }
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.29.0" }

[target.x86_64-pc-windows-gnu.dependencies]
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.28.0" }
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.29.0" }

[dependencies]
windows_macros = { path = "../macros", version = "0.28.0", optional = true }
windows_reader = { path = "../reader", version = "0.28.0", optional = true }
windows_gen = { path = "../gen", version = "0.28.0", optional = true }
windows_macros = { path = "../macros", version = "0.29.0", optional = true }
windows_reader = { path = "../reader", version = "0.29.0", optional = true }
windows_gen = { path = "../gen", version = "0.29.0", optional = true }

[features]
default = []
Expand Down
4 changes: 2 additions & 2 deletions crates/tools/bindings/Cargo.toml
Expand Up @@ -5,5 +5,5 @@ edition = "2018"
publish = false

[dependencies]
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.28.0" }
bindgen = { package = "windows-bindgen", path = "../../libs/bindgen", version = "0.28.0" }
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.29.0" }
bindgen = { package = "windows-bindgen", path = "../../libs/bindgen", version = "0.29.0" }
2 changes: 1 addition & 1 deletion crates/tools/fmt/Cargo.toml
Expand Up @@ -5,4 +5,4 @@ edition = "2018"
publish = false

[dependencies]
windows_reader = { path = "../../libs/reader", version = "0.28.0" }
windows_reader = { path = "../../libs/reader", version = "0.29.0" }
2 changes: 1 addition & 1 deletion crates/tools/gnu/Cargo.toml
Expand Up @@ -5,4 +5,4 @@ edition = "2018"
publish = false

[dependencies]
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.28.0" }
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.29.0" }
2 changes: 1 addition & 1 deletion crates/tools/msvc/Cargo.toml
Expand Up @@ -5,4 +5,4 @@ edition = "2018"
publish = false

[dependencies]
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.28.0" }
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.29.0" }
4 changes: 2 additions & 2 deletions crates/tools/sys/Cargo.toml
Expand Up @@ -5,6 +5,6 @@ edition = "2018"
publish = false

[dependencies]
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.28.0" }
bindgen = { package = "windows-bindgen", path = "../../libs/bindgen", version = "0.28.0" }
reader = { package = "windows_reader", path = "../../libs/reader", version = "0.29.0" }
bindgen = { package = "windows-bindgen", path = "../../libs/bindgen", version = "0.29.0" }
rayon = "1.5.1"
12 changes: 6 additions & 6 deletions crates/tools/sys/src/main.rs
Expand Up @@ -25,7 +25,7 @@ fn main() {
r#"
[package]
name = "windows-sys"
version = "0.28.0"
version = "0.29.0"
authors = ["Microsoft"]
edition = "2018"
license = "MIT OR Apache-2.0"
Expand All @@ -38,19 +38,19 @@ default-target = "x86_64-pc-windows-msvc"
all-features = true

[target.i686-pc-windows-msvc.dependencies]
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.28.0" }
windows_i686_msvc = { path = "../../targets/i686_msvc", version = "0.29.0" }

[target.x86_64-pc-windows-msvc.dependencies]
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.28.0" }
windows_x86_64_msvc = { path = "../../targets/x86_64_msvc", version = "0.29.0" }

[target.aarch64-pc-windows-msvc.dependencies]
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.28.0" }
windows_aarch64_msvc = { path = "../../targets/aarch64_msvc", version = "0.29.0" }

[target.i686-pc-windows-gnu.dependencies]
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.28.0" }
windows_i686_gnu = { path = "../../targets/i686_gnu", version = "0.29.0" }

[target.x86_64-pc-windows-gnu.dependencies]
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.28.0" }
windows_x86_64_gnu = { path = "../../targets/x86_64_gnu", version = "0.29.0" }

[features]
default = []
Expand Down