4.3 KiB
4.3 KiB
Changelog
0.6.0 (2023-09-30)
- Breaking: Raw pointer handles now use
NonNullwhere appropriate, to avoid null pointer dereferences. - Breaking: Renamed
emptymethods tonew, and take parameters in most of those, to better match normal Rust semantics. - Breaking:
HasRaw(Display/Window)Handle::raw_(display/window)_handlereturns a result indicating if fetching the window handle failed (#122). - Breaking: Remove the
Active/ActiveHandletypes from the public API (#126). - Breaking: Remove
AppKitWindowHandle::ns_windowandUiKitWindowHandle::ui_windowsince they can be retrieved from the view (#129). - Breaking: Remove
Copyderive fromRawWindowHandleandWindowHandle(#140). - Implement
PartialEq,EqandHashforWindowHandletoo. (#128) - Implement the relevant traits for
&mut T where T: <trait>. (#130) - Add web handles for
wasm-bindgenv0.2. They are locked behind thewasm-bindgen-0-2feature. (#134) - Deprecate the raw window/display handle traits. They will be removed at the next stable release. (#139)
0.5.2 (2023-03-31)
- Add several types for using raw window handles safely, including
HasWindowHandle,WindowHandle,HasDisplayHandle,DisplayHandleandActive(#110).
0.5.1 (2023-03-07)
- Add the
rust-versionfield (1.64). - Implemented
FromforRawWindowHandleandRawDisplayHandle
0.5.0 (2022-07-14)
- Breaking: The
RawWindowHandlevariants were split intoRawDisplayHandleandRawWindowHandle. - The X11 screen is now present in new
XlibDisplayHandleandXcbDisplayHandle.
- Add GBM support.
0.4.3 (2022-03-29)
- Add visual IDs to X11 handles
- Add a link to the MDN page for data attributes in the documentation for WebHandle
- add haiku support
0.4.2 (2021-11-24)
- Also implement
HasRawWindowHandleforRc<T>, andArc<T>whereT: ?Sized.
0.4.1 (2021-11-19)
- Added an impl of
HasRawWindowHandlefor&T,Rc<T>, andArc<T>. The impls forRc<T>andArc<T>require theallocfeature.
0.4.0 (2021-11-15)
- Breaking: Remove
_do_not_usetags to use#[non_exhaustive]macro - Breaking:
RawWindowHandlevariants are no longer cfg-guarded by platform. - Breaking: Rename
IOStoUiKit. - Breaking: Rename
MacOStoAppKit. - Breaking: Rename
WindowstoWin32. - Breaking: Rename
RedoxtoOrbital. - Breaking: Rename
AndroidtoAndroidNdk. - Breaking: Inner window handle structs are now exported at crate root.
- Added Windows
WinRthandle.
0.3.4 (2021-11-27)
- Add
HasRawWindowHandleimplementation forHasRawWindowHandlein the newerv0.4. This allows "provider" crates that implementHasRawWindowHandle(likewinit,sdl2,glfw,fltk, ...) to upgrade tov0.4without a breaking change. Afterwards "consumer" crates (likegfx,wgpu,rfd, ...) can start upgrading with minimal breakage for their users.
0.3.3 (2019-12-1)
- Add missing
Hashimplementation forAndroidHandle.
0.3.2 (2019-11-29)
- Add
Hashimplementation forRawWindowHandle.
0.3.1 (2019-10-27)
- Remove
RawWindowHandle'sHasRawWindowHandleimplementation, as it was unsound (see #35) - Explicitly require that handles within
RawWindowHandlebe valid for the lifetime of theHasRawWindowHandleimplementation that provided them.
0.3.0 (2019-10-5)
- Breaking: Rename
XLib.surfacetoXLib.window, as that more accurately represents the underlying type. - Implement
HasRawWindowHandleforRawWindowHandle - Add
HINSTANCEfield toWindowsHandle.
0.2.0 (2019-09-26)
- Breaking: Rename
X11toXLib. - Add XCB support.
- Add Web support.
- Add Android support.
0.1.2 (2019-08-13)
- Fix use of private
_non_exhaustivefield in platform handle structs preventing structs from getting initialized.
0.1.1 (2019-08-13)
- Flesh out Cargo.toml, adding crates.io info rendering tags.
0.1.0 (2019-08-13)
- Initial release.