Skip to content

refactor: reduce module version check log noise - #4318

Merged
khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:version
Oct 27, 2026
Merged

khassel merged 1 commit into
MagicMirrorOrg:developfrom
KristjanESPERANTO:version

Conversation

@KristjanESPERANTO

@KristjanESPERANTO KristjanESPERANTO commented Oct 26, 2026 •

Copy link
Copy Markdown
Collaborator

I suggest this change to make startup logs in the browser easier to follow.

Before

In my fake example setup, the version checks produced six log lines in the browser. Five were noise; only the warning for the incompatible module was useful.

   Check MagicMirror² version for module 'MMM-MessageCenter' - Minimum version:  2.37.0 - Current version: 2.38.0
   Version is ok!
   Check MagicMirror² version for module 'MMM-PublicTransportHub' - Minimum version:  2.99.0 - Current version: 2.38.0
⚠️ Version is incorrect. Skip module: 'MMM-PublicTransportHub'
   Check MagicMirror² version for module 'MMM-PublicTransportHafas' - Minimum version:  2.37.0 - Current version: 2.38.0
   Version is ok!

After

With this change, only a warning for the incompatible module is logged:

⚠️ Module 'MMM-PublicTransportHub' requires MagicMirror² >= 2.99.0 (current: 2.38.0); module will not be loaded.

@khassel
khassel merged commit 4a3dca3 into MagicMirrorOrg:develop Oct 27, 2026
13 checks passed
@KristjanESPERANTO
KristjanESPERANTO deleted the version branch October 27, 2026 20:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants