Ray Changelog
1.7.x
Features
- Added
maptapclick event for Map component - Added
publishDpsatomic interface exposure - Added IPC-related APIs
- Added
scrollIntoViewOffsetproperty for ScrollView, supporting scroll offset configuration - Added
bouncesproperty for ScrollView, supporting scroll bounce effect - Added
injectTTTproperty for WebView / iframe - Added Pet Camera related APIs
- Added
exportStatistics15minAPI for chart cloud capability (5-minute/15-minute statistics data)
Bug Fixes
- Fixed naming conflict issue with
publishDpsexport - Fixed redundant CSS file generation in chunk entry during mini program build
- Fixed compatibility issue with
@i18ndouble quotes inapp.jsoni18n - Fixed
build-componentgenerating core-js import JSON polyfill issue - Fixed
textareaevent name error - Adjusted pet API value-added service related parameters
1.6.x
Features
- Supports using built-in Ray runtime from base library (no framework package needed, lighter integration)
- Supports page snapshot (
snapshot) - Supports mini program subpackage configuration
- Added AIKit exports and type definitions
- Added AI Pet series APIs
- Added AI Agent APIs
- Added IpcKit and vacuum cleaner
renameHistoryMapAPI - Added gyroscope vacuum cleaner API stubs
- Added
typeproperty for IpcPlayer - Added
setDeviceAddress/getDeviceAddressdevice address APIs - Supports
offNavigationBarBackevent deregistration
Bug Fixes
- Fixed issue with dynamically adding components
- Fixed type definition issues for View and Swiper
- Fixed
getCurrentPagestype issue - Fixed
hideScrollbarproperty not taking effect for ScrollView
1.5.x
Features
- Added laser vacuum cleaner related features and APIs
- Added
getLightHighPowerAPI to determine if device supports advanced capabilities - Added
getAppAuthorizeSettingAPI to get application authorization settings
Bug Fixes
- Fixed Zigbee remote control API return type definition issue
Improvements
- Optimized
getAnalyticsLogsStatusLogAPI, addeddpValuesreturn parameter
1.4.x
Features
- Added
openDeviceGWSubSearchConfigureto open gateway panel network configuration for sub-devices - Search configuration (new version) - Added
openDeviceGWSubHelpListto open gateway panel network configuration for sub-devices - Configuration help list (new version) - Added
getRemoteLocalRelationpanel to get assigned localIds after network configuration - Added
openOutdoorConfigDeviceHometo open network configuration page - Added
openDevNetworkCheckto open device network check page - Added
openSmartSceneto open scene page - Added
openDevManualAndSmartto open one-click execution and automation page - Added
openHelpAndFeedbackto open help and feedback page - Added
openMoreServiceto open more services page - Added
openAppHelpCenterto open help center page - Added
openMessageCenterto open message center page - Added
getOutdoorDeviceIconto get travel product images by device IDs - Updated MapKit with new functions, upgraded to MapKit 3.4.13
- reverseGeocodeLocation
- coordinateWGS84ToGCJ02
- coordinateGCJ02ToWGS84
- getMapType
- Added
reportOutdoorsLocation (Device Location Reporting)cloud capability API - Added
map.transformLocation (Get address from coordinates)API - Added door lock related APIs
- Updated getWeathers return value, added pop/qpf fields
- Added
openCreateScene (Open create scene page),openEditScene (Open edit scene page),openConfigDevice (Open device configuration page),openGuideScene (Open guide scene page) - Added outdoor travel jump to cycling navigation client route page
- Added
OpenGroupCreatefunction for creating groups - Added
onOpenGroupCreatefunction for group creation monitoring - Added
Weather Servicecloud capability related APIs - Added
Biorhythmcloud capability related APIs - Added
Lighting Librarycloud capability related APIs - Updated
Device Logcloud capability related APIs - Updated
Location Capabilitycloud capability related APIs
1.3.x
Features
- Mapped
onSelectproperty forRichText - Added left and right content indentation properties for
input - Added
nativeDisabled
1.1.0
Features
- Added Location Capability related APIs
1.0.0
Features
- Added Ray plugin capability
import { initPanelEnvironment, publishDps } from '@ray-js/ray'publishDpscompatible with basic and advanced usage, see documentation for details
0.9.x
Features
-
Added several APIs
0.8.x
Features
-
Added several APIs
Improvements
- Updated
movable-viewmovable-area
0.7.x
Improvements
- Made some optimizations during compilation to improve performance and efficiency
- Bound
ray-coreversion to reduce dependency installation cognitive load
0.6.x
Features
- Added APIs
onAppEventoffAppEventonAppHideoffAppHideonAppShowoffAppShowonErroroffErroronThemeChangeoffThemeChangeonWindowResizeoffWindowResizeonPageNotFound - Added
WebViewNativeVideoMapCameralayered components - Aggregated package
@ray-js/ray- Provides
@ray-js/rayas an aggregation of@ray-js/framework,@ray-js/ray,@ray-js/api. No need to install those three packages separately, just install@ray-js/ray - Code references to
api,componentscan all be imported from@ray-js/ray:import { Button, View, Swiper, PageContainer, Input, Slider, Textarea, usePageInstance, getAppInfo } from '@ray-js/ray'
- Provides
- Provides
usePageInstanceuseNativeEffectuseQueryuseComponentInstanceimport { usePageInstance, useNativeEffect, useQuery, useComponentInstance } from '@ray-js/ray'
Improvements
- Project engineering optimization
- Removed legacy
react-nativedependencies from project
- Removed legacy
- Build optimization
- RJS build optimization
- Runtime optimization
@ray-js/envexportsisTuya- Runtime performance optimization
- Removed undefined data transmission in Ray framework
- Removed unused property default values in components
- API dependency Kit upgrades
- BaseKit -> 3.0.0
- BizKit -> 3.0.1
- DeviceKit -> 3.0.0
- MiniKit -> 3.0.0
- BaseKit's
getDeviceInfoaliased asgetMobileDeviceInfo
0.5.x
Features
-
WeChat Mini Program subpackage capability
Improvements
- webpack v4 to v5
- npm package scope changed from
@remaxto@ray-core@remax/{pkgName}=>@ray-core/{pkgName}remax=>@ray-core/ray
- Build performance optimization