This patch release fixes four behaviors found in production apps, each checked against a real Roku device with a probe app under test/simulator/probes/. In the core engine, SetMessagePort()/SetPort() now accept invalid (or any value that is not a message port) as a device does: the component silently drops its port instead of crashing the app, and in developer mode the engine prints a warning naming the call site. roDateTime.FromISO8601String() and roTimespan.GetSecondsToISO8601Date() now read any number of fractional-second digits and the documented space separator, so a microsecond timestamp no longer parses as epoch 0. In the SceneGraph extension, roSGScreen.close() now behaves as on a device: a closed screen stops rendering, its timers and animations stop, and closing the last screen ends the app. An roScreen takes over the display and suspends the Scene while it is open. RowList item sub-rects now follow the focus motion frame by frame, skipFocusAnimations skips only row changes, and with transitions off a move along a row still publishes one half-way currFocusColumn. Read the full release notes below for more details.
Release Changes
Core Engine
- (brs)
SetMessagePort()/SetPort()now acceptinvalidor any other non-port value and drop the component's port, as on the device, instead of crashing by @polydeuxes in #1327 - (brs)
roDateTime.FromISO8601String()androTimespan.GetSecondsToISO8601Date()now parse ISO 8601 dates with any fractional-second length or a space separator by @lvcabral in #1329
SceneGraph Extension (brs-scenegraph release v0.7.1)
- (rsg) A closed
roSGScreenstops rendering, closing the last screen ends the app, and anroScreensuspends the Scene while it owns the display, as on the device by @mcaustin in #1328 - (rsg)
RowListitem rects now follow the focus motion,skipFocusAnimationsskips only row changes, and a move along a row keeps its half-waycurrFocusColumnwithout transitions by @lvcabral in #1330
Chores, Build and Dependencies
New Contributors
- @polydeuxes made their first contribution in #1327 - welcome to the project!
Full Changelog: v2.7.0...v2.7.1