brighterscript 1.0.0-alpha.24 → 1.0.0-alpha.26
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +521 -233
- package/README.md +45 -139
- package/bsconfig.schema.json +46 -0
- package/dist/ActionPipeline.d.ts +10 -0
- package/dist/ActionPipeline.js +40 -0
- package/dist/ActionPipeline.js.map +1 -0
- package/dist/AstValidationSegmenter.d.ts +25 -0
- package/dist/AstValidationSegmenter.js +152 -0
- package/dist/AstValidationSegmenter.js.map +1 -0
- package/dist/BsConfig.d.ts +40 -4
- package/dist/BusyStatusTracker.d.ts +31 -0
- package/dist/BusyStatusTracker.js +83 -0
- package/dist/BusyStatusTracker.js.map +1 -0
- package/dist/Cache.js +3 -3
- package/dist/Cache.js.map +1 -1
- package/dist/CacheVerifier.d.ts +7 -0
- package/dist/CacheVerifier.js +20 -0
- package/dist/CacheVerifier.js.map +1 -0
- package/dist/CodeActionUtil.d.ts +3 -3
- package/dist/CodeActionUtil.js.map +1 -1
- package/dist/CommentFlagProcessor.d.ts +3 -2
- package/dist/CommentFlagProcessor.js +5 -4
- package/dist/CommentFlagProcessor.js.map +1 -1
- package/dist/DependencyGraph.d.ts +3 -2
- package/dist/DependencyGraph.js +11 -10
- package/dist/DependencyGraph.js.map +1 -1
- package/dist/DiagnosticCollection.js +9 -5
- package/dist/DiagnosticCollection.js.map +1 -1
- package/dist/DiagnosticFilterer.d.ts +1 -0
- package/dist/DiagnosticFilterer.js +5 -3
- package/dist/DiagnosticFilterer.js.map +1 -1
- package/dist/DiagnosticMessages.d.ts +61 -13
- package/dist/DiagnosticMessages.js +116 -19
- package/dist/DiagnosticMessages.js.map +1 -1
- package/dist/DiagnosticSeverityAdjuster.d.ts +7 -0
- package/dist/DiagnosticSeverityAdjuster.js +41 -0
- package/dist/DiagnosticSeverityAdjuster.js.map +1 -0
- package/dist/FunctionScope.d.ts +28 -0
- package/dist/FunctionScope.js +52 -0
- package/dist/FunctionScope.js.map +1 -0
- package/dist/KeyedThrottler.d.ts +3 -3
- package/dist/KeyedThrottler.js +3 -3
- package/dist/KeyedThrottler.js.map +1 -1
- package/dist/LanguageServer.d.ts +23 -11
- package/dist/LanguageServer.js +150 -69
- package/dist/LanguageServer.js.map +1 -1
- package/dist/Logger.d.ts +3 -2
- package/dist/Logger.js +11 -3
- package/dist/Logger.js.map +1 -1
- package/dist/PluginInterface.d.ts +21 -3
- package/dist/PluginInterface.js +74 -6
- package/dist/PluginInterface.js.map +1 -1
- package/dist/Program.d.ts +158 -79
- package/dist/Program.js +841 -706
- package/dist/Program.js.map +1 -1
- package/dist/ProgramBuilder.d.ts +22 -12
- package/dist/ProgramBuilder.js +130 -103
- package/dist/ProgramBuilder.js.map +1 -1
- package/dist/Scope.d.ts +86 -137
- package/dist/Scope.js +453 -519
- package/dist/Scope.js.map +1 -1
- package/dist/Stopwatch.js +1 -1
- package/dist/Stopwatch.js.map +1 -1
- package/dist/SymbolTable.d.ts +89 -34
- package/dist/SymbolTable.js +239 -114
- package/dist/SymbolTable.js.map +1 -1
- package/dist/Throttler.d.ts +12 -0
- package/dist/Throttler.js +39 -0
- package/dist/Throttler.js.map +1 -1
- package/dist/Watcher.d.ts +0 -3
- package/dist/Watcher.js +0 -3
- package/dist/Watcher.js.map +1 -1
- package/dist/XmlScope.d.ts +4 -11
- package/dist/XmlScope.js +75 -88
- package/dist/XmlScope.js.map +1 -1
- package/dist/astUtils/CachedLookups.d.ts +48 -0
- package/dist/astUtils/CachedLookups.js +323 -0
- package/dist/astUtils/CachedLookups.js.map +1 -0
- package/dist/astUtils/{AstEditor.d.ts → Editor.d.ts} +9 -5
- package/dist/astUtils/{AstEditor.js → Editor.js} +10 -4
- package/dist/astUtils/Editor.js.map +1 -0
- package/dist/astUtils/{AstEditor.spec.js → Editor.spec.js} +69 -65
- package/dist/astUtils/Editor.spec.js.map +1 -0
- package/dist/astUtils/creators.d.ts +10 -10
- package/dist/astUtils/creators.js +54 -24
- package/dist/astUtils/creators.js.map +1 -1
- package/dist/astUtils/creators.spec.js +5 -5
- package/dist/astUtils/creators.spec.js.map +1 -1
- package/dist/astUtils/reflection.d.ts +132 -104
- package/dist/astUtils/reflection.js +220 -174
- package/dist/astUtils/reflection.js.map +1 -1
- package/dist/astUtils/reflection.spec.js +256 -157
- package/dist/astUtils/reflection.spec.js.map +1 -1
- package/dist/astUtils/stackedVisitor.spec.js +12 -12
- package/dist/astUtils/stackedVisitor.spec.js.map +1 -1
- package/dist/astUtils/visitors.d.ts +53 -35
- package/dist/astUtils/visitors.js +29 -3
- package/dist/astUtils/visitors.js.map +1 -1
- package/dist/astUtils/visitors.spec.js +208 -52
- package/dist/astUtils/visitors.spec.js.map +1 -1
- package/dist/astUtils/xml.d.ts +9 -9
- package/dist/astUtils/xml.js +9 -9
- package/dist/astUtils/xml.js.map +1 -1
- package/dist/bscPlugin/BscPlugin.d.ts +11 -2
- package/dist/bscPlugin/BscPlugin.js +37 -3
- package/dist/bscPlugin/BscPlugin.js.map +1 -1
- package/dist/bscPlugin/CallExpressionInfo.d.ts +36 -0
- package/dist/bscPlugin/CallExpressionInfo.js +131 -0
- package/dist/bscPlugin/CallExpressionInfo.js.map +1 -0
- package/dist/bscPlugin/FileWriter.d.ts +6 -0
- package/dist/bscPlugin/FileWriter.js +24 -0
- package/dist/bscPlugin/FileWriter.js.map +1 -0
- package/dist/bscPlugin/SignatureHelpUtil.d.ts +10 -0
- package/dist/bscPlugin/SignatureHelpUtil.js +136 -0
- package/dist/bscPlugin/SignatureHelpUtil.js.map +1 -0
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.js +16 -13
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.js.map +1 -1
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.spec.js +16 -16
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.spec.js.map +1 -1
- package/dist/bscPlugin/completions/CompletionsProcessor.d.ts +52 -1
- package/dist/bscPlugin/completions/CompletionsProcessor.js +517 -26
- package/dist/bscPlugin/completions/CompletionsProcessor.js.map +1 -1
- package/dist/bscPlugin/completions/CompletionsProcessor.spec.js +1909 -0
- package/dist/bscPlugin/completions/CompletionsProcessor.spec.js.map +1 -0
- package/dist/bscPlugin/definition/DefinitionProvider.d.ts +13 -0
- package/dist/bscPlugin/definition/DefinitionProvider.js +210 -0
- package/dist/bscPlugin/definition/DefinitionProvider.js.map +1 -0
- package/dist/bscPlugin/definition/DefinitionProvider.spec.js +88 -0
- package/dist/bscPlugin/definition/DefinitionProvider.spec.js.map +1 -0
- package/dist/bscPlugin/fileProviders/FileProvider.d.ts +9 -0
- package/dist/bscPlugin/fileProviders/FileProvider.js +51 -0
- package/dist/bscPlugin/fileProviders/FileProvider.js.map +1 -0
- package/dist/bscPlugin/hover/HoverProcessor.d.ts +7 -7
- package/dist/bscPlugin/hover/HoverProcessor.js +123 -125
- package/dist/bscPlugin/hover/HoverProcessor.js.map +1 -1
- package/dist/bscPlugin/hover/HoverProcessor.spec.js +371 -53
- package/dist/bscPlugin/hover/HoverProcessor.spec.js.map +1 -1
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.d.ts +2 -1
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js +83 -23
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js.map +1 -1
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.spec.js +83 -6
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.spec.js.map +1 -1
- package/dist/bscPlugin/serialize/BslibInjector.spec.d.ts +1 -0
- package/dist/bscPlugin/serialize/BslibInjector.spec.js +19 -0
- package/dist/bscPlugin/serialize/BslibInjector.spec.js.map +1 -0
- package/dist/bscPlugin/serialize/BslibManager.d.ts +9 -0
- package/dist/bscPlugin/serialize/BslibManager.js +40 -0
- package/dist/bscPlugin/serialize/BslibManager.js.map +1 -0
- package/dist/bscPlugin/serialize/FileSerializer.d.ts +9 -0
- package/dist/bscPlugin/serialize/FileSerializer.js +72 -0
- package/dist/bscPlugin/serialize/FileSerializer.js.map +1 -0
- package/dist/bscPlugin/transpile/{BrsFilePreTranspileProcessor.d.ts → BrsFileTranspileProcessor.d.ts} +4 -2
- package/dist/bscPlugin/transpile/{BrsFilePreTranspileProcessor.js → BrsFileTranspileProcessor.js} +38 -12
- package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.js.map +1 -0
- package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.spec.d.ts +1 -0
- package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.spec.js +41 -0
- package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.spec.js.map +1 -0
- package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.d.ts +12 -0
- package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.js +99 -0
- package/dist/bscPlugin/transpile/XmlFilePreTranspileProcessor.js.map +1 -0
- package/dist/bscPlugin/validation/BrsFileValidator.d.ts +13 -5
- package/dist/bscPlugin/validation/BrsFileValidator.js +262 -52
- package/dist/bscPlugin/validation/BrsFileValidator.js.map +1 -1
- package/dist/bscPlugin/validation/BrsFileValidator.spec.js +230 -14
- package/dist/bscPlugin/validation/BrsFileValidator.spec.js.map +1 -1
- package/dist/bscPlugin/validation/ProgramValidator.d.ts +10 -0
- package/dist/bscPlugin/validation/ProgramValidator.js +32 -0
- package/dist/bscPlugin/validation/ProgramValidator.js.map +1 -0
- package/dist/bscPlugin/validation/ScopeValidator.d.ts +58 -27
- package/dist/bscPlugin/validation/ScopeValidator.js +514 -286
- package/dist/bscPlugin/validation/ScopeValidator.js.map +1 -1
- package/dist/bscPlugin/validation/ScopeValidator.spec.d.ts +1 -0
- package/dist/bscPlugin/validation/ScopeValidator.spec.js +2527 -0
- package/dist/bscPlugin/validation/ScopeValidator.spec.js.map +1 -0
- package/dist/bscPlugin/validation/XmlFileValidator.d.ts +8 -0
- package/dist/bscPlugin/validation/XmlFileValidator.js +44 -0
- package/dist/bscPlugin/validation/XmlFileValidator.js.map +1 -0
- package/dist/cli.js +104 -13
- package/dist/cli.js.map +1 -1
- package/dist/deferred.d.ts +3 -3
- package/dist/deferred.js.map +1 -1
- package/dist/diagnosticUtils.d.ts +8 -2
- package/dist/diagnosticUtils.js +47 -17
- package/dist/diagnosticUtils.js.map +1 -1
- package/dist/examples/plugins/removePrint.js +8 -10
- package/dist/examples/plugins/removePrint.js.map +1 -1
- package/dist/files/AssetFile.d.ts +26 -0
- package/dist/files/AssetFile.js +26 -0
- package/dist/files/AssetFile.js.map +1 -0
- package/dist/files/BrsFile.Class.spec.js +523 -493
- package/dist/files/BrsFile.Class.spec.js.map +1 -1
- package/dist/files/BrsFile.d.ts +111 -117
- package/dist/files/BrsFile.js +684 -1142
- package/dist/files/BrsFile.js.map +1 -1
- package/dist/files/BrsFile.spec.js +1783 -1233
- package/dist/files/BrsFile.spec.js.map +1 -1
- package/dist/files/BscFile.d.ts +104 -0
- package/dist/files/BscFile.js +16 -0
- package/dist/files/BscFile.js.map +1 -0
- package/dist/files/Factory.d.ts +25 -0
- package/dist/files/Factory.js +22 -0
- package/dist/files/Factory.js.map +1 -0
- package/dist/files/LazyFileData.d.ts +20 -0
- package/dist/files/LazyFileData.js +54 -0
- package/dist/files/LazyFileData.js.map +1 -0
- package/dist/files/LazyFileData.spec.d.ts +1 -0
- package/dist/files/LazyFileData.spec.js +27 -0
- package/dist/files/LazyFileData.spec.js.map +1 -0
- package/dist/files/XmlFile.d.ts +70 -32
- package/dist/files/XmlFile.js +106 -118
- package/dist/files/XmlFile.js.map +1 -1
- package/dist/files/XmlFile.spec.js +325 -262
- package/dist/files/XmlFile.spec.js.map +1 -1
- package/dist/files/tests/imports.spec.js +48 -40
- package/dist/files/tests/imports.spec.js.map +1 -1
- package/dist/files/tests/optionalChaning.spec.js +84 -24
- package/dist/files/tests/optionalChaning.spec.js.map +1 -1
- package/dist/globalCallables.js +16 -21
- package/dist/globalCallables.js.map +1 -1
- package/dist/index.d.ts +12 -1
- package/dist/index.js +12 -1
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +421 -162
- package/dist/interfaces.js +27 -0
- package/dist/interfaces.js.map +1 -1
- package/dist/lexer/Character.spec.js +5 -5
- package/dist/lexer/Character.spec.js.map +1 -1
- package/dist/lexer/Lexer.d.ts +12 -5
- package/dist/lexer/Lexer.js +28 -13
- package/dist/lexer/Lexer.js.map +1 -1
- package/dist/lexer/Lexer.spec.js +181 -135
- package/dist/lexer/Lexer.spec.js.map +1 -1
- package/dist/lexer/Token.d.ts +9 -1
- package/dist/lexer/Token.js +9 -1
- package/dist/lexer/Token.js.map +1 -1
- package/dist/lexer/TokenKind.d.ts +8 -0
- package/dist/lexer/TokenKind.js +24 -4
- package/dist/lexer/TokenKind.js.map +1 -1
- package/dist/parser/AstNode.d.ts +162 -0
- package/dist/parser/AstNode.js +225 -0
- package/dist/parser/AstNode.js.map +1 -0
- package/dist/parser/AstNode.spec.d.ts +1 -0
- package/dist/parser/AstNode.spec.js +165 -0
- package/dist/parser/AstNode.spec.js.map +1 -0
- package/dist/parser/BrsTranspileState.d.ts +4 -7
- package/dist/parser/BrsTranspileState.js +4 -12
- package/dist/parser/BrsTranspileState.js.map +1 -1
- package/dist/parser/Expression.d.ts +376 -283
- package/dist/parser/Expression.js +742 -585
- package/dist/parser/Expression.js.map +1 -1
- package/dist/parser/Parser.Class.spec.js +151 -145
- package/dist/parser/Parser.Class.spec.js.map +1 -1
- package/dist/parser/Parser.d.ts +48 -201
- package/dist/parser/Parser.js +705 -1026
- package/dist/parser/Parser.js.map +1 -1
- package/dist/parser/Parser.spec.d.ts +3 -1
- package/dist/parser/Parser.spec.js +861 -848
- package/dist/parser/Parser.spec.js.map +1 -1
- package/dist/parser/SGParser.d.ts +9 -8
- package/dist/parser/SGParser.js +10 -8
- package/dist/parser/SGParser.js.map +1 -1
- package/dist/parser/SGParser.spec.js +27 -38
- package/dist/parser/SGParser.spec.js.map +1 -1
- package/dist/parser/SGTypes.d.ts +98 -35
- package/dist/parser/SGTypes.js +169 -99
- package/dist/parser/SGTypes.js.map +1 -1
- package/dist/parser/Statement.d.ts +468 -272
- package/dist/parser/Statement.js +904 -631
- package/dist/parser/Statement.js.map +1 -1
- package/dist/parser/Statement.spec.js +47 -23
- package/dist/parser/Statement.spec.js.map +1 -1
- package/dist/parser/TranspileState.d.ts +1 -1
- package/dist/parser/TranspileState.js +7 -12
- package/dist/parser/TranspileState.js.map +1 -1
- package/dist/parser/tests/Parser.spec.js +3 -2
- package/dist/parser/tests/Parser.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/For.spec.js +33 -23
- package/dist/parser/tests/controlFlow/For.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/ForEach.spec.js +25 -20
- package/dist/parser/tests/controlFlow/ForEach.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/If.spec.js +96 -94
- package/dist/parser/tests/controlFlow/If.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/While.spec.js +22 -16
- package/dist/parser/tests/controlFlow/While.spec.js.map +1 -1
- package/dist/parser/tests/expression/Additive.spec.js +8 -8
- package/dist/parser/tests/expression/Additive.spec.js.map +1 -1
- package/dist/parser/tests/expression/ArrayLiterals.spec.js +58 -21
- package/dist/parser/tests/expression/ArrayLiterals.spec.js.map +1 -1
- package/dist/parser/tests/expression/AssociativeArrayLiterals.spec.js +62 -21
- package/dist/parser/tests/expression/AssociativeArrayLiterals.spec.js.map +1 -1
- package/dist/parser/tests/expression/Boolean.spec.js +8 -8
- package/dist/parser/tests/expression/Boolean.spec.js.map +1 -1
- package/dist/parser/tests/expression/Call.spec.js +129 -21
- package/dist/parser/tests/expression/Call.spec.js.map +1 -1
- package/dist/parser/tests/expression/Exponential.spec.js +5 -5
- package/dist/parser/tests/expression/Exponential.spec.js.map +1 -1
- package/dist/parser/tests/expression/Function.spec.js +36 -36
- package/dist/parser/tests/expression/Function.spec.js.map +1 -1
- package/dist/parser/tests/expression/Indexing.spec.js +92 -22
- package/dist/parser/tests/expression/Indexing.spec.js.map +1 -1
- package/dist/parser/tests/expression/Multiplicative.spec.js +9 -9
- package/dist/parser/tests/expression/Multiplicative.spec.js.map +1 -1
- package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js +59 -59
- package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/PrefixUnary.spec.js +12 -12
- package/dist/parser/tests/expression/PrefixUnary.spec.js.map +1 -1
- package/dist/parser/tests/expression/Primary.spec.js +12 -12
- package/dist/parser/tests/expression/Primary.spec.js.map +1 -1
- package/dist/parser/tests/expression/RegexLiteralExpression.spec.js +10 -10
- package/dist/parser/tests/expression/RegexLiteralExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/Relational.spec.js +13 -13
- package/dist/parser/tests/expression/Relational.spec.js.map +1 -1
- package/dist/parser/tests/expression/SourceLiteralExpression.spec.js +24 -24
- package/dist/parser/tests/expression/SourceLiteralExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/TemplateStringExpression.spec.js +96 -57
- package/dist/parser/tests/expression/TemplateStringExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/TernaryExpression.spec.js +89 -89
- package/dist/parser/tests/expression/TernaryExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/TypeExpression.spec.d.ts +1 -0
- package/dist/parser/tests/expression/TypeExpression.spec.js +127 -0
- package/dist/parser/tests/expression/TypeExpression.spec.js.map +1 -0
- package/dist/parser/tests/expression/UnaryExpression.spec.d.ts +1 -0
- package/dist/parser/tests/expression/UnaryExpression.spec.js +52 -0
- package/dist/parser/tests/expression/UnaryExpression.spec.js.map +1 -0
- package/dist/parser/tests/statement/AssignmentOperators.spec.js +15 -15
- package/dist/parser/tests/statement/AssignmentOperators.spec.js.map +1 -1
- package/dist/parser/tests/statement/ConstStatement.spec.js +82 -33
- package/dist/parser/tests/statement/ConstStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/Continue.spec.d.ts +1 -0
- package/dist/parser/tests/statement/Continue.spec.js +119 -0
- package/dist/parser/tests/statement/Continue.spec.js.map +1 -0
- package/dist/parser/tests/statement/Declaration.spec.js +19 -19
- package/dist/parser/tests/statement/Declaration.spec.js.map +1 -1
- package/dist/parser/tests/statement/Dim.spec.js +22 -22
- package/dist/parser/tests/statement/Dim.spec.js.map +1 -1
- package/dist/parser/tests/statement/Enum.spec.js +98 -302
- package/dist/parser/tests/statement/Enum.spec.js.map +1 -1
- package/dist/parser/tests/statement/For.spec.js +9 -10
- package/dist/parser/tests/statement/For.spec.js.map +1 -1
- package/dist/parser/tests/statement/ForEach.spec.js +8 -9
- package/dist/parser/tests/statement/ForEach.spec.js.map +1 -1
- package/dist/parser/tests/statement/Function.spec.js +44 -35
- package/dist/parser/tests/statement/Function.spec.js.map +1 -1
- package/dist/parser/tests/statement/Goto.spec.js +5 -5
- package/dist/parser/tests/statement/Goto.spec.js.map +1 -1
- package/dist/parser/tests/statement/Increment.spec.js +20 -20
- package/dist/parser/tests/statement/Increment.spec.js.map +1 -1
- package/dist/parser/tests/statement/InterfaceStatement.spec.js +30 -196
- package/dist/parser/tests/statement/InterfaceStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/LibraryStatement.spec.js +11 -11
- package/dist/parser/tests/statement/LibraryStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/Misc.spec.js +16 -78
- package/dist/parser/tests/statement/Misc.spec.js.map +1 -1
- package/dist/parser/tests/statement/PrintStatement.spec.js +36 -34
- package/dist/parser/tests/statement/PrintStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/ReturnStatement.spec.js +14 -12
- package/dist/parser/tests/statement/ReturnStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/Set.spec.js +48 -35
- package/dist/parser/tests/statement/Set.spec.js.map +1 -1
- package/dist/parser/tests/statement/Stop.spec.js +6 -6
- package/dist/parser/tests/statement/Stop.spec.js.map +1 -1
- package/dist/parser/tests/statement/Throw.spec.js +6 -6
- package/dist/parser/tests/statement/Throw.spec.js.map +1 -1
- package/dist/parser/tests/statement/TryCatch.spec.js +18 -16
- package/dist/parser/tests/statement/TryCatch.spec.js.map +1 -1
- package/dist/preprocessor/Manifest.d.ts +1 -1
- package/dist/preprocessor/Manifest.js +2 -2
- package/dist/preprocessor/Manifest.js.map +1 -1
- package/dist/preprocessor/Manifest.spec.js +8 -8
- package/dist/preprocessor/Manifest.spec.js.map +1 -1
- package/dist/preprocessor/Preprocessor.d.ts +5 -6
- package/dist/preprocessor/Preprocessor.js +5 -5
- package/dist/preprocessor/Preprocessor.js.map +1 -1
- package/dist/preprocessor/Preprocessor.spec.js +25 -25
- package/dist/preprocessor/Preprocessor.spec.js.map +1 -1
- package/dist/preprocessor/PreprocessorParser.d.ts +1 -1
- package/dist/preprocessor/PreprocessorParser.js +7 -1
- package/dist/preprocessor/PreprocessorParser.js.map +1 -1
- package/dist/preprocessor/PreprocessorParser.spec.js +13 -13
- package/dist/preprocessor/PreprocessorParser.spec.js.map +1 -1
- package/dist/roku-types/data.json +5892 -10081
- package/dist/roku-types/index.d.ts +622 -1719
- package/dist/types/ArrayType.d.ts +10 -9
- package/dist/types/ArrayType.js +65 -60
- package/dist/types/ArrayType.js.map +1 -1
- package/dist/types/ArrayType.spec.js +36 -68
- package/dist/types/ArrayType.spec.js.map +1 -1
- package/dist/types/AssociativeArrayType.d.ts +11 -0
- package/dist/types/AssociativeArrayType.js +52 -0
- package/dist/types/AssociativeArrayType.js.map +1 -0
- package/dist/types/BaseFunctionType.d.ts +9 -0
- package/dist/types/BaseFunctionType.js +25 -0
- package/dist/types/BaseFunctionType.js.map +1 -0
- package/dist/types/BooleanType.d.ts +8 -5
- package/dist/types/BooleanType.js +14 -7
- package/dist/types/BooleanType.js.map +1 -1
- package/dist/types/BooleanType.spec.js +10 -6
- package/dist/types/BooleanType.spec.js.map +1 -1
- package/dist/types/BscType.d.ts +32 -21
- package/dist/types/BscType.js +118 -21
- package/dist/types/BscType.js.map +1 -1
- package/dist/types/BscTypeKind.d.ts +25 -0
- package/dist/types/BscTypeKind.js +30 -0
- package/dist/types/BscTypeKind.js.map +1 -0
- package/dist/types/BuiltInInterfaceAdder.d.ts +23 -0
- package/dist/types/BuiltInInterfaceAdder.js +171 -0
- package/dist/types/BuiltInInterfaceAdder.js.map +1 -0
- package/dist/types/BuiltInInterfaceAdder.spec.d.ts +1 -0
- package/dist/types/BuiltInInterfaceAdder.spec.js +116 -0
- package/dist/types/BuiltInInterfaceAdder.spec.js.map +1 -0
- package/dist/types/ClassType.d.ts +17 -0
- package/dist/types/ClassType.js +58 -0
- package/dist/types/ClassType.js.map +1 -0
- package/dist/types/ClassType.spec.d.ts +1 -0
- package/dist/types/ClassType.spec.js +77 -0
- package/dist/types/ClassType.spec.js.map +1 -0
- package/dist/types/ComponentType.d.ts +26 -0
- package/dist/types/ComponentType.js +83 -0
- package/dist/types/ComponentType.js.map +1 -0
- package/dist/types/DoubleType.d.ts +8 -5
- package/dist/types/DoubleType.js +18 -16
- package/dist/types/DoubleType.js.map +1 -1
- package/dist/types/DoubleType.spec.js +12 -6
- package/dist/types/DoubleType.spec.js.map +1 -1
- package/dist/types/DynamicType.d.ts +9 -5
- package/dist/types/DynamicType.js +15 -4
- package/dist/types/DynamicType.js.map +1 -1
- package/dist/types/DynamicType.spec.js +16 -5
- package/dist/types/DynamicType.spec.js.map +1 -1
- package/dist/types/EnumType.d.ts +30 -12
- package/dist/types/EnumType.js +43 -17
- package/dist/types/EnumType.js.map +1 -1
- package/dist/types/EnumType.spec.d.ts +1 -0
- package/dist/types/EnumType.spec.js +33 -0
- package/dist/types/EnumType.spec.js.map +1 -0
- package/dist/types/FloatType.d.ts +8 -5
- package/dist/types/FloatType.js +18 -16
- package/dist/types/FloatType.js.map +1 -1
- package/dist/types/FloatType.spec.js +4 -6
- package/dist/types/FloatType.spec.js.map +1 -1
- package/dist/types/FunctionType.d.ts +13 -8
- package/dist/types/FunctionType.js +30 -14
- package/dist/types/FunctionType.js.map +1 -1
- package/dist/types/InheritableType.d.ts +28 -0
- package/dist/types/InheritableType.js +152 -0
- package/dist/types/InheritableType.js.map +1 -0
- package/dist/types/IntegerType.d.ts +8 -5
- package/dist/types/IntegerType.js +18 -16
- package/dist/types/IntegerType.js.map +1 -1
- package/dist/types/IntegerType.spec.js +8 -6
- package/dist/types/IntegerType.spec.js.map +1 -1
- package/dist/types/InterfaceType.d.ts +12 -13
- package/dist/types/InterfaceType.js +20 -48
- package/dist/types/InterfaceType.js.map +1 -1
- package/dist/types/InterfaceType.spec.js +90 -56
- package/dist/types/InterfaceType.spec.js.map +1 -1
- package/dist/types/InvalidType.d.ts +7 -5
- package/dist/types/InvalidType.js +13 -7
- package/dist/types/InvalidType.js.map +1 -1
- package/dist/types/InvalidType.spec.js +8 -6
- package/dist/types/InvalidType.spec.js.map +1 -1
- package/dist/types/LongIntegerType.d.ts +8 -5
- package/dist/types/LongIntegerType.js +17 -15
- package/dist/types/LongIntegerType.js.map +1 -1
- package/dist/types/LongIntegerType.spec.js +10 -6
- package/dist/types/LongIntegerType.spec.js.map +1 -1
- package/dist/types/NamespaceType.d.ts +12 -0
- package/dist/types/NamespaceType.js +28 -0
- package/dist/types/NamespaceType.js.map +1 -0
- package/dist/types/ObjectType.d.ts +9 -8
- package/dist/types/ObjectType.js +21 -11
- package/dist/types/ObjectType.js.map +1 -1
- package/dist/types/ObjectType.spec.js +3 -3
- package/dist/types/ObjectType.spec.js.map +1 -1
- package/dist/types/ReferenceType.d.ts +63 -0
- package/dist/types/ReferenceType.js +423 -0
- package/dist/types/ReferenceType.js.map +1 -0
- package/dist/types/ReferenceType.spec.d.ts +1 -0
- package/dist/types/ReferenceType.spec.js +137 -0
- package/dist/types/ReferenceType.spec.js.map +1 -0
- package/dist/types/StringType.d.ts +11 -5
- package/dist/types/StringType.js +18 -7
- package/dist/types/StringType.js.map +1 -1
- package/dist/types/StringType.spec.js +3 -5
- package/dist/types/StringType.spec.js.map +1 -1
- package/dist/types/TypedFunctionType.d.ts +22 -17
- package/dist/types/TypedFunctionType.js +78 -60
- package/dist/types/TypedFunctionType.js.map +1 -1
- package/dist/types/TypedFunctionType.spec.js +105 -20
- package/dist/types/TypedFunctionType.spec.js.map +1 -1
- package/dist/types/UninitializedType.d.ts +8 -6
- package/dist/types/UninitializedType.js +13 -7
- package/dist/types/UninitializedType.js.map +1 -1
- package/dist/types/UnionType.d.ts +20 -0
- package/dist/types/UnionType.js +123 -0
- package/dist/types/UnionType.js.map +1 -0
- package/dist/types/UnionType.spec.d.ts +1 -0
- package/dist/types/UnionType.spec.js +130 -0
- package/dist/types/UnionType.spec.js.map +1 -0
- package/dist/types/VoidType.d.ts +8 -5
- package/dist/types/VoidType.js +14 -7
- package/dist/types/VoidType.js.map +1 -1
- package/dist/types/VoidType.spec.js +3 -3
- package/dist/types/VoidType.spec.js.map +1 -1
- package/dist/types/helper.spec.d.ts +1 -0
- package/dist/types/helper.spec.js +145 -0
- package/dist/types/helper.spec.js.map +1 -0
- package/dist/types/helpers.d.ts +19 -37
- package/dist/types/helpers.js +159 -99
- package/dist/types/helpers.js.map +1 -1
- package/dist/types/index.d.ts +22 -0
- package/dist/types/index.js +39 -0
- package/dist/types/index.js.map +1 -0
- package/dist/util.d.ts +143 -139
- package/dist/util.js +864 -385
- package/dist/util.js.map +1 -1
- package/dist/validators/ClassValidator.d.ts +8 -25
- package/dist/validators/ClassValidator.js +99 -179
- package/dist/validators/ClassValidator.js.map +1 -1
- package/package.json +165 -152
- package/dist/astUtils/AstEditor.js.map +0 -1
- package/dist/astUtils/AstEditor.spec.js.map +0 -1
- package/dist/bscPlugin/transpile/BrsFilePreTranspileProcessor.js.map +0 -1
- package/dist/bscPlugin/transpile/BrsFilePreTranspileProcessor.spec.js +0 -32
- package/dist/bscPlugin/transpile/BrsFilePreTranspileProcessor.spec.js.map +0 -1
- package/dist/parser/SGTypes.spec.js +0 -351
- package/dist/parser/SGTypes.spec.js.map +0 -1
- package/dist/types/CustomType.d.ts +0 -12
- package/dist/types/CustomType.js +0 -44
- package/dist/types/CustomType.js.map +0 -1
- package/dist/types/LazyType.d.ts +0 -16
- package/dist/types/LazyType.js +0 -44
- package/dist/types/LazyType.js.map +0 -1
- /package/dist/astUtils/{AstEditor.spec.d.ts → Editor.spec.d.ts} +0 -0
- /package/dist/bscPlugin/{transpile/BrsFilePreTranspileProcessor.spec.d.ts → completions/CompletionsProcessor.spec.d.ts} +0 -0
- /package/dist/{parser/SGTypes.spec.d.ts → bscPlugin/definition/DefinitionProvider.spec.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,18 +6,524 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
6
6
|
|
|
7
7
|
|
|
8
8
|
|
|
9
|
-
## [1.0.0-alpha.
|
|
9
|
+
## [1.0.0-alpha.26](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) - 2024-02-01
|
|
10
10
|
### Changed
|
|
11
|
-
-
|
|
12
|
-
-
|
|
13
|
-
-
|
|
14
|
-
-
|
|
15
|
-
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
11
|
+
- Built-in Objects have their interfaces as members ([#1039](https://github.com/rokucommunity/brighterscript/1039))
|
|
12
|
+
- Do not do validation on dotted sets of AAs ([#1040](https://github.com/rokucommunity/brighterscript/1040))
|
|
13
|
+
- Changed adding invalid as arg to empty callfunc invocations by default ([#1043](https://github.com/rokucommunity/brighterscript/1043))
|
|
14
|
+
- Standardize AST Constructors ([#1025)](https://github.com/rokucommunity/brighterscript/1025)))
|
|
15
|
+
- Change Dotted Get/Set to single .indexes prop ([#1054](https://github.com/rokucommunity/brighterscript/1054))
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
## [1.0.0-alpha.25](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.11...v1.0.0-alpha.25) - 2024-01-25
|
|
20
|
+
### Changed
|
|
21
|
+
- renamed these releases to `v1.0.0-alpha.*`, which means we are now targeting a `v1.0.0` release
|
|
22
|
+
- Remove `Parser.references` ([#1021](https://github.com/rokucommunity/brighterscript/pull/1021))
|
|
23
|
+
- Fixes Compatibility checks for types defined recursively. ([#1015](https://github.com/rokucommunity/brighterscript/pull/1015))
|
|
24
|
+
- Renamed File interface to BscFile #1013
|
|
25
|
+
- Fix cross namespace collision detection ([#1008](https://github.com/rokucommunity/brighterscript/pull/1008))
|
|
26
|
+
- XML fields of type color can accept strings or integers ([#1016](https://github.com/rokucommunity/brighterscript/pull/1016))
|
|
27
|
+
- Updates the Member types for Component Fields ([#1014](https://github.com/rokucommunity/brighterscript/pull/1014))
|
|
28
|
+
- Adds missing Completion Items ([#1009](https://github.com/rokucommunity/brighterscript/pull/1009))
|
|
29
|
+
- Adds missing Completion Items ([#1009](https://github.com/rokucommunity/brighterscript/pull/1009))
|
|
30
|
+
- Adds a findChildren function on AstNode ([#1010](https://github.com/rokucommunity/brighterscript/pull/1010))
|
|
31
|
+
- Adds Diagnostics for Member Accessibility ([#1004](https://github.com/rokucommunity/brighterscript/pull/1004))
|
|
32
|
+
- Fixes transpiles of Typecasts wrapped in parens ([#998](https://github.com/rokucommunity/brighterscript/pull/998))
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
## [0.66.0-alpha.11](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.10...v0.66.0-alpha.11) - 2023-12-21
|
|
37
|
+
### Changed
|
|
38
|
+
- Make `roSGNode` and `roSGNodeNode` the same ([#984](https://github.com/rokucommunity/brighterscript/pull/984))
|
|
39
|
+
### Fixed
|
|
40
|
+
- Scope validation crash ([#991](https://github.com/rokucommunity/brighterscript/pull/991))
|
|
41
|
+
- Namespace validation crash ([#989](https://github.com/rokucommunity/brighterscript/pull/989))
|
|
42
|
+
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
## [0.66.0-alpha.10](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.9...v0.66.0-alpha.10) - 2023-12-07
|
|
46
|
+
### Fixed
|
|
47
|
+
- class constructor used as function transpilation and validation ([#972](https://github.com/rokucommunity/brighterscript/pull/972))
|
|
48
|
+
- exception when given unknown type ([#983](https://github.com/rokucommunity/brighterscript/pull/983))
|
|
49
|
+
### Changed
|
|
50
|
+
- classes do not include AA members ([#970](https://github.com/rokucommunity/brighterscript/pull/970))
|
|
51
|
+
- remove post-transpiled symbols from .bs code completion ([#979](https://github.com/rokucommunity/brighterscript/pull/979))
|
|
52
|
+
- general purpose name collision diagnostic ([#982](https://github.com/rokucommunity/brighterscript/pull/982))
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
|
|
56
|
+
## [0.66.0-alpha.9](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.8...v0.66.0-alpha.9) - 2023-11-28
|
|
57
|
+
### Fixed
|
|
58
|
+
- removed `v8-profiler-next` package as a dependency (it'll be installed on-demand) ([#1287a5d](https://github.com/rokucommunity/brighterscript/commits/1287a5d7628c0e3ae3154697dfa4d12df5d7e96a))
|
|
59
|
+
|
|
60
|
+
|
|
61
|
+
|
|
62
|
+
## [0.66.0-alpha.8](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.7...v0.66.0-alpha.8) - 2023-11-27
|
|
63
|
+
### Added
|
|
64
|
+
- Interface optional properties ([#946](https://github.com/rokucommunity/brighterscript/pull/946))
|
|
65
|
+
- ifDraw2d to reRegion interface ([#960](https://github.com/rokucommunity/brighterscript/pull/960))
|
|
66
|
+
### Changed
|
|
67
|
+
- cache `range` and `position` to improve performance ([#940](https://github.com/rokucommunity/brighterscript/pull/940))
|
|
68
|
+
- changes to make use with Plugins easier ([#959](https://github.com/rokucommunity/brighterscript/pull/959))
|
|
69
|
+
### Fixed
|
|
70
|
+
- parsing order for `not` keyword ([#932](https://github.com/rokucommunity/brighterscript/pull/932))
|
|
71
|
+
- class fields using constructors not transpiling correctly ([#933](https://github.com/rokucommunity/brighterscript/pull/933))
|
|
72
|
+
- performance fixes ([#936](https://github.com/rokucommunity/brighterscript/pull/936))
|
|
73
|
+
- validation Performance: File level providedSymbols and `requiredSymbols` ([#944](https://github.com/rokucommunity/brighterscript/pull/944))
|
|
74
|
+
- interface & class support for go-to-definition ([#948](https://github.com/rokucommunity/brighterscript/pull/948))
|
|
75
|
+
- fixes using Enums directly in namespaced situations ([#949](https://github.com/rokucommunity/brighterscript/pull/949))
|
|
76
|
+
- completion performance ([#958](https://github.com/rokucommunity/brighterscript/pull/958))
|
|
77
|
+
- param order for AST class constructors for interface/class members ([#954](https://github.com/rokucommunity/brighterscript/pull/954))
|
|
78
|
+
|
|
79
|
+
|
|
80
|
+
|
|
81
|
+
## [0.66.0-alpha.7](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.6...v0.66.0-alpha.7) - 2023-10-16
|
|
82
|
+
### Changed
|
|
83
|
+
- all changes from [v0.65.6](https://github.com/rokucommunity/brighterscript/compare/v0.65.5...v0.65.6) and [v0.65.7](https://github.com/rokucommunity/brighterscript/compare/v0.65.6...v0.65.7)
|
|
84
|
+
- Better multi-scope messages ([#904](https://github.com/rokucommunity/brighterscript/pull/904))
|
|
85
|
+
- Refine type compatibility message ([#908](https://github.com/rokucommunity/brighterscript/pull/908))
|
|
86
|
+
- Allow classes and native components in Typed Arrays ([#919](https://github.com/rokucommunity/brighterscript/pull/919))
|
|
87
|
+
- Fixes some enum validation stuff ([#920](https://github.com/rokucommunity/brighterscript/pull/920))
|
|
88
|
+
- Fixes compatibility of built in types (roArray -> typed arrays) ([#925](https://github.com/rokucommunity/brighterscript/pull/925))
|
|
89
|
+
- Semantic Tokes for Native Components and Type completion in Type Expressions ([#927](https://github.com/rokucommunity/brighterscript/pull/927))
|
|
90
|
+
- Adds callFunc as member method to Custom Components ([#929](https://github.com/rokucommunity/brighterscript/pull/929))
|
|
91
|
+
- Allows scrape-roku-docs to consolidate overloaded methods ([#930](https://github.com/rokucommunity/brighterscript/pull/930))
|
|
92
|
+
- File api ([#408](https://github.com/rokucommunity/brighterscript/pull/408))
|
|
93
|
+
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
## [0.66.0-alpha.6](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.5...v0.66.0-alpha.6) - 2023-09-20
|
|
97
|
+
### Changed
|
|
98
|
+
- Validates DottedSetStatements for type compatibility ([#894](https://github.com/rokucommunity/brighterscript/pull/894))
|
|
99
|
+
- Adds Native Brightscript Component Types and Custom Components (Nodes) to Type System ([#891](https://github.com/rokucommunity/brighterscript/pull/891))
|
|
100
|
+
- Adds validation for binary operators ([#896](https://github.com/rokucommunity/brighterscript/pull/896))
|
|
101
|
+
- Fix union type unary operations and Array.sort(by) optional params ([#897](https://github.com/rokucommunity/brighterscript/pull/897))
|
|
102
|
+
- Interface param support ([#900](https://github.com/rokucommunity/brighterscript/pull/900))
|
|
103
|
+
- Fixes issues with Interface validations, and adds extra details about missing or mismatches members ([#901](https://github.com/rokucommunity/brighterscript/pull/901))
|
|
104
|
+
- Fix isLiteralInvalid ([#902](https://github.com/rokucommunity/brighterscript/pull/902))
|
|
105
|
+
|
|
106
|
+
|
|
107
|
+
|
|
108
|
+
## [0.66.0-alpha.5](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.4...v0.66.0-alpha.5) - 2023-09-14
|
|
109
|
+
### Changed
|
|
110
|
+
- all changes from [v0.65.5](https://github.com/rokucommunity/brighterscript/compare/v0.65.4...v0.65.5)
|
|
111
|
+
- Type casts are not allowed in BrightScript ([#859](https://github.com/rokucommunity/brighterscript/pull/859))
|
|
112
|
+
- Fixes small hover issues ([#860](https://github.com/rokucommunity/brighterscript/pull/860))
|
|
113
|
+
- Fixes ReferenceTypes in Binary Operations & UnionTypes as args ([#858](https://github.com/rokucommunity/brighterscript/pull/858))
|
|
114
|
+
- Refactor completion logic ([#864](https://github.com/rokucommunity/brighterscript/pull/864))
|
|
115
|
+
- Fix built in methods parameter types ([#866](https://github.com/rokucommunity/brighterscript/pull/866))
|
|
116
|
+
- Fixes types on call expression info class ([#877](https://github.com/rokucommunity/brighterscript/pull/877))
|
|
117
|
+
- Adds Return type validation ([#876](https://github.com/rokucommunity/brighterscript/pull/876))
|
|
118
|
+
- Adds Typed Arrays ([#875](https://github.com/rokucommunity/brighterscript/pull/875))
|
|
119
|
+
- Use Symbol Tables for Completions ([#874](https://github.com/rokucommunity/brighterscript/pull/874))
|
|
120
|
+
- Adds Leading Trivia to all tokens ([#885](https://github.com/rokucommunity/brighterscript/pull/885))
|
|
121
|
+
- Adds built in Interfaces to primitive types & Validates class method calls ([#856](https://github.com/rokucommunity/brighterscript/pull/856))
|
|
122
|
+
|
|
123
|
+
|
|
124
|
+
|
|
125
|
+
## [0.66.0-alpha.4](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.3...v0.66.0-alpha.4) - 2023-07-26
|
|
126
|
+
### Changed
|
|
127
|
+
- all changes from [v0.65.4](https://github.com/rokucommunity/brighterscript/compare/v0.65.3...v0.65.4)
|
|
128
|
+
### Fixes
|
|
129
|
+
- assignment from return of member functions of primitive types ([#855](https://github.com/rokucommunity/brighterscript/pull/855))
|
|
130
|
+
- using invalid as a default param value (now sets type to dynamic) ([#855](https://github.com/rokucommunity/brighterscript/pull/855))
|
|
131
|
+
- missing `Roku_Event_Dispatcher()` global callable (from library `Roku_Event_Dispatcher.brs`) ([#855](https://github.com/rokucommunity/brighterscript/pull/855))
|
|
132
|
+
- `FormatJson()` function signature ([#855](https://github.com/rokucommunity/brighterscript/pull/855))
|
|
133
|
+
|
|
134
|
+
|
|
135
|
+
|
|
136
|
+
## [0.66.0-alpha.3](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.2...v0.66.0-alpha.3) - 2023-07-24
|
|
137
|
+
## Fixed
|
|
138
|
+
- performance fixes ([#834](https://github.com/rokucommunity/brighterscript/pull/834))
|
|
139
|
+
- remove enable type validation option ([#846](https://github.com/rokucommunity/brighterscript/pull/846))
|
|
140
|
+
- BinaryExpression and UnaryExpression infer resultant types ([#827](https://github.com/rokucommunity/brighterscript/pull/827))
|
|
141
|
+
- improve hover to use symbol tables ([#828](https://github.com/rokucommunity/brighterscript/pull/828))
|
|
142
|
+
- fix issue with enums not being properly treated as their underlying types when passed to functions ([#849](https://github.com/rokucommunity/brighterscript/pull/849))
|
|
143
|
+
- object type wider support ([#850](https://github.com/rokucommunity/brighterscript/pull/850))
|
|
144
|
+
- functions as params ([#853](https://github.com/rokucommunity/brighterscript/pull/853))
|
|
145
|
+
|
|
146
|
+
|
|
147
|
+
|
|
148
|
+
## [0.66.0-alpha.2](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.1...v0.66.0-alpha.2) - 2023-06-14
|
|
149
|
+
### Fixed
|
|
150
|
+
- Fixes some issues related to Classes as Properties and Consts validation ([#826](https://github.com/rokucommunity/brighterscript/pull/826))
|
|
151
|
+
- Fixes when a Class is a Property of another class, and being unable to resolve it
|
|
152
|
+
- Fixes issue with Consts value looking at a typetime value of the RHS
|
|
153
|
+
- Does a better job of caching symbol lookups on memberTables
|
|
154
|
+
|
|
155
|
+
|
|
156
|
+
|
|
157
|
+
## [0.66.0-alpha.1](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.0...v0.66.0-alpha.1) - 2023-06-11
|
|
158
|
+
### Changed
|
|
159
|
+
- plugin event structures (all events now take a single event object instead of ordered params)
|
|
160
|
+
### Fixed
|
|
161
|
+
- bugs with namespaces across files having their members missing during validation
|
|
162
|
+
|
|
163
|
+
|
|
164
|
+
|
|
165
|
+
## [0.66.0-alpha.0](https://github.com/rokucommunity/brighterscript/compare/v0.65.1...v0.66.0-alpha.0) - 2023-06-09
|
|
166
|
+
### Changed
|
|
167
|
+
- all the type tracking stuff!
|
|
168
|
+
## [0.65.21](https://github.com/rokucommunity/brighterscript/compare/v0.65.20...v0.65.21) - 2024-01-31
|
|
169
|
+
### Fixed
|
|
170
|
+
- parsing issues with multi-index IndexedSet and IndexedGet ([#1050](https://github.com/rokucommunity/brighterscript/pull/1050))
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
|
|
174
|
+
## [0.65.20](https://github.com/rokucommunity/brighterscript/compare/v0.65.19...v0.65.20) - 2024-01-30
|
|
175
|
+
### Added
|
|
176
|
+
- plugin hooks for getDefinition ([#1045](https://github.com/rokucommunity/brighterscript/pull/1045))
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
## [0.65.19](https://github.com/rokucommunity/brighterscript/compare/v0.65.18...v0.65.19) - 2024-01-30
|
|
181
|
+
### Changed
|
|
182
|
+
- Backport v1 syntax changes ([#1034](https://github.com/rokucommunity/brighterscript/pull/1034))
|
|
183
|
+
|
|
184
|
+
|
|
185
|
+
|
|
186
|
+
## [0.65.18](https://github.com/rokucommunity/brighterscript/compare/v0.65.17...v0.65.18) - 2024-01-25
|
|
187
|
+
### Changed
|
|
188
|
+
- Refactor bsconfig documentation ([#1024](https://github.com/rokucommunity/brighterscript/pull/1024))
|
|
189
|
+
- Prevent overwriting `Program._manifest` if already set on startup ([#1027](https://github.com/rokucommunity/brighterscript/pull/1027))
|
|
190
|
+
- Improving null safety: Add FinalizedBsConfig and tweak plugin events ([#1000](https://github.com/rokucommunity/brighterscript/pull/1000))
|
|
191
|
+
|
|
192
|
+
|
|
193
|
+
|
|
194
|
+
## [0.65.17](https://github.com/rokucommunity/brighterscript/compare/v0.65.16...0.65.17) - 2024-01-16
|
|
195
|
+
### Changed
|
|
196
|
+
- add documentation on pruneEmptyCodeFiles to the README ([#1012](https://github.com/rokucommunity/brighterscript/pull/1012))
|
|
197
|
+
- assign .program to the builder BEFORE calling afterProgram ([#1011](https://github.com/rokucommunity/brighterscript/pull/1011))
|
|
198
|
+
### Fixed
|
|
199
|
+
- properly handle `libpkg:/` prefix for script imports ([#1017](https://github.com/rokucommunity/brighterscript/pull/1017))
|
|
200
|
+
|
|
201
|
+
|
|
202
|
+
|
|
203
|
+
## [0.65.16](https://github.com/rokucommunity/brighterscript/compare/v0.65.15...v0.65.16) - 2024-01-08
|
|
204
|
+
### Added
|
|
205
|
+
- Add `pruneEmptyCodeFiles` option to prevent publishing of empty files and exclude unnecessary script imports ([#997](https://github.com/rokucommunity/brighterscript/pull/997))
|
|
206
|
+
### Changed
|
|
207
|
+
- chore: improve null safety ([#996](https://github.com/rokucommunity/brighterscript/pull/996))
|
|
208
|
+
|
|
209
|
+
|
|
210
|
+
|
|
211
|
+
## [0.65.15](https://github.com/rokucommunity/brighterscript/compare/v0.65.14...v0.65.15) - 2023-12-26
|
|
212
|
+
### Fixed
|
|
213
|
+
- Prevent errors when using enums in a file that's not included in any scopes ([#995](https://github.com/rokucommunity/brighterscript/pull/995))
|
|
214
|
+
|
|
215
|
+
|
|
216
|
+
|
|
217
|
+
## [0.65.14](https://github.com/rokucommunity/brighterscript/compare/v0.65.13...v0.65.14) - 2023-12-20
|
|
218
|
+
### Fixed
|
|
219
|
+
- multi-namespace class inheritance transpile bug ([#990](https://github.com/rokucommunity/brighterscript/pull/990))
|
|
220
|
+
### Changed
|
|
221
|
+
- flag missing function references for `onChange` function ([#941](https://github.com/rokucommunity/brighterscript/pull/941))
|
|
222
|
+
- upgrade to [roku-deploy@3.11.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3112---2023-12-20). Notable changes since 3.11.1:
|
|
223
|
+
- Update wrong host password error message ([roku-deploy#134](https://github.com/rokucommunity/roku-deploy/pull/134))
|
|
224
|
+
|
|
225
|
+
|
|
226
|
+
|
|
227
|
+
## [0.65.13](https://github.com/rokucommunity/brighterscript/compare/v0.65.12...v0.65.13) - 2023-12-08
|
|
228
|
+
### Fixed
|
|
229
|
+
- broken enum transpiling ([#985](https://github.com/rokucommunity/brighterscript/pull/985))
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
|
|
233
|
+
## [0.65.12](https://github.com/rokucommunity/brighterscript/compare/v0.65.11...v0.65.12) - 2023-12-07
|
|
234
|
+
### Added
|
|
235
|
+
- `optional` modifier for interface and class members ([#955](https://github.com/rokucommunity/brighterscript/pull/955))
|
|
236
|
+
- manifest loading from files ([#942](https://github.com/rokucommunity/brighterscript/pull/942))
|
|
237
|
+
### Changed
|
|
238
|
+
- use regex for faster manifest/typedef detection ([#976](https://github.com/rokucommunity/brighterscript/pull/976))
|
|
239
|
+
- out-of-date transpile blocks in docs ([#956](https://github.com/rokucommunity/brighterscript/pull/956))
|
|
240
|
+
### Fixed
|
|
241
|
+
- Correct RANGE in template string when dealing with quotes in annotations ([#975](https://github.com/rokucommunity/brighterscript/pull/975))
|
|
242
|
+
|
|
243
|
+
|
|
244
|
+
|
|
245
|
+
## [0.65.11](https://github.com/rokucommunity/brighterscript/compare/v0.65.10...v0.65.11) - 2023-11-30
|
|
246
|
+
### Changed
|
|
247
|
+
- upgrade to [roku-deploy@3.11.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3111---2023-11-30). Notable changes since 3.10.5:
|
|
248
|
+
- Wait for file stream to close before resolving promise ([roku-deploy#133](https://github.com/rokucommunity/roku-deploy/pull/133))
|
|
249
|
+
### Fixed
|
|
250
|
+
- enums as class initial values ([#950](https://github.com/rokucommunity/brighterscript/pull/950))
|
|
251
|
+
|
|
252
|
+
|
|
253
|
+
|
|
254
|
+
## [0.65.10](https://github.com/rokucommunity/brighterscript/compare/v0.65.9...v0.65.10) - 2023-11-14
|
|
255
|
+
### Changed
|
|
256
|
+
- upgrade to [roku-deploy@3.10.5](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3105---2023-11-14). Notable changes since 3.10.4:
|
|
257
|
+
- Add better device-info docs ([roku-deploy#128](https://github.com/rokucommunity/roku-deploy/pull/128))
|
|
258
|
+
- Added some more message grabbing logic ([roku-deploy#127](https://github.com/rokucommunity/roku-deploy/pull/127))
|
|
259
|
+
|
|
260
|
+
|
|
261
|
+
|
|
262
|
+
## [0.65.9](https://github.com/rokucommunity/brighterscript/compare/v0.65.8...v0.65.9) - 2023-11-06
|
|
263
|
+
### Changed
|
|
264
|
+
- upgrade to [roku-deploy@3.10.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3104---2023-11-03). Notable changes since 3.10.3:
|
|
265
|
+
- Enhance getDeviceInfo() method ([roku-deploy#120](https://github.com/rokucommunity/roku-deploy/pull/120))
|
|
266
|
+
### Fixed
|
|
267
|
+
- issue with unary expression parsing ([#938](https://github.com/rokucommunity/brighterscript/pull/938))
|
|
268
|
+
|
|
269
|
+
|
|
270
|
+
|
|
271
|
+
## [0.65.8](https://github.com/rokucommunity/brighterscript/compare/v0.65.7...v0.65.8) - 2023-10-06
|
|
272
|
+
### Added
|
|
273
|
+
- interface parameter support ([#924](https://github.com/rokucommunity/brighterscript/pull/924))
|
|
274
|
+
### Changed
|
|
275
|
+
- Bump postcss from 8.2.15 to 8.4.31 ([#928](https://github.com/rokucommunity/brighterscript/pull/928))
|
|
276
|
+
### Fixed
|
|
277
|
+
- chore: fix typescript typing for `Deferred` ([#923](https://github.com/rokucommunity/brighterscript/pull/923))
|
|
278
|
+
|
|
279
|
+
|
|
280
|
+
|
|
281
|
+
## [0.65.7](https://github.com/rokucommunity/brighterscript/compare/v0.65.6...v0.65.7) - 2023-09-28
|
|
282
|
+
### Fixed
|
|
283
|
+
- fix bug in --noproject flag logic ([#922](https://github.com/rokucommunity/brighterscript/pull/922))
|
|
284
|
+
|
|
285
|
+
|
|
286
|
+
|
|
287
|
+
## [0.65.6](https://github.com/rokucommunity/brighterscript/compare/v0.65.5...v0.65.6) - 2023-09-28
|
|
288
|
+
### Added
|
|
289
|
+
- `noProject` flag to bsc so `bsconfig.json` loading can be skipped entirely even if present ([#868](https://github.com/rokucommunity/brighterscript/pull/868))
|
|
290
|
+
### Changed
|
|
291
|
+
- docs: add some more details to the plugins ([#913](https://github.com/rokucommunity/brighterscript/pull/913))
|
|
292
|
+
- docs: add missing emitDefinitions ([#893](https://github.com/rokucommunity/brighterscript/pull/893))
|
|
293
|
+
### Fixed
|
|
294
|
+
- incorrect quasi location in template string ([#921](https://github.com/rokucommunity/brighterscript/pull/921))
|
|
295
|
+
- `UnaryExpression` transpile for namespace and const ([#914](https://github.com/rokucommunity/brighterscript/pull/914))
|
|
296
|
+
|
|
297
|
+
|
|
298
|
+
|
|
299
|
+
## [0.65.5](https://github.com/rokucommunity/brighterscript/compare/v0.65.4...v0.65.5) - 2023-09-06
|
|
300
|
+
### Added
|
|
301
|
+
- support overriding bs_const values in bsconfig ([#887](https://github.com/rokucommunity/brighterscript/pull/887))
|
|
302
|
+
- allow optionally specifying bslib destination directory ([#871](https://github.com/rokucommunity/brighterscript/pull/871))
|
|
303
|
+
- Print diagnostic related information ([#867](https://github.com/rokucommunity/brighterscript/pull/867))
|
|
304
|
+
### Fixed
|
|
305
|
+
- ensure consistent insertion of bslib.brs ([#870](https://github.com/rokucommunity/brighterscript/pull/870))
|
|
306
|
+
- Fix crashes in util for null ranges ([#869](https://github.com/rokucommunity/brighterscript/pull/869))
|
|
307
|
+
- Fix tab issue when printing diagnostics ([#865](https://github.com/rokucommunity/brighterscript/pull/865))
|
|
308
|
+
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
## [0.65.4](https://github.com/rokucommunity/brighterscript/compare/v0.65.3...v0.65.4) - 2023-07-24
|
|
312
|
+
### Changed
|
|
313
|
+
- Install `v8-profiler-next` on demand instead of being a dependency ([#854](https://github.com/rokucommunity/brighterscript/pull/854))
|
|
314
|
+
|
|
315
|
+
|
|
316
|
+
|
|
317
|
+
## [0.65.3](https://github.com/rokucommunity/brighterscript/compare/v0.65.2...v0.65.3) - 2023-07-22
|
|
318
|
+
### Changed
|
|
319
|
+
- Show busy spinner for lsp builds. Remove `build-status` event in favor of new `busy-status` ([#852](https://github.com/rokucommunity/brighterscript/pull/852))
|
|
320
|
+
- upgrade to [roku-deploy@3.10.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3103---2023-07-22). Notable changes since 3.10.2:
|
|
321
|
+
- Bump word-wrap from 1.2.3 to 1.2.4 ([roku-deploy#117](https://github.com/rokucommunity/roku-deploy/pull/117))
|
|
322
|
+
- Bump word-wrap from 1.2.3 to 1.2.4 ([#851](https://github.com/rokucommunity/brighterscript/pull/851))
|
|
323
|
+
|
|
324
|
+
|
|
325
|
+
|
|
326
|
+
## [0.65.2](https://github.com/rokucommunity/brighterscript/compare/v0.65.1...v0.65.2) - 2023-07-17
|
|
327
|
+
### Added
|
|
328
|
+
- beforeProgramDispose event ([#844](https://github.com/rokucommunity/brighterscript/pull/844)), ([#845](https://github.com/rokucommunity/brighterscript/pull/845))
|
|
329
|
+
- profiling support to the cli via the `--profile` flag ([#833](https://github.com/rokucommunity/brighterscript/pull/833))
|
|
330
|
+
### Changed
|
|
331
|
+
- Make component ready on afterScopeCreate ([#843](https://github.com/rokucommunity/brighterscript/pull/843))
|
|
332
|
+
- Add project index to language server log entries ([#836](https://github.com/rokucommunity/brighterscript/pull/836))
|
|
333
|
+
- Prevent crashing when diagnostic is missing range. ([#832](https://github.com/rokucommunity/brighterscript/pull/832))
|
|
334
|
+
- Prevent crash when diagnostic is missing range ([#831](https://github.com/rokucommunity/brighterscript/pull/831))
|
|
335
|
+
- Add baseline interface docs ([#829](https://github.com/rokucommunity/brighterscript/pull/829))
|
|
336
|
+
|
|
337
|
+
|
|
338
|
+
|
|
339
|
+
## [0.65.1](https://github.com/rokucommunity/brighterscript/compare/v0.65.0...v0.65.1) - 2023-06-09
|
|
340
|
+
### Fixed
|
|
341
|
+
- injection of duplicate super calls into classes ([#823](https://github.com/rokucommunity/brighterscript/pull/823))
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
|
|
345
|
+
## [0.65.0](https://github.com/rokucommunity/brighterscript/compare/v0.64.4...v0.65.0) - 2023-05-17
|
|
346
|
+
### Changed
|
|
347
|
+
- npm audit fixes. upgrade to coveralls-next ([43756d8](https://github.com/rokucommunity/brighterscript/commit/43756d8))
|
|
348
|
+
- Improve findChild and findAncestor AST methods ([#807](https://github.com/rokucommunity/brighterscript/pull/807))
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
## [0.64.4](https://github.com/rokucommunity/brighterscript/compare/v0.64.3...v0.64.4) - 2023-05-10
|
|
353
|
+
### Changed
|
|
354
|
+
- upgrade to [roku-deploy@3.10.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3102---2023-05-10). Notable changes since 3.10.1:
|
|
355
|
+
- Fix audit issues ([roku-deploy#116](https://github.com/rokucommunity/roku-deploy/pull/116))
|
|
356
|
+
- fix nodejs 19 bug ([roku-deploy#115](https://github.com/rokucommunity/roku-deploy/pull/115))
|
|
357
|
+
|
|
358
|
+
|
|
359
|
+
|
|
360
|
+
## [0.64.3](https://github.com/rokucommunity/brighterscript/compare/v0.64.2...v0.64.3) - 2023-04-28
|
|
361
|
+
### Changed
|
|
362
|
+
- Improves performance in symbol table fetching ([#797](https://github.com/rokucommunity/brighterscript/pull/797))
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
|
|
366
|
+
## [0.64.2](https://github.com/rokucommunity/brighterscript/compare/v0.64.1...v0.64.2) - 2023-04-18
|
|
367
|
+
### Fixed
|
|
368
|
+
- namespace-relative enum value false positive diagnostic ([#793](https://github.com/rokucommunity/brighterscript/pull/793))
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
|
|
372
|
+
## [0.64.1](https://github.com/rokucommunity/brighterscript/compare/v0.64.0...v0.64.1) - 2023-04-14
|
|
373
|
+
### Changed
|
|
374
|
+
- Bump xml2js from 0.4.23 to 0.5.0 ([#790](https://github.com/rokucommunity/brighterscript/pull/790))
|
|
375
|
+
- upgrade to [roku-deploy@3.10.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3101---2023-04-14). Notable changes since 3.10.0:
|
|
376
|
+
- Bump xml2js from 0.4.23 to 0.5.0 ([roku-deploy#112](https://github.com/rokucommunity/roku-deploy/pull/112))
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
## [0.64.0](https://github.com/rokucommunity/brighterscript/compare/v0.63.0...v0.64.0) - 2023-04-04
|
|
381
|
+
### Changed
|
|
382
|
+
- Fix namespace-relative items ([#789](https://github.com/rokucommunity/brighterscript/pull/789))
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
## [0.63.0](https://github.com/rokucommunity/brighterscript/compare/v0.62.0...v0.63.0) - 2023-03-31
|
|
387
|
+
### Changed
|
|
388
|
+
- Wrap transpiled template strings in parens ([#788](https://github.com/rokucommunity/brighterscript/pull/788))
|
|
389
|
+
- Simplify the ast range logic ([#784](https://github.com/rokucommunity/brighterscript/pull/784))
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
## [0.62.0](https://github.com/rokucommunity/brighterscript/compare/v0.61.3...v0.62.0) - 2023-03-16
|
|
394
|
+
### Added
|
|
395
|
+
- `severityOverride` option ([#725](https://github.com/rokucommunity/brighterscript/pull/725))
|
|
396
|
+
- Optional chaining assignment validation ([#782](https://github.com/rokucommunity/brighterscript/pull/782))
|
|
397
|
+
### Changed
|
|
398
|
+
- Fix transpile bug with optional chaning ([#781](https://github.com/rokucommunity/brighterscript/pull/781))
|
|
399
|
+
- Fix crash when func has no block ([#774](https://github.com/rokucommunity/brighterscript/pull/774))
|
|
400
|
+
- Move not-referenced check into ProgramValidator ([#773](https://github.com/rokucommunity/brighterscript/pull/773))
|
|
401
|
+
- upgrade to [roku-deploy@3.10.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3100---2023-03-16). Notable changes since 3.9.3:
|
|
402
|
+
- Use micromatch instead of picomatch ([roku-deploy#109](https://github.com/rokucommunity/roku-deploy/pull/109))
|
|
403
|
+
|
|
404
|
+
|
|
405
|
+
|
|
406
|
+
## [0.61.3](https://github.com/rokucommunity/brighterscript/compare/v0.61.2...0.61.3) - 2023-01-12
|
|
407
|
+
### Changed
|
|
408
|
+
- Add diagnostic for passing more than 5 arguments to a callFunc ([#765](https://github.com/rokucommunity/brighterscript/pull/765))
|
|
409
|
+
- upgrade to [roku-deploy@3.9.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#393---2023-01-12)
|
|
410
|
+
|
|
411
|
+
|
|
412
|
+
|
|
413
|
+
## [0.61.2](https://github.com/rokucommunity/brighterscript/compare/v0.61.1...0.61.2) - 2022-12-15
|
|
414
|
+
### Changed
|
|
415
|
+
- Bump qs from 6.5.2 to 6.5.3 ([#758](https://github.com/rokucommunity/brighterscript/pull/758))
|
|
416
|
+
|
|
417
|
+
|
|
418
|
+
|
|
419
|
+
## [0.61.1](https://github.com/rokucommunity/brighterscript/compare/v0.61.0...0.61.1) - 2022-12-07
|
|
420
|
+
### Fixed
|
|
421
|
+
- Ensure enums and interfaces persist in typedefs ([#757](https://github.com/rokucommunity/brighterscript/pull/757))
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
|
|
425
|
+
## [0.61.0](https://github.com/rokucommunity/brighterscript/compare/v0.60.6...0.61.0) - 2022-12-05
|
|
426
|
+
### Added
|
|
427
|
+
- new `removeParameterTypes` option that removes type information from parameters when transpiling ([#744](https://github.com/rokucommunity/brighterscript/pull/744))
|
|
428
|
+
### Fixed
|
|
429
|
+
- throttle transpiling to prevent crashes ([#755](https://github.com/rokucommunity/brighterscript/pull/755))
|
|
430
|
+
- exception while validating continue statement ([#752](https://github.com/rokucommunity/brighterscript/pull/752))
|
|
431
|
+
- add missing visitor params for DottedSetStatement ([#748](https://github.com/rokucommunity/brighterscript/pull/748))
|
|
432
|
+
- flag incorrectly nested statements ([#747](https://github.com/rokucommunity/brighterscript/pull/747))
|
|
433
|
+
|
|
434
|
+
|
|
435
|
+
|
|
436
|
+
## [0.60.6](https://github.com/rokucommunity/brighterscript/compare/v0.60.5...0.60.6) - 2022-11-08
|
|
437
|
+
### Fixed
|
|
438
|
+
- double `super` call transpile in subclasses ([#740](https://github.com/rokucommunity/brighterscript/pull/740))
|
|
439
|
+
- issues with Roku doc scraper and adds missing components ([#736](https://github.com/rokucommunity/brighterscript/pull/736))
|
|
440
|
+
|
|
441
|
+
|
|
442
|
+
|
|
443
|
+
## [0.60.5](https://github.com/rokucommunity/brighterscript/compare/v0.60.4...0.60.5) - 2022-11-03
|
|
444
|
+
### Changed
|
|
445
|
+
- Refactor SymbolTable and AST parent logic so that SymbolTables get their parent symbol table from its own (AstNode) ([#732](https://github.com/rokucommunity/brighterscript/pull/732))
|
|
446
|
+
### Fixed
|
|
447
|
+
- Significant performance boost in `validate()` by caching `getCallableByName` ([#739](https://github.com/rokucommunity/brighterscript/pull/739))
|
|
448
|
+
- Add diagnostic when using namespaces as variables ([#738](https://github.com/rokucommunity/brighterscript/pull/738))
|
|
449
|
+
- Fix crash in `getDefinition` ([#734](https://github.com/rokucommunity/brighterscript/pull/734))
|
|
450
|
+
|
|
451
|
+
|
|
452
|
+
|
|
453
|
+
## [0.60.4](https://github.com/rokucommunity/brighterscript/compare/v0.60.3...0.60.4) - 2022-10-28
|
|
454
|
+
### Changed
|
|
455
|
+
- Add `name` to symbol table ([#728](https://github.com/rokucommunity/brighterscript/pull/728))
|
|
456
|
+
### Fixed
|
|
457
|
+
- Allow `continue` as local var ([#730](https://github.com/rokucommunity/brighterscript/pull/730))
|
|
458
|
+
- language server semanticToken request now waits until validate finishes ([#727](https://github.com/rokucommunity/brighterscript/pull/727))
|
|
459
|
+
|
|
460
|
+
|
|
461
|
+
|
|
462
|
+
## [0.60.3](https://github.com/rokucommunity/brighterscript/compare/v0.60.2...0.60.3) - 2022-10-20
|
|
463
|
+
### Changed
|
|
464
|
+
- better parse recovery for unknown function parameter types ([#722](https://github.com/rokucommunity/brighterscript/pull/722))
|
|
465
|
+
|
|
466
|
+
|
|
467
|
+
|
|
468
|
+
## [0.60.2](https://github.com/rokucommunity/brighterscript/compare/v0.60.1...0.60.2) - 2022-10-18
|
|
469
|
+
### Fixed
|
|
470
|
+
- if statement block var bug ([#698](https://github.com/rokucommunity/brighterscript/pull/698))
|
|
471
|
+
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
## [0.60.1](https://github.com/rokucommunity/brighterscript/compare/v0.60.0...0.60.1) - 2022-10-18
|
|
475
|
+
### Fixed
|
|
476
|
+
- Beter location for bs1042 ([#719](https://github.com/rokucommunity/brighterscript/pull/719))
|
|
477
|
+
|
|
478
|
+
|
|
479
|
+
|
|
480
|
+
## [0.60.0](https://github.com/rokucommunity/brighterscript/compare/v0.59.0...0.60.0) - 2022-10-10
|
|
481
|
+
### Added
|
|
482
|
+
- goto definition for enum statements and enum members ([#715](https://github.com/rokucommunity/brighterscript/pull/715))
|
|
483
|
+
- nested namespace support ([#708](https://github.com/rokucommunity/brighterscript/pull/708))
|
|
484
|
+
### Changed
|
|
485
|
+
- upgrade to [roku-deploy@3.9.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#392---2022-10-03). Notable changes since 3.9.1:
|
|
486
|
+
- Replace minimatch with picomatch ([roku-deploy#101](https://github.com/rokucommunity/roku-deploy/pull/101))
|
|
487
|
+
### Fixed
|
|
488
|
+
- fixes signature help resolution for callexpressions ([#707](https://github.com/rokucommunity/brighterscript/pull/707))
|
|
489
|
+
- Fix transpilation of simple else block with leading comment ([#712](https://github.com/rokucommunity/brighterscript/pull/712))
|
|
490
|
+
|
|
491
|
+
|
|
492
|
+
|
|
493
|
+
## [0.59.0](https://github.com/rokucommunity/brighterscript/compare/v0.58.0...0.59.0) - 2022-10-03
|
|
494
|
+
### Added
|
|
495
|
+
- `isThrowStatement` reflection function ([#709](https://github.com/rokucommunity/brighterscript/pull/709))
|
|
496
|
+
- Support `pkg:/` paths for `setFile` ([#701](https://github.com/rokucommunity/brighterscript/pull/701))
|
|
497
|
+
- Syntax and transpile support for continue statement ([#697](https://github.com/rokucommunity/brighterscript/pull/697))
|
|
498
|
+
### Changed
|
|
499
|
+
- Migrate to `stagingDir` away from `stagingFolder` ([#706](https://github.com/rokucommunity/brighterscript/pull/706))
|
|
500
|
+
### Fixed
|
|
501
|
+
- Fix enum error for negative values ([#703](https://github.com/rokucommunity/brighterscript/pull/703))
|
|
502
|
+
|
|
503
|
+
|
|
504
|
+
|
|
505
|
+
## [0.58.0](https://github.com/rokucommunity/brighterscript/compare/v0.57.2...0.58.0) - 2022-09-23
|
|
506
|
+
### Added
|
|
507
|
+
- AST child searching functionality. ([#695](https://github.com/rokucommunity/brighterscript/pull/695))
|
|
508
|
+
- `stagingFolderPath` option to the docs ([f521066](https://github.com/rokucommunity/brighterscript/commit/f521066))
|
|
509
|
+
- Create common ancestor for Expression and Statement ([#693](https://github.com/rokucommunity/brighterscript/pull/693))
|
|
510
|
+
### Fixed
|
|
511
|
+
- Scope validation performance boost ([#656](https://github.com/rokucommunity/brighterscript/pull/656))
|
|
512
|
+
- Finds and includes more deeply embedded expressions ([#696](https://github.com/rokucommunity/brighterscript/pull/696))
|
|
513
|
+
### Changed
|
|
514
|
+
- Rename refs to `isClassFieldStatement` and `isClassMethodStatement` ([#694](https://github.com/rokucommunity/brighterscript/pull/694))
|
|
515
|
+
- Centralize file path normalization for Program ([#692](https://github.com/rokucommunity/brighterscript/pull/692))
|
|
516
|
+
- use outputPath instead of object reference during transpiling to prevent duplicate file collisions ([#691](https://github.com/rokucommunity/brighterscript/pull/691))
|
|
517
|
+
- Move file validation into BscPlugin ([#688](https://github.com/rokucommunity/brighterscript/pull/688))
|
|
518
|
+
- upgrade to [roku-deploy@3.9.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#391---2022-09-19). Notable changes since 3.8.1:
|
|
519
|
+
- Sync retainStagingFolder, stagingFolderPath with options. ([roku-deploy#100](https://github.com/rokucommunity/roku-deploy/pull/100))
|
|
520
|
+
- Add stagingDir and retainStagingDir. ([roku-deploy#99](https://github.com/rokucommunity/roku-deploy/pull/99))
|
|
521
|
+
|
|
522
|
+
|
|
523
|
+
|
|
524
|
+
## [0.57.2](https://github.com/rokucommunity/brighterscript/compare/v0.57.1...0.57.2) - 2022-09-08
|
|
525
|
+
### Fixed
|
|
526
|
+
- Fix `brightscript.configFile` workspace config bug ([#686](https://github.com/rokucommunity/brighterscript/pull/686))
|
|
21
527
|
|
|
22
528
|
|
|
23
529
|
|
|
@@ -114,14 +620,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
114
620
|
|
|
115
621
|
|
|
116
622
|
|
|
117
|
-
## [1.0.0-alpha.23](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha22...v1.0.0-alpha.23) - 2022-06-14
|
|
118
|
-
### Changed
|
|
119
|
-
- all changes from [v0.52.3](#0523---2022-06-14)
|
|
120
|
-
- all changes from [v0.52.2](#0522---2022-06-13)
|
|
121
|
-
- all changes from [v0.52.1](#0521---2022-06-10)
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
623
|
## [0.52.3](https://github.com/rokucommunity/brighterscript/compare/v0.52.2...v0.52.3) - 2022-06-14
|
|
126
624
|
### Fixed
|
|
127
625
|
- fix bug with class transpile in watch mode ([#630](https://github.com/rokucommunity/brighterscript/pull/630))
|
|
@@ -146,20 +644,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
146
644
|
|
|
147
645
|
|
|
148
646
|
|
|
149
|
-
## [1.0.0-alpha.22](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha21...v1.0.0-alpha.22) - 2022-06-08
|
|
150
|
-
### Changed
|
|
151
|
-
- all changes from [v0.52.0](#0520---2022-06-08)
|
|
152
|
-
- all changes from [v0.51.4](#0514---2022-05-31)
|
|
153
|
-
- all changes from [v0.51.3](#0513---2022-05-31)
|
|
154
|
-
- all changes from [v0.51.2](#0512---2022-05-26)
|
|
155
|
-
- all changes from [v0.51.1](#0511---2022-05-26)
|
|
156
|
-
- all changes from [v0.51.0](#0510---2022-05-24)
|
|
157
|
-
- all changes from [v0.50.2](#0502---2022-05-23)
|
|
158
|
-
- all changes from [v0.50.1](#0501---2022-05-18)
|
|
159
|
-
- all changes from [v0.50.0](#0500---2022-05-17)
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
647
|
## [0.52.0](https://github.com/rokucommunity/brighterscript/compare/v0.51.4...v0.52.0) - 2022-06-08
|
|
164
648
|
### Added
|
|
165
649
|
- LanguageServer: Load projects based on bsconfig.json presence ([#613](https://github.com/rokucommunity/brighterscript/pull/613))
|
|
@@ -230,14 +714,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
230
714
|
|
|
231
715
|
|
|
232
716
|
|
|
233
|
-
## [1.0.0-alpha.21](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha20...v1.0.0-alpha.21) - 2022-05-02
|
|
234
|
-
### Added
|
|
235
|
-
- allow enym types as function parameters ([#579](https://github.com/rokucommunity/brighterscript/pull/579))
|
|
236
|
-
### Changed
|
|
237
|
-
- all changes from [v0.49.0](#0481---2022-05-02)
|
|
238
|
-
|
|
239
|
-
|
|
240
|
-
|
|
241
717
|
## [0.49.0](https://github.com/rokucommunity/brighterscript/compare/v0.48.1...v0.49.0) - 2022-05-02
|
|
242
718
|
### Added
|
|
243
719
|
- allow interfaces and enums as function param types ([#580](https://github.com/rokucommunity/brighterscript/pull/580))
|
|
@@ -246,22 +722,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
246
722
|
|
|
247
723
|
|
|
248
724
|
|
|
249
|
-
## [1.0.0-alpha.20](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.19...v1.0.0-alpha.20) - 2022-04-28
|
|
250
|
-
### Changed
|
|
251
|
-
- all changes from [v0.48.1](#0481---2022-04-14)
|
|
252
|
-
- all changes from [v0.48.0](#0480---2022-04-13)
|
|
253
|
-
- all changes from [v0.47.3](#0473---2022-04-08)
|
|
254
|
-
- all changes from [v0.47.2](#0472---2022-04-07)
|
|
255
|
-
- all changes from [v0.47.1](#0471---2022-04-05)
|
|
256
|
-
|
|
257
|
-
|
|
258
|
-
|
|
259
725
|
## [0.48.1](https://github.com/rokucommunity/brighterscript/compare/v0.48.0...v0.48.1) - 2022-04-14
|
|
260
726
|
### Fixed
|
|
261
727
|
- prevent duplicate `CreateObject` validations showing one for each affected scope ([#568](https://github.com/rokucommunity/brighterscript/pull/568))
|
|
262
728
|
- prevent `CreateObject` diagnostics for component library components ([#568](https://github.com/rokucommunity/brighterscript/pull/568))
|
|
263
729
|
|
|
264
730
|
|
|
731
|
+
|
|
265
732
|
## [0.48.0](https://github.com/rokucommunity/brighterscript/compare/v0.47.3...v0.48.0) - 2022-04-13
|
|
266
733
|
### Added
|
|
267
734
|
- language support for native BrightScript optional chaining ([#546](https://github.com/rokucommunity/brighterscript/pull/546))
|
|
@@ -292,47 +759,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
292
759
|
|
|
293
760
|
|
|
294
761
|
|
|
295
|
-
## [1.0.0-alpha.19](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.18...v1.0.0-alpha.19) - 2022-03-30
|
|
296
|
-
### Added
|
|
297
|
-
- all changes from [v0.47.0](#0470---2022-03-30)
|
|
298
|
-
|
|
299
|
-
|
|
300
|
-
|
|
301
762
|
## [0.47.0](https://github.com/rokucommunity/brighterscript/compare/v0.46.0...v0.47.0) - 2022-03-30
|
|
302
763
|
### Added
|
|
303
764
|
- `require` flag to allow loading external node modules as part of the build process (useful for things like `ts-node/register`). ([#550](https://github.com/rokucommunity/brighterscript/pull/550), [#551](https://github.com/rokucommunity/brighterscript/pull/551))
|
|
304
765
|
|
|
305
766
|
|
|
306
767
|
|
|
307
|
-
## [1.0.0-alpha.18](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.17...v1.0.0-alpha.18) - 2022-03-24
|
|
308
|
-
### Added
|
|
309
|
-
- Adds Symbol Tables to InterfaceTypes - general refactor of Interfaces ([#496](https://github.com/rokucommunity/brighterscript/pull/496))
|
|
310
|
-
- all changes from [v0.46.0](#0460---2022-03-24)
|
|
311
|
-
### Changed
|
|
312
|
-
- Renamed `FunctionType` => `TypedFunctionType` and `UniversalFunctionType` => `FunctionType` ([#542](https://github.com/rokucommunity/brighterscript/pull/542))
|
|
313
|
-
### Fixed
|
|
314
|
-
- Prevent undefined showing up in type tracking ([#543](https://github.com/rokucommunity/brighterscript/pull/543))
|
|
315
|
-
- Better handling of object types ([#544](https://github.com/rokucommunity/brighterscript/pull/544))
|
|
316
|
-
|
|
317
|
-
|
|
318
|
-
|
|
319
768
|
## [0.46.0](https://github.com/rokucommunity/brighterscript/compare/v0.45.6...v0.46.0) - 2022-03-24
|
|
320
769
|
### Changed
|
|
321
770
|
- refactored try-catch statement to make the expressions and bodies easier to access via plugins. [#514](https://github.com/rokucommunity/brighterscript/pull/514)
|
|
322
771
|
|
|
323
772
|
|
|
324
773
|
|
|
325
|
-
## [1.0.0-alpha.17](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.16...v1.0.0-alpha.17) - 2022-03-17
|
|
326
|
-
### Added
|
|
327
|
-
- `TypeExpression` which will eventually make it easier to parse all types across the project. ([#507](https://github.com/rokucommunity/brighterscript/pull/507)
|
|
328
|
-
- support for multidimensional arrays ([#507](https://github.com/rokucommunity/brighterscript/pull/507)
|
|
329
|
-
- all changes from [v0.45.3](#0453---2022-02-25)
|
|
330
|
-
- all changes from [v0.45.4](#0454---2022-03-08)
|
|
331
|
-
- all changes from [v0.45.5](#0455---2022-03-10)
|
|
332
|
-
- all changes from [v0.45.6](#0456---2022-03-17)
|
|
333
|
-
|
|
334
|
-
|
|
335
|
-
|
|
336
774
|
## [0.45.6](https://github.com/rokucommunity/brighterscript/compare/v0.45.5...v0.45.6) - 2022-03-17
|
|
337
775
|
### Changed
|
|
338
776
|
- upgrade to [roku-deploy@3.5.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#354---2022-03-17) which fixed significant performance issues during globbing. ([roku-deploy#86](https://github.com/rokucommunity/roku-deploy/pull/86))
|
|
@@ -363,15 +801,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
363
801
|
|
|
364
802
|
|
|
365
803
|
|
|
366
|
-
## [1.0.0-alpha.16](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.15...v1.0.0-alpha.16) - 2022-02-24
|
|
367
|
-
### Added
|
|
368
|
-
- all changes from [v0.45.1](#0451---2022-02-16)
|
|
369
|
-
- all changes from [v0.45.2](#0452---2022-02-24)
|
|
370
|
-
### Fixed
|
|
371
|
-
- incorrect diagnostics when passing functions as parameters. ([#516](https://github.com/rokucommunity/brighterscript/pull/516), [#517](https://github.com/rokucommunity/brighterscript/pull/517))
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
804
|
## [0.45.2](https://github.com/rokucommunity/brighterscript/compare/v0.45.1...v0.45.2) - 2022-02-24
|
|
376
805
|
### Changed
|
|
377
806
|
- add default token values in creators. [#520](https://github.com/rokucommunity/brighterscript/pull/520)
|
|
@@ -387,12 +816,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
387
816
|
|
|
388
817
|
|
|
389
818
|
|
|
390
|
-
## [1.0.0-alpha.15](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.14...v1.0.0-alpha.15) - 2022-02-14
|
|
391
|
-
### Added
|
|
392
|
-
- all changes from [v0.45.0](#0450---2022-02-11)
|
|
393
|
-
|
|
394
|
-
|
|
395
|
-
|
|
396
819
|
## [0.45.0](https://github.com/rokucommunity/brighterscript/compare/v0.44.0...v0.45.0) - 2022-02-11
|
|
397
820
|
### Added
|
|
398
821
|
- `enum` language feature ([#484](https://github.com/rokucommunity/brighterscript/pull/484))
|
|
@@ -404,13 +827,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
404
827
|
|
|
405
828
|
|
|
406
829
|
|
|
407
|
-
## [1.0.0-alpha.14](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.13...v1.0.0-alpha.14) - 2022-02-08
|
|
408
|
-
### Added
|
|
409
|
-
- array type support for parameters and return types ([#499](https://github.com/rokucommunity/brighterscript/pull/499))
|
|
410
|
-
- all changes from 0.43.0, 0.43.1, 0.44.0
|
|
411
|
-
|
|
412
|
-
|
|
413
|
-
|
|
414
830
|
## [0.44.0](https://github.com/rokucommunity/brighterscript/compare/v0.43.1...v0.44.0) - 2022-02-08
|
|
415
831
|
### Added
|
|
416
832
|
- `onScopeValidate` plugin event useful when plugins want to contribute scope validations ([#505](https://github.com/rokucommunity/brighterscript/pull/505))
|
|
@@ -442,17 +858,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
442
858
|
- move parse and validate events to `Program` class and out of `XmlFile` and `BrsFile`. This only impacts plugins that depend on the `afterFileParse`, `onFileValidate` and `afterFileValidate` events while also constructing those files with their constructors directly. ([#494](https://github.com/rokucommunity/brighterscript/pull/494))
|
|
443
859
|
- removed internal [barrels](https://github.com/basarat/typescript-book/blob/master/docs/tips/barrel.md). This means plugins can no longer do things like: `import { something} from 'brighterscript/some-path'`. All necessary exports can be done from the top-level brighterscript package directly. ([#492](https://github.com/rokucommunity/brighterscript/pull/492))
|
|
444
860
|
- use `Map` for `ClassValidator` class lookup instead of an object. ([#481](https://github.com/rokucommunity/brighterscript/pull/481))
|
|
445
|
-
### Fixed
|
|
446
|
-
- bug preventing code to come after an interface statement. ([#493](https://github.com/rokucommunity/brighterscript/pull/493))
|
|
447
|
-
- don't crash on null options in `printDiagnostics`. ([3147202](https://github.com/rokucommunity/brighterscript/commit/3147202b948d08be198255c068f082857c9de1f0))
|
|
448
|
-
|
|
449
861
|
|
|
450
862
|
|
|
451
|
-
## [1.0.0-alpha.13](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.12...v1.0.0-alpha.13) - 2022-01-10
|
|
452
|
-
### Added
|
|
453
|
-
- all changes from [v0.42.0](#0420---2022-01-10)
|
|
454
|
-
|
|
455
863
|
|
|
864
|
+
### Fixed
|
|
865
|
+
- bug preventing code to come after an interface statement. ([#493](https://github.com/rokucommunity/brighterscript/pull/493))
|
|
866
|
+
- don't crash on null options in `printDiagnostics`. ([3147202](https://github.com/rokucommunity/brighterscript/commit/3147202b948d08be198255c068f082857c9de1f0))
|
|
456
867
|
|
|
457
868
|
## [0.42.0](https://github.com/rokucommunity/brighterscript/compare/v0.41.6...v0.42.0) - 2022-01-10
|
|
458
869
|
### Added
|
|
@@ -487,56 +898,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
487
898
|
- Allow diagnostic non-numeric disable code comments ([#463](https://github.com/rokucommunity/brighterscript/pull/463)).
|
|
488
899
|
|
|
489
900
|
|
|
490
|
-
|
|
491
|
-
## [1.0.0-alpha.12](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.11...v1.0.0-alpha.12) - 2021-10-17
|
|
492
|
-
### Added
|
|
493
|
-
- all changes from [v0.41.2](#0411---2021-10-17)
|
|
494
|
-
|
|
495
|
-
|
|
496
|
-
|
|
497
901
|
## [0.41.2](https://github.com/rokucommunity/brighterscript/compare/v0.41.1...v0.41.2) - 2021-10-17
|
|
498
902
|
### Fixed
|
|
499
903
|
- crash when subclass field has same name as ancestor method ([#460](https://github.com/rokucommunity/brighterscript/pull/460)).
|
|
500
904
|
|
|
501
905
|
|
|
502
906
|
|
|
503
|
-
## [v1.0.0-alpha.11](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.10...v1.0.0-alpha.11) - 2021-10-12
|
|
504
|
-
### Added
|
|
505
|
-
- all changes from [v0.41.1](#0411---2021-10-07)
|
|
506
|
-
|
|
507
|
-
|
|
508
|
-
|
|
509
907
|
## [0.41.1](https://github.com/rokucommunity/brighterscript/compare/v0.41.0...v0.41.1) - 2021-10-07
|
|
510
908
|
### Fixed
|
|
511
909
|
- parse issue with regex literals ([#458](https://github.com/rokucommunity/brighterscript/pull/458)).
|
|
512
910
|
|
|
513
911
|
|
|
514
912
|
|
|
515
|
-
## [1.0.0-alpha.10](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.9...v1.0.0-alpha.10) - 2021-09-27
|
|
516
|
-
### Added
|
|
517
|
-
- all changes from [v0.41.0](#0410---2021-09-27)
|
|
518
|
-
### Changed
|
|
519
|
-
- type system performance boost by caching symbol lookups for tokens ([#453](https://github.com/rokucommunity/brighterscript/pull/453))
|
|
520
|
-
|
|
521
|
-
|
|
522
|
-
|
|
523
|
-
## [1.0.0-alpha.9](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.8...v1.0.0-alpha.9) - 2021-09-08
|
|
524
|
-
### Added
|
|
525
|
-
- type checking in classes, including validation of method calls and deep finding of types
|
|
526
|
-
- handle super.doSomething() calls in classes
|
|
527
|
-
### Fixed
|
|
528
|
-
- issue with `m` and `m.top` code completion and validation
|
|
529
|
-
- issue finding properties of `m` in grandparents
|
|
530
|
-
|
|
531
|
-
|
|
532
|
-
|
|
533
|
-
## [1.0.0-alpha.8] - 2021-08-02
|
|
534
|
-
[1.0.0-alpha.8]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.7...v1.0.0-alpha.8
|
|
535
|
-
### Added
|
|
536
|
-
- all changes from [v0.40.0](#0400---2021-08-02)
|
|
537
|
-
|
|
538
|
-
|
|
539
|
-
|
|
540
913
|
## [0.41.0](https://github.com/rokucommunity/brighterscript/compare/v0.40.1...v0.41.0) - 2021-09-27
|
|
541
914
|
### Added
|
|
542
915
|
- Regex literal support in brighterscript ([#452](https://github.com/rokucommunity/brighterscript/pull/452)).
|
|
@@ -565,7 +938,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
565
938
|
- add v30/bslCore library functions to global callables ([#433](https://github.com/rokucommunity/brighterscript/pull/433))
|
|
566
939
|
|
|
567
940
|
|
|
568
|
-
|
|
569
941
|
## [0.39.3](https://github.com/rokucommunity/brighterscript/compare/v0.39.2...v0.39.3) - 2021-06-01
|
|
570
942
|
### Changed
|
|
571
943
|
- upgraded to [roku-deploy@3.4.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#341---2021-06-01) which fixes bugs introduced in roku-deploy@3.4.0
|
|
@@ -578,20 +950,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
578
950
|
|
|
579
951
|
|
|
580
952
|
|
|
581
|
-
## [1.0.0-alpha.7] - 2021-05-17
|
|
582
|
-
[1.0.0-alpha.7]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.6...v1.0.0-alpha.7
|
|
583
|
-
### Added
|
|
584
|
-
- all changes from [v0.39.2](#0390---2021-05-28)
|
|
585
|
-
|
|
586
|
-
|
|
587
|
-
|
|
588
|
-
## [1.0.0-alpha.6] - 2021-05-17
|
|
589
|
-
[1.0.0-alpha.6]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.5...v1.0.0-alpha.6
|
|
590
|
-
### Added
|
|
591
|
-
- all changes from [v0.39.1](#0390---2021-05-24)
|
|
592
|
-
|
|
593
|
-
|
|
594
|
-
|
|
595
953
|
## [0.39.1](https://github.com/rokucommunity/brighterscript/compare/v0.39.0...v0.39.1) - 2021-05-24
|
|
596
954
|
### Changed
|
|
597
955
|
- re-export `CodeActionKind` so plugins don't need to import from vscode-brightscript-language directly.
|
|
@@ -601,18 +959,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
601
959
|
|
|
602
960
|
|
|
603
961
|
|
|
604
|
-
## [1.0.0-alpha.5] - 2021-05-17
|
|
605
|
-
[1.0.0-alpha.5]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.4...v1.0.0-alpha.5
|
|
606
|
-
### Added
|
|
607
|
-
- all changes from [v0.39.0](#0390---2021-05-18)
|
|
608
|
-
### Changed
|
|
609
|
-
- Add location tracking (range property) to all SceneGraph/XML nodes. ([#400](https://github.com/rokucommunity/brighterscript/pull/400))
|
|
610
|
-
- Refactored SGComponent scripts, children, and interface properties into getter functions which are driven by the underlying XML AST. This means as you modify the AST, those getter functions will automatically reflect the changes. ([#400](https://github.com/rokucommunity/brighterscript/pull/400))
|
|
611
|
-
- Refactored SGInterface properties fields and functions to getter functions which are driven by the underlying XML AST. ([#400](https://github.com/rokucommunity/brighterscript/pull/400))
|
|
612
|
-
- Moved SGParser module functions onto the SGParser class itself to match the OO patterns in the rest of the project. ([#400](https://github.com/rokucommunity/brighterscript/pull/400))
|
|
613
|
-
|
|
614
|
-
|
|
615
|
-
|
|
616
962
|
## [0.39.0](https://github.com/rokucommunity/brighterscript/compare/v0.38.2...v0.39.0) - 2021-05-18
|
|
617
963
|
### Added
|
|
618
964
|
- semantic token support for plugins
|
|
@@ -620,31 +966,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
620
966
|
|
|
621
967
|
|
|
622
968
|
|
|
623
|
-
## [1.0.0-alpha.4] - 2021-05-17
|
|
624
|
-
[1.0.0-alpha.4]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.3...v1.0.0-alpha.4
|
|
625
|
-
### Added
|
|
626
|
-
- all changes from [v0.38.2](#0380---2021-05-17)
|
|
627
|
-
|
|
628
|
-
|
|
629
|
-
|
|
630
969
|
## [0.38.2](https://github.com/rokucommunity/brighterscript/compare/v0.38.1...v0.38.2) - 2021-05-17
|
|
631
970
|
### Fixed
|
|
632
971
|
- language server crash when namespaced function or class didn't have a name ([#419](https://github.com/rokucommunity/brighterscript/pull/419))
|
|
633
972
|
|
|
634
973
|
|
|
635
974
|
|
|
636
|
-
## [1.0.0-alpha.3]
|
|
637
|
-
[1.0.0-alpha.3]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.2...v1.0.0-alpha.3
|
|
638
|
-
### Added
|
|
639
|
-
- all changes from [v0.38.1](#0380---2021-05-14)
|
|
640
|
-
### Changed
|
|
641
|
-
- rename `Program.addOrReplaceFile` to `Program.setFile` ([#405](https://github.com/rokucommunity/brighterscript/pull/405))
|
|
642
|
-
- Unified global callables and function type param definitions ([#417](https://github.com/rokucommunity/brighterscript/pull/417))
|
|
643
|
-
- Fix issue with global `Val` function where there were two global functions with same name and different params and return types ([#417](https://github.com/rokucommunity/brighterscript/pull/417))
|
|
644
|
-
- move token-specific functions into `Parser.ts` ([#407](https://github.com/rokucommunity/brighterscript/pull/407))
|
|
645
|
-
|
|
646
|
-
|
|
647
|
-
|
|
648
975
|
## [0.38.1](https://github.com/rokucommunity/brighterscript/compare/v0.38.0...v0.38.1) - 2021-05-14
|
|
649
976
|
### Changed
|
|
650
977
|
- SOURCE_FILE_PATH and SOURCE_LOCATION source literals are now string concatenations in order to avoid triggering Roku's static analysis rule against `file:/` protocol strings ([#415](https://github.com/rokucommunity/brighterscript/pull/415))
|
|
@@ -656,18 +983,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
656
983
|
|
|
657
984
|
|
|
658
985
|
|
|
659
|
-
## [1.0.0-alpha.2]
|
|
660
|
-
[1.0.0-alpha.2]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.1...v1.0.0-alpha.2
|
|
661
|
-
### Added
|
|
662
|
-
- all changes from [v0.38.0](#0380---2021-05-04)
|
|
663
|
-
### Changed
|
|
664
|
-
- Rename pathAbsolute to srcPath ([#399](https://github.com/rokucommunity/brighterscript/pull/399))
|
|
665
|
-
- Convert pkgPath to actual pkgPath (i.e. `pkg:/source/main.brs` where previously it would have been `source/main.brs` or `source\main.brs`) ([#399](https://github.com/rokucommunity/brighterscript/pull/399))
|
|
666
|
-
- Simplify Program removeFile and addReplaceFile ([#399](https://github.com/rokucommunity/brighterscript/pull/399))
|
|
667
|
-
- Add `normalizePath` parameter to file-related functions in `Program` and `Scope` ([#399](https://github.com/rokucommunity/brighterscript/pull/399))
|
|
668
|
-
|
|
669
|
-
|
|
670
|
-
|
|
671
986
|
## [0.38.0](https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v0.38.0) - 2021-05-04
|
|
672
987
|
### Added
|
|
673
988
|
- warning for mismatched class method accessibility ([#402](https://github.com/rokucommunity/brighterscript/pull/402))
|
|
@@ -675,23 +990,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
675
990
|
|
|
676
991
|
|
|
677
992
|
|
|
678
|
-
## [1.0.0-alpha.1]
|
|
679
|
-
[1.0.0-alpha.1]: https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v1.0.0-alpha.1
|
|
680
|
-
### Add
|
|
681
|
-
- Type checking for function arguments ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
|
|
682
|
-
### Changed
|
|
683
|
-
- Refactor plugin events to emit an event object ([#397](https://github.com/rokucommunity/brighterscript/pull/397))
|
|
684
|
-
- Remove `FunctionScope` ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
|
|
685
|
-
- Add `SymbolTable` and `LazyType` objects to improve type tracking ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
|
|
686
|
-
|
|
687
|
-
|
|
688
|
-
|
|
689
|
-
## [0.37.4] - 2021-04-20
|
|
690
|
-
### Fixed
|
|
691
|
-
- bug validating namespace function calls ([#390](https://github.com/rokucommunity/brighterscript/pull/390))
|
|
692
|
-
|
|
693
|
-
|
|
694
|
-
|
|
695
993
|
## [0.37.4](https://github.com/rokucommunity/brighterscript/compare/v0.37.3...v0.37.4) - 2021-04-20
|
|
696
994
|
### Fixed
|
|
697
995
|
- bug validating namespace function calls ([#390](https://github.com/rokucommunity/brighterscript/pull/390))
|
|
@@ -1648,13 +1946,3 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1648
1946
|
## [0.1.0](https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.1.0) - 2019-08-10
|
|
1649
1947
|
### Changed
|
|
1650
1948
|
- Cloned from [brightscript-language](https://github.com/rokucommunity/brightscript-language)
|
|
1651
|
-
|
|
1652
|
-
|
|
1653
|
-
|
|
1654
|
-
|
|
1655
|
-
|
|
1656
|
-
|
|
1657
|
-
|
|
1658
|
-
|
|
1659
|
-
|
|
1660
|
-
|