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
0when 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
dflag toparseJSONfunction to support parsing todoubleby @lvcabral in #643 - Fixed edge cases of
doublehanding onParseJsonby @lvcabral in #644 - Fixed
Lexerparsing ofDoubleliterals by @lvcabral in #645 - Implemented new methods
reserveandshrinkToFittoroArrayby @lvcabral in #646 - Implemented
roDateTime.asMillisecondsLong()androDeviceInfo.getUptimeMillisecondsAsLong()by @lvcabral in #647 - Implemented
roDeviceInfo.IsAutoAdjustRefreshRateEnabledby @lvcabral in #648 - Implemented
roUtilscomponent by @lvcabral in #649 - Fixed
roUtils.deepCopyto properly copyboxedobjects 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