Skip to content

Releases: Norgate-AV/react-crestron-ch5-hooks

v2.0.0

05 Apr 17:01

Choose a tag to compare

2.0.0 (2026-04-05)

⚠ BREAKING CHANGES

  • React peer dependency minimum raised from >=16 to >=18

🌟 Features

  • migrate to @norgate-av/ch5-crcomlib and drop ch5-helper dependency (9327a99)
  • hooks: seed initial state from getState on mount (fdd7e0f)

v1.1.0

03 Apr 17:52

Choose a tag to compare

1.1.0 (2026-04-03)

🌟 Features

  • hooks: add hold(duration) to digital publish hooks (780c607)
  • replace jest with vitest (c0fe3e4)

πŸ› Bug Fixes

  • hooks: pass explicit undefined to useRef for React 19 compatibility (927334b)
  • deps: update @crestron/ch5-crcomlib peer dependency to ^2.0.0 (dc4db0c), closes #148
  • hooks: use Array.from factory to avoid shared initial state reference (655592a)

🧰 Chores

  • add @vitest/coverage-v8 package (73d7e93)
  • semantic-release: add changelog and git plugins (404d95f)
  • git: add gitattributes file (8af0653)
  • node: add nvmrc file (9f0ab40)
  • add vitest package (1efbdee)
  • deps-dev: bump @commitlint/cli from 16.2.3 to 16.2.4 (#25) (6e734e0)
  • deps-dev: bump @commitlint/cli from 16.2.4 to 17.0.0 (#42) (00d32c5)
  • deps-dev: bump @commitlint/cli from 17.0.0 to 17.0.1 (#53) (fcb0011)
  • deps-dev: bump @commitlint/cli from 17.0.1 to 17.0.2 (#57) (96d4fc0)
  • deps-dev: bump @commitlint/config-conventional (#24) (da60e4a)
  • deps-dev: bump @commitlint/config-conventional (#40) (83bed85)
  • deps-dev: bump @commitlint/config-conventional (#65) (61aeb99)
  • deps-dev: bump @norgate-av/crestron-ch5-helper (#46) (ee6f69d)
  • deps-dev: bump @testing-library/react from 13.1.1 to 13.2.0 (#36) (1cead54)
  • deps-dev: bump @testing-library/react from 13.2.0 to 13.3.0 (#49) (cb56db3)
  • deps-dev: bump @types/react from 18.0.6 to 18.0.7 (#19) (f8b62a6)
  • deps-dev: bump @types/react from 18.0.7 to 18.0.8 (#22) (07dc8b9)
  • deps-dev: bump @types/react from 18.0.8 to 18.0.9 (#35) (334bff4)
  • deps-dev: bump @types/react-dom from 18.0.2 to 18.0.3 (#29) (a626989)
  • deps-dev: bump @types/react-dom from 18.0.3 to 18.0.4 (#39) (11f27fa)
  • deps-dev: bump @types/react-dom from 18.0.4 to 18.0.5 (#52) (5e77509)
  • deps-dev: bump @typescript-eslint/eslint-plugin (#17) (48d76ed)
  • deps-dev: bump @typescript-eslint/eslint-plugin (#30) (708dc85)
  • deps-dev: bump @typescript-eslint/eslint-plugin (#37) (9afb93c)
  • deps-dev: bump @typescript-eslint/eslint-plugin (#41) (2dfe865)
  • deps-dev: bump @typescript-eslint/eslint-plugin (#50) (4a53ec3)
  • deps-dev: bump @typescript-eslint/eslint-plugin (#64) (66865e8)
  • deps-dev: bump @typescript-eslint/parser from 5.20.0 to 5.21.0 (#20) (776c5e5)
  • deps-dev: bump @typescript-eslint/parser from 5.21.0 to 5.22.0 (#28) (535ffef)
  • deps-dev: bump @typescript-eslint/parser from 5.22.0 to 5.23.0 (#34) (2e344b8)
  • deps-dev: bump @typescript-eslint/parser from 5.23.0 to 5.24.0 (#38) (5bf6b1b)
  • deps-dev: bump @typescript-eslint/parser from 5.24.0 to 5.27.0 (#51) (c94c6dd)
  • deps-dev: bump @typescript-eslint/parser from 5.27.0 to 5.28.0 (#63) (7d3128b)
  • deps-dev: bump @typescript-eslint/parser from 5.28.0 to 5.30.7 (#83) (04720b0)
  • deps: bump deps (2bf2b78)
  • deps: bump deps (57be263)
  • deps-dev: bump doctoc from 2.1.0 to 2.2.0 (#32) (dbc5441)
  • deps-dev: bump eslint from 8.14.0 to 8.15.0 (#33) (2dd9036)
  • deps-dev: bump eslint from 8.15.0 to 8.16.0 (#44) ([517d...
Read more

v1.0.0

24 Apr 22:32
1185043

Choose a tag to compare

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)