Releases: Norgate-AV/react-crestron-ch5-hooks
Releases · Norgate-AV/react-crestron-ch5-hooks
v1.0.0
1.0.0 (2022-04-24)
Bug Fixes
- hooks-digital-publish: update to return raw setValue function (22d7b86)
- hooks: accept signalNames string array (a393494)
- hooks: add generic types to Array.from (ad57768)
- hooks: fix useEffect infinite loop in SubscribeCollection hooks (bdedbca)
- hooks: import DigitalAction type (a044544)
- hooks: import StateSubscription type, replacing CrestronStateSubscription (f5e245e)
- hooks: pass function to setState to update array correctly (623f81a)
- scripts: add platform specific scripts for resolve:crcomlib (ce0d0d8)
- types: correct generic type placement (9560994)
- types: replace callback types with non-collection types (84bb12b)
Features
- hooks: add doc strings for each hook (e58e89f)
- hooks: add skeleton for useCrestronPublishDigitalCollection (3c9eab6)
- hooks: add useCrestronAnalog (ff64b5a)
- hooks: add useCrestronAnalogCollection (0ebdc43)
- hooks: add useCrestronDigital (516913a)
- hooks: add useCrestronDigitalCollection (b45b914)
- hooks: add useCrestronPublishAnalog (f9faba1)
- hooks: add useCrestronPublishAnalogCollection (b1746ff)
- hooks: add useCrestronPublishDigital (319e216)
- hooks: add useCrestronPublishSerial (c8014ec)
- hooks: add useCrestronPublishSerialCollection (fda94f0)
- hooks: add useCrestronSerial (2e988e1)
- hooks: add useCrestronSerialCollection (50513d0)
- hooks: add useCrestronSubscribeAnalog (3eec4bc)
- hooks: add useCrestronSubscribeAnalogCollection (0e7346e)
- hooks: add useCrestronSubscribeDigital (f0f7dce)
- hooks: add useCrestronSubscribeDigitalCollection (5662976)
- hooks: add useCrestronSubscribeSerial (7adb829)
- hooks: add useCrestronSubscribeSerialCollection (1b83abb)
- hooks: complete initial implementation of useCrestronPublishDigitalCollection (685d6db)
- hooks: export useCrestronPublishAnalogCollection and useCrestronPublishSerialCollection (696d127)
- types: add actions types (97e7986)
- types: add Analog (7a5dc89)
- types: add AnalogStateCollectionCallback (1d6349a)
- types: add Digital (e5176ba)
- types: add DigitalStateCollectionCallback (14b1b1e)
- types: add generic StateCallback (b7cb2e1)
- types: add generic StateCollectionCallback (3fc1a59)
- types: add generic StateSubscription (c7edb00)
- types: add IAnalogSignal (c71bd2a)
- types: add IAnalogState (b52b495)
- types: add IBaseAction (e834935)
- types: add IBaseSignal (dc60655)
- types: add IBaseState (be5a22b)
- types: add IDigitalSignal (5202787)
- types: add IDigitalState (6cd896e)
- types: add ISerialSignal (31f7c1e)
- types: add ISerialState (d2662eb)
- types: add Serial (8a369f4)
- types: add SerialStateCollectionCallback (cbf8158)
- types: add StateCallback types (ad464eb)
- types: export new types (260a809)
- types: export types (56c684a)
- utils: add getSignalCollection function (582b61d)