Skip to content

Latest commit

 

History

History
196 lines (120 loc) · 10.8 KB

CHANGELOG.md

File metadata and controls

196 lines (120 loc) · 10.8 KB

Changelog

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

3.3.2 (2020-08-28)

3.3.1 (2020-07-18)

Bug Fixes

  • only audit dependencies (60e7cca)
  • only audit dependencies (60e7cca)
  • trim the serial number to 12 characters, as it always is currently (d371654)
  • trim the serial number to 12 characters, as it always is currently (d371654)

3.3.0 (2020-02-16)

Features

  • pass buffers to node-hid (d371969)
  • upgrade jpeg-turbo and expose quality options (344254a)

Bug Fixes

  • optimise buffer transform/color conversion (c5987ac)
  • remove dependency on node-hid typings for library users (f83ae99)
  • tests (b493274)
  • upgrade @types/node-hid (3d59a4f)

3.2.0 (2019-11-14)

Features

  • Add support for the new hardware version of the original Stream Deck (992ee21)
  • close device on process exit (105985e)
  • refactor originalv2 and xl to a shared base class (c9357ac)

Bug Fixes

  • add tests for original-v2 (40030a8)
  • line endings on windows (c0af2d6)
  • lint errors in origialv2 (d8e7942)

3.1.0 (2019-09-29)

Bug Fixes

  • xl: resetToLogo not working (2475726)

Features

  • Add close method to cleanly close the HID device (#72) (877b5da)

3.0.0 (2019-06-03)

Bug Fixes

  • Don't depend on tslib (3ebd04f)
  • Failing tests (c36125d)
  • xl: Fill full button with image. Fix images being horizontally flipped (4044809)
  • Gracefully handle missing jpeg-turbo (574068f)
  • ignore tests in coverage report. format config files. Add tests for device info and listing functions (2c1db92)
  • JPEG encoding tests (8efb092)
  • Mini image display (99c0c94)
  • Missing dependencies in travis (9e0f5b5)
  • Missing devDependency (f94ff51)
  • Move static device info methods to be separately importable. Reformat examples (6dfde88)
  • Refactor fillImage command generation, and some attempted fixes for the mini (15ce1f2)
  • Refactor the packet generation code to be simpler (d0ef9cf)
  • Remove padding from images for the mini (751fc62)
  • Switch to testing version of jpeg-turbo (01e2e30)
  • Test and fix some extra commands for the XL (7399b28)
  • Travis not updating coveralls (ea57f08)
  • update dependencies, and linux version used (8916aec)
  • Update node-hid to 0.7.9 (da010e5)

Features

  • Add example for device detection (81ad930)
  • Add function to list available devices (8c55598)
  • Add resetToLogo function, ideal for when disconnecting from the device to reset it back to default (1b94570)
  • Convert to typescript (a1492bd)
  • Functions to get firmware and serial numbers #45 (ba130b9)
  • Initial (untested) support for StreamDeck Mini (c41e684)
  • Port tests to jest and typescript (4ceaf90)
  • Refactor logic to have a common base class with each device extending it (8632d93)
  • Reimplement fillPanel to work solely on buffers. Fix up all the examples (f35c26c)
  • Removed references to sharp (BREAKING CHANGE) (d17b7c4)
  • Reorder the keys on the original to be left to right. The old behaviour can be restored if desired (fdff5f1)
  • Use jpeg-turbo as an optional dependency for image encoding, as it is significantly faster than jpeg-js but has a lot more dependencies (e7e509e)
  • Working XL, with slightly dodgey but working image transfer (eb294e8)

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.