yonomi_platform_sdk 3.0.0
yonomi_platform_sdk: ^3.0.0 copied to clipboard
Flutter SDK for Yonomi Platform
3.0.0 - 2022-03-01 #
BREAKING CHANGES #
-
- feat: Add brightness actions query
-
feat(brightness_repository.dart): Add a repository to handle basic brightness related data access
-
refactor(devices_repository.dart,power_repository.dart): Move functions that should be in PowerRepository
-
feat(devices_repository.dart): Add brightness to the trait converter
\
-
test(power_repository_test.dart): Add test to hit power repository line not test covered
-
test(power_repository_test.dart): Refactor tests to use more sensible references
-
test: Add tests for brightness trait
-
test: rename base_repository_test to better match the actual repository name
-
fix(brightness_repository.dart): Fix path calls to brightness value
-
test(test/e2e/repository/thermostat_repository_test.dart): Remove test that is already run in another test class
-
test(lock_repository_test.dart): Move some lock tests to it's own unit test for lock repository
-
test(test/utils/test_fixtures.dart): Add a helper for e2e brightness testing
-
test(test/unit/thermostat_repository_test.dart): Add a branch to make sure an exception is thrown in thermostat repo if the trait arg isn't the right type
-
test(test/unit/power_repository_test.dart): Add a branch to make sure an exception is thrown in power repo if the type isn't right
-
test(brightness_repository_test.dart,devices_repository_test.dart): Add tests for the brightness trait
-
test(devices_repository_test.dart): Cover constructor of DeviceNameId
-
docs: updated dartdocs
-
test(power_repository_test.dart): Remove test that likely can't pass due to internal factors
-
fix(yonomi-sdk.dart): Expose new repository in lib
-
docs: updated dartdocs
-
docs: updated dartdocs
-
test(unit/devices_repository_test.dart): Change brightness device data to actual return from query
-
fix(lib/src/repository/traits/brightness_repository.dart): Reported apparently is nullable on brightness
-
feat: Add GTraitNames for color and color temperature as they come in on Hue bulbs
-
docs: updated dartdocs
-
fix(thermostat_repository.dart-thermostat_repository_test.dart): Make temp range properties match documentation
see https://developers.yonomi.com/docs/platform/util-traits/09-traits-reference/#thermostatsetting-trait as cool and heat temp range properties are nullable dynamic float ranges
-
docs: updated dartdocs
-
refactor(brightness_repository.dart): Rename b to builder to better reflect it is an action request builder
-
fix(repository.dart): Fix private constructor for Repository
-
refactor(thermostat_repository.dart): Use min/max double values rather than null to simplify range logic
-
docs: updated dartdocs
-
refactor(thermostat_repository.dart): Nulls really make more sense
-
fix(power_repository.dart): Don't use defaults for values that come back null
-
refactor: Move from if/else to try/catch for dynamic type problems and remove defaults
-
docs: updated dartdocs
Co-authored-by: Rigoberto L. Perez rigoberto.perez@allegion.com Co-authored-by: CircleCI developer@yonomi.co
2.8.2 - 2022-02-18 #
2.8.0 - 2022-02-14 #
2.7.0 - 2022-02-14 #
2.6.0 - 2022-02-10 #
2.5.0 - 2022-01-25 #
2.4.0 - 2022-01-24 #
2.3.0 - 2022-01-05 #
2.2.0 - 2021-12-16 #
2.1.0 - 2021-12-10 #
Bug Fixes #
- add unit tests for power repository (b5d4014)
- added export (1fafc95)
- added tests (105b43a)
- codecov (9be8464)
- codecov ignore not being picked up (f3addd3)
- coverage yml fix (0ad82df)
- lcov exclude folders (c74990d)
- removed lock repository from devices (766f2fa)
- removed unused method (bcae016)
- renamed codecov files for it to pickup properly (ef6ada2)
- tests (52d1bc0)
- unknown traits will pass trait name (4b1bb35)
Features #
2.0.0 - 2021-11-22 #
1.0.7 - 2021-11-18 #
1.0.6 - 2021-10-22 #
Bug Fixes #
- added device detail and related tests (796fd58)
- added more test for coverage (5624318)
- added user repository test (1f04107)
- flutter minimum version change (750a7d2)
- link account test (5fe2171)
- thermostat related tests (60d5f60)
- updated repository methods to use gql_build classes (f2dc4e2)
- upgrade flutter (57a66ac)