- (Breaking) Add support for Swift 3.0.
- Expose
productInfoonLightfor determining product features.
- (Breaking) Add support for watchOS 2.0. Minimum iOS target raised to 8.2.
- Expose
lastTouchedtoLightandLightTargetfor determining the freshness of remotely fetched data.
- Migrate from v1beta to v1 of the LIFX HTTP API.
- Add support for iOS 8.0+.
- (Breaking) Add support for Swift 2. You must build with Xcode 7.0+.
- Add support for light target based scenes.
- Add codified errors for various HTTP status codes.
- Changed
Clientinitializers to optionally take cached lights and scenes for faster restore. - Changed
HTTPSessioninitializer to takedelegateQueueandtimeoutarguments. - Changed
HTTPSessionto guarantee requests are performed serially, in-order. - (Breaking) Changed the completion handler in
Client -fetch:to pass an array of aggregated errors instead of a single optional error. - (Breaking) Renamed
SelectortoLightTargetSelectorfor better interoperability in Xcode 7. Unfortunately a breaking change was unavoidable. - Publicly exposed
sessiononClientto easily get a configured session from the client. - Publicly exposed
lightsandscenesas read-only onClientmaking it possible to inspect the state of the client. - Publicly exposed
lightsas read-only onLightTargetin favour of callingtoLights()to be consistent withClient. - Publicly exposed
baseURL,delegateQueue, andURLSessionas read-only onHTTPSession. - Deprecated constructing selectors with
.Labeltype. - Deprecated
HTTPSession -setLightsPower:power:duration:completionHandler:andHTTPSession -setLightsColor:color:duration:powerOn:completionHandler:. UseHTTPSession -setLightsState:power:color:brightness:duration:completionHandler:instead. - Deprecated
LightTarget -setColor:brightness:power:duration:completionHandler:. UseLightTarget -setState:brightness:power:duration:completionHandler:instead. - Deprecated
LightTarget -toLights. Use thelightsproperty instead.
LightTarget -setBrightness:duration:completionHandler:,LightTarget -setColor:duration:completionHandler:, andLightTarget -setColor:brightness:duration:power:completionHandler:respectspowerparameter by optimistically updating in-memory cache.
- Initial release