rust-embedded-community / ssd1306

SSD1306 OLED driver
Apache License 2.0
300 stars 68 forks source link

Breaking change released in patch release 0.4.2 #142

Closed eldruin closed 3 years ago

eldruin commented 3 years ago

Description

A breaking change (#139) was released as part of patch release 0.4.2. Was this intended?

For the record, the error is similar to this:

error[E0107]: wrong number of type arguments: expected 2, found 1
  --> examples/mlx90615-temperature-display-bp.rs:82:19
   |
82 |     let mut disp: GraphicsMode<_> = Builder::new().connect(interface).into();
   |                   ^^^^^^^^^^^^^^^ expected 2 type arguments

See here

jamwaffles commented 3 years ago

My mistake! I must've been a bit hasty with the latest release. I've yanked 0.4.2 and released 0.5.0. This should allow 0.4.x to continue without breaking changes I think. Please close this issue if it's resolved on your end now.

eldruin commented 3 years ago

That worked. Thank you for your work! :)

jamwaffles commented 3 years ago

No worries. Apologies for the disruption :grimacing: