Softbuffer is broken on recent builds of Redox without the fix here, so it's helpful to have a new release that fixes it. We seem to have accumulated a few non-breaking fixes, so it seems like a good enough time to do a release anyway. Disabling `fetch` on Windows could be considered breaking, but it doesn't change the API, was broken anyway, and is likely unused. So I don't think that's an issue.
50 lines
2 KiB
Markdown
50 lines
2 KiB
Markdown
# 0.3.1
|
|
|
|
* On X11, fix the length of the returned buffer when using the wire-transferred buffer.
|
|
* On Web, fix incorrect starting coordinates when handling buffer damage.
|
|
* 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.
|
|
|
|
# 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).
|
|
|
|
# 0.2.1
|
|
|
|
* Bump `windows-sys` to 0.48
|
|
|
|
# 0.2.0
|
|
|
|
* 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.
|
|
* Improvements for Wayland support.
|
|
* Support for HiDPI on macOS.
|
|
* **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.
|
|
* Use X11 MIT-SHM extension, if available.
|
|
|
|
# 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
|
|
|
|
Initial published version with support for Linux (X11 and Wayland), Mac OS (but buggy), and Windows.
|