yonomi_platform_sdk 5.2.1
yonomi_platform_sdk: ^5.2.1 copied to clipboard
The Yonomi Platform SDK aims to lower the curve to getting an application connected to the Yonomi Platform and working with objects in the IoT domain.
5.2.1 - 2022-10-19 #
5.2.0 - 2022-09-15 #
5.1.0 - 2022-09-02 #
Bug Fixes #
- device_details_fragment_query: remove querying for hasNext node due to it causing problems (a3950bd)
- pin_code_repository: fix pincode add pin action signature (39e535d)
- scope typedefs to their file only (b90040f)
Features #
- pin_code_repository: introduce PinCode repository (2d75ca1)
- pin_code_repository: redefine pinCodeRepository interface for states (042e5f0)
- pin-codes: add gql query to add new pin code credential (a3aff9f)
- query.fragment.graphql: query more info from PinCode Trait (260411e)
- query.fragment.graphql: query PinCode properties for a device (d978ce5)
- schema.docs.graphql: update yp graphql schema file (ee6c68e)
5.0.3 - 2022-08-26 #
5.0.2 - 2022-08-17 #
5.0.1 - 2022-05-10 #
5.0.0 - 2022-04-28 #
4.1.0 - 2022-04-26 #
4.0.0 - 2022-04-25 #
Bug Fixes #
- Correct definitions of color trait (e439ba6)
- Expose color repository (9ad94d1)
- devices_repository.dart: Remove code that is not relevant to device repo (2cd2be2)
- No longer return a separate state if a state isn't found (f1d043c)
- Remove duplicate hsb value from schema (45e8e64)
- Remove more duplicate types in schema (da80b22)
- Remove UnknownTrait from this (82f8cd6)
- Update pubspec.yaml deps and fix syntax of color graphql (1285bbd)
Features #
- Add the Color trait (987481e)
BREAKING CHANGES #
- devices_repository.dart:
3.1.0 - 2022-04-19 #
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)