2023-11-12 17:35:31 -08:00
# 0.4.0
2023-10-26 19:15:51 -07:00
2023-11-12 17:35:31 -08:00
- **Breaking:** Port to use `raw-window-handle` v0.6.(#132 )
- Enable creating X11 displays without an existing connection. (#171 )
# 0.3.3
- Fix a bug in the new shared memory model in X11. (#170 )
2023-10-26 19:15:51 -07:00
2023-10-21 08:04:59 -07:00
# 0.3.2
* Document that `present_with_damage` is supported on web platforms. (#152 )
* Replace our usage of `nix` with `rustix` . This enables this crate to run without `libc` . (#164 )
* Use POSIX shared memory instead of Sys-V shared memory for the X11 backend. (#165 )
* Bump version for the following dependencies:
* `memmap2` (#156 )
* `redox_syscall` (#161 )
* `drm` (#163 )
2023-08-27 16:36:25 -07:00
# 0.3.1
2023-09-06 17:05:17 +02:00
* On X11, fix the length of the returned buffer when using the wire-transferred buffer.
2023-09-09 11:30:38 -04:00
* On Web, fix incorrect starting coordinates when handling buffer damage.
2023-08-27 16:36:25 -07:00
* Or Redox, use `MAP_SHARED` ; fixing behavior with latest Orbital.
* Error instead of segfault on macOS if size isn't set.
* Add `OffscreenCanvas` support in web backend.
* Add DRM/KMS backend, for running on tty without X/Wayland.
* Make `fetch` error on Windows, where it wasn't working correctly.
* Implement `Error` trait for `SoftBufferError` .
* Dependency updates.
2023-09-06 17:05:17 +02:00
2023-06-04 16:10:35 -07:00
# 0.3.0
* On MacOS, the contents scale is updated when set_buffer() is called, to adapt when the window is on a new screen (#68 ).
* **Breaking:** Split the `GraphicsContext` type into `Context` and `Surface` (#64 ).
* On Web, cache the document in the `Context` type (#66 ).
* **Breaking:** Introduce a new "owned buffer" for no-copy presentation (#65 ).
* Enable support for multi-threaded WASM (#77 ).
* Fix buffer resizing on X11 (#69 ).
* Add a set of functions for handling buffer damage (#99 ).
* Add a `fetch()` function for getting the window contents (#104 ).
* Bump MSRV to 1.64 (#81 ).
2023-01-15 17:35:52 +01:00
2023-05-31 19:00:28 -07:00
# 0.2.1
* Bump `windows-sys` to 0.48
2023-01-06 08:57:20 -07:00
# 0.2.0
2023-01-06 07:43:29 -08:00
* Add support for Redox/Orbital.
* Add support for BSD distributions.
* Ported Windows backend from `winapi` to `windows-sys` .
* **Breaking:** Take a reference to a window instead of owning the window.
* Add a `from_raw` function for directly using raw handles.
2023-01-06 08:57:20 -07:00
* Improvements for Wayland support.
* Support for HiDPI on macOS.
2023-01-06 07:43:29 -08:00
* **Breaking:** Add feature flags for `x11` and `wayland` backends.
* Use static dispatch instead of dynamic dispatch for the backends.
* Add `libxcb` support to the X11 backend.
2023-01-06 08:57:20 -07:00
* Use X11 MIT-SHM extension, if available.
2023-01-06 07:43:29 -08:00
# 0.1.1
* Added WASM support (Thanks to [Liamolucko ](https://github.com/Liamolucko )!)
* CALayer is now used for Mac OS backend, which is more flexible about what happens in the windowing library (Thanks to [lunixbochs ](https://github.com/lunixbochs )!)
# 0.1.0
2023-01-06 08:57:20 -07:00
Initial published version with support for Linux (X11 and Wayland), Mac OS (but buggy), and Windows.