Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,16 @@
* (@foxriver76) Added objects warn limit per instance
* (@Apollon77) Allows only numbers for `ts` and `lc` fields in state when provided for setState
* (@Apollon77) Respect the adapter specific stopTimeout in all cases instead a fallback os 4s
* (@Apollon77) Updates the adapter-core override dependency to 3.3.2
* (@GermanBluefox) Added typing for `visIconSets` in `io-package.json`(for vis-2 SVG icon sets)
* (@GermanBluefox) Added typing for `smartName` in the enum objects
* (@GermanBluefox) Added typing for `supportsLoadingMessage` in the instance objects
* (@GermanBluefox) Added typing for `findForeignObject`
* (@GermanBluefox) Enhanced typing for vis and vis 2 widgets
* (@GermanBluefox) Added typing for `json` in adminUI.tab in `io-package.json`
* (@GermanBluefox) Added typing for `docker-api`
* (@foxriver76) Added external authentication to types for UserCommon
* (@Apollon77) Updated Plugin and Sentry packages

## 7.0.7 (2025-04-17) - Lucy
* (@foxriver76) fixed the edge-case problem on Windows (if adapter calls `readDir` on single file)
Expand Down
8 changes: 4 additions & 4 deletions packages/cli/src/lib/setup/setupSetup.ts
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ export class Setup {
/** Object IDs which are not allowed to exist but could be generated due to errors in the past */
private readonly KNOWN_GARBAGE_OBJECT_IDS = ['null', 'undefined'];
/** Adapter core version supported by this js-controller */
private readonly SUPPORTED_ADAPTER_CORE_VERSION = '^3.2.1';
private readonly SUPPORTED_ADAPTER_CORE_VERSION = '^3.3.2';
/** Default name for redis sentinels */
private readonly DEFAULT_SENTINEL_NAME = 'mymaster';
private readonly processExit: ProcessExitCallback;
Expand Down Expand Up @@ -203,7 +203,7 @@ export class Setup {
}

try {
await this.addAdapterCoreRequirement();
await this.addOrUpdateAdapterCoreRequirement();
} catch (e) {
console.error(`Could not add "@iobroker/adapter-core" requirement: ${e.message}`);
}
Expand Down Expand Up @@ -1104,9 +1104,9 @@ Please DO NOT copy files manually into ioBroker storage directories!`,
}

/**
* Add adapter-core in supported version in the overrides field of the root package.json and call install there to apply it
* Add or update adapter-core in supported version in the overrides field of the root package.json and call install there to apply it
*/
private async addAdapterCoreRequirement(): Promise<void> {
private async addOrUpdateAdapterCoreRequirement(): Promise<void> {
if (tools.isDevInstallation()) {
return;
}
Expand Down
Loading