Releases: nn1ks/huelib-rs
Releases · nn1ks/huelib-rs
v0.13.2
v0.13.1
v0.13.0
Changes:
- (breaking) Renamed enum variant
response::ErrorKind::DHCPCannotBeDisabled
toresponse::ErrorKind::DhcpCannotBeDisabled
(85623d6) - (breaking) Renamed enum variant
resource::Group::Class::TV
toresource::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
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-description
cargo feature) (d9cbb41)
Fixes:
Other changes:
- (breaking) Renamed
bridge::discover
tobridge::discover_nupnp
(9763cc7) - (breaking) Added variant
Request
to theError
enum (cc85098)
Internal changes:
v0.11.0
Breaking changes:
- Fixed typo of
software_version
field insensor::Sensor
(6fe73f1) - Changed the type of the
software_version
field insensor::Sensor
fromString
toOption<String>
(6fe73f1) - Added the fields
product_name
anddiversity_id
tosensor::Sensor
(c70dd13, 5d99aec) - Added the fields
button_event
,temperature
,light_level
,dark
, anddaylight
tosensor::State
(8004a94, ed22a87) - Changed the type of the
username
parameter ofBridge::new()
fromString
toInto<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
Adjust
as value instead ofModifierType
and a seperate value
- Added
- Made fields of modifiers and creators public (b894f76)
- Changed
scene::LightStateModifier
tolight::StaticStateModifier
(b894f76) - Marked
light::SoftwareUpdateState
asnon_exhaustive
(e8e3822) - Made fields of
Bridge
private and added get methods (9334132) - Changed the paramter type of
username
inBridge::new
fromimpl Into<String>
toString
(2b9859a) - Changed the type of
netmask
field inconfig::Config
andconfig::Modifier
toIpAddr
(9130ac4) - Changed the type of
proxy_address
field inconfig::Modifier
toIpAddr
(e8b4c4d) - Changed the type of
current_time
field inconfig::Modifier
tochrono::NaiveDateTime
(790a81c) - Added methods to
Creator
andModifier
traits (4c3de67) - Added new
Scanner
trait (4c3de67) - Replaced
resource::Action
withresource::rule::Action
andresource::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
Copy
implementation on some structs (d3422b8) - Split
bridge::register_user
function intobridge::register_user
andbridge::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 toString
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
toInto<String>
(bbfda6d)
Internal changes: