Releases: foxxyz/loupedeck
Releases · foxxyz/loupedeck
v5.1.0
v5.0.0
⚠️ Breaking Changes
Drop support for Node v14.x, v16.x, v17.x and v19.x (all EOL)
Bugfixes
- fix: Incorrectly using WebSerial connections due to
navigator
being defined on Node v21 - fix: Drawing commands not working on Loupedeck Live firmware 0.2.11 (#29)
Full Changelog: v4.3.0...v5.0.0
v4.3.0
v4.2.0
v4.1.0
v4.0.0
New Features
- Loupedeck Live S Support (#21) (thanks @asdf23!)
- Autodiscovery function
discover()
to return and connect to first found device - Support Loupedeck Live S in the simple example
- Support Loupedeck Live S in the slide puzzle example
⚠️ Breaking Changes
LoupedeckDevice
is no longer exported. Instead, importLoupedeckLive
orLoupedeckLiveS
depending on the device you're using.- Alternatively, use
discover()
to autodiscover.
- Alternatively, use
- Button ID's are no longer strings, but just numeric indices.
- Migration mapping:
['circle', '1', '2', '3', '4', '5', '6', '7']
->[0, 1, 2, 3, 4, 5, 6, 7]
- Loupedeck Live S has buttons
[0, 1, 2, 3]
- Migration mapping:
- The included examples are now modules, run
index.mjs
instead ofindex.js
Bugfixes
- Fix Loupedeck Live in Websocket mode incorrectly constantly emitting button up events
- Fix name of the method in readme by @socek in #18
Full Changelog: v3.2.0...v4.0.0
v3.2.0
Features
- Allow setting or turning off reconnect interval duration in constructor
Full Changelog: v3.1.0...v3.2.0
v3.1.0
Features
- All command methods, including
setBrightness()
,setColor()
andvibrate
now return aPromise
and can be awaited for sequencing. close()
now returns aPromise
and can be awaited.
Full Changelog: v3.0.0...v3.1.0
v3.0.0
v2.0.0
New Features
- feat: add
LoupedeckDevice.list()
to enumerate multiple connected devices (@Julusian in #12) - feat: add low-level
drawBuffer
method to directly send correctly formatted buffers to the device - feat:
drawKey
,drawScreen
now also accept aBuffer
as a second argument
⚠️ Breaking Changes
To allow this package to be used on more platforms and operating systems, the canvas
package is now an optional peer dependency and no longer required. This means that calling drawKey
, drawScreen
or drawCanvas
with a callback function will throw an error if canvas
is not installed.
To migrate, install canvas npm install canvas
.
Full Changelog: v1.3.2...v2.0.0