v1.8.8 - Support flags on ParseJSON() and FormatJSON()
This release added the support for the flags parameter on the ParseJSON() to make the AA returned to be case insensitive, and FormatJSON flag now allows you to disable the escape of non-ASCII characters. There are also, fixes for Left() and Mid() that were not handling negative values properly and Substitute() that now supports the ^0 notation. The chr() and asc() functions were also updated to support extended Unicode. A new custom manifest flag was added: cors_proxy as the proxy is now only enabled when it is added to the app's manifest. The roAudioPlayer and roVideoPlayer components were updated to support the CORS proxy.
Release Changes
- Refactored usage of
canvasandfontsto improve performance by @lvcabral in #547 - Updated
lastKeyTimeandcurrKeyTimeto consistently useDate.now()by @lvcabral in #548 - Added support for literal keys on the Browser by @lvcabral in #557
- Increased the
prettiermax line length from 100 to 120 by @lvcabral in #559 - Bump http-proxy-middleware from 2.0.7 to 2.0.9 by @dependabot in #561
- Optimized images by @lvcabral in #566
- Added new custom
manifestflag:cors_proxyby @lvcabral in #571 - Moved
useCORSProxyandsingleKeyEventsfromInterpretertoBrsDeviceby @lvcabral in #572 - Added support for CORS proxy to
roAudioPlayerandroVideoPlayerby @lvcabral in #573 - Prevent use CORS proxy on local URLs by @lvcabral in #574
- Added support for default sound effect volume level by @lvcabral in #579
- Implemented
flagsparameter onParseJSON()global function by @lvcabral in #585 - Implemented
FormatJSONflag to disable escape of non-ASCII characters by @lvcabral in #586 - Fixed
Left()Mid()andSubstitute()global functions by @lvcabral in #587 - Support extended Unicode in
chr()andasc()by @lvcabral in #588
Full Changelog: v1.8.7...v1.8.8