Skip to content

v0.44.0

Compare
Choose a tag to compare
@sjbarag sjbarag released this 03 Jun 23:05
· 10 commits to main since this release

Features

  • ifAssociativeArray#lookupCI() is now available on both RoAssociativeArray and RoSGNode (#629 / #639) @Vasya-M
  • The custom _brs_ global object gained support for _brs_.testData — an associative array cleared with each executed file. This supports a pattern that was being used pretty heavily with https://github.com/hulu/roca. (#623 / #646) @Vasya-M
  • The roAppInfo has been implemented (#537 / #643) @vbuchii
  • brs.lexer now emits BrightScript comments in an estree-compliant structure, for use by external tools (#654) @sjbarag

Fixes

  • Component and function mocks set up with _brs_.mock* are now reset between executions, preventing cross-pollination between tests under roca (#649) @lkipke
  • Typed function arguments and variable assignments now attempt to coerce the provided value into the desired type, matching the reference BrightScript implementation (RBI) (#609 / #620) @vbuchii & @sjbarag