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.8.26 - 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)
0.8.25 - 2024-09-26
- 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.8.24 - 2024-08-23
- bug where LINT3024 and LINT3025 were doing a case-sensitive check when they should be checking case-insensitive. (#129)
0.8.23 - 2024-08-22
- add rule for roRegex duplicates (#119)
- upgrade to [email protected]. Notable changes since 0.67.4:
- Add templatestring support for annotation.getArguments() (brighterscript#1264)
0.8.22 - 2024-07-24
- add rule to prevent use of
assocarray
andarray
component fields in xml (#115) - upgrade to [email protected]. Notable changes since 0.67.1:
- Fix crash with missing scope (brighterscript#1234)
- fix: conform bsconfig.schema.json to strict types (brighterscript#1205)
- Flag using devDependency in production code (brighterscript#1222)
0.8.21 - 2024-05-17
- fix node14 (#106)
- upgrade to [email protected]. Notable changes since 0.65.27:
- Fix crash when diagnostic is missing range (brighterscript#1174)
- Move function calls to separate diagnostic (brighterscript#1169)
- resolve the stagingDir option relative to the bsconfig.json file (brighterscript#1148)
- Upgrade to @rokucommunity/logger (brighterscript#1137)
0.8.20 - 2024-03-27
- upgrade to [email protected]. Notable changes since 0.65.25:
- Improve workspace/document symbol handling (brighterscript#1120)
- Plugin hook provide workspace symbol (brighterscript#1118)
- Upgade LSP packages (brighterscript#1117)
- Add plugin hook for documentSymbol (brighterscript#1116)
- Increase max param count to 63 (brighterscript#1112)
- Prevent unused variable warnings on ternary and null coalescence expressions (brighterscript#1101)
0.8.19 - 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)
0.8.18 - 2024-02-29
- upgrade to [email protected]. Notable changes since 0.65.19:
- 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)
0.8.17 - 2024-01-30
- upgrade to [email protected]. Notable changes since 0.65.18:
- Backport v1 syntax changes (brighterscript#1034)
0.8.16 - 2024-01-25
- upgrade to [email protected]. Notable changes since 0.65.17:
- Prevent overwriting the Program._manifest if already set on startup (brighterscript#1027)
- Improving null safety: Add FinalizedBsConfig and tweak plugin events (brighterscript#1000)
0.8.15 - 2024-01-16
- upgrade to [email protected]. Notable changes since 0.65.16:
- adds support for libpkg prefix (brighterscript#1017)
- Assign .program to the builder BEFORE calling afterProgram (brighterscript#1011)
0.8.14 - 2024-01-08
- upgrade to [email protected]. Notable changes since 0.65.12:
- Prevent publishing of empty files (brighterscript#997)
- Improve null safety (brighterscript#996)
- Prevent errors when using enums in a file that's not included in any scopes (brighterscript#995)
- Fix multi-namespace class inheritance transpile bug (brighterscript#990)
- Add check for onChange function (brighterscript#941)
- Fix broken enum transpiling (brighterscript#985)
0.8.13 - 2023-12-07
- upgrade to [email protected]. Notable changes since 0.65.9:
- Add
optional
modifier for interface and class members (brighterscript#955) - Use regex for faster manifest/typedef detection (brighterscript#976)
- fix the create-package script (brighterscript#974)
- 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
0.8.12 - 2023-11-08
- upgrade to [email protected]. Notable changes since 0.65.8:
- Fix issue with unary expression parsing (brighterscript#938)
0.8.11 - 2023-10-08
- color format checking for bslint (#94)
- chore: copy expectDiagnostics from brighterscript for tests (#95)
- 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)
- chore: better typing for
Deferred
(brighterscript#923) - chore: add missing emitDefinitions to docs and fix iface (brighterscript#893)
- 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)
- fix bug in --noproject flag logic (brighterscript#922)
- add noProject flag to bsc so BSConfig.json not expected (brighterscript#868)
0.8.10 - 2023-09-11
- upgrade to [email protected]. Notable changes since 0.65.4:
- support bs_const in bsconfig.json (brighterscript#887)
- allow optionally specifying bslib destination directory (brighterscript#871)
- ensure consistent insertion of bslib.brs (brighterscript#870)
- Fix crashes in util for null ranges (brighterscript#869)
- Print diagnostic related information (brighterscript#867)
- Fix tab issue when printing diagnostics (brighterscript#865)
0.8.9 - 2023-07-24
- upgrade to [email protected]. Notable changes since 0.65.2:
- Install
v8-profiler-next
on demand instead of being a dependency (brighterscript#854) - Bump word-wrap from 1.2.3 to 1.2.4 (brighterscript#851)
- Install
0.8.8 - 2023-07-17
- upgrade to [email protected]. Notable changes since 0.65.1:
- Prevent crashing when diagnostic is missing range. (brighterscript#832)
- Prevent crash when diagnostic is missing range (brighterscript#831)
- code flow bug with try/catch (#93)
- performance issues due to needless duplicate global var lookups (#92)
0.8.7 - 2023-07-05
- upgrade to [email protected]. Notable changes since 0.65.0:
- Fix injection of duplicate super calls into classes (brighterscript#823)
0.8.6 - 2023-05-17
- upgrade to [email protected]
0.8.5 - 2023-05-10
- upgrade to [email protected]
0.8.4 - 2023-04-28
- upgrade to [email protected]. Notable changes since 0.64.2:
- Improves performance in symbol table fetching (brighterscript#797)
0.8.3 - 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)
- do not consider consts as unused variables (#85)
0.8.2 - 2023-03-17
- upgrade to [email protected]. Notable changes since 0.61.3:
- Optional chaining assignment validation (brighterscript#782)
- Fix transpile bug with optional chaning (brighterscript#781)
- Add 'severityOverride' option (brighterscript#725)
- Fix crash when func has no block (brighterscript#774)
- Move not-referenced check into ProgramValidator (brighterscript#773)
0.8.1 - 2023-01-12
- upgrade to [email protected]. Notable changes since 0.61.1:
- Add diagnostic for passing more than 5 arguments to a callFunc (brighterscript#765)
0.8.0 - 2022-12-09
- re-released the content from v0.7.6 but with a minor version bump instead of patch
0.7.7 - 2022-12-09
- Roll back v0.7.6 because it introduced breaking peerDependency changes. That should have been introduced in v0.8.0
0.7.6 - 2022-12-08
- Add new aa-comma-style all-except-single-line. (#80)
- Avoid false positive for missing return (#78)
- upgrade to [email protected]. Notable changes since 0.57.0:
- Fix exception while validating continue statement (brighterscript#752)
- Add missing visitor params for DottedSetStatement (brighterscript#748)
- Flag incorrectly nested statements (brighterscript#747)
- Cache
getCallableByName
(brighterscript#739) - Prevent namespaces being used as variables (brighterscript#738)
- Refactor SymbolTable and AST parent logic (brighterscript#732)
- Fix crash in
getDefinition
(brighterscript#734) - Remove parentStack to prevent circular references (brighterscript#731)
- Allow
continue
as local var (brighterscript#730) - Add name to symbol table (brighterscript#728)
- better parse recover for unknown func params (brighterscript#722)
- Fix if statement block var bug (brighterscript#698)
- Beter location for bs1042 (brighterscript#719)
- adds goto definition for enum statements and enum members (brighterscript#715)
- fixes signature help resolution for callexpressions (brighterscript#707)
- Allow nested namespaces (brighterscript#708)
- Expose an 'isThrowStatement' utility function for plugins (brighterscript#709)
- 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)
- Add AST child searching functionality. (brighterscript#695)
- Finds and includes more deeply embedded expressions (brighterscript#696)
- Fix xml parse bug during benchmarking (#brighterscript0805c1f)
- Scope validation performance boost (brighterscript#656)
- Rename refs to isClass(field|method)Statement (brighterscript#694)
- Create common ancestor for Expression and Statement (brighterscript#693)
- Move file validation into BscPlugin (brighterscript#688)
- Fix brightscript.configFile workspace config bug (brighterscript#686)
- fix(parser): consider namespace function transpiled names (brighterscript#685)
0.7.5 - 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) - Doc Scraper Fixes (brighterscript#585)
- Validate too deep nested files (brighterscript#680)
- Fix case sensitivity issue with bs_const values (brighterscript#677)
- Allow
0.7.4 - 2022-08-24
- Fixes issue with tagging namespaced function as Unitialized Vars (#74)
- 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)
- Dedupe code completions in components (brighterscript#664)
0.7.3 - 2022-08-12
- 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)
- Add semantic token color for consts (brighterscript#654)
- Add go-to-definition support for const statements (brighterscript#653)
- Fix broken plugin imports with custom cwd (brighterscript#652)
- Fix bug in languageserver hover provider (brighterscript#649)
- Add hover for CONST references. (brighterscript#648)
- Allow plugins to contribute completions (brighterscript#647)
- Plugin support for hover (brighterscript#393)
- Export some vscode interfaces (brighterscript#644)
- Better plugin docs (brighterscript#643)
0.7.2 - 2022-07-18
- upgrade to [email protected]
- Use smaller range for LINT3010 (#70)
0.7.1 - 2022-05-09
- error variable from
catch
statement should be available within thecatch
block (#64) - Prevent "unused var" in
goto
loop (#65)
0.7.0 - 2022-04-13
- upgrade to [email protected]
- do not consider enums as unused variables (#59)
0.6.0 - 2022-03-24
- upgrade to [email protected]
- npm audit issues
0.6.0 - 2021-10-27
- associative array comma linting and fixing (#40)
- automatic code fix for removing
as void
when changing a function to sub (#42)
0.5.0 - 2021-07-07
- check scripts/components usage (behind
--checkUsage
flag). (#35)
0.4.0 - 2021-05-25
- automatic code fixes (#28)
- function/sub style
then
style- if condition grouping with/without parenthesis
0.3.0 - 2021-05-19
- Add ignores and globals (#27)
- invoking classes fix (#26)
0.2.0 - 2021-05-13
0.1.0 - 2021-02-22
Initial release