Kotlin 2.0 Upgrade
- The library has been upgraded to use Kotlin 2.0. While there are no direct API changes to the library's API, this may require upgrades to your project's dependencies for compatibility.
- Devices module for getting/updating device metadata.
- Resources module for listing bridge resources
- Scenes module for getting/updating scenes definitions for rooms.
- Deprecated value class list accessors, due to unbounded nature of collections.
- Deprecated value class
valueOf
methods in favor of using constructor directly.
This major release of the SDK contains breaking changes required to support Kotlin Multiplatform as well as the v2 endpoints of the Hue API. Please refer to the docs for new setup instructions.
The new SDK contains more thorough documentation as well as a published API reference.
- Bridge Discovery
- Light Control
- Grouped Lights
- Rooms
- Zones
- jvm
- js (IR)
- nodejs
-
- browser
- iosArm64
- iosX64
- watchosArm32
- watchosArm64
- watchosX64
- tvosArm64
- tvosX64
- macosX64
- macosArm64
- linuxX64
- mingwX64
- Update ColorMath dependency to 2.0.0
- Update to Kotlin 1.4.20
- Update OkHttp to 4.9.0
- Update ThreeTenBP to 1.5.0
- Handle null
lastInstall
fields on hue lights' update state.
- Migrate Discover functionality from old nupnp to new endpoint (discover.meethue.com)
- Unhandled JsonDataException when a room is empty.
- Update ThreeTenBP to 1.4.4
- Update OkHttp to 4.8.0
- Update Moshi to 1.9.3
- Update Coroutines to 1.3.8
- API Requests for modifying light state are rate limited by 100ms.
- API Requests for modifying group state are rate limited by 1s.
Initial Release SDK and CLI with support for:
- Light Control
- Group Control
- Scenes
- Schedules