@nebulahome/integration-sdk 0.0.0-stage → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md ADDED
@@ -0,0 +1,33 @@
1
+ # @nebulahome/integration-sdk
2
+
3
+ The SDK's version is the version of the integration contract the platform implements: a minor
4
+ version adds to the contract, a major one breaks it, and a patch leaves it as it is.
5
+
6
+ ## 1.1.0
7
+
8
+ Matter, and a wider grammar for conditions.
9
+
10
+ - A driver may run on the platform's `matter` transport with `"kind": "matter"`: the platform's
11
+ Matter mapping is its driver, with neither a profile nor code.
12
+ - `discovery.json` may say which of the house's Matter devices are the vendor's, in a `matter`
13
+ block of conditions on who each device says it is; `listen` may then be left out.
14
+ - Conditions, in claims and in `discovery.json`, take `endsWith`, `contains` (a part of a text, or
15
+ an item of a list) and `min` / `max` (a number in a range) beside `equals`, `exists`, `oneOf`
16
+ and `startsWith`.
17
+ - `identifyMatter(vendor, identity)` in `@nebulahome/integration-sdk/testing` says whether the
18
+ vendor's `matter` rules take a Matter device, and as which driver and model.
19
+
20
+ ## 1.0.0
21
+
22
+ The first public release.
23
+
24
+ - `nebulahome-integration validate`, `build` and `pack`: check `src/` the way the hub reads a
25
+ bundle, build it into `dist/<vendor>/` with its code bundled and the manifest's `version` and
26
+ `sdk` written in, and pack it into the `<vendor>-<version>.tgz` a GitHub release carries.
27
+ - `defineTransportModule`, `defineDriverModule`, `defineDiscoveryModule`, `defineAccountModule`
28
+ and `defineStreamModule`, which type a bundle's modules, and the types of the contract they are
29
+ written against.
30
+ - `@nebulahome/integration-sdk/testing`: `loadIntegration`, `driverHarness`, `identify` and
31
+ `createFakeSdk`, to test a bundle as the hub runs it.
32
+ - `@nebulahome/integration-sdk/schemas/*`: the JSON schemas of `manifest.json`, `driver.json`,
33
+ `setup.json`, `profile.json`, `discovery.json` and `account.json`.