Skip to content

Updates for dm-utils v3#247

Open
UncleSamSwiss wants to merge 15 commits intomainfrom
dm-utils-v2
Open

Updates for dm-utils v3#247
UncleSamSwiss wants to merge 15 commits intomainfrom
dm-utils-v2

Conversation

@UncleSamSwiss
Copy link
Collaborator

@UncleSamSwiss UncleSamSwiss commented Feb 25, 2026

This requires ioBroker/dm-utils#16 to be merged and dm-utils to be released, otherwise it will not compile and run correctly.

Caution

The next release of dm-gui-components should have version 3.0.0 to make clear, this is a breaking change and that it is using version 3 of the message protocol.

v2 is only used by iobroker.matter@1.0.0
@@ -0,0 +1,14 @@
export type * from '@iobroker/dm-utils/build/types/api';
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What should we do, to not access @iobroker/dm-utils/build/types/api but only @iobroker/dm-utils ?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

We could probably export it in dm-utils as an object:

export * as api from './types/api';

And then import here from that object.

@UncleSamSwiss UncleSamSwiss changed the title Updates for dm-utils v2 Updates for dm-utils v3 Feb 25, 2026
Copy link
Contributor

@GermanBluefox GermanBluefox left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

Otherwise the newly introduced caching won't work for DeviceStatus
@UncleSamSwiss
Copy link
Collaborator Author

@GermanBluefox please verify my last commit; it is an improvement based on your 731f6bb

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