Skip to content

Latest commit

 

History

History
202 lines (106 loc) · 7.35 KB

CHANGELOG.md

File metadata and controls

202 lines (106 loc) · 7.35 KB

Changelog

All notable changes to this project will be documented in this file. See standard-version for commit guidelines.

5.2.0 (2020-12-19)

Features

5.1.0 (2020-12-13)

Features

5.0.1 (2020-12-13)

Bug Fixes

  • export RokuDeviceInfo interface (10c88b9)

5.0.0 (2020-12-13)

⚠ BREAKING CHANGES

  • add package.json exports field (0d76459)
    • exports field should make node-client usable from node 14 as an es module. However, it also prevents importing other files from the package.
  • remove deprecated exports (9564e81)
    • Removed these deprecated exports from the package, use alternatives shown:
      • keys -> Keys
      • Client -> RokuClient
  • info return value is more strongly typed (15c2f03)
    • The RokuClient#info() return value can now contain booleans as well as strings. The TypeScript definition of the object has been updated to include all possible values instead of a generic string/string object.
  • enable esModuleInterop (9655ccb)
    • This allows importing dependencies more easily, but I think it means that consumers also need this setting enabled.

Features

Bug Fixes

  • types: commander exec callback is now a void function (1e56327)

4.2.0 (2020-08-15)

Features

  • add keys STAR and OPTIONS as aliases to INFO (4c30973)
    • The * button on the remote is technically called "info", even though it is never used to show information. Aliasing it to "STAR" and "OPTIONS" helps improve clarity.
    • star and options can be used from the command() interface

4.1.0 (2020-06-03)

Features

  • export RokuClient and Keys (5a3e809)
  • export all ts interfaces from lib/client.ts (5a3e809)

Deprecations

  • named export Client has been deprecated and will be removed in a future version - use RokuClient instead
  • named export keys has been deprecated and will be removed in a future version - use Keys instead

4.0.0 (2020-05-22)

⚠ BREAKING CHANGES

  • Minimum NodeJS version has been bumped to 10.

Features

  • allow reusing commander commands (abd9543)

build

  • bump engines.node to >=10 (1cf5e9c)
  • bump travis node versions to 10 and 12 (e691a8b)

3.2.0 (2020-01-11)

Features

  • add default port to ip if not given (e27cd8c)

3.1.6 (2019-08-07)

3.1.5 (2019-02-05)

3.1.4 (2019-02-04)

3.1.3 (2018-11-23)

Bug Fixes

  • types: allow KeyCommand types in keypress commands (c2785f5)

3.1.1 (2018-11-23)

3.1.0 (2018-10-20)

Features

  • add exec method to commander (3ed3342)
  • add wait method to commander (c790780)

3.0.0 (2018-10-16)

Bug Fixes

  • tests: add types in test (1c591ae)

Features

  • remove tmp dependency & modify icon (cbb5de1)
  • switch to fetch-ponyfill (dd9d03a)

BREAKING CHANGES

  • Icon method no longer downloads the icon to the tmp directory, and instead returns an object with the image type, extension, and fetch response. This will allow this package to be used in node and the browser.

2.1.0 (2018-10-16)

Bug Fixes

  • jest: ignore index & keys (dabd8ab)

Features

2.0.1 (2018-08-14)

2.0.0 (2018-08-14)

Features

  • Make commander typesafe (bccf13c)
  • Split discover into discoverAll (bd33c68)
  • Update to typescript (dea9a61)

BREAKING CHANGES

  • Removed the wait flag from discover and instead added a separate method discoverAll which will wait for the given amount of time for all devices on the network.