Releases: nn1ks/huelib-rs
Releases · nn1ks/huelib-rs
v0.13.2
v0.13.1
v0.13.0
Changes:
- (breaking) Renamed enum variant
response::ErrorKind::DHCPCannotBeDisabledtoresponse::ErrorKind::DhcpCannotBeDisabled(85623d6) - (breaking) Renamed enum variant
resource::Group::Class::TVtoresource::Group::Class::Tv(4f6ac10) - Implemented
Eqfor some structs and enums (f411899, 7e627d4, 08521e9, ba68cf6, e6183a3) - Implemented
Hashfor some structs and enums (#17, 1d6e9d0) - Removed pin for specific version of
syn(ea40642)
v0.12.4
v0.12.3
v0.12.2
v0.12.1
v0.12.0
Features:
- Added support for accessing the UPnP description of a bridge (can be used by enabling the
upnp-descriptioncargo feature) (d9cbb41)
Fixes:
Other changes:
- (breaking) Renamed
bridge::discovertobridge::discover_nupnp(9763cc7) - (breaking) Added variant
Requestto theErrorenum (cc85098)
Internal changes:
v0.11.0
Breaking changes:
- Fixed typo of
software_versionfield insensor::Sensor(6fe73f1) - Changed the type of the
software_versionfield insensor::SensorfromStringtoOption<String>(6fe73f1) - Added the fields
product_nameanddiversity_idtosensor::Sensor(c70dd13, 5d99aec) - Added the fields
button_event,temperature,light_level,dark, anddaylighttosensor::State(8004a94, ed22a87) - Changed the type of the
usernameparameter ofBridge::new()fromStringtoInto<String>(fa295bb)
Thanks to @twistedfall for all the improvements and fixes!
v0.10.0
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
Adjustas value instead ofModifierTypeand a seperate value
- Added
- Made fields of modifiers and creators public (b894f76)
- Changed
scene::LightStateModifiertolight::StaticStateModifier(b894f76) - Marked
light::SoftwareUpdateStateasnon_exhaustive(e8e3822) - Made fields of
Bridgeprivate and added get methods (9334132) - Changed the paramter type of
usernameinBridge::newfromimpl Into<String>toString(2b9859a) - Changed the type of
netmaskfield inconfig::Configandconfig::ModifiertoIpAddr(9130ac4) - Changed the type of
proxy_addressfield inconfig::ModifiertoIpAddr(e8b4c4d) - Changed the type of
current_timefield inconfig::Modifiertochrono::NaiveDateTime(790a81c) - Added methods to
CreatorandModifiertraits (4c3de67) - Added new
Scannertrait (4c3de67) - Replaced
resource::Actionwithresource::rule::Actionandresource::schedule::Command(4c3de67)- The new structs have methods to construct them with a
Modifier,Creator, orScanner(#5)
- The new structs have methods to construct them with a
- Removed
Copyimplementation on some structs (d3422b8) - Split
bridge::register_userfunction intobridge::register_userandbridge::register_user_with_clientkey(60e7ada)- The third paramter (a bool that specified whether to generate a clientkey) was removed
- The return type of
register_userwas changed toStringwhich is the username - The return type of
register_user_with_clientkeyis(String, String)which represents the username and clientkey
- Removed
bridge::Userstruct (60e7ada) - Changed type of id parameters in methods of
BridgetoInto<String>(bbfda6d)
Internal changes: