Releases: ioBroker/ioBroker.js-controller
Releases · ioBroker/ioBroker.js-controller
2.0.39 (2019-10-29) Release Bella
- (Apollon77) "upgrade name" for a controller will return an error to use "upgrade self"
- (Apollon77) "upgrade all" will no longer update controller too
- (Apollon77) add some more checks in adapter.js for existence of states/objects
- (Apollon77) enhance
iobroker setup custom
for Redis sentinel usage - (Apollon77) make sure flot store works again also with objects with empty names
2.0.38 (2019-10-26) Release Bella
2.0.38 (2019-10-26) Release Bella
- (Apollon77) Add some more logic to prevent access with invalid ids
- (Apollon77) change "enhancedLogging" to not be global but "per DB"
- (Apollon77) Fix compact mode on Windows systems
- (Apollon77) make sure multiple callbacks to "unload" will be ignored
- (bluefox) Rise all user in admin group to administrators
- (Apollon77) Allow buffers to be passed in messages again
- (bluefox) Fix session storage
- (Apollon77) Introduce 0_userdata as new home for user specific files, objects and states
- (Apollon77) Enhance logging
- (bluefox) fix letsencrypt (was broken n 2.0.35)
- (Apollon77) fix install adapter starts like vis installation when db is not available
- (Stabilostick) Auto generated self-signed certificates need to have a max duration of 2 years according to new Apple
2.0.35 (2019-10-19) Release Bella (Bugfixing)
2.0.35 (2019-10-19) Release Bella
- (Apollon77) Allow to use Redis password as "pass" parameter for States and Objects
- (Apollon77) Prevent hangs on "iobroker upgrade self" from 1.5 to 2.0
- (bluefox) Update IPs information periodically
- (bluefox) Remove safe-replace, bluebird, pyconf packages
- (paul53/AlCalzone/Apollon77) Fix datatype of system.host.cpu and system.adapter.XY.Z.cpu
- (Apollon77) Make sure alias.0 and other controller objects are also checked and created if needed on setup first when updating
- (bluefox) Allow one state to multiple aliases connections
- (Apollon77) Make sure required adapters are also checked correctly when using compact mode and groups
- (Apollon77) Enhance logging for unsupported (should not happen) commands
2.0.34 (2019-10-17) Release Bella (2019-10-17) Release Bella
2.0.34 (2019-10-17) Release Bella
- (Apollon77) Allow custom settings to be removed again if objects are "file"
- (Apollon77) Remove default value for "switch" and "level.dimmer" roles
- (bluefox) fix user authentication
2.0.33 (2019-10-15) Release Bella (Fixes)
2.0.33 (2019-10-15) Release Bella
- (Apollon77) Sync objects and states retry max delay defaults
- (Apollon77) Re-Add the certificate check and automatic re-creation for old certificates as in 1.5.14
2.0.32 (2019-10-15) Release Bella
- (Apollon77) Also restart controller if only states connection disconnects
2.0.31 (2019-10-14) Release Bella
- (Apollon77) fix undefined variable on one place
2.0.30 (2019-10-14) Release Bella
- (Apollon77) enhance reconnection handling (system tries to reconnect up to 40s including re-sending all data changes before restart happens, on no connection to db on start a restart is tried every 30s)
- (Apollon77) fix file handing issue
- (bluefox) handle empty states correctly in Redis scenarios
2.0.29 (2019-10-13) Release Bella
- (Apollon77) fix backup on empty/null states
2.0.28 (2019-10-13) Release Bella
- (Apollon77) Correct meta data return for some special cases
2.0.27 (2019-10-13) Release Bella
- (Apollon77) Correct some potential object issues
2.0.26 (2019-10-13) Release Bella
- (Apollon77) Make sure Logs are only streamed to admin for selected loglevel
- (Apollon77) Fix "iobroker file write"
- (Apollon77) Make sure invalid ids are handled correctly without throwing errors
- (bluefox) Add alias.0 as object to be added
- (bluefox) Allow Arrays as state values
- (bluefox) Translate object names
2.0.25 (2019-10-09) Release Bella
2.0.25 (2019-10-09) Release Bella
- (Apollon77) Also allow states/objects with capital letters as first letter
- (Apollon77) fix adapter/instance deletion
- (AlCalzone) fix CLI get state getvalue
- (Apollon77) increas LUA script timeout
- (Apollon77) update in objects lib, also update other dependencies
- (bluefox) small logging optimization
2.0.24 (2019-10-02) Release Bella
- (Apollon77) optimize performance, especially for file/file systems
- (Apollon77) enhance path sanitization
- (Apollon77) hopefully prevent Redis errors on connection close
- (Apollon77) fix adapter logging with --debug flag
- (Apollon77) fix Adapter Restarts also for widgets
2.0.22 (2019-10-02) Release Bella
- (Apollon77) work on some performance optimizations
- (Apollon77) Fix binary state handling
2.0.21 (2019-10-02) Release Bella
- (Apollon77) make sure also states starting with "io" will be notified on stateChange
- (Apollon77) fix Loglevel change via instance state
- (Apollon77) make sure subscribes for instances states are correctly passed through to adapter for all cases he subscribed them (also for special states like logLevel or sigKill)
- (Apollon77) make sure id filtering also works correct for >10 instances of the same adapter
- (Apollon77) some more small fixes and optimizations
- (Bluefox) Do not kill instance in debug mode on PID mismatch
2.0.19 (2019-10-02) Release Bella
- (Apollon77) fix migration
- (Apollon77) fix potential cases where objects/states files were not stored
2.0.18 (2019-10-01) Release Bella
- (Apollon77) allow to specify network family for redis library, defaults to 0 (IPv4 and IPv6)
2.0.17 (2019-10-01) Release Bella
- (Apollon77) delay parallel start of scheduled instances to prevent system overload scenarios (same rules asd for adapterstart, basically 4s delay)
- (Apollon77) Optimize some Migration questions
- (Apollon77) smaller fixes and optimization
2.0.16 (2019-09-30) Release Bella
- (Apollon77) streamline redis vs file States handling which was different also before controller 2.0:
- not set states will always return null now
- States will set to null completely (not only value) when they expire
- States will also be published to onChanged handlers when states are in Redis
- (Apollon77) rework expiry handling for File-States to use Timouts
2.0.14 (2019-09-29) Release Bella
- (Apollon77) fix checking if iobroker is running (bug in 2.0.13)
- (Apollon77) upgrade socketio deps
- (Stabilostick) Randomize Certificate Serial numbers
2.0.13 (2019-09-28) Release Bella
- (Apollon77) optimize
iobroker status
CLI command - (Apollon77) some other small fixes
- (Apollon77) remove clearAllLogs logic
2.0.12 (2019-09-27) Release Bella
- (Apollon77) Correct selections with wildcards at the beginning, should solve the admin issues
2.0.10 (2019-09-26) Release Bella
- (Apollon77) Optimize Compact mode CLI commands (fixes #468, fixes #471, fixes #470)
- (Apollon77) fixes #475, #476
- (Apollon77) only use quit from redid and let ioredis handle the disconnect, hopefully fixes #472, update objects-ha-lib to 1.1.20
- (Apollon77) object changes are only logged as debug from now on, fixes #473
- (Apollon77) Some adapter tweaks when running in "--install" mode (no reporting, don't check sigKill)
2.0.9 (2019-09-24) Release Bella
- (Apollon77) Optimize Adapter and Controller stopping processes further
- (Apollon77) Optimize redis connection handling on exit
- (Apollon77) Update objects-ha lib to 1.1.19
2.0.8 (2019-09-23) Release Bella
- (Apollon77) Optimize Adapter and Controller stopping processes
2.0.7 (2019-09-22) Release Bella
- (Apollon77) Correct file based internal structure to prevent entries with "//" in the path
- (Apollon77) Check for existing of states DB in some more places to prevent problems in compact end scenarios
- (Apollon77) try to add a better retry logic on disconnect to the DBs, restart after 30s
- (Apollon77) make some file operations with Paths more compatible to former versions
2.0.6 (2019-09-21) Release Bella
- (Apollon77) prevent "keys Not found" error in log, be more redis compatible, fixes #461
- (Apollon77) prevent "invalid instance object" errors for channel objects, fixes #462
- (Apollon77) optimize further on compact- and general adapter starting mechanisms to better prevent multistarts
- (Apollon77) update objects-ha lib to 1.1.17 to normalize filenames to prevent problems on double-slashes
2.0.5 (2019-09-20) Release Bella
- (Apollon77) fix some error while accessing custom directories, fixes #455
- (Apollon77) Add more logic to better handle migration edge cases (especially slaves vs migrations), fixes #458
- (Apollon77) Make sure invalid alias values do not crash controller process (logger was missing), fixes #456
- (Apollon77) Add better error and fallback handling for compact mode, fixes #460
2.0.4 (2019-09-19) Release Bella
- (Apollon77) fixes #434, host command
- (Apollon77) Add one more confirmation question when migrating objects
2.0.3 (2019-09-19) Release Bella
- (Apollon77) Log Process-ID for all adapter log messages
- (Apollon77) When Objects/States connection dies and is no longer able to be restored for adapters we end the adapter process. This prevents us from hanging processes
- (Apollon77) End adapters with code 11 when they decide to end themself because they are not the current process, so that no additional restarts happen
2.0.2 (2019-09-17) Release Bella
Breaking changes
- Minimum requirement for js-controller 2.0 is nodejs 8.x
- Manually uploaded files into
iobroker-data/files/...
may no be fully supported. Please make sure to put them into officially allowed directories, e.g. vis.0 - The following Adapters needs to be updated to the listed versions to be compatible with js-controller 2.0
- simple-api 2.1.2 or higher
- email 1.0.5 or higher
- pushover 1.1.1 or higher
- hue 1.2.4 or higher
- node-red 1.10.1 or higher
- vis 1.2.1 or higher
- iqontrol 0.2.6 or higher
- socketio 2.1.2 or higher
- radar2 1.0.9 (1.2.0 from Github needs a manual fix!)
- ring 1.0.5 or higher
New user features
- (Bluefox/Apollon77) Add Compact Mode and compact groups, see Compact Information in README (Technology Preview)
- (bluefox) Add build-in Alias handling for Objects/States, see Alias Information in README (Technology Preview)
- (Bluefox/Apollon77) Add support to also use Redis for Objects and Files, see Redis Objects Information in README
- (Apollon77) Add Redis sentinel support, see Redis Sentinel Information in README
- (Apollon77) Allow dynamic change of Loglevel for adapter instance and js-controller hosts processes, see Dynamic Loglevel changes Information in README
- (Bluefox) Add optional migration for State and/or Objects values when using
setup custom
. - (Apollon77) add monitoring for event-Loop-Lag as host and adapter objects. This can be used to analyze if an node.js process is blocked too much
- (foxriver76) add possibility to validate backup files
- (alcalzone) Support command
iobroker logs
- (Stabilostick)
cert create
CLI commands - (Apollon77) Remember installation location for reinstallations. For GitHub installs it gets the exact commit hash to reinstall really the correct version
- (Apollon77) Use remembered installation location for automatic adapter installs (e.g. if missing, host move cases)
New adapter developer features
- (Apollon77) adds adapter.supportsFeature('NAME') method to check if a certain feature exists. fixes #244, see Adapter Feature Detection Information in README for information and the full list of allowed features
- (foxriver76) Ability to define secured objects in io-pack access only via own adapter and admin, details see #287
- (foxriver76) added getObjectView and getObjectViewAsync on adapter object
- (foxriver76) added getObjectList and getObjectListAsync on adapter object
- (bluefox) allow the deletion of multiple objects with wildcard
- (foxriver76) setObject/setObjectNotExists now also sets default value of state after object creation
- (Apollon77) allow getPort to check for the port optionally on a certain host/IP
- (Apollon77) Streamline redis vs file States handling which was different also before controller 2.0:
- not set states will always return null now
- States will set to null completely (not only value) when they expire
- States will also be published to onChanged handlers when states are in Redis
Further changes
- (Apollon77) Rewrite InMem databases (States & Objects) to TCP (redis compatible) protocol and deprecate socket.io version; will be removed approx. in v2.1. This change should prevent us from "Reconnection to DB" errors
- (bluefox) Add adapter handling to prevent "error 7" (adapters will stop themself as soon as PID is not as expected)
- (Apollon77) upgrade all dependencies, means: 0 vulnerabilities :-)
- (AlCalzone) Don't chmod 777 after controller upgrade
- (alcalzone) refactoring of many CLI commands
- (bluefox) add possibility to return zip file as a link and not as base64
- (bluefox) standardize error codes
- (alcalzone) Root should always npm install with --unsafe-perm
- (bl...
1.5.13 (2019-07-18) Evolution release (Ann)
- (Stabilostick) Make sure Info Adapter Tab is displayed automatically on install
- (Stabilostick) Optimize messages for some CLI host commands
- (Stabilostick) Replace winston-syslog dependency to prevent build errors on node.js 10+ when installing or updating iobroker
- (Stabilostick) Replace default self signed SSL certificate to prevent errors in Node.Js 10.16+
- (Apollon77) Also replace default certificate used for all Web and Admin instances if the old cerfificate was used, so restart will use the new certificate
1.5.12 (2019-06-02) Evolution release (Ann)
1.5.12 (2019-06-01) Evolution release (Ann)
- (Apollon77) Install instance of info adapter too on first setup of controller
Fixes for evolution release (Ann)
1.5.11 (2019-05-26) Evolution release (Ann)
- (Apollon77) Allow to install specific versions/fix installing specific versions
Fixes for evolution release (Ann)
1.5.9 (2019-05-16) Evolution release (Ann)
- (bluefox) Read cache of repository before download the whole file
- (AlCalzone) if npm returns code 1 it is OK
- (AlCalzone) fix instances enumeration
- revert greenlock version to 2.7.1