Debian Codegraph @

third_party/rust/raw-window-handle/CHANGELOG.md

raw
1 # Changelog
2
3 ## 0.6.2 (2024-05-17)
4
5 * Add OpenHarmony OS support (#164)
6 * Minor Documentation updates
7
8 ## 0.6.1 (2024-04-20)
9
10 - Add safe constructors for window handles. This may be useful for implementing
11 windowing systems with zero unsafe code. (#159)
12 - Improve documentation for Apple window handles. (#160)
13 - Add a clarification as to what circumstances Windows handles are considered
14 "valid" under. (#163)
15
16 ## 0.6.0 (2023-09-30)
17
18 * **Breaking:** Raw pointer handles now use `NonNull` where appropriate, to avoid null pointer dereferences.
19 * **Breaking:** Renamed `empty` methods to `new`, and take parameters in most of those, to better match normal Rust semantics.
20 * **Breaking:** `HasRaw(Display/Window)Handle::raw_(display/window)_handle` returns a result indicating if fetching the window handle failed (#122).
21 * **Breaking:** Remove the `Active/ActiveHandle` types from the public API (#126).
22 * **Breaking:** Remove `AppKitWindowHandle::ns_window` and `UiKitWindowHandle::ui_window` since they can be retrieved from the view (#129).
23 * **Breaking:** Remove `Copy` derive from `RawWindowHandle` and `WindowHandle` (#140).
24 * Implement `PartialEq`, `Eq` and `Hash` for `WindowHandle` too. (#128)
25 * Implement the relevant traits for `&mut T where T: <trait>`. (#130)
26 * Add web handles for `wasm-bindgen` v0.2. They are locked behind the `wasm-bindgen-0-2` feature. (#134)
27 * Deprecate the raw window/display handle traits. They will be removed at the next stable release. (#139)
28
29 ## 0.5.2 (2023-03-31)
30
31 * Add several types for using raw window handles safely, including `HasWindowHandle`, `WindowHandle`, `HasDisplayHandle`, `DisplayHandle` and `Active` (#110).
32
33 ## 0.5.1 (2023-03-07)
34
35 * Add the `rust-version` field (`1.64`).
36 * Implemented `From` for `RawWindowHandle` and `RawDisplayHandle`
37
38 ## 0.5.0 (2022-07-14)
39
40 * **Breaking:** The `RawWindowHandle` variants were split into `RawDisplayHandle` and `RawWindowHandle`.
41 * The X11 screen is now present in new `XlibDisplayHandle` and `XcbDisplayHandle`.
42 - Add GBM support.
43
44 ## 0.4.3 (2022-03-29)
45
46 * [Add visual IDs to X11 handles](https://github.com/rust-windowing/raw-window-handle/pull/83)
47 * [Add a link to the MDN page for data attributes in the documentation for WebHandle](https://github.com/rust-windowing/raw-window-handle/pull/86)
48 * [add haiku support](https://github.com/rust-windowing/raw-window-handle/pull/88)
49
50 ## 0.4.2 (2021-11-24)
51
52 * Also implement `HasRawWindowHandle` for `Rc<T>`, and `Arc<T>` where `T: ?Sized`.
53
54 ## 0.4.1 (2021-11-19)
55
56 * Added an impl of `HasRawWindowHandle` for `&T`, `Rc<T>`, and `Arc<T>`. The impls for `Rc<T>` and `Arc<T>` require the `alloc` feature.
57
58 ## 0.4.0 (2021-11-15)
59
60 * **Breaking:** Remove `_do_not_use` tags to use `#[non_exhaustive]` macro
61 * **Breaking:** `RawWindowHandle` variants are no longer cfg-guarded by platform.
62 * **Breaking:** Rename `IOS` to `UiKit`.
63 * **Breaking:** Rename `MacOS` to `AppKit`.
64 * **Breaking:** Rename `Windows` to `Win32`.
65 * **Breaking:** Rename `Redox` to `Orbital`.
66 * **Breaking:** Rename `Android` to `AndroidNdk`.
67 * **Breaking:** Inner window handle structs are now exported at crate root.
68 * Added Windows `WinRt` handle.
69
70 # 0.3.4 (2021-11-27)
71
72 * Add `HasRawWindowHandle` implementation for `HasRawWindowHandle` in the
73 newer `v0.4`.
74 This allows "provider" crates that implement `HasRawWindowHandle` (like
75 `winit`, `sdl2`, `glfw`, `fltk`, ...) to upgrade to `v0.4` without a
76 breaking change.
77 Afterwards "consumer" crates (like `gfx`, `wgpu`, `rfd`, ...) can start
78 upgrading with minimal breakage for their users.
79
80 ## 0.3.3 (2019-12-1)
81
82 * Add missing `Hash` implementation for `AndroidHandle`.
83
84 ## 0.3.2 (2019-11-29)
85
86 * Add `Hash` implementation for `RawWindowHandle`.
87
88 ## 0.3.1 (2019-10-27)
89
90 * Remove `RawWindowHandle`'s `HasRawWindowHandle` implementation, as it was unsound (see [#35](https://github.com/rust-windowing/raw-window-handle/issues/35))
91 * Explicitly require that handles within `RawWindowHandle` be valid for the lifetime of the `HasRawWindowHandle` implementation that provided them.
92
93 ## 0.3.0 (2019-10-5)
94
95 * **Breaking:** Rename `XLib.surface` to `XLib.window`, as that more accurately represents the underlying type.
96 * Implement `HasRawWindowHandle` for `RawWindowHandle`
97 * Add `HINSTANCE` field to `WindowsHandle`.
98
99 ## 0.2.0 (2019-09-26)
100
101 * **Breaking:** Rename `X11` to `XLib`.
102 * Add XCB support.
103 * Add Web support.
104 * Add Android support.
105
106 ## 0.1.2 (2019-08-13)
107
108 * Fix use of private `_non_exhaustive` field in platform handle structs preventing structs from getting initialized.
109
110 ## 0.1.1 (2019-08-13)
111
112 * Flesh out Cargo.toml, adding crates.io info rendering tags.
113
114 ## 0.1.0 (2019-08-13)
115
116 * Initial release.