Skip to content

Commit c3f5fa8

Browse files
committed
* add first 4.0 changelog
1 parent dd176d5 commit c3f5fa8

File tree

1 file changed

+61
-4
lines changed

1 file changed

+61
-4
lines changed

CHANGELOG.md

Lines changed: 61 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,69 @@
44
## __WORK IN PROGRESS__
55
-->
66

7-
## 4.0.0 (2021-xx-xx) Release I...
7+
## 4.0.0 (2021-xx-xx) Release I... [Cut off: 07.12.2021 11:00]
8+
**WORK IN PROGRESS - Use at own risk!**
9+
810
**BREAKING CHANGES**
9-
* Support for Node.js 10 is dropped! Supported are Node.js 12.x and 14.x and 16.x (Node.js 16.x is working WHEN USED WITH npm 6!!... still in testing phase)
11+
* Support for Node.js 10 is dropped! Supported are Node.js 12.x, 14.x and 16.x
1012
* CLI command `iob update --updateable` changed to `iob update --updatable`
11-
* CLI command `iob update http://download.iobroker.net/sources-dist.json` is not supported anymore, as it does not used
12-
* WORK IN PROGRESS - Use at own risk!
13+
* CLI command `iob update http://download.iobroker.net/sources-dist.json` is not supported anymore
14+
15+
**Features**
16+
* (bluefox) Add complexity rules for user passwords: New created passwords need to follow the following rules (TODO ADMIN UI INFO ISSUE):
17+
* minimum length is 8
18+
* contains at least one digit
19+
* contains at least one lower case letter
20+
* contains at least one upper case letter
21+
* (foxriver76) Introduce option "--custom" when deleting instances or adapter to also clean up relevant custom entries from all objects (TODO ADMIN ISSUE ADD CHECKBOX!, TESTFOKUS)
22+
* (foxriver76) Added new host objects to provide Node.js version and PID
23+
* (foxriver76) Update the Linux capabilities on js-controller start when a Node.js version change was detected (TESTFOKUS)
24+
* (AlCalzone/foxriver76) Further optimize strategy for required Node.js module rebuilds. We first try to rebuild the really affected module and also try to run rebuild in root package. Should give better results then former strategy (TESTFOKUS)
25+
* (bluefox) Add support for configuring multiple repositories (TODO LINK+INFO FLAG)
26+
* (foxriver76) Added installedFrom info to adapter start log line when not installed from npm normally
27+
28+
**Optimizations and Fixes**
29+
* (foxriver76/Apollon77) Improve performance for object searches (especially when using redis)
30+
* (Apolllon77/foxriver76) Improve performance of object deletions (also when deleting instances or adapters) significantly (file-db 300% faster, redis 46.300% !! faster)
31+
* (foxriver76) Better handle backup restores when custom hostnames were used
32+
* (foxriver76) Optimize backup to make sure invalid user-generated JSONs do not prevent backups from being considered valid
33+
* (foxriver76/klein0r) Improved CLI help
34+
* (foxriver76) Preserve changed instance names also when updating adapter (name was reset before)
35+
* (foxriver76) Prevent crashes for uploads with invalid adapter installations
36+
* (bluefox) Remove news from instance/adapter objects on install/update because taken from repository in Admin5 (TODO CHECK ADMIN4 EFFECTS)
37+
* (AlCalzone) Remove extraneous "npm install" inside adapter directory
38+
* (foxriver76/AlCalzone) reduce jsonl compression frequency to reduce I/O (relevant when experimental jsonl database modules are used)
39+
* (foxriver76) prevent uploading js-controller (creating system.adapter.js-controller object) and remove existing cases on setup first
40+
* (foxriver76) prevent crash when multihost password is invalid and multihost active
41+
* (bluefox/foxriver76) bigger internal refactorings in cli commands (TESTFOKUS)
42+
* (foxriver76) make logging of not fulfilled adapter dependencies more user-friendly
43+
* (Apollon77, foxriver76, bluefox, AlCalzone) Several fixes and refactorings to prevent potential crash cases reported by Sentry and other sources
44+
45+
**Developer relevant DEPRECATIONS/WARNINGS**
46+
* **js-controller is no longer installable from GitHub because is now a monorepo. Use @dev tag on npm to get the nightly build of master js-controller!**
47+
* log info when setState is used for an object of type File - use setBinaryState instead!
48+
* log info when default value of an object is invalid (e.g. does not match object type)
49+
* log info when common.states is used and not an object (deprecate String usage)
50+
* Enhanced object checks: user, adapter, group need to have a name as string (TODO VERIFY!!)
51+
* Decline calls for getForeignObjects with non string pattern (was pot. crashing before)
52+
* remove all *Fifo* Methods from adapter.js because deprecated since 1.x
53+
* remove adapter.objects.* methods because deprecated since 2.x
54+
55+
**Developer relevant new Features**
56+
* (AlCalzone) Introduce new methods in tools for Node.js module management: installNodeModule, uninstallNodeModule (TODO Issues adapter that use npm install -> Move))
57+
* (AlCalzone) Switch NPM relevant handling to library pak to be more flexible for the future which package manager we want to use. Important: There are still parts that rely on npm for now!
58+
* (bluefox) Also report docker info when sending diag data
59+
60+
**Developer relevant Optimizations and Fixes**
61+
* (foxriver76) fix permissionError on setBinaryState
62+
* (foxriver76) preserve "native" content for instanceObjects when updating the objects on adapter start
63+
* (Apollon77/foxriver76) Limit the search scope for object types host, adapter, instance, instanceStats, enum, script, group, user, config to the relevant namespaces when no search start/end is provided to speedup these calls in general
64+
* (foxriver76) Optimize deleteDevice/deleteChannel methods to just delete all objects the relevant device/channel
65+
* (foxriver76) Remove some magic path lookups to be compatible to npm 7/8. Appname of controller is now always "iobroker" ("ioBroker" in dev cases)
66+
67+
* general dependency updates
68+
* code style optimizations and streamline code
69+
1370

1471
## 3.3.21 (2021-11-28)
1572
* (Apollon77/foxriver76) we fixed issues with multihost setup, that existed in 3.3.19/3.3.20

0 commit comments

Comments
 (0)