all notable changes to this project will be documented in this file.
the format is loosely based on keep a changelog, and this project adheres to semantic versioning.
- quick fix for esm usage (named exports)
- jsdoc for hsv
- autogenerated typescript type declaration files
- fixing unexpected behaviour when connecting
"deviceListUpdated"
event when openrgb detects a new devicegetAllControllerData
function, that returns all devices- profile control functions to
Client
getProfileList
saveProfile
loadProfile
deleteProfile
saveMode
function- updated code for protocol v3 (brightness and saving support)
- moved setting the client name to it's own function
setClientName
- automatically get protocol version on connect and add it to
client.protocolVersion
- new command numbers in utils
- new device types in utils
- MIT license
- a settings object as the 4 (optional) argument
forceProtocolVersion
- many functions aren't async anymore
- used shortcuts for function declaration in
util.js
- fixed jsdocs
- ignores now unexpected data from openrgb
- now working in v17
- "Invalid array length" bug
- protocol version (never has been properly implemented)
- forwards compatibility
- support for procotol version 0
- dropped promise-socket dependency
- deleted useless tab-characters
- changed name of credit in
README.md
- made also compatible with node version less than 14 (#2)
package-lock.json
- added
.isConnected
boolean to classClient
- color now possible in options even if mode has perLedColor (seperate updateLeds request)
- added speaker and virtual device types
- fixed spelling in
README.md
(#1) - fixed matrix size
- added matrix to device
- fixed
HSLColor
andHSVColor
for values higher than 360
- added EventEmitter
"connect"
and"disconnect"
events- utils: added
randomColor
andrandomHColor
hexColor package.json
: added repo and homepage
- utils: made
hexColor
safe toundefined
- fixed typo in
client.js
- fixed speed and direction not working
- utils:
color
will now always return whole numbers
- fixed code in
README.md
- examples: added
await
to disconnect inbasic.js
- renamed
HEXColor
=>hexColor
- added updateSingleLed
- expanded utils
- utils: added
color
,HEXColor
,HSLColor
andHSVColor
functions - utils: added
command
function - added and improved examples
- added JSDoc
- renamed OpenRGBClient => Client
- renamed OpenRGBDevice => Device
- utils: function for
command
,deviceType
,direction
object
- fixed casing in
README.md
- added
example/rainbow.js
- added utils
- added command getProtocolVersion
- added command resizeZone
- significantly improved
README.md
- removed unnecessary semicolons
- removed
example/index.js
- removed
src/command.js
- fixed indentation
- forked [https://github.com/zebp/openrgb](openrgb by zebp)
- added updateMode
- improved
README.md
- converted typescript to javascript
- removed eslint
- fix: getDeviceController