This release reorganizes the repository as a monorepo splitting the released artifacts into two separate NPM packages: brs-engine
(for Web applications) and brs-node
(for Node.js and CLI). This change aims to improve the development experience reducing the size of the imported packages, as the use cases and environments for each package are very different.
Also, with this release, the BrightScript language and components are now synchronized with Roku OS 15.0.
Release Changes
- Changed to Monorepo with two packages:
brs-engine
(browser) andbrs-node
(node.js and CLI) by @lvcabral in #654 - Return
0
when a function has typed return and no return statement is hit by @lvcabral in #641 - Limited typed function returns zero solution to user functions only by @lvcabral in #642
- Added new
d
flag toparseJSON
function to support parsing todouble
by @lvcabral in #643 - Fixed edge cases of
double
handing onParseJson
by @lvcabral in #644 - Fixed
Lexer
parsing ofDouble
literals by @lvcabral in #645 - Implemented new methods
reserve
andshrinkToFit
toroArray
by @lvcabral in #646 - Implemented
roDateTime.asMillisecondsLong()
androDeviceInfo.getUptimeMillisecondsAsLong()
by @lvcabral in #647 - Implemented
roDeviceInfo.IsAutoAdjustRefreshRateEnabled
by @lvcabral in #648 - Implemented
roUtils
component by @lvcabral in #649 - Fixed
roUtils.deepCopy
to properly copyboxed
objects by @lvcabral in #650 - Bump pbkdf2 from 3.1.2 to 3.1.3 by @dependabot[bot] in #630
- Bump sha.js from 2.4.11 to 2.4.12 by @dependabot[bot] in #632
Full Changelog: v1.8.9...v1.9.1