Skip to content

Releases: sjbarag/brs

v0.45.0

22 Sep 22:26
Compare
Choose a tag to compare

Fixes

  • No longer displays JavaScript stack trace when RoSGNode#callFunc is used with incorrect or missing arguments (#663) @lkipke

Features

  • Added stub implementation of ifSGNodeBoundingRect#boundingRect()(#665) @underwoo16

v0.44.1

17 Jun 18:30
Compare
Choose a tag to compare

Fixes

  • Comments starting with REM no longer print a line to stdout for each occurrence (#661)

v0.44.0

03 Jun 23:05
Compare
Choose a tag to compare

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

v0.43.0

29 Apr 19:50
545df78
Compare
Choose a tag to compare

Features

Fixes

v0.42.0

25 Jan 22:10
01f26e6
Compare
Choose a tag to compare

Features

Fixes

  • Fixed uninitialized type casing (#598) @Puritanic
  • Allow JS object properties as identifiers (#614) @sjbarag
  • Support unary + operator for numbers (#615) @sjbarag
  • Allow explicit double designator on literals > 10 characters (#617) @sjbarag
  • Ensure hostNode set in <function> implementation (#618) @sjbarag

v0.41.0

08 Jan 17:28
6613a3e
Compare
Choose a tag to compare

Features

  • Add isSubtype() and parentSubtype() functions to RoSGNode (#584) - @markwpearce
  • Add list of unimplemented features to documentation and clean up README (#601) - @sjbarag
  • Create function that builds an execution scope, then executes subsequent Brightscript files in that scope (#603) - @lkipke

Fixes

  • Have callFunc always return a value to avoid type mismatches in the function signature (#604) - @lkipke

BRS v0.40.1

17 Dec 22:28
Compare
Choose a tag to compare

Fixes

  • Alphabetize brs-specific extensions in README.md and add missing signatures (#595) — @lkipke
  • Reverse stack trace produced by _brs_.getStackTrace(), putting the most recent frame at element 0 (#596) — @lkipke
  • Don't modify execution options after creation (#597) — @sjbarag

v0.40.0

17 Dec 16:08
a7fcf8a
Compare
Choose a tag to compare

Features

  • feat(scenegraph,lex,parse): Add support for <ComponentLibrary/> #590 (@sjbarag)
  • feat(interpreter,exts): implement stack trace (#593) (@lkipke)

Fixes

  • fix(parser): Expose lex/parse errors in files included via <script/> (@sjbarag)
  • fix(stdlib): Correct sorting issues with mixed arrays (#592) (@markwpearce)

v0.39.0

24 Nov 19:41
23e0821
Compare
Choose a tag to compare

Fixes

  • fix(stdlib): Wait for async translations to load before executing (#587)
  • fix(interpreter): Remove unnecessary console errors/warnings (#586)

v0.38.0

17 Nov 23:01
de9d0af
Compare
Choose a tag to compare

Breaking changes

  • Prevent precision loss in parsed manifest (#576)

Features

  • Implement stdlib Tr function (#578)

Fixes

  • Rename default branch from master to main (#577)