Skip to content

v0.8.0

Latest
Compare
Choose a tag to compare
@almindor almindor released this 24 May 20:29
· 19 commits to master since this release
7ff5271

[v0.8.0] - 2024-05-24

Added

  • added GC9A01 model support
  • added Display::wake method
  • added Display::sleep method
  • added Display::is_sleeping method
  • added Display::dcs method to allow sending custom DCS commands to the device
  • added TestImage::default
  • added ST7796 model support (#125)

Changed

  • rename all Builder::with_* methods to versions without the with_ prefix to conform to the Rust API guidelines. See this issue for more info
  • options and error submodule types are no longer re-exported from the main library
  • DCS commands param fields are now all consistently private with added constructors for all such commands
  • DCS command constructors (such as SetAddressMode::new) are now marked as const, so DCS commands can be constructed in
    const contexts
  • replaced window_offset_handler function pointer with offset field
  • default to disabled color inversion for all generic models
  • renamed Display::set_scroll_region and Display::set_scroll_offset into set_vertical_scroll_region and set_vertical_scroll_offset
  • updated to embedded-hal v1.0.0
  • updated to display-interface v0.5.0
  • removed Model::default_options
  • bumped MSRV to v1.75
  • fixed DrawTarget::fill_contiguous for images that overlap the edge of the framebuffer
  • replaced model specific Builder constructors (like Builder::gc9a01) with one generic Builder::new constructor
  • replaced rest pin parameter in Builder::init by Builder::with_reset_pin setter
  • removed setters and getters from ModelOptions and instead made the fields public
  • added non_exhaustive attribute to ModelOptions
  • added checks to Builder::init to ensure that the display size and display offset are valid

Removed

  • removed Builder::with_framebuffer_size