All notable changes to this project will be documented in this file.
The format is based on Keep a Changelog, and this project adheres to Semantic Versioning.
0.10.27 - 2024-10-18
- upgrade to [email protected]. Notable changes since 0.67.7:
- Fix namespace-relative transpile bug for standalone file (brighterscript#1324)
- Prevent crash when ProgramBuilder.run called with no options (brighterscript#1316)
- upgrade to [email protected]. Notable changes since 3.12.1:
- fixes #175 - updated regex to find a signed package on
/plugin_package
page (roku-deploy#176)
- fixes #175 - updated regex to find a signed package on
0.10.26 - 2024-09-27
- upgrade to [email protected]. Notable changes since 0.67.5:
- Ast node clone (brighterscript#1281)
- Add support for resolving sourceRoot at time of config load (brighterscript#1290)
- Add support for roIntrinsicDouble (brighterscript#1291)
- Add plugin naming convention (brighterscript#1284)
0.10.25 - 2024-08-01
- Maintenance (lint fixes, bsc upgrades, npm audit fixes) (#75)
- upgrade to [email protected]. Notable changes since 0.67.1:
- Add templatestring support for annotation.getArguments() (brighterscript#1264)
- Update Digitial Picture Frame url and img (brighterscript#1237)
- Fix crash with missing scope (brighterscript#1234)
- Bump braces from 3.0.2 to 3.0.3 in /benchmarks (brighterscript#1229)
- fix: conform bsconfig.schema.json to strict types (brighterscript#1205)
- Flag using devDependency in production code (brighterscript#1222)
- Fix crash with optional chaining in signature help (brighterscript#1207)
- upgrade to [email protected]. Notable changes since 3.12.0:
- Fix bug with absolute paths and getDestPath (roku-deploy#171)
- fix-node14 (roku-deploy#165)
0.10.24 - 2024-05-17
- fix node14 (#74)
- Fix some spelling mistakes in readme (362fb83)
- upgrade to [email protected]. Notable changes since 0.65.25:
- Fix crash when diagnostic is missing range (brighterscript#1174)
- Move function calls to separate diagnostic (brighterscript#1169)
- fix: resolve the stagingDir option relative to the bsconfig.json file (brighterscript#1148)
- Increase max param count to 63 (brighterscript#1112)
- Prevent unused variable warnings on ternary and null coalescence expressions (brighterscript#1101)
0.10.23 - 2024-03-07
- upgrade to [email protected]. Notable changes since 0.65.23:
- Support when tokens have null ranges (brighterscript#1072)
- Support whitespace in conditional compile keywords (brighterscript#1090)
- Allow negative patterns in diagnostic filters (brighterscript#1078)
- upgrade to [email protected]. Notable changes since 3.11.3:
- Support overriding various package upload form data (roku-deploy#136)
0.10.22 - 2024-02-29
- upgrade to [email protected]. Notable changes since 0.65.12:
- empty interfaces break the parser (brighterscript#1082)
- Allow v1 syntax: built-in types for class member types and type declarations on lhs (brighterscript#1059)
- Move
coveralls-next
to a devDependency since it's not needed at runtime (brighterscript#1051) - Fix parsing issues with multi-index IndexedSet and IndexedGet (brighterscript#1050)
- Backport v1 syntax changes (brighterscript#1034)
- Prevent overwriting the Program._manifest if already set on startup (brighterscript#1027)
- adds support for libpkg prefix (brighterscript#1017)
- Assign .program to the builder BEFORE calling afterProgram (brighterscript#1011)
- Prevent errors when using enums in a file that's not included in any scopes (brighterscript#995)
- upgrade to [email protected]. Notable changes since 3.11.1:
- Retry the convertToSquahsfs request given the HPE_INVALID_CONSTANT error (roku-deploy#145)
- Update wrong host password error message (roku-deploy#134)
0.10.21 - 2023-12-07
- upgrade to [email protected]. Notable changes since 0.65.10:
- Add
optional
modifier for interface and class members (brighterscript#955) - Use regex for faster manifest/typedef detection (brighterscript#976)
- Correct RANGE in template string when dealing with quotes in annotations (brighterscript#975)
- Add manifest loading from files (brighterscript#942)
- Enums as class initial values (brighterscript#950)
- Add
- upgrade to [email protected]. Notable changes since 3.10.5:
- Wait for file stream to close before resolving promise (roku-deploy#133)
0.10.20 - 2023-11-14
- upgrade to [email protected]. Notable changes since 0.65.9:
- upgrade to [email protected]. Notable changes since 3.10.4:
- Add better device-info docs (roku-deploy#128)
- Added some more message grabbing logic (roku-deploy#127)
0.10.19 - 2023-11-08
- upgrade to [email protected]. Notable changes since 0.65.8:
- Fix issue with unary expression parsing (brighterscript#938)
- upgrade to [email protected]. Notable changes since 3.10.3:
- Enhance getDeviceInfo() method (roku-deploy#120)
0.10.18 - 2023-10-08
- upgrade to [email protected]. Notable changes since 0.65.5:
- Bump postcss from 8.2.15 to 8.4.31 (brighterscript#928)
- Add interface parameter support (brighterscript#924)
- Better typing for
Deferred
(brighterscript#923) - fix bug in --noproject flag logic (brighterscript#922)
- Add some more details to the plugins docs (brighterscript#913)
- Fix incorrect quasi location in template string (brighterscript#921)
- Fix UnaryExpression transpile for ns and const (brighterscript#914)
- Add missing emitDefinitions to docs and fix iface (brighterscript#893)
- add noProject flag to bsc so BSConfig.json not expected (brighterscript#868)
0.10.17 - 2023-09-11
- upgrade to [email protected]. Notable changes since 0.65.4:
- Fix crashes in util for null ranges (brighterscript#869)
- Print diagnostic related information (brighterscript#867)
- Fix tab issue when printing diagnostics (brighterscript#865)
0.10.16 - 2023-07-24
- Bump word-wrap from 1.2.3 to 1.2.4 (#71)
- upgrade to [email protected]. Notable changes since 0.65.0:
- Bump word-wrap from 1.2.3 to 1.2.4 (brighterscript#851)
- Bump semver from 5.7.1 to 5.7.2 (brighterscript#837)
- Prevent crashing when diagnostic is missing range. (brighterscript#832)
- Prevent crash when diagnostic is missing range (brighterscript#831)
- Fix injection of duplicate super calls into classes (brighterscript#823)
- upgrade to [email protected]. Notable changes since 3.10.2:
- Bump word-wrap from 1.2.3 to 1.2.4 (roku-deploy#117)
0.10.15 - 2023-05-17
- upgrade to [email protected]
- upgrade to [email protected]
- TBD-67: roku-deploy: fix nodejs 19 bug (roku-deploy#115)
0.10.14 - 2023-04-28
- upgrade to [email protected]. Notable changes since 0.64.2:
- Improves performance in symbol table fetching (brighterscript#797)
0.10.13 - 2023-04-18
- upgrade to [email protected]. Notable changes since 0.62.0:
- Fix namespace-relative enum value (brighterscript#793)
- Fix namespace-relative items (brighterscript#789)
- Wrap transpiled template strings in parens (brighterscript#788)
- Simplify the ast range logic (brighterscript#784)
- upgrade to [email protected]. Notable changes since 3.10.0:
- Bump xml2js from 0.4.23 to 0.5.0 (roku-deploy#112)
0.10.12 - 2023-03-17
- fix build status badge (fc087d8)
- Bump jszip from 3.7.1 to 3.10.1 (#68)
- upgrade to [email protected]. Notable changes since 0.61.3:
- Fix crash when func has no block (brighterscript#774)
- Move not-referenced check into ProgramValidator (brighterscript#773)
- upgrade to [email protected]. Notable changes since 3.9.3:
- Use micromatch instead of picomatch (roku-deploy#109)
0.10.11 - 2023-01-12
- upgrade to [email protected]. Notable changes since 0.57.2:
- Ensure enums and interfaces persist in typedefs (brighterscript#757)
- Fix exception while validating continue statement (brighterscript#752)
- Add missing visitor params for DottedSetStatement (brighterscript#748)
- Fixes issues with Roku doc scraper and adds missing components (brighterscript#736)
- Cache
getCallableByName
(brighterscript#739) - Fix crash in
getDefinition
(brighterscript#734) - Remove parentStack to prevent circular references (brighterscript#731)
- Allow
continue
as local var (brighterscript#730) - better parse recover for unknown func params (brighterscript#722)
- Fix if statement block var bug (brighterscript#698)
- Allow nested namespaces (brighterscript#708)
- Migrate to
stagingDir
away fromstagingFolder
(brighterscript#706) - Fix enum error for negative values (brighterscript#703)
- Support
pkg:/
paths forsetFile
(brighterscript#701) - Syntax and transpile support for continue statement (brighterscript#697)
- Finds and includes more deeply embedded expressions (brighterscript#696)
- Scope validation performance boost (brighterscript#656)
- upgrade to [email protected]. Notable changes since 3.8.1:
0.10.10 - 2022-09-12
- upgrade to [email protected]. Notable changes since 0.57.0:
- fix(parser): consider namespace function transpiled names (brighterscript#685)
- Fix typedef default param value and prefix (#59)
0.10.9 - 2022-09-02
- upgrade to [email protected]. Notable changes since 0.56.0:
- Allow
mod
as an aa prop, aa member identifier kinds forced to Identifier (brighterscript#684) - Fix case sensitivity issue with bs_const values (brighterscript#677)
- Allow
- upgrade to [email protected]. Notable changes since 3.7.1:
- Bump moment from 2.29.2 to 2.29.4 (roku-deploy#98)
0.10.8 - 2022-08-24
- upgrade to [email protected]. Notable changes since 0.55.1:
- Fix compile crash for scope-less files (brighterscript#674)
- Fix parse error for malformed dim statement (brighterscript#673)
- Add validation for dimmed variables (brighterscript#672)
- Allow const as variable name (brighterscript#670)
0.10.7 - 2022-08-12
- Bump moment from 2.29.2 to 2.29.4 (#54)
- upgrade to [email protected]. Notable changes since 0.53.1:
- Fix scope-specific diagnostic grouping issue (brighterscript#660)
- Fix typescript error for ast parent setting (brighterscript#659)
- Fix missing constant references (brighterscript#658)
- Link all brs AST nodes to parent onFileValidate (brighterscript#650)
- Add a
toJSON
function to SymbolTable (brighterscript#655) - Performance boost: better function sorting during validation (brighterscript#651)
- Fix broken plugin imports with custom cwd (brighterscript#652)
- Export some vscode interfaces (brighterscript#644)
0.10.6 - 2022-07-18
- upgrade to [email protected]. Notable changes since 0.48.0:
- New Language Feature: Constants (brighterscript#632)
- Fix missing range on interface statement (brighterscript#623)
- Catch class circular extends (brighterscript#619)
- Add object and key to visitor callbacks. (brighterscript#600)
- fixes enums and interfaces resulting in diagnostics error when used as field types (brighterscript#602)
- fixes enums and interfaces resulting in diagnostics error when used as return types from a function (brighterscript#601)
- Better super handling (brighterscript#590)
- Allow interfaces and enums as function param types (brighterscript#580)
- upgrade to [email protected]. Notable changes since 3.4.1:
- export
rokuDeploy
as its own variable to get better docs (#roku-deploy3c3deb4) - Performance improvements (roku-deploy#86)
- Allow negated non-root-dir top-level patterns in files array (roku-deploy#78)
- export
0.10.5 - 2022-04-13
- updated to [email protected]
0.10.4 - 2022-02-24
- updated to [email protected]
0.10.3 - 2022-01-28
- updated to [email protected]
0.10.2 - 2022-01-24
- updated to [email protected]
- noprefix module bug that wasn't handling imports properly (#50)
0.10.1 - 2021-09-09
- crash when processing nonstandard dirs that have brs/xml files (#49)
- ignore prod subdependencies that don't have the
ropm
keyword (#44) - fix prefixing function reference even if module is set to
noprefix
mode (#43)
0.10.0 - 2021-06-21
- Allow option to override
rootDir
in NodeJS api options forInstallCommand
rather than always loading from package.json
0.9.3 - 2021-06-01
- upgraded to [email protected]
- updated to [email protected] which includes [email protected]
- crash in roku-deploy caused by missing dependency
0.9.2 - 2021-05-28
- upgraded to [email protected] which brings significant zip speed improvements
- updated to [email protected]
- several npm audit vulnerability issues
0.9.1 - 2021-02-27
- updated to [email protected]
- bug where any function containing an immediately-invoked function expression would have its contents skipped during preprocessing (fixed by brighterscript#343)
0.9.0 - 2021-02-19
ROPM_PREFIX
source literal to assist package authors with non-standard string function name logic (#32)
- updated to [email protected]
- bug in d.bs type definition files causing function and class annotiations to be incorrectly associated with their parent namespaces (#31)
- add missing prefix for Task
m.top.functionName = "<someFunctionName>"
(#34) - better class name handling in d.bs type definition files (#33)
- prevent running host project brighterscript plugins during ropm install of every ropm package (#35)
0.8.1 - 2021-02-09
- updated to [email protected]
- bug with old-style bsc plugins crashing ropm install.
0.8.0 - 2021-01-19
- special prefixing logic for leading underscores. See this for more information.
0.7.7 - 2021-01-07
- updated to [email protected]
- remove direct reference to vscode-languageserver-protocol
0.7.6 - 2021-01-04
- apply prefix to
observeFieldScoped
calls (#20)
0.7.5 - 2020-12-22
- updated to [email protected]
0.7.4 - 2020-12-14
- updated to [email protected]
- bug with brighterscript->vscode-languageserver->vscode-languageserver-types dependency that had breaking change in minor version release.
0.7.3 - 2020-11-03
- don't wrap interface-referenced functions found in
d.bs
with a namespace
0.7.2 - 2020-11-02
- updated to [email protected]
- removed unnecessary code to force bsc files to parse (because [email protected] now does that automatically)
0.7.1 - 2020-11-01
- Fix bug with unprefixed functions whenever a typedef is present.
0.7.0 - 2020-20-30
- Prefixing support for
d.bs
(typedef) files from BrighterScript
- updated to [email protected]
0.6.6 - 2020-10-29
- bug where function references do not honor prefixing whitelist
0.6.5 - 2020-10-25
- prefixing bug that wasn't applying prefix to to xml field
onChange
events
0.6.4 - 2020-10-20
rootDir
prompt during first install or init
ropm.noprefix
now requires the npm alias name, NOT the ropm alias name (how it was previously).- updated to [email protected]
0.6.3 - 2020-10-16
- force delete during
ropm clean
- bug that was incorrectly prefixing calls to interface functions
0.6.2 - 2020-10-08
ropm
now disables prefixing functions that are referenced in component interfaces.
0.6.1 - 2020-10-08
- use the (BrighterScript)[https://github.com/rokucommunity/brighterscript] parser to simplify prefixing.
0.6.0 - 2020-10-07
- fix missing prefixes on function references not used as a function call
- find and prefix function names in
observeField
calls
- still no support for bypassing prefixing for functions referenced in component
interface
fields. That will be coming in a future release.
0.5.0 - 2020-09-26
ropm copy
command that speeds up local development by skipping the registry check (i.e. internalnpm install
call)
- prevent prefixing calls to variable functions
- prevent prefixing function calls found on objects (i.e.
person.doSomething()
)
0.4.2 - 2020-09-25
- Prevent prefixing special function
onKeyEvent
0.4.1 - 2020-09-25
- bug that was using the unsanitized npm alias instead of the ropm package name in certain install situations for direct dependencies.
0.4.0 - 2020-09-24
ropm.noprefix
package.json option to prevent certain modules from having a prefix applied.- reject installing packages that have the
ropm.noprefix
setting present inpackage.json
: this setting is only for use in client applications.
- dependency component references were not being renamed according to their resolved prefix.
0.3.0 - 2020-09-23
ropm.packageRootDir
for use by package authors to define where their package code resides. This deviates from the previous functionalith where both were handled byrootDir
, nowrootDir
is exclusively for ropm INSTALL location.
- do not copy
roku_module
folders from ropm modules duringropm install
- bug where npm would throw
npm ERR! extraneous
errors when installing file protocol packages, causing the install to bomb. Now we just ignore that error because it's not important.
0.2.0 - 2020-08-28
- "uninstall" command which removes a list of packages from both
roku_modules
andnode_modules
- function/component prefixing and file path renaming during install.
- bug in "clean" command that wasn't cleaning projects with custom
ropm.rootDir
paths. - bug with prerelease versions not installing properly
0.1.1 - 2020-08-06
- "clean" command which removes all ropm files from a project (but leaves the package.json intact)
- remove unnecessary files from published
ropm
npm package - the
"ropm"
keyword is now required in ropm module's package.json, and any package without it will be ignored by ropm
- missing shebang at top of cli script causing problems running ropm from the terminal
- fix running
ropm install
without any arguments
0.1.0 - 2020-08-05
- cli command 'init'
- cli command 'install' which allows you to install packages with the same syntax as npm install
- basic documentation
- initial placeholder release