From 220d83569060b1b923e229f58855781034adafd5 Mon Sep 17 00:00:00 2001 From: Kenny Kerr Date: Wed, 12 May 2021 13:40:21 -0700 Subject: [PATCH] Version 0.10.0 (#797) --- Cargo.toml | 6 +++--- crates/gen/Cargo.toml | 2 +- crates/macros/Cargo.toml | 4 ++-- docs/changelog.md | 9 +++++++++ readme.md | 4 ++-- 5 files changed, 17 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 4e3fc37878..faa25d0a87 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows" -version = "0.9.1" +version = "0.10.0" authors = ["Microsoft"] edition = "2018" license = "MIT OR Apache-2.0" @@ -11,8 +11,8 @@ readme = "README.md" exclude = [".github", ".windows", "docs", "examples"] [dependencies] -windows_macros = { path = "crates/macros", version = "0.9.1", optional = true } -gen = { package = "windows_gen", path = "crates/gen", version = "0.9.1", optional = true } +windows_macros = { path = "crates/macros", version = "0.10.0", optional = true } +gen = { package = "windows_gen", path = "crates/gen", version = "0.10.0", optional = true } const-sha1 = "0.2" [dev-dependencies] diff --git a/crates/gen/Cargo.toml b/crates/gen/Cargo.toml index 9ee2ff6f18..8525ae9a6d 100644 --- a/crates/gen/Cargo.toml +++ b/crates/gen/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_gen" -version = "0.9.1" +version = "0.10.0" authors = ["Microsoft"] edition = "2018" license = "MIT OR Apache-2.0" diff --git a/crates/macros/Cargo.toml b/crates/macros/Cargo.toml index a80156aa85..5e34dd12d6 100644 --- a/crates/macros/Cargo.toml +++ b/crates/macros/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "windows_macros" -version = "0.9.1" +version = "0.10.0" authors = ["Microsoft"] edition = "2018" license = "MIT OR Apache-2.0" @@ -10,5 +10,5 @@ description = "Macros for the windows crate" proc-macro = true [dependencies] -gen = { package = "windows_gen", path = "../gen", version = "0.9.1" } +gen = { package = "windows_gen", path = "../gen", version = "0.10.0" } syn = { version = "1.0", default-features = false, features = ["parsing", "proc-macro", "printing", "full"] } diff --git a/docs/changelog.md b/docs/changelog.md index ce1aa2b848..8a3902cfba 100644 --- a/docs/changelog.md +++ b/docs/changelog.md @@ -1,3 +1,12 @@ +# 0.10.0 + +- Add support for scoped and unscoped enum constants. ([#787](https://github.com/microsoft/windows-rs/pull/787)) +- Improved compile-time error reporting. ([#773](https://github.com/microsoft/windows-rs/pull/773)) +- Preserve original names for HSTRING and IInspectable. ([#759](https://github.com/microsoft/windows-rs/pull/759)) +- Add support for weak references. ([#745](https://github.com/microsoft/windows-rs/pull/745)) +- Updated metadata providing many fixes and improvements to Win32 APIs. Notably, many Win32 namespaces have been renamed. +- Other improvements and fixes. + # 0.9.0 - Transform QueryInterface-like functions into generic functions. ([#735](https://github.com/microsoft/windows-rs/pull/735)) diff --git a/readme.md b/readme.md index 05d67deebb..c8fff8b7d6 100644 --- a/readme.md +++ b/readme.md @@ -18,10 +18,10 @@ Start by adding the following to your Cargo.toml file: ```toml [dependencies] -windows = "0.9.1" +windows = "0.10.0" [build-dependencies] -windows = "0.9.1" +windows = "0.10.0" ``` This will allow Cargo to download, build, and cache Windows support as a package. Next, specify which types you need inside of a `build.rs` build script and the `windows` crate will generate the necessary bindings: