After some delay and many intensive tests with great support from the community and here in the forum, we are pleased to release the next version of the js-controller for official further tests for all interested users.
This version supports the nodejs LTS versions 4.x, 6.x, 8.x and 10.x and is the last js-controller version with support for nodejs 4.x (since April 2018 end-of-life) and nodejs 6.x (will be end-of-live from April 2019). But then more later.
We will watch the further results and soon make this version available in stable for all users.
If your system has rights problems, please consider using the installation fixer (https://forum.iobroker.net/topic/20211/iobroker-installation-fixer-beta-verfügbar)! It is worthwhile 🙂
Please note in particular the information under "Breaking changes" issues and discussions please in https://forum.iobroker.net/topic/20317/diskussion-js-controller-1-5-7-im-latest-repository
The entire changelog of 1.5.7 is the following:
Breaking changes:
- On Master / Slave systems please start updating master and the slaves afterwards
Required versions of adapters (only if used) for normal functionality: javascript> = 3.6.5, the weather> = 2.7.1, upnp> = 1.0.4
- (bluefox) Breaking changes: "][*,;'"`<>?" are no more allowed in IDs
Feature changes:
- (bluefox) the user is logged in
- (bluefox) install specific version of missing adapters
- (bluefox) add disk info
- (bluefox) add memAvailable state
- (bluefox) add noChmod experimental settings
- (bluefox) stop instances only if they belong to current host
- (bluefox) delete adapter only on current host and leave on others
- (bluefox) Combine States and Objects (# 203)
- (bluefox) Implement adapter.terminate ('Because I need it') (# 197)
- (alcalzone) add restart, disable, updateConfig methods to Adapter class
- (bluefox) add reinstall.js
- (bluefox) add "iob" as shortcut
- (bluefox) add getInterfaces to sendToHost
- (bluefox) implement backup of data folders via dataFolder flag
- (alcalzone) ES6 classes to legacy code
- (bluefox) add information if instance is alive in "list instances"
- (stabilostick) added 'pidusage' for information about cpu and new states per adapter instance
- (bluefox) support of new mime types: pdf, doc, xls, ppt
- (bluefox) implement flag common.eraseOnUpload
- (bluefox) set quality codes on connection lost and adapter disconnect
- (alcalzone) Give adapters a chance to act their own uncaught errors
- (alcalzone) Add call stack up to trace error logs
- (bluefox) add pattern2RegEx to tools
- (apollon77) finalize nodejs 10 support
Fixes and Optimizations:
- (apollon77) the node10 testing was added
- (bluefox) the read file function was protected
- (bluefox) possible access rights problem was closed
- (bluefox) refactoring of memory calculations
- (bluefox) set default values of states by creation of new instances
- (alcalzone) Fix "install npm" messages, upgrade node typing to v6
- (bluefox) check if mem file could read
- (buzzy1337) fix calculation of kilobytes to megabytes and fix reading / proc / meminfo
- (bluefox) Fix: Access to log files through admin does not work
- (bluefox) fix redis disconnect
- (bluefox) Update acme to V2 (# 199)
- (bluefox) Improve deleteDevice (# 186)
- (bluefox) fix cookie expiration
- (alcalzone) several async and testing fixes
- (bluefox) timeout for npm check added
- (bluefox) fix "object chmod 777 777 javascript.0. *" command
- (bluefox) do not send ready second time on reconnect db
- (Apollon77, Bluefox) prevent defaultObj to overwrite with normal common details
- (bluefox) fix error if ID is empty
- (bluefox) check id by setObject
- (apollon77) Add amazon-dash to list of adapters to be installed with unsafe-perm
- (bluefox) leave backitup enabled after restore
- (bluefox) Fix let's encrypt
- (bluefox) Fix "iob" script
- (AlCalzone) Revert the changes to the [Foreign] State, so the object is not deleted.
- (bluefox) always install the version from repository and not the latest from npm
- (Apollon77) Root should always be installed with --unsafe-perm
- (bluefox) fix iobroker stop
- (bluefox) fix Empty ID error
- (bluefox) fix for formatDate
- (bluefox) exit code 11 is not an error