npm brs-engine 2.6.1
v2.6.1 - SSE and GetCustomerId

3 hours ago

This release completes the two Roku OS 16.0 features left out of v2.6.0. roUrlTransfer now supports Server-Sent Events (SSE) through the new AsyncGetSSEvents() method, delivering real streaming roSSEvents to the message port on both packages — on Node.js/CLI the request runs in a small per-transfer helper process, and on the browser package the fetch() runs on the main thread, bridged to the worker via shared memory. The SceneGraph ChannelStore node gains the GetRokuCustomerId command, sent through its generic request framework (request/requestStatus fields), returning the new customerId device-information property (configurable, see customization). A new guide documents how to run Rooibos unit tests with the CLI, headlessly on a developer machine or CI runner. Also fixed: two Sonar reliability issues (a roRegex free-spacing loop and unhandled promise rejections in the browser example app). Read the full release notes below for more details.

Release Changes

Core Engine

  • (brs) Added Server-Sent Events support to roUrlTransfer via AsyncGetSSEvents() and the new roSSEvent (Roku OS 16.0) by @lvcabral in #1240
  • (brs) Resolved Sonar reliability issues in roRegex and the browser example app by @lvcabral in #1241

SceneGraph Extension (brs-scenegraph release v0.6.1)

  • (rsg) Added the GetRokuCustomerId command to the ChannelStore node (Roku OS 16.0) by @lvcabral in #1242

Documentation

  • Added a guide for running Rooibos unit tests with the CLI by @lvcabral in #1239
  • Updated the documented Roku OS baseline to 16.0 across the package READMEs by @lvcabral

Chores, Build and Dependencies

  • build(deps-dev): bump vitest from 3.2.7 to 4.1.11 by @dependabot in #1225
  • build(deps): bump webpack-dev-middleware from 8.0.3 to 8.3.0 by @dependabot in #1238
  • Updated the external/dev-doc submodule reference

Full Changelog: v2.6.0...v2.6.1

Don't miss a new brs-engine release

NewReleases is sending notifications on new releases.