Skip to content

Latest commit

 

History

History
917 lines (500 loc) · 68.7 KB

File metadata and controls

917 lines (500 loc) · 68.7 KB

Change Log

2.1.1

Patch Changes

2.1.0

Minor Changes

Patch Changes

2.0.2

Patch Changes

2.0.1

Patch Changes

2.0.0

  • All commands now have examples in their help (smartthings <command> --help).
  • args that require enum-like types are now case-insensitive. e.g. For example, you can now list zigbee devices with smartthings devices --type zigbee.
  • The config file location is now determined by env-paths library rather than oclif. A reasonable attempt has been made at finding the old config and copying it for the user so normally no change is needed. (Future changes will need to be made to the new file, of course.) The config command now displays the location of the configuration file.
  • Commands that take a capability specification on the command line now get the version from a flag rather than an argument. e.g. smartthings capabilities myteam.myCapability --capability-version 1 instead of smartthings capabilities myteam.myCapability 1. Note that the version is always one, so this flag is not necessary at this time.
  • Under-the-hood changes to make the CLI more maintainable.
  • The --token flag is no longer included in usage info (i.e. it does not show up when running --help) but it still works.

1.10.6

Patch Changes

  • #784 4b19148 Thanks @rossiam! - fix bug preventing interactive editing of apps with no icon image set

1.10.5

Patch Changes

  • #754 b9f0ecb Thanks @rossiam! - Limit port range for Schema Apps to 80-8002.

  • Updated dependencies [b9f0ecb]:

    • @smartthings/cli-lib@2.3.2

1.10.4

Patch Changes

1.10.3

Patch Changes

  • #699 a471d47 Thanks @rossiam! - include label as well as name when prompting user for an organization

  • #702 b2392f7 Thanks @rossiam! - fixed bug where prompts for optional integers were treating 0 as if no value was entered

  • #703 44ffaa8 Thanks @rossiam! - update to Node 22; update core SDK and axios dependencies

  • Updated dependencies [b2392f7, 44ffaa8]:

    • @smartthings/cli-lib@2.3.1

1.10.2

Patch Changes

1.10.1

Patch Changes

  • #637 8d62e62 Thanks @rossiam! - Force user to choose organization for schema app before doing anything that will automatically assign one.

1.10.0

Minor Changes

  • #619 032a231 Thanks @rossiam! - query user for organization in schema:update and schema:create commands

Patch Changes

  • #622 b99e397 Thanks @rossiam! - fix error when running invites:schema that could happen if user has a schema app without an organization

1.9.1

Patch Changes

1.9.0

Minor Changes

1.8.2

Patch Changes

  • #566 fdf4250 Thanks @rossiam! - handle epoch timestamps for history, honor after flag strictly in JSON and YAML output

  • #581 a9d6398 Thanks @rossiam! - bump core SDK version

  • #607 b82345d Thanks @rossiam! - fixed bug preventing editing of webhook URLs in Schema apps

  • Updated dependencies [a9d6398]:

    • @smartthings/plugin-cli-edge@3.3.3
    • @smartthings/cli-lib@2.2.4

1.8.1

Patch Changes

1.8.0

Minor Changes

Patch Changes

1.7.0

Minor Changes

  • #544 c32e1e1 Thanks @rossiam! - added support for viewing edge driver usage and pruning unused drivers

Patch Changes

  • #541 b865ad8 Thanks @rossiam! - Fixed cancel action on schema:create command when validation errors exist.

1.6.0

Minor Changes

Patch Changes

  • Updated dependencies [a427e34]:
    • @smartthings/cli-lib@2.2.0

1.5.1

Patch Changes

  • #537 964fb60 Thanks @bflorian! - chore: reverted minimum node version to 18.5.0

  • Updated dependencies [964fb60]:

    • @smartthings/cli-lib@2.1.1
    • @smartthings/plugin-cli-edge@3.2.1

1.5.0

Minor Changes

1.4.1

Patch Changes

1.4.0

Minor Changes

  • #521 7f331ca Thanks @rossiam! - include search-parameters.yaml (or .yml) in edge driver package

Patch Changes

  • Updated dependencies [7f331ca]:
    • @smartthings/plugin-cli-edge@3.2.0

1.3.1

Patch Changes

  • #513 13167bd Thanks @rossiam! - edge:channels:unenroll

    • don't include hubs not enrolled in any channel when asking user for a hub
    • present only enrolled channels when asking the user to choose a channel
  • #515 c391bb5 Thanks @rossiam! - add help text to several Q & A format input items

  • Updated dependencies [13167bd, c391bb5, 13167bd]:

    • @smartthings/plugin-cli-edge@3.1.1
    • @smartthings/cli-lib@2.1.0

1.3.0

Minor Changes

Patch Changes

  • #509 9b9b398 Thanks @rossiam! - bump core SDK version

  • #503 736fc1f Thanks @rossiam! - make icon optional in apps:create command

  • #508 31e99c7 Thanks @rossiam! - support Q&A input for apps and app OAuth data

  • #510 8abbb07 Thanks @Sitlintac! - fix commands to prompt for required inputs when not supplied on the command line

    • capabilities:presentation asks for a capability
    • deviceprofiles:view asks for a deviceprofile
  • Updated dependencies [9b9b398, 9b9b398]:

    • @smartthings/plugin-cli-edge@3.1.0
    • @smartthings/cli-lib@2.0.1

1.2.0

Minor Changes

Patch Changes

  • Updated dependencies [7c64fea, f7a3a23, 79da49f]:
    • @smartthings/plugin-cli-edge@3.0.0
    • @smartthings/cli-lib@2.0.0

1.1.3

Patch Changes

  • #492 0b7934b Thanks @rossiam! - fixed bug when outputting JSON or YAML device or location history

1.1.2

Patch Changes

  • #472 0df2ffd Thanks @rossiam! - softprops/action-gh-release@v1 action requires / for path separators now

1.1.1

Patch Changes

1.1.0

Minor Changes

  • #462 b03292d Thanks @Sitlintac! - enable verbose flag when getting a single device

    add helper method to get location and room names for a single item

Patch Changes

  • #454 0e94827 Thanks @rossiam! - allow more history recall when using JSON or YAML output

  • Updated dependencies [b03292d]:

    • @smartthings/cli-lib@1.1.0

1.0.1

Patch Changes

  • #448 c615772 Thanks @rossiam! - fixed error handling stdin when not run from the console

  • Updated dependencies [c615772, 712476c]:

    • @smartthings/cli-lib@1.0.1
    • @smartthings/plugin-cli-edge@2.0.1

1.0.0

Minor Changes

Patch Changes

1.0.0-beta.23

Patch Changes

  • #439 0ff4918 Thanks @rossiam! - removed command aliases (@oclif/plugin-notfound plugin works much better now than it once did)

  • Updated dependencies [0ff4918]:

    • @smartthings/plugin-cli-edge@2.0.0-beta.5

1.0.0-beta.22

Patch Changes

  • #435 2c889a2 Thanks @rossiam! - output fewer columns when listing channels to make the list fit on the screen better

  • Updated dependencies [2c889a2]:

    • @smartthings/plugin-cli-edge@2.0.0-beta.4

1.0.0-beta.21

Patch Changes

1.0.0-beta.20

Patch Changes

  • #417 5a90f2e Thanks @rossiam! - fix issue with creating capabilities with commands with no arguments

  • #414 206c4a1 Thanks @john-u! - switch Windows archive format back to zip

  • Updated dependencies [ec1744e]:

    • @smartthings/plugin-cli-edge@2.0.0-beta.2

1.0.0-beta.19

Patch Changes

  • #410 4bff9ea Thanks @rossiam! - incorporate edge plugin into monorepo

  • Updated dependencies [4bff9ea]:

    • @smartthings/plugin-cli-edge@2.0.0-beta.1

1.0.0-beta.18

Patch Changes

  • #407 f2ebdc2 Thanks @john-u! - Add build support for macos-arm64, linux-arm64, and linuxstatic-armv7

1.0.0-beta.17

Patch Changes

  • #398 d20ad61 Thanks @rossiam! - IMPORTANT: removed -id suffix from command line flags that had them for consistency
  • #394 e13f0c3 Thanks @rossiam! - * fix vendor support information output for edge:drivers:installed command
    • fix lookup by index for edge:drivers:installed command
  • #400 eb1aab8 Thanks @rossiam! - removed -id suffix from flags, update help text to reflect this
  • #392 594b5c7 Thanks @rossiam! - include location name for installedapps and installedschema when querying a single item in verbose mode

  • Updated dependencies [d20ad61, 594b5c7]:

    • @smartthings/cli-lib@1.0.0-beta.15

1.0.0-beta.16

Patch Changes

1.0.0-beta.15

Patch Changes

1.0.0-beta.14

Patch Changes

  • #381 852cdd7 Thanks @john-u! - resolve logcat command bug that was ignoring all messages from the hub

  • Updated dependencies [ea04f1e]:

    • @smartthings/cli-lib@1.0.0-beta.14

1.0.0-beta.13

Patch Changes

  • #369 d62c051 Thanks @bflorian! - feat: Refactored devices command and added health and status flags.
  • #375 3523e38 Thanks @john-u! - bump @smartthings/plugin-cli-edge to support newer oclif/core version

  • Updated dependencies [3523e38]:

    • @smartthings/cli-lib@1.0.0-beta.13

1.0.0-beta.12

Patch Changes

1.0.0-beta.11

Patch Changes

  • #351 e8852ab Thanks @Sitlintac! - enable multiple types when filtering devices

  • Updated dependencies [97f5c32]:

    • @smartthings/cli-lib@1.0.0-beta.11

1.0.0-beta.10

Patch Changes

  • #348 d1ee1c1 Thanks @Sitlintac! - feat: add verbose ability to rooms command
    • reorder columns in table output
    • add test

1.0.0-beta.9

Patch Changes

  • #339 0849c4e Thanks @rossiam! - Update table output: - switch to table package which handles international characters properly - removed compact / expanded command line options - removed compactTableOutput configuration option - added group-rows and no-group-rows command line options - added groupTableOutputRows configuration option - (lib) completely isolated use of dependency to table-generator.ts
  • #327 82652c9 Thanks @bflorian! - Added commands to create virtual devices and generate events on their behalf

1.0.0-beta.8

Patch Changes

  • #309 7e3a1b8 Thanks @john-u! - - shutdown logger before Node exits
    • update @oclif deps to latest
    • replace process exits with command errors
  • #313 3aa7e60 Thanks @rossiam! - - edge:drivers:package command - log error when broken symlink is encountered
    • edge:drivers:package command - log error when symlink to directory is encountered
    • added edge:drivers:switch command for switching driver used by a device
  • Updated dependencies [7e3a1b8]:
    • @smartthings/cli-lib@1.0.0-beta.8

1.0.0-beta.7

Patch Changes

  • #306 d4730e0 Thanks @john-u! - add debug logging to defualt login authenticator

  • Updated dependencies [d4730e0]:

    • @smartthings/cli-lib@1.0.0-beta.7

1.0.0-beta.6

Patch Changes

1.0.0-beta.5

Patch Changes

  • #294 356a24b Thanks @john-u! - Add ability to enable debug logging (to console) via env variable.

  • Updated dependencies [4464873, 356a24b]:

    • @smartthings/cli-lib@1.0.0-beta.5

1.0.0-beta.4

Patch Changes

1.0.0-beta.3

Patch Changes

1.0.0-beta.2

Minor Changes

1.0.0-beta.1

Patch Changes

  • #274 efc1eed Thanks @john-u! - replace usage of lodash with native ES or separate lodash modules

All notable changes to this project will be documented in this file. See Conventional Commits for commit guidelines.

1.0.0-beta.0 (2022-03-10)

Note: Version bump only for package @smartthings/cli

1.0.0-beta.0 (2022-03-10)

Note: Version bump only for package @smartthings/cli

0.0.0-pre.41 (2022-03-07)

Bug Fixes

  • deps: bump plugin-cli-edge to 1.10.1 (14d7ad3)

0.0.0-pre.40 (2022-03-03)

Bug Fixes

  • devicepreferences: make create prompts more clear (258b9da)

Features

  • include unique User-Agent in client requests (4886cc2)

0.0.0-pre.39 (2022-02-18)

Features

  • add type filter to devices command; minor refactoring (5ea91d7)

0.0.0-pre.38 (2022-02-17)

Bug Fixes

  • edge: bump plugin-cli-edge to 1.8.1 (813c903)

0.0.0-pre.37 (2022-02-11)

Bug Fixes

  • deps: update dependencies (24d0c23)

Features

  • hide uncommon flags from help to reduce clutter (deaebb4)

Performance Improvements

0.0.0-pre.36 (2022-01-27)

Features

  • add rules:execute command (e84b27f)
  • warn when config extensions are .yml (e21b4c9)

0.0.0-pre.35 (2022-01-19)

Bug Fixes

  • update versions for oclif dependencies (e943245)

Features

  • devicepreferences: expanded i18n support (109bd38)
  • update standard device details output (0867f77)

0.0.0-pre.34 (2021-12-23)

Features

  • edge: debug logging in logcat (dd8df46)

0.0.0-pre.33 (2021-12-15)

Features

  • Added support for Organizations (5513e21)
  • devicepreferences: initial suppport for i18n (3319994)

0.0.0-pre.32 (2021-10-25)

Bug Fixes

  • edge: bump edge version to 1.4.3 (f34ff2b)
  • scrub sensitive info from logging (6b374f8)

0.0.0-pre.31 (2021-10-07)

Bug Fixes

  • README: fix code links (738357d), closes #200
  • Don't consider lack of custom capabilities an error in list command (514f14a)

0.0.0-pre.30 (2021-09-21)

Features

  • update edge plugin to v1.4.0 (a096f7a)

0.0.0-pre.29 (2021-09-10)

Features

  • Added schema:regenerate to create new client IDs and secrets (8cc9d9a)

0.0.0-pre.28 (2021-08-19)

Bug Fixes

  • bump edge plugin version to 1.0.5 (e86e904)

0.0.0-pre.27 (2021-08-16)

Bug Fixes

  • Added output format flags to deviceprofiles:presentation (2b93b48)

Features

  • add edge commands plugin (354ce95)

0.0.0-pre.26 (2021-07-22)

Bug Fixes

  • Default schema authorization to the correct principal (7c8a76c)

Features

  • add support for device preferences commands (d4ad86d)
  • Added device preferences and capability units (1d9b1c1)

0.0.0-pre.25 (2021-05-24)

Bug Fixes

  • fixes to capability translations (f8b7471)

Features

  • LoginAuthenticator: provide generic auth method (ae82b6a)
  • add device preferences output to device profiles (fa53f10)

0.0.0-pre.24 (2021-04-29)

Features

  • add logout command which just removes credential for now (942d886)

0.0.0-pre.23 (2021-04-23)

Bug Fixes

  • pin pkg to resolve missing commands (03701dd)

0.0.0-pre.22 (2021-04-21)

Note: Version bump only for package @smartthings/cli

0.0.0-pre.21 (2021-04-20)

Note: Version bump only for package @smartthings/cli

0.0.0-pre.20 (2021-04-12)

Features

  • Accept manufacturerName in device config command (2a17dc4)

0.0.0-pre.19 (2021-04-06)

Features

  • output JSON by default when not outputting to the console (a0d91ff)

0.0.0-pre.18 (2021-02-01)

Features

  • Added commands to list, show, and delete installed ST schema instances (3158d47)

0.0.0-pre.17 (2021-01-25)

Note: Version bump only for package @smartthings/cli

0.0.0-pre.16 (2021-01-22)

Bug Fixes

  • correct ordering of InputProcessor calls (dd4dfd0)
  • Corrected bug display verbose apps table (0b35655)
  • fix rules lookup without location id and functional refactor (bfa67b6)
  • use kebab case for all flags (128dcbb)

Features

  • Added support for specifying a language header (00f50b9)

0.0.0-pre.15 (2020-12-21)

Bug Fixes

  • Added support for device presentation manufacturer name (804eaaa)
  • remove unnecessary node dependency in lib (27c38e3)
  • use InstalledApp fields in installedapps:rename and refactor to use new functional paradigm (8170818)

0.0.0-pre.14 (2020-12-07)

Bug Fixes

  • use default version of 1 when not id included in command line without version (9acace0)
  • validate capability command and attribute names (794d592)

Features

  • logger: default log file path to oclif cacheDir (a1ce523)

0.0.0-pre.13 (2020-10-22)

Features

  • Added option to filter devices by installedAppId (62628a8)

0.0.0-pre.12 (2020-09-30)

Bug Fixes

  • fix issues with binary and node builds (7989558)

0.0.0-pre.11 (2020-09-28)

Bug Fixes

  • remove ambiguous log method (5466cd6)
  • Update to accommodate switch from vid to presentationId (3756ed7)

Features

  • added device profile and capability localizations (6a48783)
  • app list options and fixes to app and schema commands (#101) (979e409)
  • use separate file for logging config (80b3005)

0.0.0-pre.10 (2020-09-02)

Bug Fixes

  • bump core-sdk and log4js versions (2a3f9ff)

0.0.0-pre.9 (2020-09-02)

Features

  • added prompted device profile creation and device view commands (#95) (a4f1672)
  • export api-helpers functions (d723b85)

0.0.0-pre.8 (2020-08-17)

Bug Fixes

  • corrected processing of command line input into command line id (25da623)

Features

  • add support for building input form command line options (599c3c2)

0.0.0-pre.7 (2020-07-31)

Note: Version bump only for package @smartthings/cli

0.0.0-pre.6 (2020-07-28)

Note: Version bump only for package @smartthings/cli

0.0.0-pre.5 (2020-07-28)

Note: Version bump only for package @smartthings/cli

0.0.0-pre.4 (2020-07-27)

Note: Version bump only for package @smartthings/cli

0.0.0-pre.3 (2020-07-22)

Bug Fixes

  • correct spelling of SchemaCreateResponse (b0334b3)
  • pass version arg to capabilities delete endpoint (519c15a)

Features

  • add namespace flag to capabilities create (8c0ae7e)