Skip to content

Releases: seamapi/react

v4.0.0

16 Nov 00:48
v4.0.0
102735e
Compare
Choose a tag to compare

Changes

Removes unstable thermostat API usage to ensure compatibly with the upcoming stable Thermostat API release.

  • Removed disableClimateSettingSchedules prop.
  • Removed useClimateSettingSchedule and useClimateSettingSchedules.
  • Removed ClimateSettingScheduleDetails and ClimateSettingScheduleTable.

v4.0.0-beta.1

21 Oct 22:53
v4.0.0-beta.1
ae341a4
Compare
Choose a tag to compare
v4.0.0-beta.1 Pre-release
Pre-release

Features

BREAKING CHANGES

  • Removed Climate Setting Schedules components, hooks, and options.
    • The Climate Setting Schedules API was an experimental API for thermostats. A new API is in development and will return to Seam Components in a later release.
    • Removed disableClimateSettingSchedules prop.
    • Removed ClimateSettingScheduleTable and ClimateSettingScheduleDetails.
    • Removed all hooks for Climate Setting Schedules.

v3.1.2

27 Aug 00:19
v3.1.2
929dbd5
Compare
Choose a tag to compare

Bug Fixes

  • Unable to edit time_bound access codes (#656) (aa838d1)

v3.1.1

19 Aug 22:55
v3.1.1
9a513d7
Compare
Choose a tag to compare

Bug Fixes

  • Use available_hvac_mode_settings over bool props (#655) (55088e3)

v3.1.0

25 Jul 23:14
v3.1.0
72d2435
Compare
Choose a tag to compare

Bug Fixes

  • Improve access code deletion menu UX (513e46d)
  • Snackbar would display default message when it should not (9bb0300)

Features

  • Add nested edit form to access code details component (e46a3b6)
  • Add snackbar when access code is being removed (1b05418)
  • Add storybook entry for access code being removed (00f18b0)
  • Display warning when access code is being removed (b9ad9ac)
  • Make AccessCodeDetails.onDelete configurable (3d15037)

v3.0.2

24 Jul 17:58
v3.0.2
ca18544
Compare
Choose a tag to compare

Bug Fixes

v3.0.1

23 Jul 20:51
v3.0.1
7d2e8b6
Compare
Choose a tag to compare

Features

  • Requires React v18 or later.
  • Upgraded react-query to version 5.This only affects consumers that use the hooks since they wrap the react-query API. Refer to the Migrating to TanStack Query v5 guide for details.
  • Update the Seam SDK client from seamapi to seam. This only affects consumers of useSeamClient. Refer to the new SDK migration guide for details.

Changes

  • Renamed useUpdateFanMode to useSetThermostatFanMode.
    - useUpdateFanMode(...)
    + useSetThermostatFanMode(...)
  • The useGenerateAccessCodeCode now returns the code as a string.
    - const { data } = useGenerateAccessCodeCodeParams({ device_id })
    - const code = data?.code
    + const { code } = useGenerateAccessCodeCodeParams({ device_id })
  • Hooks now always take objects and never string arguments.
    - useDevice(device_id)
    + useDevice({ device_id })
    
    - useAccessCode(access_code_id)
    + useAccessCode({ access_code_id })
    
    - useAccessCodes(device_id)
    + useAccessCodes({ device_id })
    
    - useConnectedAccount(connected_account_id)
    + useConnectedAccount({ connected_account_id })
  • The useEvents hook no longer refetches by default. To use the old behavior, pass the refetchInterval option to the hook.
    - useEvents({...})
    + useEvents({...}, { refetchInterval: 30_000 })

v3.0.0-beta.1

19 Jul 17:34
v3.0.0-beta.1
c0238b1
Compare
Choose a tag to compare
v3.0.0-beta.1 Pre-release
Pre-release

Features

  • Upgraded react-query to version 5.This only affects consumers that use the hooks since they wrap the react-query API. Refer to the Migrating to TanStack Query v5 guide for details.
  • Update the Seam SDK client from seamapi to seam. This only affects consumers of useSeamClient. Refer to the new SDK migration guide for details.

Changes

  • Renamed useUpdateFanMode to useSetThermostatFanMode.
    - useUpdateFanMode(...)
    + useSetThermostatFanMode(...)
  • The useGenerateAccessCodeCode now returns the code as a string.
    - const { data } = useGenerateAccessCodeCodeParams({ device_id })
    - const code = data?.code
    + const { code } = useGenerateAccessCodeCodeParams({ device_id })
  • Hooks now always take objects and never string arguments.
    - useDevice(device_id)
    + useDevice({ device_id })
    
    - useAccessCode(access_code_id)
    + useAccessCode({ access_code_id })
    
    - useAccessCodes(device_id)
    + useAccessCodes({ device_id })
    
    - useConnectedAccount(connected_account_id)
    + useConnectedAccount({ connected_account_id })
  • The useEvents hook no longer refetches by default. To use the old behavior, pass the refetchInterval option to the hook.
    - useEvents({...})
    + useEvents({...}, { refetchInterval: 30_000 })

v2.20.0

27 Jun 23:13
v2.20.0
3479880
Compare
Choose a tag to compare

Features

  • Display noise level in red if currently triggering (#636) (a03f115)

v2.19.1

07 Jun 18:08
v2.19.1
36efbdf
Compare
Choose a tag to compare

Bug Fixes

  • Extra API call with empty device id (99b4a74)
  • Trim trailing slash from telemetry endpoint (6c24d85)