Skip to content

Releases: nn1ks/huelib-rs

v0.13.2

22 Oct 17:09
6d92ed6
Compare
Choose a tag to compare

Fixes:

  • Fixed serialization format of resource::group::Class::Tv ("Tv" -> "TV") (#20)

v0.13.1

05 Aug 16:36
f79955d
Compare
Choose a tag to compare

Changes:

  • Added new feature old-api for v1 bridges (#18)

v0.13.0

21 Apr 15:21
Compare
Choose a tag to compare

Changes:

  • (breaking) Renamed enum variant response::ErrorKind::DHCPCannotBeDisabled to response::ErrorKind::DhcpCannotBeDisabled (85623d6)
  • (breaking) Renamed enum variant resource::Group::Class::TV to resource::Group::Class::Tv (4f6ac10)
  • Implemented Eq for some structs and enums (f411899, 7e627d4, 08521e9, ba68cf6, e6183a3)
  • Implemented Hash for some structs and enums (#17, 1d6e9d0)
  • Removed pin for specific version of syn (ea40642)

v0.12.4

24 Jan 15:19
Compare
Choose a tag to compare

Fixes:

  • Items behind the upnp-description cargo feature are now marked as such in the documentation on docs.rs (5a5c39e)

v0.12.3

24 Jan 15:03
Compare
Choose a tag to compare

Fixes:

v0.12.2

24 Jan 14:51
Compare
Choose a tag to compare

Changes:

  • Items behind the upnp-description cargo feature are now marked as such in the documentation on docs.rs (8b446ac)

v0.12.1

24 Jan 14:28
Compare
Choose a tag to compare

Fixes:

  • Documentation for items of the upnp-description cargo feature is now available on docs.rs (4aee766)

v0.12.0

24 Jan 03:27
Compare
Choose a tag to compare

Features:

  • Added support for accessing the UPnP description of a bridge (can be used by enabling the upnp-description cargo feature) (d9cbb41)

Fixes:

  • (breaking) Changed type of the temperature field in sensor::State from u32 to i32 (36a531d, #14)

Other changes:

  • (breaking) Renamed bridge::discover to bridge::discover_nupnp (9763cc7)
  • (breaking) Added variant Request to the Error enum (cc85098)

Internal changes:

v0.11.0

30 Dec 12:44
Compare
Choose a tag to compare

Breaking changes:

  • Fixed typo of software_version field in sensor::Sensor (6fe73f1)
  • Changed the type of the software_version field in sensor::Sensor from String to Option<String> (6fe73f1)
  • Added the fields product_name and diversity_id to sensor::Sensor (c70dd13, 5d99aec)
  • Added the fields button_event, temperature, light_level, dark, and daylight to sensor::State (8004a94, ed22a87)
  • Changed the type of the username parameter of Bridge::new() from String to Into<String> (fa295bb)

Thanks to @twistedfall for all the improvements and fixes!

v0.10.0

29 Oct 22:12
Compare
Choose a tag to compare

Breaking changes:

  • Changed methods of modifiers and creators (b894f76)
    • Added with_ to the beginning of the method names (e.g. brightness() -> with_brightness())
    • Values that can be overriden/incremented/decremented now take Adjust as value instead of ModifierType and a seperate value
  • Made fields of modifiers and creators public (b894f76)
  • Changed scene::LightStateModifier to light::StaticStateModifier (b894f76)
  • Marked light::SoftwareUpdateState as non_exhaustive (e8e3822)
  • Made fields of Bridge private and added get methods (9334132)
  • Changed the paramter type of username in Bridge::new from impl Into<String> to String (2b9859a)
  • Changed the type of netmask field in config::Config and config::Modifier to IpAddr (9130ac4)
  • Changed the type of proxy_address field in config::Modifier to IpAddr (e8b4c4d)
  • Changed the type of current_time field in config::Modifier to chrono::NaiveDateTime (790a81c)
  • Added methods to Creator and Modifier traits (4c3de67)
  • Added new Scanner trait (4c3de67)
  • Replaced resource::Action with resource::rule::Action and resource::schedule::Command (4c3de67)
    • The new structs have methods to construct them with a Modifier, Creator, or Scanner (#5)
  • Removed Copy implementation on some structs (d3422b8)
  • Split bridge::register_user function into bridge::register_user and bridge::register_user_with_clientkey (60e7ada)
    • The third paramter (a bool that specified whether to generate a clientkey) was removed
    • The return type of register_user was changed to String which is the username
    • The return type of register_user_with_clientkey is (String, String) which represents the username and clientkey
  • Removed bridge::User struct (60e7ada)
  • Changed type of id parameters in methods of Bridge to Into<String> (bbfda6d)

Internal changes: