Skip to content

Latest commit

 

History

History
97 lines (56 loc) · 3.4 KB

CHANGELOG.md

File metadata and controls

97 lines (56 loc) · 3.4 KB

Change Log

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

2.1.1 (2018-04-05)

Bug Fixes

  • package: pin node-hid to 0.6.0 (de5186a), closes #46

2.1.0 (2018-03-05)

Features

  • package: eliminate the need for compilation of dependencies on most platforms (9e5f338)

2.0.0 (2017-11-28)

Features

  • add fillPanel method
  • add clearAllKeys method
  • return the StreamDeck constructor instead of automatically instantiating it
  • allow providing a devicePath to the constructor
    • if no device path is provided, will attempt to use the first found Stream Deck. Errors if no Stream Decks are connected.
  • update this.keyState before emitting down and up events
    • this is technically a breaking change, but is very unlikely to affect any production code

Bug Fixes

  • fix center-cropping in fillImageFromFile
  • fix sharp only being a devDependency, and not a production dependency

Code Refactoring

  • refactor StreamDeck class to move as much as possible to static methods and static getters
  • refactor code to use async/await
    • this is a breaking change, because we now only support Node.js v7.6 or newer

Documentation

  • update all examples
  • add fillPanel example

BREAKING CHANGES

  • this.keyState is now updated before down and up events are emitted.
  • Support for versions of Node.js earlier than 7.6 has been dropped.
  • The StreamDeck constructor is now required when requireing this library, instead of an instance of the class.
    • See the docs for updated examples.

1.2.0 (2017-06-23)

Features

  • add clearKey method #4
  • add Typescript typings #13
  • add setBrightness and sendFeatureReport 4d904f0

Bug Fixes

  • throw an error when no stream decks are present c44a1bf
  • fix device detection on linux e0b128c
  • fillImage fix blue and red channels being swapped 8efdb6b

Misc

  • Full test coverage

1.1.0 (2017-05-18)

Features

  • add write method (0085d87)
  • add fillColor, fillImage, and fillImageFromFile methods (5fe46ef)

1.0.0 (2017-05-17)

Initial release.