emoon / rust_minifb

Cross platfrom window and framebuffer crate for Rust
MIT License
980 stars 92 forks source link

Update raw-window-handle requirement from 0.4 to 0.6 #328

Closed dependabot[bot] closed 8 months ago

dependabot[bot] commented 9 months ago

Updates the requirements on raw-window-handle to permit the latest version.

Release notes

Sourced from raw-window-handle's releases.

v0.6.0

  • Breaking: Raw pointer handles now use NonNull where appropriate, to avoid null pointer dereferences.
  • Breaking: Renamed empty methods to new, and take parameters in most of those, to better match normal Rust semantics.
  • Breaking: HasRaw(Display/Window)Handle::raw_(display/window)_handle returns a result indicating if fetching the window handle failed (#122).
  • Breaking: Remove the Active/ActiveHandle types from the public API (#126).
  • Breaking: Remove AppKitWindowHandle::ns_window and UiKitWindowHandle::ui_window since they can be retrieved from the view (#129).
  • Breaking: Remove Copy derive from RawWindowHandle and WindowHandle (#140).
  • Implement PartialEq, Eq and Hash for WindowHandle too. (#128)
  • Implement the relevant traits for &mut T where T: <trait>. (#130)
  • Add web handles for wasm-bindgen v0.2. They are locked behind the wasm-bindgen-0-2 feature. (#134)
  • Deprecate the raw window/display handle traits. They will be removed at the next stable release. (#139)
Changelog

Sourced from raw-window-handle's changelog.

0.6.0 (2023-09-30)

  • Breaking: Raw pointer handles now use NonNull where appropriate, to avoid null pointer dereferences.
  • Breaking: Renamed empty methods to new, and take parameters in most of those, to better match normal Rust semantics.
  • Breaking: HasRaw(Display/Window)Handle::raw_(display/window)_handle returns a result indicating if fetching the window handle failed (#122).
  • Breaking: Remove the Active/ActiveHandle types from the public API (#126).
  • Breaking: Remove AppKitWindowHandle::ns_window and UiKitWindowHandle::ui_window since they can be retrieved from the view (#129).
  • Breaking: Remove Copy derive from RawWindowHandle and WindowHandle (#140).
  • Implement PartialEq, Eq and Hash for WindowHandle too. (#128)
  • Implement the relevant traits for &mut T where T: <trait>. (#130)
  • Add web handles for wasm-bindgen v0.2. They are locked behind the wasm-bindgen-0-2 feature. (#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, DisplayHandle and Active (#110).

0.5.1 (2023-03-07)

  • Add the rust-version field (1.64).
  • Implemented From for RawWindowHandle and RawDisplayHandle

0.5.0 (2022-07-14)

  • Breaking: The RawWindowHandle variants were split into RawDisplayHandle and RawWindowHandle.
  • The X11 screen is now present in new XlibDisplayHandle and XcbDisplayHandle.
  • Add GBM support.

0.4.3 (2022-03-29)

0.4.2 (2021-11-24)

  • Also implement HasRawWindowHandle for Rc<T>, and Arc<T> where T: ?Sized.

0.4.1 (2021-11-19)

  • Added an impl of HasRawWindowHandle for &T, Rc<T>, and Arc<T>. The impls for Rc<T> and Arc<T> require the alloc feature.

0.4.0 (2021-11-15)

  • Breaking: Remove _do_not_use tags to use #[non_exhaustive] macro
  • Breaking: RawWindowHandle variants are no longer cfg-guarded by platform.
  • Breaking: Rename IOS to UiKit.
  • Breaking: Rename MacOS to AppKit.
  • Breaking: Rename Windows to Win32.
  • Breaking: Rename Redox to Orbital.

... (truncated)

Commits
  • 2c2aaa9 final changelog date.
  • af04e3b v0.6.0 (#132)
  • e3f68a7 breaking: Deprecate the HasRaw*Handle traits
  • 809b130 Add wasm-bindgen v0.2 handles for web_sys::HtmlCanvasElement and web_sys::Off...
  • 69d9eac Change how handles are constructed, so that we can ensure non-null handles (#...
  • 4611ee8 breaking: Remove Copy for RawWindowHandle/WindowHandle
  • 880b305 Remove window handles from Apple handles (#129)
  • 64d2269 Implement traits for &mut T (#133)
  • e3d2e69 Incorrect changelog PR number (#130)
  • 59d3ad2 m: Make sure traits are uniform across WindowHandle and DisplayHandle
  • Additional commits viewable in compare view


Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.


Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR: - `@dependabot rebase` will rebase this PR - `@dependabot recreate` will recreate this PR, overwriting any edits that have been made to it - `@dependabot merge` will merge this PR after your CI passes on it - `@dependabot squash and merge` will squash and merge this PR after your CI passes on it - `@dependabot cancel merge` will cancel a previously requested merge and block automerging - `@dependabot reopen` will reopen this PR if it is closed - `@dependabot close` will close this PR and stop Dependabot recreating it. You can achieve the same result by closing it manually - `@dependabot show ignore conditions` will show all of the ignore conditions of the specified dependency - `@dependabot ignore this major version` will close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this minor version` will close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself) - `@dependabot ignore this dependency` will close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
dependabot[bot] commented 8 months ago

OK, I won't notify you again about this release, but will get in touch when a new version is available. If you'd rather skip all updates until the next major or minor version, let me know by commenting @dependabot ignore this major version or @dependabot ignore this minor version. You can also ignore all major, minor, or patch releases for a dependency by adding an ignore condition with the desired update_types to your config file.

If you change your mind, just re-open this PR and I'll resolve any conflicts on it.

emoon commented 6 months ago

Fixed by https://github.com/emoon/rust_minifb/pull/333