
June 30, 20253 minutes
Cleaning, cleaning and more cleaning... Everything you need to know about 7.251 version. A small version because the team is focused on the launch of our SaaS platform.
Updates have been made on some node dependencies required a more recent node version. As a consequence, the framework node minimal version required has been updated to the current LTS version: 22.
Please update your node version also before updating your dependencies.
It is now possible to import external library through npm. However, the library still needs to be compatible with the platform where you are launching your application. This feature is still experimental.
A new error will be raised if you do not set a number to opacity style property.
OfferTypes and Periodicity class were offering statics methods. Those methods have been moved in OfferTypesHelper and PeriodicityHelper respectively.
Previous Periodicity declaration has been splited in 2 files :
PeriodicityPeriodicityTypeAs a result :
$Periodicity.PERIODICITY_WEEKLY became $Periodicity.WEEKLY$Periodicity.PERIODICITY_TYPE_WEEKLY became $PeriodicityType.WEEKLY$MediaConst.LIVE_SHOW, $MediaConst.FIRST_RUN_SHOW, $MediaConst.RERUN_SHOW moved to $MediaShowTypes.xxx$MediaConst.VOD_MOVIE, $MediaConst.VOD_SERIES, $MediaConst.VOD_SEASON, $MediaConst.VOD_EPISODE moved to $MediaVodTypes.xxx$MediaConst.ID_DVB_C, $MediaConst.ID_DVB_S, $MediaConst.ID_DVB_T, $MediaConst.ID_DVB_C2, $MediaConst.ID_DVB_S2, $MediaConst.ID_DVB_T2, $MediaConst.ID_ATSC_T moved to $MediaStreamTypes.xxx$MediaConst.SD, $MediaConst.HD, $MediaConst.UHD moved to $MediaQuality.xxx$MediaConst.CATCH_UP, $MediaConst.ON_DEMAND, $MediaConst.ADULT_ON_DEMAND, $MediaConst.MY_CONTENT moved to $MediaCategory.xxxabstractRecording.getState() by RecordingHelper.getState(abstractRecording)myRecording.start is returning associated program.startmyRecording.duration is returning associated program.durationabstractReminder.setProperties(...) by new $AbstractReminder(...)gridProgram.startOver by $ProgramHelper.hasStartOver(gridProgram)$AnalyticService.ERROR, $AnalyticService.CURRENTLY_WATCHING, $AnalyticService.CHANGE_ROUTE moved to $AnalyticDataContext.xxx$AnalyticService statics value moved to $AnalyticDataType.xxxAlexa service constants moved to separated const files:
pairingCode, pairingDone, pairingExpired, pairingFailed, pairingPending, listeningStarted, listeningActive, listeningStopped, thinking, speakingStarted, speakingStopped, cardsChange, playerChange, musicStop, micOff, smartScreenStart, smartScreenStop moved to $AlexaEventCARD_DISPLAY, CARD_UNDISPLAY, PLAYER_DISPLAY, PLAYER_UNDISPLAY moved to $AlexaStatusCONTROL_30SEC_BACK, CONTROL_30SEC_FORWARD, CONTROL_LOOP, CONTROL_REPEAT, CONTROL_NEXT, CONTROL_PLAY_PAUSE, CONTROL_PAUSE, CONTROL_PLAY, CONTROL_PREV, CONTROL_SHUFFLE, CONTROL_THUMBS_DOWN, CONTROL_THUMBS_UP moved to $AlexaControl$LiveSourceTypeModel has been removedRemoteControlService events moved to separated const files:
firmwareUpdateAvailable,firmwareUpdateStart,firmwareUpdateProgress,firmwareUpdateEnd,pairingDone,pairingProgress,pairingError,dasSearchDone,dasSearchProgress,dasSearchError,dasUnmappedKey,batteryLow moved to $RemoteControlEvent classMethods encodeRFC3986 and encodeRFC5987 have been removed as they used deprecated methods (escape, unescape) and were not used anywhere.
Events from AbstractBluetoothInService and AbstractBluetoothOutService have been moved to a separate const file BluetoothEvent:
bluetoothVisibilityEnabled, bluetoothVisibilityDisabled, devicePairingRequest, devicePaired, deviceConnecting, deviceDisconnected moved to $BluetoothEventbluetoothScanStart, bluetoothScanStop, deviceScanFound, deviceScanLost moved to $BluetoothEventConstants from SystemInfoService starting with NETWORK_INFRASTRUCTURE_TYPE_xxx have been moved to separate const file NetworkInfrastructureTypes.xxx:
$SystemInfoService.NETWORK_INFRASTRUCTURE_TYPE_UNKNOWN replaced by $NetworkInfrastructureTypes.UNKNOWN$SystemInfoService.NETWORK_INFRASTRUCTURE_TYPE_ADSL replaced by $NetworkInfrastructureTypes.ADSL$SystemInfoService.NETWORK_INFRASTRUCTURE_TYPE_FIBRE replaced by $NetworkInfrastructureTypes.FIBRE$SystemInfoService.NETWORK_INFRASTRUCTURE_TYPE_CABLE replaced by $NetworkInfrastructureTypes.CABLEEverything linked to $PlayerPrimitive has been removed. It includes :
$AudioPlayer, $LivePlayer…)$PlayerPrimitive, $PipPlayerPrimitive…)$MAudioPlayer, $MLivePlayer…)$PlayerManager, $LivePlayerManager)$Advertisement, $AdvertismentBreak…)$ParentalControlService, $VolumeService…)Danger
PlayerPrimitive is deprecated since 7.2203. You should migrate to $PlayerService.
There were no default language set for unit testing on LocalizedDate. As a result, it was harder to test components that were using this class. A default language (en-US) is now automatically loaded for unit testing.
Be careful with changes described in cleaning section. Those are breaking changes