Skip to content

Latest commit

 

History

History
144 lines (111 loc) · 3.36 KB

CHANGELOG.md

File metadata and controls

144 lines (111 loc) · 3.36 KB

Changelog

All notable changes to smelling_salts will be documented in this file.

The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.

[0.12.1] - 2023-02-20

Fixed

  • Broken links in documentation

[0.12.0] - 2023-02-20

Changed

  • Update dependencies

[0.11.0] - 2023-01-22

Added

  • Watch abstraction of which devices to watch for
  • Device::new()
  • OsDevice abstraction

Changed

  • Bump MSRV to 1.66
  • Use std::os::fd
  • Make epoll module API the root module API

Removed

  • DeviceBuilder - use Watch with Device::new() instead
  • Device::builder()

[0.10.0] - 2023-01-18

Changed

  • Updated whisk to 0.10
  • Updated pasts to 0.13

[0.9.2] - 2022-12-10

Fixed

  • Broken links

[0.9.1] - 2022-12-10

Fixed

  • Published wrong code

[0.9.0] - 2022-12-10 (Yanked)

Changed

  • Upgrade whisk from 0.8 to 0.9
  • Bump MSRV to 1.65

[0.8.0] - 2022-10-16

Changed

  • Upgrade whisk from 0.7 to 0.8
  • Bump MSRV to 1.64

[0.7.2] - 2022-08-23

Fixed

  • Examples not being included to build the docs

[0.7.1] - 2022-08-23

Fixed

  • Documentation not showing up on docs.rs

[0.7.0] - 2022-08-22

Added

  • Device::fd()

Changed

  • Renamed linux module to epoll
  • Use whisk internally
  • Device implements Notifier instead of Future

Removed

  • Device::new(), use Device::builder() instead
  • Watch, use DeviceBuilder instead

[0.6.0] - 2021-11-25

Added

  • Device::new() to be used instead of Driver type.

Changed

  • No longer depends on the flume crate (or any crate); now uses a custom waking mechanism based on a spin-lock with atomics.

Removed

  • Driver
  • RawDevice

[0.5.1] - 2021-08-26

Fixed

  • Example in the documentation not compiling

[0.5.0] - 2021-08-26

Added

  • Driver struct.
  • Implementation of Future for Device

Changed

  • Moved everything into the linux module.
  • Smelling salts now depends on the flume crate as it's only dependency

Removed

  • All methods on Device

[0.4.0] - 2021-07-05

Added

  • Implementation for Send + Sync on Device

Changed

  • Now always only starts one thread.

[0.3.0] - 2021-06-24

Changed

  • Rename Device::register_waker() to Device::sleep(), which now additionally returns Poll::Pending and now requires a mutable reference.
  • Rename Device::old() to Device::stop(), which now additionally returns the RawDevice that was stopped, or -1 if already stopped.
  • Rename Device::should_yield() to Device::pending()

Fixed

  • Undefined behavior on some architectures (specifically raspberry pi)

[0.2.4] - 2021-02-14

Fixed

  • Libraries built on smelling_salts using 100% of CPU unnecessarily

[0.2.3] - 2021-02-06

Fixed

  • Not compiling for Android

[0.2.2] - 2021-01-16

Fixed

  • Stalling issue (futures no longer waked after non-deterministic event).

[0.2.1] - 2020-12-30

Fixed

  • Not compiling dummy implementation.

[0.2.0] - 2020-12-29

Added

  • Device::should_yield() for checking if the waker was trying to wake a different task.

[0.1.0] - 2020-05-03

Added

  • Device for registering wakers for file descriptors.
  • Watcher for constructing event (input or output) list to watch for.