Panel SDK
1.16.x
1.16.1 (2026-04-28)
Features
SmartDevicesManager: Added multi-device management, supporting access to multiple independent devices in the same MiniApp throughSdmProvider.deviceManager, with device management APIs such asadd,batchAdd,delete, andbatchDelete- Multi-device Hooks: Added
useDevices,useDevicesProps,useDevicesActions,useStructuredDevicesProps,useStructuredDevicesActions, and more, supporting per-device DP status reading and command sending. You can also override types intypings/sdm.d.tsto bind Schemas precisely by device key for TypeScript type inference. See Multi-Device Management
1.15.x
1.15.0 (2026-02-26)
Features
matter-kit: Added Matter lamp device panel DP datapoint processing interceptor with built-in bidirectional conversion between Matter protocol and standard DP protocol. Automatically handles device info, DP status reporting, and command conversion. Provides utility functions such ascheckIsMatterDevice,getMatterRoad,checkIsMatterHasWhite, and hooks likeuseOriginMatterTemp,useColourData. See matter-kitSmartLampAdvancedAbility: Added lamp advanced capability supporting advanced color temperature and thousandth brightness detection, color temperature/brightness value conversion, and VAS keypoint information retrieval. See SmartLampAdvancedAbilitySmartSupportAbility: Added 9 new device type detection APIs:isGprsDevice,isBluetoothDevice,isBleMeshDevice,isCat1Device,isBeaconDevice,isLteCat4Device,isLteCat10Device,isLteCatMDevice,isThreadDevice
1.14.x
1.14.0 (2025-11-06)
Features
I18N: AddedgetFaultLangAPI for getting multilingual strings of fault-type datapoints (Bitmap type), supporting bit-wise parsing of fault codes and returning corresponding multilingual descriptionsSmartDeviceModel&SmartGroupModel: AddedqueryDpsAPI that adapts to different App versions and device protocols for actively querying DP datapoint statusdp-kit: AddedignoreDpDataResponse.timeout/customRulesupport for custom debouncing of DP reporting events and custom filtering rulesonMusic2RgbChange: Addedthrottleparameter support for custom throttling time
1.13.x
1.13.9 (2025-09-04)
Bug Fixes
SmartSupportAbility: Fixed an issue where device type judgment was inaccurate in group environments
1.13.8 (2025-08-19)
Bug Fixes
useStructuredProps: Fixed a bug where structured data could not be updated in some device group environments
1.13.7 (2025-06-12)
Features
usePanelConfig: AddedsubUiidfield in the iot fieldSmartGroupModel: getDevInfo API now supports returning the first device information Bug FixesI18N: Fixed duplicate key value retrieval exception when inheriting and overridingformatValueandgetLangPerformance- Use lodash-es on-demand import to avoid full lodash package import
usePanelConfig: Optimized setState logic to reduce unnecessary updates TypesuseStructuredActions: Type extraction changed to extract delivery structure from formatter parameters to ensure accurate type hints
1.13.6 (2025-05-27)
Bug Fixes
offMusic2RgbChange: Fixed the issue where unsubscribing could not resolve TypesinitPanelEnvironment: Added type hint declarations forshouldConnectBleAuto,autoCheckActivation, anddisableOtaDialog. Note that these three features require base library >= 2.27.0. Panel SDK 1.13.6 only adds type hint declarations
1.13.5 (2025-04-22)
Features
- Added
DreamlightSceneModeTransformerprotocol parsing tool.
1.13.3 (2025-03-18)
Features
- Fixed
SmartStorageAbilityto address storage exceptions caused bygetLaunchOptionsSync().queryreturning a numericgroupIdin group environments on Android.
1.13.2 (2025-02-13)
Features
- Fixed
SmartStorageAbilityfunctionality, adjusted the upper limit of business data that can be saved to 900, to avoid errors when the internal metadata exceeds the limit, causing business data length to not exceed 1024. - Added
faultDpCodeattribute ininitPanelEnvironment, supporting custom default alarm prompt box fault function points. - Added
musicOptionandcallbackreturncustomPropsinonMusic2RgbChangeto support business pass-through using custom properties. - Added
dbdecibel value andindexsensitivity incallbackreturn ofonMusic2RgbChange.
1.13.1 (2024-11-01)
Features
- Fixed
usePanelConfigto address the issue where no forced type conversion was performed for numeric or boolean values when configuration retrieval was supported in the App, and to handle exceptional data scenarios. - Added default support for retrieving the main pid's cloud capability configuration in group environments for
usePanelConfig. - Added default value support for asynchronous initialization in
DpKitBeacon-related Interceptors. - Added
SmartStorageAbilitywith getAll / setAll capabilities.
1.12.x
1.12.1 (2024-10-15)
Features
- Fixed the issue of missing gid pass-through in the internal interface of the
SmartAlarmAbilitycapability. - Optimized the value type adaptation of
SdmProviderfor the SmartGroupModel group model. - Optimized
createDpKitsupport export from the panel-sdk entry.
1.12.0 (2024-06-27)
Features
- Added
usePanelConfigHooks, more info see usePanelConfig
1.11.x
1.11.0 (2024-06-25)
Features
- Added
SmartTapToRunAbilityfor tap-to-run standard ability (requires dependency on@ray-js/ray@1.5.15or later versions) - Added support for the following configuration options in
dp-kitsendOptions: ignoreDpDataResponse: Ignore DP reporting configuration, disabled by default.synchronizeDevProperty: Synchronize with cloud device properties, disabled by default.
1.10.x
1.10.5 (2024-05-10)
Features
- Fixed inconsistent field names in the decibel data returned from
onMusic2RgbChangecallback for compatibility
1.10.4 (2024-04-18)
Features
- Optimized
publishDps. When the dps parameter is an empty object, the issuing interface is not called to avoid abnormal warnings
1.10.3 (2024-04-15)
Features
- Fixed potential issues with
Storagethat could prevent it from returning cloud data
1.10.2 (2024-04-07)
Features
- Optimized the dependency on
@ray-js/rayto * (asterisk), now compatible with all versions by default
1.10.1 (2024-03-20)
Features
- Optimized
Storageto prompt when new field exceeds limits
1.10.0 (2024-02-28)
Features
- Added
useSupportHooks,more info see useSupport - Enhanced
I18Nmultilingual support with enhanced TS auto-suggestion for multi-language value types - Enhanced
SmartGroupModelas it now supports some generic capabilities like SmartStorageAbility and SmartSupportAbility - Fix
useStructuredPropsissue where default empty strings were lost during the serialization of raw feature points during device initialization in useStructuredProps, which led to inability to obtain structured data - Fix
SmartStorageAbilityandonMusic2RgbChangeresolved some compatibility issues. An upgrade is recommended for those using these capabilities
1.9.x
1.9.0(2023-11.08)
Features
- Added
onMusic2RgbChangeAPI for listening to music rhythm conversion to RGB, more info see onMusic2RgbChange - Added
offMusic2RgbChangeAPI for unsubscribing from music rhythm conversion to RGB, more info see offMusic2RgbChange - Added
SmartSupportAbilityfor device support status capability, more info see SmartSupportAbility - Added
SmartStorageAbilityfor device storage capability, more info see SmartStorageAbility
1.8.x
1.8.0 (2023-10-24)
Features
- Added
SmartAlarmAbilityAbility, more info see SmartAlarmAbility - Added
useProtocolRunHooks, more info see useProtocolRun - Added
useIsSigmeshGatewayConnectedHooks, more info see useIsSigmeshGatewayConnected
- Added protocol parsing tools
ColourTransformer,MusicTransformer,MicMusicTransformer,SmearTransformer, more info see Protocol Utils. - Added color conversion tools
kelvin2rgb,rgb2kelvin,brightKelvin2rgb,rgb2RgbString,rgb2hsb, more info see Color Utils. - Added JSON conversion tool
stringifyJSON, more info see JSON Utils. - Added DP Conversion Utils, more info see DP Conversion
1.7.x
1.7.1 (2023-10-24)
Features
- Fix the issue of
I18N.formatValuenot able to fetch online multilingual data.
1.7.0 (2023-09-07)
Features
- Added
dp-kitinterceptor, more info see dp-kit
1.6.x
1.6.1 (2023-08-17)
Features
- Fixed the issue where
InitPanelEnvironmentmight not be triggered inApp.onReady.
1.6.0 (2023-08-14)
Features
- Added the
publishDpsmethod to the smart device model and smart group model, allowing batch control of device feature points. - Added support for configuring WeChat cloud capabilities on the client side.
1.5.x
1.5.0 (2023-06-13)
Features
- Added support for
SmartGroupModelfor intelligent group model
1.4.x
1.4.1 (2023-04-27)
Features
- Compatible with
TuyaLinkprotocol devices that do not have schema, which may cause crashes
1.4.0 (2023-04-13)
Features
- Added more support for WeChat MiniApps
1.3.x
1.3.3 (2023-04-03)
Features
- Compatible with
quickjs
1.3.2 (2023-03-08)
Features
- Fixed getWeathers API
1.3.0 (2023-02-07)
Features
- Started supporting WeChat MiniApps
1.2.x
1.2.1 (2022-11-16)
Features
- Fixed
useDeviceto get the latest value - Fixed
useDevInfounregisterDeviceListListener causing failure to listen to reports
1.2.0 (2022-11-16)
Features
useSdmProps->usePropsuseSdmDevice->useDevice- Added
useActionshooks - Merged sdm into panel-sdk package
1.0.x
1.0.4 (2022-10-21)
Features
-
Fixed the crash when
useSdmPropsis used in the absence of a DP code.