Skip to content

Latest commit

 

History

History
164 lines (120 loc) · 5.57 KB

Changelog.md

File metadata and controls

164 lines (120 loc) · 5.57 KB

Changelog

All notable changes to this project will be documented in this file. This project uses semantic versioning.

4.20.3 (2025-01-05)

  • Improvement: refinements to Protect controller connectivity and recovery.
  • Housekeeping.

4.20.2 (2025-01-05)

  • Housekeeping.

4.20.1 (2025-01-03)

  • Fix: address a regression related to type exports.
  • Housekeeping.

4.20.0 (2025-01-03)

  • Improvement: further refinements to Protect controller connectivity and recovery.
  • Housekeeping.

4.19.0 (2024-12-27)

  • Improvement: refinements to Protect controller connectivity and recovery.
  • Improvement: minor updates to the Protect JSON descriptions.
  • Housekeeping.

4.18.0 (2024-12-22)

  • Breaking change: the minimum supported node version is now node 20.
  • Improvement: we've adjusted strategies to deal with Protect controller quirkiness/bugginess that results in network disconnects from the controller, while ensuring we have reasonable backpressure measures.
  • Housekeeping.

4.17.0 (2024-12-08)

  • Improvement: minor updates to the Protect JSON descriptions.
  • Housekeeping.

4.16.0 (2024-10-05)

  • New feature: ufp - a command line utility to query and execute some utility commands using the Protect API. You'll need to create either ~/.ufp.json or ufp.json in your current directory with the properties controller, username, password all defined in a valid JSON.
  • Housekeeping.

4.15.1 (2024-09-29)

  • Improvement: minor updates to the Protect JSON descriptions.
  • Housekeeping.

4.15.0 (2024-09-26)

  • New feature: added the isThrottled as a publicly accessible readonly property that returns whether the API connection is currently throttled due to connectivity issues.
  • Housekeeping.

4.14.0 (2024-09-22)

  • Improvement: minor updates to the Protect JSON descriptions.
  • Housekeeping.

4.13.0 (2024-09-15)

  • Improvement: minor updates to the Protect JSON descriptions.
  • Housekeeping.

4.12.0 (2024-09-14)

  • Change: API has been updated to reflect the recent changes to the Protect API by Ubiquiti to snapshots. Specifically, you can no longer specify a timestamp.
  • Minor updates to the Protect JSON descriptions.
  • Housekeeping.

4.11.1 (2024-06-06)

  • Housekeeping.

4.11.0 (2024-06-03)

  • Performance improvements and housekeeping.

4.10.0 (2024-06-01)

  • Improvement: device JSON updates for Protect 4.0.
  • Improvement: added the codec event to the livestream API so you can retrieve the codec information associated with a particular livestream.
  • Documentation updates.
  • Housekeeping.

4.9.0 (2024-04-20)

  • Improvement: minor updates to the Protect JSON descriptions.
  • Housekeeping.

4.8.2 (2024-03-17)

  • Housekeeping.

4.8.1 (2024-03-17)

  • Housekeeping.

4.8.0 (2023-11-05)

  • New feature: added the logout() and reset() functions. These replace the clearLoginCredentials() function and provide more granular control for when you truly want to logout of the API versus just close all open connections and start over.

4.7.0 (2023-10-02)

  • Housekeeping and add additional event telemetry for new Protect event types.

4.6.1 (2023-08-19)

4.6.0 (2023-08-19)

  • Housekeeping and minor enhancements to error handling.

4.5.0 (2023-07-16)

  • Snapshot convenience function added.
  • Documentation updates.
  • Housekeeping.

4.4.0 (2023-06-19)

  • New feature: support for livestreams from secondary cameras on Protect devices.

4.3.0 (2023-06-04)

  • New feature: added the isAdminUser as a publicly accessible readonly property that returns whether the currently logged in user is an administrator or not.

4.2.4 (2023-06-03)

  • Housekeeping.

4.2.3 (2023-05-11)

  • Housekeeping.

4.2.2 (2023-04-30)

  • Housekeeping.

4.2.1 (2023-04-13)

  • Housekeeping.

4.2.0 (2023-04-10)

  • Only communicate to the Protect controller using HTTP 2 to further improve performance.

4.1.3 (2023-04-08)

  • Improve resiliency of the events API when controller connectivity issues occur.

4.1.2 (2023-04-06)

  • Address potential login race condition.

4.1.1 (2023-04-05)

  • Housekeeping.

4.1.0 (2023-04-02)

  • New feature: chime API endpoints.
  • Housekeeping.

4.0.0 (2023-03-26)

  • Rewrite and refactor of the API library for performance, efficiency, and future-proofing.
  • Shifted to ESM-only. If you need common Javascript (CJS) version, stick to 3.x.

3.0.4 (2022-02-20)

  • Housekeeping.

3.0.3 (2022-02-19)

  • Adjustments to the livestream API, and improved error handling.
  • Improve error handling in the events API.
  • Housekeeping.

3.0.2 (2022-02-12)

  • Housekeeping update.

3.0.1 (2022-02-12)

  • Housekeeping update.

3.0.0 (2022-02-12)

  • New feature: websockets API endpoint support.
  • New feature: websockets livestreaming API support.
  • Breaking change: make protectLogging camel case to ProtectLogging for consistency.
  • Breaking change: rename eventsListener to eventsWs for consistency.
  • Improvements: don't arbitrarily close the connection to the realtime updates API - only reconnect if we lose the connection somehow.
  • Improvements: further encapsulate the library to avoid spurious access of properties that shouldn't be modified by consumers of the library.

2.1.1 (2022-01-10)

  • Housekeeping.

2.1.0 (2022-01-09)

  • Full support for all known UniFi Protect device types (cameras, lights, sensors, viewers)
  • Code cleanup.

2.0.0 (2022-01-02)