brighterscript 1.0.0-alpha.4 → 1.0.0-alpha.40
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 +1387 -291
- package/README.md +72 -131
- package/bsconfig.schema.json +85 -1
- 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 +42 -0
- package/dist/AstValidationSegmenter.js +237 -0
- package/dist/AstValidationSegmenter.js.map +1 -0
- package/dist/BsConfig.d.ts +56 -6
- package/dist/BusyStatusTracker.d.ts +31 -0
- package/dist/BusyStatusTracker.js +83 -0
- package/dist/BusyStatusTracker.js.map +1 -0
- package/dist/Cache.d.ts +5 -6
- package/dist/Cache.js +12 -11
- 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 +6 -3
- package/dist/CodeActionUtil.js +19 -5
- package/dist/CodeActionUtil.js.map +1 -1
- package/dist/CommentFlagProcessor.d.ts +7 -6
- package/dist/CommentFlagProcessor.js +11 -8
- package/dist/CommentFlagProcessor.js.map +1 -1
- package/dist/CrossScopeValidator.d.ts +67 -0
- package/dist/CrossScopeValidator.js +617 -0
- package/dist/CrossScopeValidator.js.map +1 -0
- package/dist/DependencyGraph.d.ts +8 -3
- package/dist/DependencyGraph.js +49 -16
- package/dist/DependencyGraph.js.map +1 -1
- package/dist/DiagnosticCollection.d.ts +5 -3
- package/dist/DiagnosticCollection.js +21 -16
- package/dist/DiagnosticCollection.js.map +1 -1
- package/dist/DiagnosticFilterer.d.ts +8 -4
- package/dist/DiagnosticFilterer.js +90 -54
- package/dist/DiagnosticFilterer.js.map +1 -1
- package/dist/DiagnosticManager.d.ts +61 -0
- package/dist/DiagnosticManager.js +238 -0
- package/dist/DiagnosticManager.js.map +1 -0
- package/dist/DiagnosticMessages.d.ts +204 -24
- package/dist/DiagnosticMessages.js +266 -33
- 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 +72 -47
- package/dist/LanguageServer.js +545 -314
- package/dist/LanguageServer.js.map +1 -1
- package/dist/Logger.d.ts +9 -10
- package/dist/Logger.js +36 -30
- package/dist/Logger.js.map +1 -1
- package/dist/PluginInterface.d.ts +29 -7
- package/dist/PluginInterface.js +90 -7
- package/dist/PluginInterface.js.map +1 -1
- package/dist/Program.d.ts +201 -100
- package/dist/Program.js +1079 -700
- package/dist/Program.js.map +1 -1
- package/dist/ProgramBuilder.d.ts +29 -18
- package/dist/ProgramBuilder.js +178 -141
- package/dist/ProgramBuilder.js.map +1 -1
- package/dist/Scope.d.ts +144 -109
- package/dist/Scope.js +533 -552
- package/dist/Scope.js.map +1 -1
- package/dist/SemanticTokenUtils.d.ts +14 -0
- package/dist/SemanticTokenUtils.js +85 -0
- package/dist/SemanticTokenUtils.js.map +1 -0
- package/dist/Stopwatch.d.ts +4 -0
- package/dist/Stopwatch.js +8 -1
- package/dist/Stopwatch.js.map +1 -1
- package/dist/SymbolTable.d.ts +91 -24
- package/dist/SymbolTable.js +291 -64
- package/dist/SymbolTable.js.map +1 -1
- package/dist/SymbolTypeFlag.d.ts +9 -0
- package/dist/SymbolTypeFlag.js +14 -0
- package/dist/SymbolTypeFlag.js.map +1 -0
- 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 +5 -15
- package/dist/XmlScope.js +35 -87
- package/dist/XmlScope.js.map +1 -1
- package/dist/astUtils/CachedLookups.d.ts +50 -0
- package/dist/astUtils/CachedLookups.js +335 -0
- package/dist/astUtils/CachedLookups.js.map +1 -0
- package/dist/astUtils/CachedLookups.spec.js +39 -0
- package/dist/astUtils/CachedLookups.spec.js.map +1 -0
- package/dist/astUtils/Editor.d.ts +69 -0
- package/dist/astUtils/Editor.js +245 -0
- package/dist/astUtils/Editor.js.map +1 -0
- package/dist/astUtils/Editor.spec.js +258 -0
- package/dist/astUtils/Editor.spec.js.map +1 -0
- package/dist/astUtils/creators.d.ts +36 -19
- package/dist/astUtils/creators.js +222 -43
- 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 +148 -82
- package/dist/astUtils/reflection.js +324 -137
- package/dist/astUtils/reflection.js.map +1 -1
- package/dist/astUtils/reflection.spec.js +267 -167
- package/dist/astUtils/reflection.spec.js.map +1 -1
- package/dist/astUtils/stackedVisitor.js.map +1 -1
- package/dist/astUtils/stackedVisitor.spec.js +14 -14
- package/dist/astUtils/stackedVisitor.spec.js.map +1 -1
- package/dist/astUtils/visitors.d.ts +114 -53
- package/dist/astUtils/visitors.js +70 -13
- package/dist/astUtils/visitors.js.map +1 -1
- package/dist/astUtils/visitors.spec.js +463 -51
- package/dist/astUtils/visitors.spec.js.map +1 -1
- package/dist/astUtils/xml.d.ts +9 -8
- package/dist/astUtils/xml.js +10 -5
- package/dist/astUtils/xml.js.map +1 -1
- package/dist/bscPlugin/BscPlugin.d.ts +22 -1
- package/dist/bscPlugin/BscPlugin.js +88 -0
- package/dist/bscPlugin/BscPlugin.js.map +1 -1
- package/dist/bscPlugin/CallExpressionInfo.d.ts +36 -0
- package/dist/bscPlugin/CallExpressionInfo.js +135 -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 +137 -0
- package/dist/bscPlugin/SignatureHelpUtil.js.map +1 -0
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.d.ts +1 -1
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.js +30 -18
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.js.map +1 -1
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.spec.js +94 -21
- package/dist/bscPlugin/codeActions/CodeActionsProcessor.spec.js.map +1 -1
- package/dist/bscPlugin/completions/CompletionsProcessor.d.ts +64 -0
- package/dist/bscPlugin/completions/CompletionsProcessor.js +626 -0
- package/dist/bscPlugin/completions/CompletionsProcessor.js.map +1 -0
- package/dist/bscPlugin/completions/CompletionsProcessor.spec.js +2188 -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 +212 -0
- package/dist/bscPlugin/definition/DefinitionProvider.js.map +1 -0
- package/dist/bscPlugin/definition/DefinitionProvider.spec.d.ts +1 -0
- package/dist/bscPlugin/definition/DefinitionProvider.spec.js +87 -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 +18 -0
- package/dist/bscPlugin/hover/HoverProcessor.js +218 -0
- package/dist/bscPlugin/hover/HoverProcessor.js.map +1 -0
- package/dist/bscPlugin/hover/HoverProcessor.spec.d.ts +1 -0
- package/dist/bscPlugin/hover/HoverProcessor.spec.js +786 -0
- package/dist/bscPlugin/hover/HoverProcessor.spec.js.map +1 -0
- package/dist/bscPlugin/references/ReferencesProvider.d.ts +12 -0
- package/dist/bscPlugin/references/ReferencesProvider.js +57 -0
- package/dist/bscPlugin/references/ReferencesProvider.js.map +1 -0
- package/dist/bscPlugin/references/ReferencesProvider.spec.d.ts +1 -0
- package/dist/bscPlugin/references/ReferencesProvider.spec.js +51 -0
- package/dist/bscPlugin/references/ReferencesProvider.spec.js.map +1 -0
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.d.ts +14 -0
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js +154 -0
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.js.map +1 -0
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.spec.d.ts +1 -0
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.spec.js +530 -0
- package/dist/bscPlugin/semanticTokens/BrsFileSemanticTokensProcessor.spec.js.map +1 -0
- package/dist/bscPlugin/serialize/BslibInjector.spec.d.ts +1 -0
- package/dist/bscPlugin/serialize/BslibInjector.spec.js +33 -0
- package/dist/bscPlugin/serialize/BslibInjector.spec.js.map +1 -0
- package/dist/bscPlugin/serialize/BslibManager.d.ts +12 -0
- package/dist/bscPlugin/serialize/BslibManager.js +46 -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 +75 -0
- package/dist/bscPlugin/serialize/FileSerializer.js.map +1 -0
- package/dist/bscPlugin/symbols/DocumentSymbolProcessor.d.ts +7 -0
- package/dist/bscPlugin/symbols/DocumentSymbolProcessor.js +22 -0
- package/dist/bscPlugin/symbols/DocumentSymbolProcessor.js.map +1 -0
- package/dist/bscPlugin/symbols/DocumentSymbolProcessor.spec.d.ts +1 -0
- package/dist/bscPlugin/symbols/DocumentSymbolProcessor.spec.js +291 -0
- package/dist/bscPlugin/symbols/DocumentSymbolProcessor.spec.js.map +1 -0
- package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.d.ts +7 -0
- package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.js +26 -0
- package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.js.map +1 -0
- package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.spec.d.ts +1 -0
- package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.spec.js +245 -0
- package/dist/bscPlugin/symbols/WorkspaceSymbolProcessor.spec.js.map +1 -0
- package/dist/bscPlugin/symbols/symbolUtils.d.ts +5 -0
- package/dist/bscPlugin/symbols/symbolUtils.js +141 -0
- package/dist/bscPlugin/symbols/symbolUtils.js.map +1 -0
- package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.d.ts +21 -0
- package/dist/bscPlugin/transpile/BrsFileTranspileProcessor.js +201 -0
- 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 +75 -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/BrsFileAfterValidator.d.ts +7 -0
- package/dist/bscPlugin/validation/BrsFileAfterValidator.js +18 -0
- package/dist/bscPlugin/validation/BrsFileAfterValidator.js.map +1 -0
- package/dist/bscPlugin/validation/BrsFileValidator.d.ts +36 -0
- package/dist/bscPlugin/validation/BrsFileValidator.js +534 -0
- package/dist/bscPlugin/validation/BrsFileValidator.js.map +1 -0
- package/dist/bscPlugin/validation/BrsFileValidator.spec.d.ts +1 -0
- package/dist/bscPlugin/validation/BrsFileValidator.spec.js +1118 -0
- package/dist/bscPlugin/validation/BrsFileValidator.spec.js.map +1 -0
- package/dist/bscPlugin/validation/ProgramValidator.d.ts +11 -0
- package/dist/bscPlugin/validation/ProgramValidator.js +33 -0
- package/dist/bscPlugin/validation/ProgramValidator.js.map +1 -0
- package/dist/bscPlugin/validation/ScopeValidator.d.ts +126 -0
- package/dist/bscPlugin/validation/ScopeValidator.js +1039 -0
- package/dist/bscPlugin/validation/ScopeValidator.js.map +1 -0
- package/dist/bscPlugin/validation/ScopeValidator.spec.d.ts +1 -0
- package/dist/bscPlugin/validation/ScopeValidator.spec.js +3346 -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 +117 -11
- 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 +10 -3
- package/dist/diagnosticUtils.js +62 -24
- package/dist/diagnosticUtils.js.map +1 -1
- package/dist/examples/plugins/removePrint.js +8 -12
- package/dist/examples/plugins/removePrint.js.map +1 -1
- package/dist/files/AssetFile.d.ts +24 -0
- package/dist/files/AssetFile.js +25 -0
- package/dist/files/AssetFile.js.map +1 -0
- package/dist/files/BrsFile.Class.spec.js +912 -153
- package/dist/files/BrsFile.Class.spec.js.map +1 -1
- package/dist/files/BrsFile.d.ts +142 -85
- package/dist/files/BrsFile.js +845 -935
- package/dist/files/BrsFile.js.map +1 -1
- package/dist/files/BrsFile.spec.js +3778 -862
- package/dist/files/BrsFile.spec.js.map +1 -1
- package/dist/files/BscFile.d.ts +101 -0
- package/dist/files/BscFile.js +15 -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 +73 -41
- package/dist/files/XmlFile.js +128 -138
- package/dist/files/XmlFile.js.map +1 -1
- package/dist/files/XmlFile.spec.js +451 -324
- package/dist/files/XmlFile.spec.js.map +1 -1
- package/dist/files/tests/imports.spec.js +62 -52
- package/dist/files/tests/imports.spec.js.map +1 -1
- package/dist/files/tests/optionalChaning.spec.d.ts +1 -0
- package/dist/files/tests/optionalChaning.spec.js +152 -0
- package/dist/files/tests/optionalChaning.spec.js.map +1 -0
- package/dist/globalCallables.d.ts +3 -1
- package/dist/globalCallables.js +417 -163
- package/dist/globalCallables.js.map +1 -1
- package/dist/index.d.ts +26 -3
- package/dist/index.js +44 -5
- package/dist/index.js.map +1 -1
- package/dist/interfaces.d.ts +783 -122
- package/dist/interfaces.js +21 -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 +51 -12
- package/dist/lexer/Lexer.js +201 -57
- package/dist/lexer/Lexer.js.map +1 -1
- package/dist/lexer/Lexer.spec.js +781 -565
- package/dist/lexer/Lexer.spec.js.map +1 -1
- package/dist/lexer/Token.d.ts +27 -11
- package/dist/lexer/Token.js +10 -2
- package/dist/lexer/Token.js.map +1 -1
- package/dist/lexer/TokenKind.d.ts +31 -2
- package/dist/lexer/TokenKind.js +134 -10
- package/dist/lexer/TokenKind.js.map +1 -1
- package/dist/logging.d.ts +9 -0
- package/dist/logging.js +16 -0
- package/dist/logging.js.map +1 -0
- package/dist/parser/AstNode.d.ts +191 -0
- package/dist/parser/AstNode.js +269 -0
- package/dist/parser/AstNode.js.map +1 -0
- package/dist/parser/AstNode.spec.d.ts +1 -0
- package/dist/parser/AstNode.spec.js +1455 -0
- package/dist/parser/AstNode.spec.js.map +1 -0
- package/dist/parser/BrightScriptDocParser.d.ts +56 -0
- package/dist/parser/BrightScriptDocParser.js +294 -0
- package/dist/parser/BrightScriptDocParser.js.map +1 -0
- package/dist/parser/BrightScriptDocParser.spec.d.ts +1 -0
- package/dist/parser/BrightScriptDocParser.spec.js +310 -0
- package/dist/parser/BrightScriptDocParser.spec.js.map +1 -0
- package/dist/parser/BrsTranspileState.d.ts +22 -3
- package/dist/parser/BrsTranspileState.js +19 -0
- package/dist/parser/BrsTranspileState.js.map +1 -1
- package/dist/parser/Expression.d.ts +489 -221
- package/dist/parser/Expression.js +1206 -506
- package/dist/parser/Expression.js.map +1 -1
- package/dist/parser/Expression.spec.d.ts +1 -0
- package/dist/parser/Expression.spec.js +40 -0
- package/dist/parser/Expression.spec.js.map +1 -0
- package/dist/parser/Parser.Class.spec.js +230 -125
- package/dist/parser/Parser.Class.spec.js.map +1 -1
- package/dist/parser/Parser.d.ts +113 -124
- package/dist/parser/Parser.js +1510 -983
- package/dist/parser/Parser.js.map +1 -1
- package/dist/parser/Parser.spec.d.ts +3 -1
- package/dist/parser/Parser.spec.js +1533 -517
- package/dist/parser/Parser.spec.js.map +1 -1
- package/dist/parser/SGParser.d.ts +60 -7
- package/dist/parser/SGParser.js +225 -185
- package/dist/parser/SGParser.js.map +1 -1
- package/dist/parser/SGParser.spec.js +29 -32
- package/dist/parser/SGParser.spec.js.map +1 -1
- package/dist/parser/SGTypes.d.ts +295 -52
- package/dist/parser/SGTypes.js +540 -187
- package/dist/parser/SGTypes.js.map +1 -1
- package/dist/parser/Statement.d.ts +808 -261
- package/dist/parser/Statement.js +2232 -588
- package/dist/parser/Statement.js.map +1 -1
- package/dist/parser/Statement.spec.js +133 -36
- package/dist/parser/Statement.spec.js.map +1 -1
- package/dist/parser/TranspileState.d.ts +26 -12
- package/dist/parser/TranspileState.js +114 -15
- package/dist/parser/TranspileState.js.map +1 -1
- package/dist/parser/tests/Parser.spec.d.ts +3 -9
- package/dist/parser/tests/Parser.spec.js +7 -13
- package/dist/parser/tests/Parser.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/For.spec.js +83 -75
- package/dist/parser/tests/controlFlow/For.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/ForEach.spec.js +58 -51
- package/dist/parser/tests/controlFlow/ForEach.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/If.spec.js +382 -239
- package/dist/parser/tests/controlFlow/If.spec.js.map +1 -1
- package/dist/parser/tests/controlFlow/While.spec.js +52 -45
- package/dist/parser/tests/controlFlow/While.spec.js.map +1 -1
- package/dist/parser/tests/expression/Additive.spec.js +51 -43
- package/dist/parser/tests/expression/Additive.spec.js.map +1 -1
- package/dist/parser/tests/expression/ArrayLiterals.spec.js +192 -142
- package/dist/parser/tests/expression/ArrayLiterals.spec.js.map +1 -1
- package/dist/parser/tests/expression/AssociativeArrayLiterals.spec.js +236 -160
- package/dist/parser/tests/expression/AssociativeArrayLiterals.spec.js.map +1 -1
- package/dist/parser/tests/expression/Boolean.spec.js +41 -34
- package/dist/parser/tests/expression/Boolean.spec.js.map +1 -1
- package/dist/parser/tests/expression/Call.spec.js +173 -55
- package/dist/parser/tests/expression/Call.spec.js.map +1 -1
- package/dist/parser/tests/expression/Exponential.spec.js +20 -20
- package/dist/parser/tests/expression/Exponential.spec.js.map +1 -1
- package/dist/parser/tests/expression/Function.spec.js +291 -282
- package/dist/parser/tests/expression/Function.spec.js.map +1 -1
- package/dist/parser/tests/expression/Indexing.spec.js +193 -110
- package/dist/parser/tests/expression/Indexing.spec.js.map +1 -1
- package/dist/parser/tests/expression/Multiplicative.spec.js +42 -42
- package/dist/parser/tests/expression/Multiplicative.spec.js.map +1 -1
- package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js +213 -115
- package/dist/parser/tests/expression/NullCoalescenceExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/PrefixUnary.spec.js +58 -52
- package/dist/parser/tests/expression/PrefixUnary.spec.js.map +1 -1
- package/dist/parser/tests/expression/Primary.spec.js +76 -60
- package/dist/parser/tests/expression/Primary.spec.js.map +1 -1
- package/dist/parser/tests/expression/RegexLiteralExpression.spec.d.ts +1 -0
- package/dist/parser/tests/expression/RegexLiteralExpression.spec.js +171 -0
- package/dist/parser/tests/expression/RegexLiteralExpression.spec.js.map +1 -0
- package/dist/parser/tests/expression/Relational.spec.js +50 -50
- package/dist/parser/tests/expression/Relational.spec.js.map +1 -1
- package/dist/parser/tests/expression/SourceLiteralExpression.spec.js +31 -31
- package/dist/parser/tests/expression/SourceLiteralExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/TemplateStringExpression.spec.js +235 -94
- package/dist/parser/tests/expression/TemplateStringExpression.spec.js.map +1 -1
- package/dist/parser/tests/expression/TernaryExpression.spec.js +403 -174
- 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 +126 -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 +44 -44
- package/dist/parser/tests/statement/AssignmentOperators.spec.js.map +1 -1
- package/dist/parser/tests/statement/ConstStatement.spec.d.ts +1 -0
- package/dist/parser/tests/statement/ConstStatement.spec.js +262 -0
- package/dist/parser/tests/statement/ConstStatement.spec.js.map +1 -0
- 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 +61 -55
- 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.d.ts +1 -0
- package/dist/parser/tests/statement/Enum.spec.js +744 -0
- package/dist/parser/tests/statement/Enum.spec.js.map +1 -0
- package/dist/parser/tests/statement/For.spec.d.ts +1 -0
- package/dist/parser/tests/statement/For.spec.js +45 -0
- package/dist/parser/tests/statement/For.spec.js.map +1 -0
- package/dist/parser/tests/statement/ForEach.spec.d.ts +1 -0
- package/dist/parser/tests/statement/ForEach.spec.js +36 -0
- package/dist/parser/tests/statement/ForEach.spec.js.map +1 -0
- package/dist/parser/tests/statement/Function.spec.js +226 -215
- package/dist/parser/tests/statement/Function.spec.js.map +1 -1
- package/dist/parser/tests/statement/Goto.spec.js +16 -15
- package/dist/parser/tests/statement/Goto.spec.js.map +1 -1
- package/dist/parser/tests/statement/Increment.spec.js +64 -59
- package/dist/parser/tests/statement/Increment.spec.js.map +1 -1
- package/dist/parser/tests/statement/InterfaceStatement.spec.d.ts +1 -0
- package/dist/parser/tests/statement/InterfaceStatement.spec.js +110 -0
- package/dist/parser/tests/statement/InterfaceStatement.spec.js.map +1 -0
- package/dist/parser/tests/statement/LibraryStatement.spec.js +22 -22
- package/dist/parser/tests/statement/LibraryStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/Misc.spec.js +127 -168
- package/dist/parser/tests/statement/Misc.spec.js.map +1 -1
- package/dist/parser/tests/statement/PrintStatement.spec.js +133 -114
- package/dist/parser/tests/statement/PrintStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/ReturnStatement.spec.js +57 -54
- package/dist/parser/tests/statement/ReturnStatement.spec.js.map +1 -1
- package/dist/parser/tests/statement/Set.spec.js +131 -117
- package/dist/parser/tests/statement/Set.spec.js.map +1 -1
- package/dist/parser/tests/statement/Stop.spec.js +14 -13
- package/dist/parser/tests/statement/Stop.spec.js.map +1 -1
- package/dist/parser/tests/statement/Throw.spec.js +11 -8
- package/dist/parser/tests/statement/Throw.spec.js.map +1 -1
- package/dist/parser/tests/statement/TryCatch.spec.js +26 -15
- package/dist/parser/tests/statement/TryCatch.spec.js.map +1 -1
- package/dist/preprocessor/Manifest.d.ts +6 -6
- package/dist/preprocessor/Manifest.js +17 -38
- package/dist/preprocessor/Manifest.js.map +1 -1
- package/dist/preprocessor/Manifest.spec.d.ts +1 -0
- package/dist/preprocessor/Manifest.spec.js +78 -103
- package/dist/preprocessor/Manifest.spec.js.map +1 -1
- package/dist/roku-types/data.json +19452 -0
- package/dist/roku-types/index.d.ts +5533 -0
- package/dist/roku-types/index.js +11 -0
- package/dist/roku-types/index.js.map +1 -0
- package/dist/types/ArrayType.d.ts +9 -5
- package/dist/types/ArrayType.js +73 -24
- package/dist/types/ArrayType.js.map +1 -1
- package/dist/types/ArrayType.spec.js +39 -11
- package/dist/types/ArrayType.spec.js.map +1 -1
- package/dist/types/AssociativeArrayType.d.ts +14 -0
- package/dist/types/AssociativeArrayType.js +60 -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 +10 -5
- package/dist/types/BooleanType.js +21 -9
- package/dist/types/BooleanType.js.map +1 -1
- package/dist/types/BooleanType.spec.js +10 -4
- package/dist/types/BooleanType.spec.js.map +1 -1
- package/dist/types/BscType.d.ts +29 -3
- package/dist/types/BscType.js +121 -0
- 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 +25 -0
- package/dist/types/BuiltInInterfaceAdder.js +201 -0
- package/dist/types/BuiltInInterfaceAdder.js.map +1 -0
- package/dist/types/BuiltInInterfaceAdder.spec.d.ts +1 -0
- package/dist/types/BuiltInInterfaceAdder.spec.js +115 -0
- package/dist/types/BuiltInInterfaceAdder.spec.js.map +1 -0
- package/dist/types/ClassType.d.ts +16 -0
- package/dist/types/ClassType.js +57 -0
- package/dist/types/ClassType.js.map +1 -0
- package/dist/types/ClassType.spec.d.ts +1 -0
- package/dist/types/ClassType.spec.js +76 -0
- package/dist/types/ClassType.spec.js.map +1 -0
- package/dist/types/ComponentType.d.ts +27 -0
- package/dist/types/ComponentType.js +83 -0
- package/dist/types/ComponentType.js.map +1 -0
- package/dist/types/DoubleType.d.ts +10 -5
- package/dist/types/DoubleType.js +25 -18
- package/dist/types/DoubleType.js.map +1 -1
- package/dist/types/DoubleType.spec.js +12 -4
- package/dist/types/DoubleType.spec.js.map +1 -1
- package/dist/types/DynamicType.d.ts +12 -5
- package/dist/types/DynamicType.js +22 -6
- 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 +40 -0
- package/dist/types/EnumType.js +80 -0
- package/dist/types/EnumType.js.map +1 -0
- 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 +10 -5
- package/dist/types/FloatType.js +25 -18
- package/dist/types/FloatType.js.map +1 -1
- package/dist/types/FloatType.spec.js +4 -4
- package/dist/types/FloatType.spec.js.map +1 -1
- package/dist/types/FunctionType.d.ts +10 -22
- package/dist/types/FunctionType.js +26 -63
- package/dist/types/FunctionType.js.map +1 -1
- package/dist/types/InheritableType.d.ts +28 -0
- package/dist/types/InheritableType.js +157 -0
- package/dist/types/InheritableType.js.map +1 -0
- package/dist/types/IntegerType.d.ts +10 -5
- package/dist/types/IntegerType.js +25 -18
- package/dist/types/IntegerType.js.map +1 -1
- package/dist/types/IntegerType.spec.js +8 -4
- package/dist/types/IntegerType.spec.js.map +1 -1
- package/dist/types/InterfaceType.d.ts +14 -6
- package/dist/types/InterfaceType.js +26 -15
- package/dist/types/InterfaceType.js.map +1 -1
- package/dist/types/InterfaceType.spec.d.ts +1 -0
- package/dist/types/InterfaceType.spec.js +227 -0
- package/dist/types/InterfaceType.spec.js.map +1 -0
- package/dist/types/InvalidType.d.ts +9 -5
- package/dist/types/InvalidType.js +20 -9
- package/dist/types/InvalidType.js.map +1 -1
- package/dist/types/InvalidType.spec.js +8 -4
- package/dist/types/InvalidType.spec.js.map +1 -1
- package/dist/types/LongIntegerType.d.ts +10 -5
- package/dist/types/LongIntegerType.js +25 -18
- package/dist/types/LongIntegerType.js.map +1 -1
- package/dist/types/LongIntegerType.spec.js +10 -4
- 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 +10 -5
- package/dist/types/ObjectType.js +23 -9
- 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 +79 -0
- package/dist/types/ReferenceType.js +522 -0
- package/dist/types/ReferenceType.js.map +1 -0
- package/dist/types/ReferenceType.spec.d.ts +1 -0
- package/dist/types/ReferenceType.spec.js +151 -0
- package/dist/types/ReferenceType.spec.js.map +1 -0
- package/dist/types/StringType.d.ts +13 -5
- package/dist/types/StringType.js +25 -9
- package/dist/types/StringType.js.map +1 -1
- package/dist/types/StringType.spec.js +3 -3
- package/dist/types/StringType.spec.js.map +1 -1
- package/dist/types/TypedFunctionType.d.ts +33 -0
- package/dist/types/TypedFunctionType.js +106 -0
- package/dist/types/TypedFunctionType.js.map +1 -0
- package/dist/types/TypedFunctionType.spec.d.ts +1 -0
- package/dist/types/TypedFunctionType.spec.js +122 -0
- package/dist/types/TypedFunctionType.spec.js.map +1 -0
- package/dist/types/UninitializedType.d.ts +8 -6
- package/dist/types/UninitializedType.js +15 -9
- package/dist/types/UninitializedType.js.map +1 -1
- package/dist/types/UnionType.d.ts +20 -0
- package/dist/types/UnionType.js +127 -0
- package/dist/types/UnionType.js.map +1 -0
- package/dist/types/UnionType.spec.d.ts +1 -0
- package/dist/types/UnionType.spec.js +129 -0
- package/dist/types/UnionType.spec.js.map +1 -0
- package/dist/types/VoidType.d.ts +10 -5
- package/dist/types/VoidType.js +20 -9
- 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 +144 -0
- package/dist/types/helper.spec.js.map +1 -0
- package/dist/types/helpers.d.ts +26 -0
- package/dist/types/helpers.js +191 -0
- package/dist/types/helpers.js.map +1 -0
- 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 +272 -117
- package/dist/util.js +1583 -343
- package/dist/util.js.map +1 -1
- package/dist/validators/ClassValidator.d.ts +9 -15
- package/dist/validators/ClassValidator.js +85 -138
- package/dist/validators/ClassValidator.js.map +1 -1
- package/package.json +174 -138
- package/dist/astUtils/index.d.ts +0 -7
- package/dist/astUtils/index.js +0 -26
- package/dist/astUtils/index.js.map +0 -1
- package/dist/lexer/index.d.ts +0 -3
- package/dist/lexer/index.js +0 -17
- package/dist/lexer/index.js.map +0 -1
- package/dist/parser/index.d.ts +0 -3
- package/dist/parser/index.js +0 -16
- package/dist/parser/index.js.map +0 -1
- package/dist/preprocessor/Chunk.d.ts +0 -82
- package/dist/preprocessor/Chunk.js +0 -77
- package/dist/preprocessor/Chunk.js.map +0 -1
- package/dist/preprocessor/Preprocessor.d.ts +0 -60
- package/dist/preprocessor/Preprocessor.js +0 -156
- package/dist/preprocessor/Preprocessor.js.map +0 -1
- package/dist/preprocessor/Preprocessor.spec.js +0 -152
- package/dist/preprocessor/Preprocessor.spec.js.map +0 -1
- package/dist/preprocessor/PreprocessorParser.d.ts +0 -61
- package/dist/preprocessor/PreprocessorParser.js +0 -194
- package/dist/preprocessor/PreprocessorParser.js.map +0 -1
- package/dist/preprocessor/PreprocessorParser.spec.js +0 -116
- package/dist/preprocessor/PreprocessorParser.spec.js.map +0 -1
- package/dist/preprocessor/index.d.ts +0 -3
- package/dist/preprocessor/index.js +0 -16
- package/dist/preprocessor/index.js.map +0 -1
- package/dist/types/CustomType.d.ts +0 -10
- package/dist/types/CustomType.js +0 -35
- package/dist/types/CustomType.js.map +0 -1
- package/dist/types/FunctionType.spec.js +0 -29
- package/dist/types/FunctionType.spec.js.map +0 -1
- package/dist/types/LazyType.d.ts +0 -15
- package/dist/types/LazyType.js +0 -32
- package/dist/types/LazyType.js.map +0 -1
- /package/dist/{preprocessor/Preprocessor.spec.d.ts → astUtils/CachedLookups.spec.d.ts} +0 -0
- /package/dist/{preprocessor/PreprocessorParser.spec.d.ts → astUtils/Editor.spec.d.ts} +0 -0
- /package/dist/{types/FunctionType.spec.d.ts → bscPlugin/completions/CompletionsProcessor.spec.d.ts} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -6,113 +6,1339 @@ 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.
|
|
10
|
-
[1.0.0-alpha.4]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.3...v1.0.0-alpha.4
|
|
9
|
+
## [1.0.0-alpha.40](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.39...v1.0.0-alpha.40) - 2024-10-19
|
|
11
10
|
### Added
|
|
12
|
-
-
|
|
11
|
+
- diagnostic if no return statement found in function ([#1299)](https://github.com/rokucommunity/brighterscript/pull/1299))
|
|
12
|
+
### Fixed
|
|
13
|
+
- hide annoying log messages ([#1332](https://github.com/rokucommunity/brighterscript/pull/1332))
|
|
14
|
+
- flag using outer namespaced function indirectly ([#1319)](https://github.com/rokucommunity/brighterscript/pull/1319))
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
## [1.0.0-alpha.39](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.38...v1.0.0-alpha.39) - 2024-10-03
|
|
19
|
+
### Fixed
|
|
20
|
+
- bslib prefix transpile bug ([#1317](https://github.com/rokucommunity/brighterscript/pull/1317))
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
## [1.0.0-alpha.38](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.37...v1.0.0-alpha.38) - 2024-10-01
|
|
25
|
+
### Added
|
|
26
|
+
- ability to omit the exception variable in bs files and convert exception var to an `Expression` ([#1305](https://github.com/rokucommunity/brighterscript/pull/1305))
|
|
27
|
+
### Fixed
|
|
28
|
+
- transpile issue with global functions ([#1314](https://github.com/rokucommunity/brighterscript/pull/1314))
|
|
29
|
+
- semantic tokens for components and interfaces and `m` ([#1313](https://github.com/rokucommunity/brighterscript/pull/1313))
|
|
30
|
+
- prevent a crash when `ClassType.name` is `undefined` ([#1312](https://github.com/rokucommunity/brighterscript/pull/1312))
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
|
|
34
|
+
## [1.0.0-alpha.37](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.36...v1.0.0-alpha.37) - 2024-09-25
|
|
35
|
+
### Added
|
|
36
|
+
- Support for types declared in comments ([#1293](https://github.com/rokucommunity/brighterscript/pull/1293))
|
|
37
|
+
### Changed
|
|
38
|
+
- Eliminate `FunctionExpression.functionStatement` ([#1287](https://github.com/rokucommunity/brighterscript/pull/1287))
|
|
39
|
+
- Merges `ExitForStatement` and `ExitWhileStatement` ([#1289](https://github.com/rokucommunity/brighterscript/pull/1289))
|
|
40
|
+
### Fixed
|
|
41
|
+
- Include missing transpiled comments ([#1278](https://github.com/rokucommunity/brighterscript/pull/1278))
|
|
42
|
+
- Tests and issues around transpiling variables that shadow stuff ([#1282](https://github.com/rokucommunity/brighterscript/pull/1282))
|
|
43
|
+
- Handles diagnostic with invalid location, and semantic tokens for unscoped file ([#1286](https://github.com/rokucommunity/brighterscript/pull/1286))
|
|
44
|
+
- Fix some null crashes ([#1304](https://github.com/rokucommunity/brighterscript/pull/1304))
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
|
|
48
|
+
## [1.0.0-alpha.36](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.35...v1.0.0-alpha.36) - 2024-08-09
|
|
49
|
+
### Fixed
|
|
50
|
+
- `m` should be typed as roAssociativeArray for all inline functions ([#1272](https://github.com/rokucommunity/brighterscript/pull/1272))
|
|
51
|
+
- Fixes namespace transpiling bug by linking scopes during transpile ([#1271](https://github.com/rokucommunity/brighterscript/pull/1271))
|
|
52
|
+
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
## [1.0.0-alpha.35](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.34...v1.0.0-alpha.35) - 2024-07-31
|
|
56
|
+
### Changed
|
|
57
|
+
- Remove `file` prop from `BsDiagnostic` ([#1248](https://github.com/rokucommunity/brighterscript/pull/1248))
|
|
58
|
+
### Fixed
|
|
59
|
+
- Ensures conditional compiltion blocks have proper validation segments ([#1267](https://github.com/rokucommunity/brighterscript/pull/1267))
|
|
60
|
+
- Allow variables and parameters to shadow namespaces ([#1263](https://github.com/rokucommunity/brighterscript/pull/1263))
|
|
61
|
+
- Ensure methods leading comments are transpiled above instance function def ([#1257](https://github.com/rokucommunity/brighterscript/pull/1257))
|
|
62
|
+
- Make absolute import completions use original extension ([#1266](https://github.com/rokucommunity/brighterscript/pull/1266))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
|
|
66
|
+
## [1.0.0-alpha.34](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.33...v1.0.0-alpha.34) - 2024-07-24
|
|
67
|
+
### Changed
|
|
68
|
+
- Export `Location` so it can be used directly in plugins ([#1236](https://github.com/rokucommunity/brighterscript/pull/1236))
|
|
69
|
+
- Removes `Parser.statements` ([#1239](https://github.com/rokucommunity/brighterscript/pull/1239))
|
|
70
|
+
- Sets a hard limit of number of scopes to check for completions ([#1244](https://github.com/rokucommunity/brighterscript/pull/1244))
|
|
71
|
+
### Fixed
|
|
72
|
+
- Fixes completions when file is used in multiple scopes ([#1238](https://github.com/rokucommunity/brighterscript/pull/1238))
|
|
73
|
+
- Fixes ifSystemLog and ifArraySlice docs ([#1250](https://github.com/rokucommunity/brighterscript/pull/1250))
|
|
74
|
+
|
|
75
|
+
|
|
76
|
+
|
|
77
|
+
## [1.0.0-alpha.33](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.32...v1.0.0-alpha.33) - 2024-06-14
|
|
78
|
+
### Added
|
|
79
|
+
- Adds messagePort methods to ifSocketAsync and MultiStyleLabel.drawing Styles ([#1220](https://github.com/rokucommunity/brighterscript/pull/1220))
|
|
80
|
+
- Allow updating leading trivia ([#1225](https://github.com/rokucommunity/brighterscript/pull/1225))
|
|
81
|
+
### Changed
|
|
82
|
+
- Remove block starting range ([#1224](https://github.com/rokucommunity/brighterscript/pull/1224))
|
|
83
|
+
- Removed isInline property from IfStatement ([#1227](https://github.com/rokucommunity/brighterscript/pull/1227))
|
|
84
|
+
- Made AstNode.getLeadingTrivia() a getter ([#1233](https://github.com/rokucommunity/brighterscript/pull/1233))
|
|
85
|
+
- Removed expectRangeToBe helper ([#1226](https://github.com/rokucommunity/brighterscript/pull/1226))
|
|
86
|
+
- Convert .range to .location ([#1231](https://github.com/rokucommunity/brighterscript/pull/1231))
|
|
87
|
+
### Fixed
|
|
88
|
+
- Fixes issue with setting roSGNodeTargetSet.targetRects ([#1223](https://github.com/rokucommunity/brighterscript/pull/1223))
|
|
89
|
+
|
|
90
|
+
|
|
91
|
+
|
|
92
|
+
## [1.0.0-alpha.32](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.31...v1.0.0-alpha.32) - 2024-06-05
|
|
93
|
+
### Fixed
|
|
94
|
+
- Elevate `thenby` to a prod dependency ([#1217](https://github.com/rokucommunity/brighterscript/pull/1217))
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
|
|
98
|
+
## [1.0.0-alpha.31](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.30...v1.0.0-alpha.31) - 2024-06-04
|
|
99
|
+
### Added
|
|
100
|
+
- Adds AugmentedAssignmentStatement ([#1196](https://github.com/rokucommunity/brighterscript/pull/1196))
|
|
101
|
+
- Visualize deprecated items in editor ([#1213](https://github.com/rokucommunity/brighterscript/pull/1213))
|
|
102
|
+
### Changed
|
|
103
|
+
- Temporarily disable test-related-projects until they support v1 ([#1202](https://github.com/rokucommunity/brighterscript/pull/1202))
|
|
104
|
+
- Validate single scope ([#1123](https://github.com/rokucommunity/brighterscript/pull/1123))
|
|
105
|
+
- Removes 'duplicate enum' diagnostic and makes 'duplicate function' diagnostics better ([#1212](https://github.com/rokucommunity/brighterscript/pull/1212))
|
|
106
|
+
### Fixed
|
|
107
|
+
- Fixes some issues with comments and transpilation ([#1192](https://github.com/rokucommunity/brighterscript/pull/1192))
|
|
108
|
+
- Component field can be set with strings ([#1195](https://github.com/rokucommunity/brighterscript/pull/1195))
|
|
109
|
+
- Fix semantic token crash ([#1197](https://github.com/rokucommunity/brighterscript/pull/1197))
|
|
110
|
+
- Fix namespace crash ([#1201](https://github.com/rokucommunity/brighterscript/pull/1201))
|
|
111
|
+
- Document the deprecated ifMessagePort.setPort() method. ([#1210](https://github.com/rokucommunity/brighterscript/pull/1210))
|
|
112
|
+
- Refines ScopeValidator Diagnostics to use more specific Diagnostic tags ([#1211](https://github.com/rokucommunity/brighterscript/pull/1211))
|
|
113
|
+
- Fixes issue with enums in namespaces ([#1216](https://github.com/rokucommunity/brighterscript/pull/1216))
|
|
114
|
+
|
|
115
|
+
|
|
116
|
+
|
|
117
|
+
## [1.0.0-alpha.30](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.29...v1.0.0-alpha.30) - 2024-05-16
|
|
118
|
+
### Added
|
|
119
|
+
- alias completions ([#1188](https://github.com/rokucommunity/brighterscript/pull/1188))
|
|
120
|
+
- the isInstance flag on symbol extra data for when a symbol represents an instance of a type ([#1187](https://github.com/rokucommunity/brighterscript/pull/1187))
|
|
121
|
+
- Conditional Compilation Statements to the AST ([#1149](https://github.com/rokucommunity/brighterscript/pull/1149))
|
|
122
|
+
- extra DiagnosticManager.register() overload ([#1185](https://github.com/rokucommunity/brighterscript/pull/1185))
|
|
123
|
+
- AstNode.getEndTrivia ([#1184](https://github.com/rokucommunity/brighterscript/pull/1184))
|
|
124
|
+
- `roSGNode` `Update()` overload ([#1173](https://github.com/rokucommunity/brighterscript/pull/1173))
|
|
125
|
+
- `roSgNodeContentNode` fields ([#1159](https://github.com/rokucommunity/brighterscript/pull/1159))
|
|
126
|
+
- AstNode visitor function for createVisitor ([#1138](https://github.com/rokucommunity/brighterscript/pull/1138))
|
|
127
|
+
- `Alias` Statement ([#1151](https://github.com/rokucommunity/brighterscript/pull/1151))
|
|
128
|
+
- `typecast m as <Type>` statement ([#1140](https://github.com/rokucommunity/brighterscript/pull/1140))
|
|
129
|
+
### Fixed
|
|
130
|
+
- allows numbers to be passed to a function that takes a bool ([#1179](https://github.com/rokucommunity/brighterscript/pull/1179))
|
|
131
|
+
- several lsp crashes for v1 ([#1175](https://github.com/rokucommunity/brighterscript/pull/1175))
|
|
132
|
+
- crash when diagnostic is missing range ([#1174](https://github.com/rokucommunity/brighterscript/pull/1174))
|
|
133
|
+
- union type issues with unknown members ([#1170](https://github.com/rokucommunity/brighterscript/pull/1170))
|
|
134
|
+
- formatting with logger output ([#1171](https://github.com/rokucommunity/brighterscript/pull/1171))
|
|
135
|
+
- hovers on LHS of assignments do symbol type lookups ([#1165](https://github.com/rokucommunity/brighterscript/pull/1165))
|
|
136
|
+
- includes in self closing components ([#1150](https://github.com/rokucommunity/brighterscript/pull/1150))
|
|
137
|
+
### Changed
|
|
138
|
+
- move function calls to separate diagnostic ([#1169](https://github.com/rokucommunity/brighterscript/pull/1169))
|
|
139
|
+
- all overloaded methods in interfaces from Scraped Roku docs ([#1163](https://github.com/rokucommunity/brighterscript/pull/1163))
|
|
140
|
+
- Fixes issue with defualt params referencing previous ones ([#1161](https://github.com/rokucommunity/brighterscript/pull/1161))
|
|
141
|
+
- fix: resolve the stagingDir option relative to the bsconfig.json file ([#1148](https://github.com/rokucommunity/brighterscript/pull/1148))
|
|
142
|
+
- `CreateObject` function call implies correct return type ([#1154](https://github.com/rokucommunity/brighterscript/pull/1154))
|
|
143
|
+
- diagnostics refactor: DiagnosticManager ([#1136](https://github.com/rokucommunity/brighterscript/pull/1136))
|
|
144
|
+
- revert range and column caching ([#1147](https://github.com/rokucommunity/brighterscript/pull/1147))
|
|
145
|
+
- Fixes CompletionItemKinds for typed variables ([#1145](https://github.com/rokucommunity/brighterscript/pull/1145))
|
|
146
|
+
- typecast symbols are not merged to other namespaces ([#1144](https://github.com/rokucommunity/brighterscript/pull/1144))
|
|
147
|
+
- removes diagnostic on accessing unknown member of roAssociativeArray ([#1143](https://github.com/rokucommunity/brighterscript/pull/1143))
|
|
148
|
+
- upgrade to @rokucommunity/logger ([#1137](https://github.com/rokucommunity/brighterscript/pull/1137))
|
|
149
|
+
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
## [1.0.0-alpha.29](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.28...v1.0.0-alpha.29) - 2024-03-28
|
|
153
|
+
### Fixed
|
|
154
|
+
- transpile crash when token has no text ([#1109](https://github.com/rokucommunity/brighterscript/pull/1109))
|
|
155
|
+
- array type in const ([#1111](https://github.com/rokucommunity/brighterscript/pull/1111))
|
|
156
|
+
- more validation performance ([#1110](https://github.com/rokucommunity/brighterscript/pull/1110))
|
|
157
|
+
- significant validation improvement ([#1119](https://github.com/rokucommunity/brighterscript/pull/1119))
|
|
158
|
+
- fix bug in range and position caching ([#1126](https://github.com/rokucommunity/brighterscript/pull/1126))
|
|
159
|
+
|
|
160
|
+
|
|
161
|
+
|
|
162
|
+
## [1.0.0-alpha.28](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.27...v1.0.0-alpha.28) - 2024-03-13
|
|
163
|
+
### Added
|
|
164
|
+
- type to const hovers and adds hover for for-each loop vars ([#1092](https://github.com/rokucommunity/brighterscript/pull/1092))
|
|
165
|
+
### Changed
|
|
166
|
+
- formal support for various variable and name shadowing rules ([#1089](https://github.com/rokucommunity/brighterscript/pull/1089))
|
|
167
|
+
- improve message for empty throw statements ([#1099](https://github.com/rokucommunity/brighterscript/pull/1099))
|
|
168
|
+
- move scope.validate() into BscPlugin ([#1105](https://github.com/rokucommunity/brighterscript/pull/1105))
|
|
169
|
+
- remove `CommentStatement` and all comment tokens from Lexer output ([#1083](https://github.com/rokucommunity/brighterscript/pull/1083))
|
|
170
|
+
### Fixed
|
|
171
|
+
- 'm' type is now AssocArray in function in AALiteral ([#1097](https://github.com/rokucommunity/brighterscript/pull/1097))
|
|
172
|
+
- ensure SymbolTypeFlag is exported from ./index.ts ([#1094](https://github.com/rokucommunity/brighterscript/pull/1094))
|
|
173
|
+
- diagnostic when using variable declared with unknown type ([#1098](https://github.com/rokucommunity/brighterscript/pull/1098))
|
|
174
|
+
- issue with bitwise binary operators ([#1107](https://github.com/rokucommunity/brighterscript/pull/1107))
|
|
175
|
+
- issue with AA overriding built-in properties ([#1106](https://github.com/rokucommunity/brighterscript/pull/1106))
|
|
176
|
+
- classname as variable for completions and validations ([#1096](https://github.com/rokucommunity/brighterscript/pull/1096))
|
|
177
|
+
|
|
178
|
+
|
|
179
|
+
|
|
180
|
+
## [1.0.0-alpha.27](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.26...v1.0.0-alpha.27) - 2024-02-27
|
|
181
|
+
### Added
|
|
182
|
+
- Validation when trying to access a class member directly on a class name ([#1073](https://github.com/rokucommunity/brighterscript/pull/1073))
|
|
183
|
+
### Changed
|
|
184
|
+
- Make All AST Props Readonly ([#1069](https://github.com/rokucommunity/brighterscript/pull/1069))
|
|
185
|
+
- Modifies all SG AST constructors to use named properties in objects ([#1070](https://github.com/rokucommunity/brighterscript/pull/1070))
|
|
186
|
+
### Fixed
|
|
187
|
+
- If a namespace shadows a function, still allow processing to continue ([#1063](https://github.com/rokucommunity/brighterscript/pull/1063))
|
|
188
|
+
- Simplify the plugin method signatures. ([#1067](https://github.com/rokucommunity/brighterscript/pull/1067))
|
|
189
|
+
- Add rsgpalette to scraped docs ([#1065](https://github.com/rokucommunity/brighterscript/pull/1065))
|
|
190
|
+
- Member hovers for classes, interfaces and enums ([#1071](https://github.com/rokucommunity/brighterscript/pull/1071))
|
|
191
|
+
- Calling `new` on a non-class constructor ([#1075](https://github.com/rokucommunity/brighterscript/pull/1075))
|
|
192
|
+
- Bad diagnostic on using class name as field name ([#1076](https://github.com/rokucommunity/brighterscript/pull/1076))
|
|
193
|
+
|
|
194
|
+
|
|
195
|
+
|
|
196
|
+
## [1.0.0-alpha.26](https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.25...v1.0.0-alpha.26) - 2024-02-01
|
|
197
|
+
### Changed
|
|
198
|
+
- Built-in Objects have their interfaces as members ([#1039](https://github.com/rokucommunity/brighterscript/pull/1039))
|
|
199
|
+
- Do not do validation on dotted sets of AAs ([#1040](https://github.com/rokucommunity/brighterscript/pull/1040))
|
|
200
|
+
- Changed adding invalid as arg to empty callfunc invocations by default ([#1043](https://github.com/rokucommunity/brighterscript/pull/1043))
|
|
201
|
+
- Standardize AST Constructors ([#1025)](https://github.com/rokucommunity/brighterscript/pull/1025))
|
|
202
|
+
- Change Dotted Get/Set to single .indexes prop ([#1054](https://github.com/rokucommunity/brighterscript/pull/1054))
|
|
203
|
+
|
|
204
|
+
|
|
205
|
+
|
|
206
|
+
## [1.0.0-alpha.25](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.11...v1.0.0-alpha.25) - 2024-01-25
|
|
207
|
+
### Changed
|
|
208
|
+
- renamed these releases to `v1.0.0-alpha.*`, which means we are now targeting a `v1.0.0` release
|
|
209
|
+
- Remove `Parser.references` ([#1021](https://github.com/rokucommunity/brighterscript/pull/1021))
|
|
210
|
+
- Fixes Compatibility checks for types defined recursively. ([#1015](https://github.com/rokucommunity/brighterscript/pull/1015))
|
|
211
|
+
- Renamed File interface to BscFile #1013
|
|
212
|
+
- Fix cross namespace collision detection ([#1008](https://github.com/rokucommunity/brighterscript/pull/1008))
|
|
213
|
+
- XML fields of type color can accept strings or integers ([#1016](https://github.com/rokucommunity/brighterscript/pull/1016))
|
|
214
|
+
- Updates the Member types for Component Fields ([#1014](https://github.com/rokucommunity/brighterscript/pull/1014))
|
|
215
|
+
- Adds missing Completion Items ([#1009](https://github.com/rokucommunity/brighterscript/pull/1009))
|
|
216
|
+
- Adds missing Completion Items ([#1009](https://github.com/rokucommunity/brighterscript/pull/1009))
|
|
217
|
+
- Adds a findChildren function on AstNode ([#1010](https://github.com/rokucommunity/brighterscript/pull/1010))
|
|
218
|
+
- Adds Diagnostics for Member Accessibility ([#1004](https://github.com/rokucommunity/brighterscript/pull/1004))
|
|
219
|
+
- Fixes transpiles of Typecasts wrapped in parens ([#998](https://github.com/rokucommunity/brighterscript/pull/998))
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
|
|
223
|
+
## [0.66.0-alpha.11](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.10...v0.66.0-alpha.11) - 2023-12-21
|
|
224
|
+
### Changed
|
|
225
|
+
- Make `roSGNode` and `roSGNodeNode` the same ([#984](https://github.com/rokucommunity/brighterscript/pull/984))
|
|
226
|
+
### Fixed
|
|
227
|
+
- Scope validation crash ([#991](https://github.com/rokucommunity/brighterscript/pull/991))
|
|
228
|
+
- Namespace validation crash ([#989](https://github.com/rokucommunity/brighterscript/pull/989))
|
|
229
|
+
|
|
230
|
+
|
|
231
|
+
|
|
232
|
+
## [0.66.0-alpha.10](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.9...v0.66.0-alpha.10) - 2023-12-07
|
|
233
|
+
### Fixed
|
|
234
|
+
- class constructor used as function transpilation and validation ([#972](https://github.com/rokucommunity/brighterscript/pull/972))
|
|
235
|
+
- exception when given unknown type ([#983](https://github.com/rokucommunity/brighterscript/pull/983))
|
|
236
|
+
### Changed
|
|
237
|
+
- classes do not include AA members ([#970](https://github.com/rokucommunity/brighterscript/pull/970))
|
|
238
|
+
- remove post-transpiled symbols from .bs code completion ([#979](https://github.com/rokucommunity/brighterscript/pull/979))
|
|
239
|
+
- general purpose name collision diagnostic ([#982](https://github.com/rokucommunity/brighterscript/pull/982))
|
|
240
|
+
|
|
241
|
+
|
|
242
|
+
|
|
243
|
+
## [0.66.0-alpha.9](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.8...v0.66.0-alpha.9) - 2023-11-28
|
|
244
|
+
### Fixed
|
|
245
|
+
- removed `v8-profiler-next` package as a dependency (it'll be installed on-demand) ([#1287a5d](https://github.com/rokucommunity/brighterscript/commits/1287a5d7628c0e3ae3154697dfa4d12df5d7e96a))
|
|
246
|
+
|
|
247
|
+
|
|
248
|
+
|
|
249
|
+
## [0.66.0-alpha.8](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.7...v0.66.0-alpha.8) - 2023-11-27
|
|
250
|
+
### Added
|
|
251
|
+
- Interface optional properties ([#946](https://github.com/rokucommunity/brighterscript/pull/946))
|
|
252
|
+
- ifDraw2d to reRegion interface ([#960](https://github.com/rokucommunity/brighterscript/pull/960))
|
|
253
|
+
### Changed
|
|
254
|
+
- cache `range` and `position` to improve performance ([#940](https://github.com/rokucommunity/brighterscript/pull/940))
|
|
255
|
+
- changes to make use with Plugins easier ([#959](https://github.com/rokucommunity/brighterscript/pull/959))
|
|
256
|
+
### Fixed
|
|
257
|
+
- parsing order for `not` keyword ([#932](https://github.com/rokucommunity/brighterscript/pull/932))
|
|
258
|
+
- class fields using constructors not transpiling correctly ([#933](https://github.com/rokucommunity/brighterscript/pull/933))
|
|
259
|
+
- performance fixes ([#936](https://github.com/rokucommunity/brighterscript/pull/936))
|
|
260
|
+
- validation Performance: File level providedSymbols and `requiredSymbols` ([#944](https://github.com/rokucommunity/brighterscript/pull/944))
|
|
261
|
+
- interface & class support for go-to-definition ([#948](https://github.com/rokucommunity/brighterscript/pull/948))
|
|
262
|
+
- fixes using Enums directly in namespaced situations ([#949](https://github.com/rokucommunity/brighterscript/pull/949))
|
|
263
|
+
- completion performance ([#958](https://github.com/rokucommunity/brighterscript/pull/958))
|
|
264
|
+
- param order for AST class constructors for interface/class members ([#954](https://github.com/rokucommunity/brighterscript/pull/954))
|
|
265
|
+
|
|
266
|
+
|
|
267
|
+
|
|
268
|
+
## [0.66.0-alpha.7](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.6...v0.66.0-alpha.7) - 2023-10-16
|
|
269
|
+
### Changed
|
|
270
|
+
- 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)
|
|
271
|
+
- Better multi-scope messages ([#904](https://github.com/rokucommunity/brighterscript/pull/904))
|
|
272
|
+
- Refine type compatibility message ([#908](https://github.com/rokucommunity/brighterscript/pull/908))
|
|
273
|
+
- Allow classes and native components in Typed Arrays ([#919](https://github.com/rokucommunity/brighterscript/pull/919))
|
|
274
|
+
- Fixes some enum validation stuff ([#920](https://github.com/rokucommunity/brighterscript/pull/920))
|
|
275
|
+
- Fixes compatibility of built in types (roArray -> typed arrays) ([#925](https://github.com/rokucommunity/brighterscript/pull/925))
|
|
276
|
+
- Semantic Tokes for Native Components and Type completion in Type Expressions ([#927](https://github.com/rokucommunity/brighterscript/pull/927))
|
|
277
|
+
- Adds callFunc as member method to Custom Components ([#929](https://github.com/rokucommunity/brighterscript/pull/929))
|
|
278
|
+
- Allows scrape-roku-docs to consolidate overloaded methods ([#930](https://github.com/rokucommunity/brighterscript/pull/930))
|
|
279
|
+
- File api ([#408](https://github.com/rokucommunity/brighterscript/pull/408))
|
|
280
|
+
|
|
281
|
+
|
|
282
|
+
|
|
283
|
+
## [0.66.0-alpha.6](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.5...v0.66.0-alpha.6) - 2023-09-20
|
|
284
|
+
### Changed
|
|
285
|
+
- Validates DottedSetStatements for type compatibility ([#894](https://github.com/rokucommunity/brighterscript/pull/894))
|
|
286
|
+
- Adds Native Brightscript Component Types and Custom Components (Nodes) to Type System ([#891](https://github.com/rokucommunity/brighterscript/pull/891))
|
|
287
|
+
- Adds validation for binary operators ([#896](https://github.com/rokucommunity/brighterscript/pull/896))
|
|
288
|
+
- Fix union type unary operations and Array.sort(by) optional params ([#897](https://github.com/rokucommunity/brighterscript/pull/897))
|
|
289
|
+
- Interface param support ([#900](https://github.com/rokucommunity/brighterscript/pull/900))
|
|
290
|
+
- Fixes issues with Interface validations, and adds extra details about missing or mismatches members ([#901](https://github.com/rokucommunity/brighterscript/pull/901))
|
|
291
|
+
- Fix isLiteralInvalid ([#902](https://github.com/rokucommunity/brighterscript/pull/902))
|
|
292
|
+
|
|
293
|
+
|
|
294
|
+
|
|
295
|
+
## [0.66.0-alpha.5](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.4...v0.66.0-alpha.5) - 2023-09-14
|
|
296
|
+
### Changed
|
|
297
|
+
- all changes from [v0.65.5](https://github.com/rokucommunity/brighterscript/compare/v0.65.4...v0.65.5)
|
|
298
|
+
- Type casts are not allowed in BrightScript ([#859](https://github.com/rokucommunity/brighterscript/pull/859))
|
|
299
|
+
- Fixes small hover issues ([#860](https://github.com/rokucommunity/brighterscript/pull/860))
|
|
300
|
+
- Fixes ReferenceTypes in Binary Operations & UnionTypes as args ([#858](https://github.com/rokucommunity/brighterscript/pull/858))
|
|
301
|
+
- Refactor completion logic ([#864](https://github.com/rokucommunity/brighterscript/pull/864))
|
|
302
|
+
- Fix built in methods parameter types ([#866](https://github.com/rokucommunity/brighterscript/pull/866))
|
|
303
|
+
- Fixes types on call expression info class ([#877](https://github.com/rokucommunity/brighterscript/pull/877))
|
|
304
|
+
- Adds Return type validation ([#876](https://github.com/rokucommunity/brighterscript/pull/876))
|
|
305
|
+
- Adds Typed Arrays ([#875](https://github.com/rokucommunity/brighterscript/pull/875))
|
|
306
|
+
- Use Symbol Tables for Completions ([#874](https://github.com/rokucommunity/brighterscript/pull/874))
|
|
307
|
+
- Adds Leading Trivia to all tokens ([#885](https://github.com/rokucommunity/brighterscript/pull/885))
|
|
308
|
+
- Adds built in Interfaces to primitive types & Validates class method calls ([#856](https://github.com/rokucommunity/brighterscript/pull/856))
|
|
309
|
+
|
|
310
|
+
|
|
311
|
+
|
|
312
|
+
## [0.66.0-alpha.4](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.3...v0.66.0-alpha.4) - 2023-07-26
|
|
313
|
+
### Changed
|
|
314
|
+
- all changes from [v0.65.4](https://github.com/rokucommunity/brighterscript/compare/v0.65.3...v0.65.4)
|
|
315
|
+
### Fixes
|
|
316
|
+
- assignment from return of member functions of primitive types ([#855](https://github.com/rokucommunity/brighterscript/pull/855))
|
|
317
|
+
- using invalid as a default param value (now sets type to dynamic) ([#855](https://github.com/rokucommunity/brighterscript/pull/855))
|
|
318
|
+
- missing `Roku_Event_Dispatcher()` global callable (from library `Roku_Event_Dispatcher.brs`) ([#855](https://github.com/rokucommunity/brighterscript/pull/855))
|
|
319
|
+
- `FormatJson()` function signature ([#855](https://github.com/rokucommunity/brighterscript/pull/855))
|
|
320
|
+
|
|
321
|
+
|
|
322
|
+
|
|
323
|
+
## [0.66.0-alpha.3](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.2...v0.66.0-alpha.3) - 2023-07-24
|
|
324
|
+
## Fixed
|
|
325
|
+
- performance fixes ([#834](https://github.com/rokucommunity/brighterscript/pull/834))
|
|
326
|
+
- remove enable type validation option ([#846](https://github.com/rokucommunity/brighterscript/pull/846))
|
|
327
|
+
- BinaryExpression and UnaryExpression infer resultant types ([#827](https://github.com/rokucommunity/brighterscript/pull/827))
|
|
328
|
+
- improve hover to use symbol tables ([#828](https://github.com/rokucommunity/brighterscript/pull/828))
|
|
329
|
+
- fix issue with enums not being properly treated as their underlying types when passed to functions ([#849](https://github.com/rokucommunity/brighterscript/pull/849))
|
|
330
|
+
- object type wider support ([#850](https://github.com/rokucommunity/brighterscript/pull/850))
|
|
331
|
+
- functions as params ([#853](https://github.com/rokucommunity/brighterscript/pull/853))
|
|
332
|
+
|
|
333
|
+
|
|
334
|
+
|
|
335
|
+
## [0.66.0-alpha.2](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.1...v0.66.0-alpha.2) - 2023-06-14
|
|
336
|
+
### Fixed
|
|
337
|
+
- Fixes some issues related to Classes as Properties and Consts validation ([#826](https://github.com/rokucommunity/brighterscript/pull/826))
|
|
338
|
+
- Fixes when a Class is a Property of another class, and being unable to resolve it
|
|
339
|
+
- Fixes issue with Consts value looking at a typetime value of the RHS
|
|
340
|
+
- Does a better job of caching symbol lookups on memberTables
|
|
341
|
+
|
|
342
|
+
|
|
343
|
+
|
|
344
|
+
## [0.66.0-alpha.1](https://github.com/rokucommunity/brighterscript/compare/v0.66.0-alpha.0...v0.66.0-alpha.1) - 2023-06-11
|
|
345
|
+
### Changed
|
|
346
|
+
- plugin event structures (all events now take a single event object instead of ordered params)
|
|
347
|
+
### Fixed
|
|
348
|
+
- bugs with namespaces across files having their members missing during validation
|
|
349
|
+
|
|
350
|
+
|
|
351
|
+
|
|
352
|
+
## [0.66.0-alpha.0](https://github.com/rokucommunity/brighterscript/compare/v0.65.1...v0.66.0-alpha.0) - 2023-06-09
|
|
353
|
+
### Changed
|
|
354
|
+
- all the type tracking stuff!
|
|
355
|
+
## [0.67.8](https://github.com/rokucommunity/brighterscript/compare/v0.67.7...v0.67.8) - 2024-10-18
|
|
356
|
+
### Changed
|
|
357
|
+
- upgrade to [roku-deploy@3.12.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3122---2024-10-18). Notable changes since 3.12.1:
|
|
358
|
+
- fixes #175 - updated regex to find a signed package on `/plugin_package` page ([roku-deploy#176](https://github.com/rokucommunity/roku-deploy/pull/176))
|
|
359
|
+
### Fixed
|
|
360
|
+
- namespace-relative transpile bug for standalone file ([#1324](https://github.com/rokucommunity/brighterscript/pull/1324))
|
|
361
|
+
- Prevent crash when `ProgramBuilder.run` called with no options ([#1316](https://github.com/rokucommunity/brighterscript/pull/1316))
|
|
362
|
+
|
|
363
|
+
|
|
364
|
+
|
|
365
|
+
## [0.67.7](https://github.com/rokucommunity/brighterscript/compare/v0.67.6...v0.67.7) - 2024-09-25
|
|
366
|
+
### Changed
|
|
367
|
+
- Ast node clone ([#1281](https://github.com/rokucommunity/brighterscript/pull/1281))
|
|
368
|
+
|
|
369
|
+
|
|
370
|
+
|
|
371
|
+
## [0.67.6](https://github.com/rokucommunity/brighterscript/compare/v0.67.5...v0.67.6) - 2024-09-05
|
|
372
|
+
### Added
|
|
373
|
+
- support for `roIntrinsicDouble` ([#1291](https://github.com/rokucommunity/brighterscript/pull/1291))
|
|
374
|
+
- support for resolving `sourceRoot` at time of config load ([#1290](https://github.com/rokucommunity/brighterscript/pull/1290))
|
|
375
|
+
### Changed
|
|
376
|
+
- document plugin naming convention ([#1284](https://github.com/rokucommunity/brighterscript/pull/1284))
|
|
377
|
+
|
|
378
|
+
|
|
379
|
+
|
|
380
|
+
## [0.67.5](https://github.com/rokucommunity/brighterscript/compare/v0.67.4...v0.67.5) - 2024-07-31
|
|
381
|
+
### Fixed
|
|
382
|
+
- templatestring support for `annotation.getArguments()` ([#1264](https://github.com/rokucommunity/brighterscript/pull/1264))
|
|
383
|
+
|
|
384
|
+
|
|
385
|
+
|
|
386
|
+
## [0.67.4](https://github.com/rokucommunity/brighterscript/compare/v0.67.3...v0.67.4) - 2024-07-24
|
|
387
|
+
### Changed
|
|
388
|
+
- upgrade to [roku-deploy@3.12.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3121---2024-07-19). Notable changes since 3.12.0:
|
|
389
|
+
- Fix bug with absolute paths and getDestPath ([roku-deploy#171](https://github.com/rokucommunity/roku-deploy/pull/171))
|
|
390
|
+
|
|
391
|
+
|
|
392
|
+
|
|
393
|
+
## [0.67.3](https://github.com/rokucommunity/brighterscript/compare/v0.67.2...v0.67.3) - 2024-06-14
|
|
394
|
+
### Changed
|
|
395
|
+
- Flag using devDependency in production code ([#1222](https://github.com/rokucommunity/brighterscript/pull/1222))
|
|
396
|
+
### Fixed
|
|
397
|
+
- Fix crash with missing scope ([#1234](https://github.com/rokucommunity/brighterscript/pull/1234))
|
|
398
|
+
- fix: conform bsconfig.schema.json to strict types ([#1205](https://github.com/rokucommunity/brighterscript/pull/1205))
|
|
399
|
+
|
|
400
|
+
|
|
401
|
+
|
|
402
|
+
## [0.67.2](https://github.com/rokucommunity/brighterscript/compare/v0.67.1...v0.67.2) - 2024-06-03
|
|
403
|
+
### Changed
|
|
404
|
+
- Fix crash with optional chaining in signature help ([#1207](https://github.com/rokucommunity/brighterscript/pull/1207))
|
|
405
|
+
|
|
406
|
+
|
|
407
|
+
|
|
408
|
+
## [0.67.1](https://github.com/rokucommunity/brighterscript/compare/v0.67.0...v0.67.1) - 2024-05-16
|
|
409
|
+
### Fixed
|
|
410
|
+
- remove ascii color chars in language server logs ([#1189](https://github.com/rokucommunity/brighterscript/pull/1189))
|
|
411
|
+
- crash when diagnostic is missing range ([#1174](https://github.com/rokucommunity/brighterscript/pull/1174))
|
|
412
|
+
|
|
413
|
+
|
|
414
|
+
|
|
415
|
+
## [0.67.0](https://github.com/rokucommunity/brighterscript/compare/v0.65.27...v0.67.0) - 2024-05-10
|
|
416
|
+
### Changed
|
|
417
|
+
- Fix formatting with logger output ([#1171](https://github.com/rokucommunity/brighterscript/pull/1171))
|
|
418
|
+
- Move function calls to separate diagnostic ([#1169](https://github.com/rokucommunity/brighterscript/pull/1169))
|
|
419
|
+
- resolve the stagingDir option relative to the bsconfig.json file ([#1148](https://github.com/rokucommunity/brighterscript/pull/1148))
|
|
420
|
+
- Upgrade to @rokucommunity/logger ([#1137](https://github.com/rokucommunity/brighterscript/pull/1137))
|
|
421
|
+
|
|
422
|
+
|
|
423
|
+
|
|
424
|
+
## 0.66.0
|
|
425
|
+
This release was skipped because we decided to change from the v0.66 alphas to move those breaking changes into v1.
|
|
426
|
+
|
|
427
|
+
|
|
428
|
+
|
|
429
|
+
## [0.65.27](https://github.com/rokucommunity/brighterscript/compare/v0.65.26...v0.65.27) - 2024-03-27
|
|
430
|
+
### Added
|
|
431
|
+
- Plugin hook provide workspace symbol ([#1118](https://github.com/rokucommunity/brighterscript/pull/1118))
|
|
432
|
+
- Plugin hook for documentSymbol ([#1116](https://github.com/rokucommunity/brighterscript/pull/1116))
|
|
433
|
+
### Changed
|
|
434
|
+
- Upgade LSP packages ([#1117](https://github.com/rokucommunity/brighterscript/pull/1117))
|
|
435
|
+
### Fixed
|
|
436
|
+
- Improve workspace/document symbol handling ([#1120](https://github.com/rokucommunity/brighterscript/pull/1120))
|
|
437
|
+
- Increase max param count diagnostic to 63 ([#1112](https://github.com/rokucommunity/brighterscript/pull/1112))
|
|
438
|
+
|
|
439
|
+
|
|
440
|
+
|
|
441
|
+
## [0.65.26](https://github.com/rokucommunity/brighterscript/compare/v0.65.25...v0.65.26) - 2024-03-13
|
|
442
|
+
### Fixed
|
|
443
|
+
- Prevent unused variable warnings on transpiled ternary and null coalescence expressions ([#1101](https://github.com/rokucommunity/brighterscript/pull/1101))
|
|
444
|
+
|
|
445
|
+
|
|
446
|
+
|
|
447
|
+
## [0.65.25](https://github.com/rokucommunity/brighterscript/compare/v0.65.24...v0.65.25) - 2024-03-07
|
|
448
|
+
### Added
|
|
449
|
+
- Allow negative patterns in diagnostic filters ([#1078](https://github.com/rokucommunity/brighterscript/pull/1078))
|
|
450
|
+
- Support when tokens have null ranges ([#1072](https://github.com/rokucommunity/brighterscript/pull/1072))
|
|
451
|
+
- Support whitespace in conditional compile keywords ([#1090](https://github.com/rokucommunity/brighterscript/pull/1090))
|
|
452
|
+
### Changed
|
|
453
|
+
- Add `create-test-package` command for easier tgz testing ([#1088](https://github.com/rokucommunity/brighterscript/pull/1088))
|
|
454
|
+
- Bump ip from 2.0.0 to 2.0.1 in /benchmarks ([#1079](https://github.com/rokucommunity/brighterscript/pull/1079))
|
|
455
|
+
- Reduce null safety issues in Statement and Expression subclasses ([#1033](https://github.com/rokucommunity/brighterscript/pull/1033))
|
|
456
|
+
|
|
457
|
+
|
|
458
|
+
|
|
459
|
+
## [0.65.24](https://github.com/rokucommunity/brighterscript/compare/v0.65.23...v0.65.24) - 2024-03-01
|
|
460
|
+
### Changed
|
|
461
|
+
- upgrade to [roku-deploy@3.12.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3120---2024-03-01). Notable changes since 3.11.3:
|
|
462
|
+
- Support overriding various package upload form data ([roku-deploy#136](https://github.com/rokucommunity/roku-deploy/pull/136))
|
|
463
|
+
|
|
464
|
+
|
|
465
|
+
|
|
466
|
+
## [0.65.23](https://github.com/rokucommunity/brighterscript/compare/v0.65.22...v0.65.23) - 2024-02-29
|
|
467
|
+
### Changed
|
|
468
|
+
- upgrade to [roku-deploy@3.11.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#3113---2024-02-29). Notable changes since 3.11.2:
|
|
469
|
+
- Retry the convertToSquahsfs request given the HPE_INVALID_CONSTANT error ([roku-deploy#145](https://github.com/rokucommunity/roku-deploy/pull/145))
|
|
470
|
+
### Fixed
|
|
471
|
+
- empty interfaces break the parser ([#1082](https://github.com/rokucommunity/brighterscript/pull/1082))
|
|
472
|
+
|
|
473
|
+
|
|
474
|
+
## [0.65.22](https://github.com/rokucommunity/brighterscript/compare/v0.65.21...0.65.22) - 2024-02-09
|
|
475
|
+
### Added
|
|
476
|
+
- support for `provideReferences` in plugins ([#1066](https://github.com/rokucommunity/brighterscript/pull/1066))
|
|
477
|
+
- allow v1 syntax: built-in types for class member types and type declarations on lhs ([#1059](https://github.com/rokucommunity/brighterscript/pull/1059))
|
|
478
|
+
### Changed
|
|
479
|
+
- fix sourcemap comment and add `file` prop to map ([#1064](https://github.com/rokucommunity/brighterscript/pull/1064))
|
|
480
|
+
- move `coveralls-next` to a devDependency since it's not needed at runtime ([#1051](https://github.com/rokucommunity/brighterscript/pull/1051))
|
|
481
|
+
|
|
482
|
+
|
|
483
|
+
|
|
484
|
+
## [0.65.21](https://github.com/rokucommunity/brighterscript/compare/v0.65.20...v0.65.21) - 2024-01-31
|
|
485
|
+
### Fixed
|
|
486
|
+
- parsing issues with multi-index IndexedSet and IndexedGet ([#1050](https://github.com/rokucommunity/brighterscript/pull/1050))
|
|
487
|
+
|
|
488
|
+
|
|
489
|
+
|
|
490
|
+
## [0.65.20](https://github.com/rokucommunity/brighterscript/compare/v0.65.19...v0.65.20) - 2024-01-30
|
|
491
|
+
### Added
|
|
492
|
+
- plugin hooks for getDefinition ([#1045](https://github.com/rokucommunity/brighterscript/pull/1045))
|
|
493
|
+
|
|
494
|
+
|
|
495
|
+
|
|
496
|
+
## [0.65.19](https://github.com/rokucommunity/brighterscript/compare/v0.65.18...v0.65.19) - 2024-01-30
|
|
497
|
+
### Changed
|
|
498
|
+
- Backport v1 syntax changes ([#1034](https://github.com/rokucommunity/brighterscript/pull/1034))
|
|
499
|
+
|
|
500
|
+
|
|
501
|
+
|
|
502
|
+
## [0.65.18](https://github.com/rokucommunity/brighterscript/compare/v0.65.17...v0.65.18) - 2024-01-25
|
|
503
|
+
### Changed
|
|
504
|
+
- Refactor bsconfig documentation ([#1024](https://github.com/rokucommunity/brighterscript/pull/1024))
|
|
505
|
+
- Prevent overwriting `Program._manifest` if already set on startup ([#1027](https://github.com/rokucommunity/brighterscript/pull/1027))
|
|
506
|
+
- Improving null safety: Add FinalizedBsConfig and tweak plugin events ([#1000](https://github.com/rokucommunity/brighterscript/pull/1000))
|
|
507
|
+
|
|
508
|
+
|
|
509
|
+
|
|
510
|
+
## [0.65.17](https://github.com/rokucommunity/brighterscript/compare/v0.65.16...0.65.17) - 2024-01-16
|
|
511
|
+
### Changed
|
|
512
|
+
- add documentation on pruneEmptyCodeFiles to the README ([#1012](https://github.com/rokucommunity/brighterscript/pull/1012))
|
|
513
|
+
- assign .program to the builder BEFORE calling afterProgram ([#1011](https://github.com/rokucommunity/brighterscript/pull/1011))
|
|
514
|
+
### Fixed
|
|
515
|
+
- properly handle `libpkg:/` prefix for script imports ([#1017](https://github.com/rokucommunity/brighterscript/pull/1017))
|
|
516
|
+
|
|
517
|
+
|
|
518
|
+
|
|
519
|
+
## [0.65.16](https://github.com/rokucommunity/brighterscript/compare/v0.65.15...v0.65.16) - 2024-01-08
|
|
520
|
+
### Added
|
|
521
|
+
- Add `pruneEmptyCodeFiles` option to prevent publishing of empty files and exclude unnecessary script imports ([#997](https://github.com/rokucommunity/brighterscript/pull/997))
|
|
522
|
+
### Changed
|
|
523
|
+
- chore: improve null safety ([#996](https://github.com/rokucommunity/brighterscript/pull/996))
|
|
524
|
+
|
|
525
|
+
|
|
526
|
+
|
|
527
|
+
## [0.65.15](https://github.com/rokucommunity/brighterscript/compare/v0.65.14...v0.65.15) - 2023-12-26
|
|
528
|
+
### Fixed
|
|
529
|
+
- Prevent errors when using enums in a file that's not included in any scopes ([#995](https://github.com/rokucommunity/brighterscript/pull/995))
|
|
530
|
+
|
|
531
|
+
|
|
532
|
+
|
|
533
|
+
## [0.65.14](https://github.com/rokucommunity/brighterscript/compare/v0.65.13...v0.65.14) - 2023-12-20
|
|
534
|
+
### Fixed
|
|
535
|
+
- multi-namespace class inheritance transpile bug ([#990](https://github.com/rokucommunity/brighterscript/pull/990))
|
|
536
|
+
### Changed
|
|
537
|
+
- flag missing function references for `onChange` function ([#941](https://github.com/rokucommunity/brighterscript/pull/941))
|
|
538
|
+
- 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:
|
|
539
|
+
- Update wrong host password error message ([roku-deploy#134](https://github.com/rokucommunity/roku-deploy/pull/134))
|
|
540
|
+
|
|
541
|
+
|
|
542
|
+
|
|
543
|
+
## [0.65.13](https://github.com/rokucommunity/brighterscript/compare/v0.65.12...v0.65.13) - 2023-12-08
|
|
544
|
+
### Fixed
|
|
545
|
+
- broken enum transpiling ([#985](https://github.com/rokucommunity/brighterscript/pull/985))
|
|
546
|
+
|
|
547
|
+
|
|
548
|
+
|
|
549
|
+
## [0.65.12](https://github.com/rokucommunity/brighterscript/compare/v0.65.11...v0.65.12) - 2023-12-07
|
|
550
|
+
### Added
|
|
551
|
+
- `optional` modifier for interface and class members ([#955](https://github.com/rokucommunity/brighterscript/pull/955))
|
|
552
|
+
- manifest loading from files ([#942](https://github.com/rokucommunity/brighterscript/pull/942))
|
|
553
|
+
### Changed
|
|
554
|
+
- use regex for faster manifest/typedef detection ([#976](https://github.com/rokucommunity/brighterscript/pull/976))
|
|
555
|
+
- out-of-date transpile blocks in docs ([#956](https://github.com/rokucommunity/brighterscript/pull/956))
|
|
556
|
+
### Fixed
|
|
557
|
+
- Correct RANGE in template string when dealing with quotes in annotations ([#975](https://github.com/rokucommunity/brighterscript/pull/975))
|
|
558
|
+
|
|
559
|
+
|
|
560
|
+
|
|
561
|
+
## [0.65.11](https://github.com/rokucommunity/brighterscript/compare/v0.65.10...v0.65.11) - 2023-11-30
|
|
562
|
+
### Changed
|
|
563
|
+
- 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:
|
|
564
|
+
- Wait for file stream to close before resolving promise ([roku-deploy#133](https://github.com/rokucommunity/roku-deploy/pull/133))
|
|
565
|
+
### Fixed
|
|
566
|
+
- enums as class initial values ([#950](https://github.com/rokucommunity/brighterscript/pull/950))
|
|
567
|
+
|
|
568
|
+
|
|
569
|
+
|
|
570
|
+
## [0.65.10](https://github.com/rokucommunity/brighterscript/compare/v0.65.9...v0.65.10) - 2023-11-14
|
|
571
|
+
### Changed
|
|
572
|
+
- 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:
|
|
573
|
+
- Add better device-info docs ([roku-deploy#128](https://github.com/rokucommunity/roku-deploy/pull/128))
|
|
574
|
+
- Added some more message grabbing logic ([roku-deploy#127](https://github.com/rokucommunity/roku-deploy/pull/127))
|
|
575
|
+
|
|
576
|
+
|
|
577
|
+
|
|
578
|
+
## [0.65.9](https://github.com/rokucommunity/brighterscript/compare/v0.65.8...v0.65.9) - 2023-11-06
|
|
579
|
+
### Changed
|
|
580
|
+
- 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:
|
|
581
|
+
- Enhance getDeviceInfo() method ([roku-deploy#120](https://github.com/rokucommunity/roku-deploy/pull/120))
|
|
582
|
+
### Fixed
|
|
583
|
+
- issue with unary expression parsing ([#938](https://github.com/rokucommunity/brighterscript/pull/938))
|
|
584
|
+
|
|
585
|
+
|
|
586
|
+
|
|
587
|
+
## [0.65.8](https://github.com/rokucommunity/brighterscript/compare/v0.65.7...v0.65.8) - 2023-10-06
|
|
588
|
+
### Added
|
|
589
|
+
- interface parameter support ([#924](https://github.com/rokucommunity/brighterscript/pull/924))
|
|
590
|
+
### Changed
|
|
591
|
+
- Bump postcss from 8.2.15 to 8.4.31 ([#928](https://github.com/rokucommunity/brighterscript/pull/928))
|
|
592
|
+
### Fixed
|
|
593
|
+
- chore: fix typescript typing for `Deferred` ([#923](https://github.com/rokucommunity/brighterscript/pull/923))
|
|
594
|
+
|
|
595
|
+
|
|
596
|
+
|
|
597
|
+
## [0.65.7](https://github.com/rokucommunity/brighterscript/compare/v0.65.6...v0.65.7) - 2023-09-28
|
|
598
|
+
### Fixed
|
|
599
|
+
- fix bug in --noproject flag logic ([#922](https://github.com/rokucommunity/brighterscript/pull/922))
|
|
600
|
+
|
|
601
|
+
|
|
602
|
+
|
|
603
|
+
## [0.65.6](https://github.com/rokucommunity/brighterscript/compare/v0.65.5...v0.65.6) - 2023-09-28
|
|
604
|
+
### Added
|
|
605
|
+
- `noProject` flag to bsc so `bsconfig.json` loading can be skipped entirely even if present ([#868](https://github.com/rokucommunity/brighterscript/pull/868))
|
|
606
|
+
### Changed
|
|
607
|
+
- docs: add some more details to the plugins ([#913](https://github.com/rokucommunity/brighterscript/pull/913))
|
|
608
|
+
- docs: add missing emitDefinitions ([#893](https://github.com/rokucommunity/brighterscript/pull/893))
|
|
609
|
+
### Fixed
|
|
610
|
+
- incorrect quasi location in template string ([#921](https://github.com/rokucommunity/brighterscript/pull/921))
|
|
611
|
+
- `UnaryExpression` transpile for namespace and const ([#914](https://github.com/rokucommunity/brighterscript/pull/914))
|
|
612
|
+
|
|
613
|
+
|
|
614
|
+
|
|
615
|
+
## [0.65.5](https://github.com/rokucommunity/brighterscript/compare/v0.65.4...v0.65.5) - 2023-09-06
|
|
616
|
+
### Added
|
|
617
|
+
- support overriding bs_const values in bsconfig ([#887](https://github.com/rokucommunity/brighterscript/pull/887))
|
|
618
|
+
- allow optionally specifying bslib destination directory ([#871](https://github.com/rokucommunity/brighterscript/pull/871))
|
|
619
|
+
- Print diagnostic related information ([#867](https://github.com/rokucommunity/brighterscript/pull/867))
|
|
620
|
+
### Fixed
|
|
621
|
+
- ensure consistent insertion of bslib.brs ([#870](https://github.com/rokucommunity/brighterscript/pull/870))
|
|
622
|
+
- Fix crashes in util for null ranges ([#869](https://github.com/rokucommunity/brighterscript/pull/869))
|
|
623
|
+
- Fix tab issue when printing diagnostics ([#865](https://github.com/rokucommunity/brighterscript/pull/865))
|
|
624
|
+
|
|
625
|
+
|
|
626
|
+
|
|
627
|
+
## [0.65.4](https://github.com/rokucommunity/brighterscript/compare/v0.65.3...v0.65.4) - 2023-07-24
|
|
628
|
+
### Changed
|
|
629
|
+
- Install `v8-profiler-next` on demand instead of being a dependency ([#854](https://github.com/rokucommunity/brighterscript/pull/854))
|
|
630
|
+
|
|
631
|
+
|
|
632
|
+
|
|
633
|
+
## [0.65.3](https://github.com/rokucommunity/brighterscript/compare/v0.65.2...v0.65.3) - 2023-07-22
|
|
634
|
+
### Changed
|
|
635
|
+
- Show busy spinner for lsp builds. Remove `build-status` event in favor of new `busy-status` ([#852](https://github.com/rokucommunity/brighterscript/pull/852))
|
|
636
|
+
- 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:
|
|
637
|
+
- Bump word-wrap from 1.2.3 to 1.2.4 ([roku-deploy#117](https://github.com/rokucommunity/roku-deploy/pull/117))
|
|
638
|
+
- Bump word-wrap from 1.2.3 to 1.2.4 ([#851](https://github.com/rokucommunity/brighterscript/pull/851))
|
|
639
|
+
|
|
640
|
+
|
|
641
|
+
|
|
642
|
+
## [0.65.2](https://github.com/rokucommunity/brighterscript/compare/v0.65.1...v0.65.2) - 2023-07-17
|
|
643
|
+
### Added
|
|
644
|
+
- beforeProgramDispose event ([#844](https://github.com/rokucommunity/brighterscript/pull/844)), ([#845](https://github.com/rokucommunity/brighterscript/pull/845))
|
|
645
|
+
- profiling support to the cli via the `--profile` flag ([#833](https://github.com/rokucommunity/brighterscript/pull/833))
|
|
646
|
+
### Changed
|
|
647
|
+
- Make component ready on afterScopeCreate ([#843](https://github.com/rokucommunity/brighterscript/pull/843))
|
|
648
|
+
- Add project index to language server log entries ([#836](https://github.com/rokucommunity/brighterscript/pull/836))
|
|
649
|
+
- Prevent crashing when diagnostic is missing range. ([#832](https://github.com/rokucommunity/brighterscript/pull/832))
|
|
650
|
+
- Prevent crash when diagnostic is missing range ([#831](https://github.com/rokucommunity/brighterscript/pull/831))
|
|
651
|
+
- Add baseline interface docs ([#829](https://github.com/rokucommunity/brighterscript/pull/829))
|
|
652
|
+
|
|
653
|
+
|
|
654
|
+
|
|
655
|
+
## [0.65.1](https://github.com/rokucommunity/brighterscript/compare/v0.65.0...v0.65.1) - 2023-06-09
|
|
656
|
+
### Fixed
|
|
657
|
+
- injection of duplicate super calls into classes ([#823](https://github.com/rokucommunity/brighterscript/pull/823))
|
|
658
|
+
|
|
659
|
+
|
|
660
|
+
|
|
661
|
+
## [0.65.0](https://github.com/rokucommunity/brighterscript/compare/v0.64.4...v0.65.0) - 2023-05-17
|
|
662
|
+
### Changed
|
|
663
|
+
- npm audit fixes. upgrade to coveralls-next ([43756d8](https://github.com/rokucommunity/brighterscript/commit/43756d8))
|
|
664
|
+
- Improve findChild and findAncestor AST methods ([#807](https://github.com/rokucommunity/brighterscript/pull/807))
|
|
665
|
+
|
|
666
|
+
|
|
667
|
+
|
|
668
|
+
## [0.64.4](https://github.com/rokucommunity/brighterscript/compare/v0.64.3...v0.64.4) - 2023-05-10
|
|
669
|
+
### Changed
|
|
670
|
+
- 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:
|
|
671
|
+
- Fix audit issues ([roku-deploy#116](https://github.com/rokucommunity/roku-deploy/pull/116))
|
|
672
|
+
- fix nodejs 19 bug ([roku-deploy#115](https://github.com/rokucommunity/roku-deploy/pull/115))
|
|
673
|
+
|
|
674
|
+
|
|
675
|
+
|
|
676
|
+
## [0.64.3](https://github.com/rokucommunity/brighterscript/compare/v0.64.2...v0.64.3) - 2023-04-28
|
|
677
|
+
### Changed
|
|
678
|
+
- Improves performance in symbol table fetching ([#797](https://github.com/rokucommunity/brighterscript/pull/797))
|
|
679
|
+
|
|
680
|
+
|
|
681
|
+
|
|
682
|
+
## [0.64.2](https://github.com/rokucommunity/brighterscript/compare/v0.64.1...v0.64.2) - 2023-04-18
|
|
683
|
+
### Fixed
|
|
684
|
+
- namespace-relative enum value false positive diagnostic ([#793](https://github.com/rokucommunity/brighterscript/pull/793))
|
|
685
|
+
|
|
686
|
+
|
|
687
|
+
|
|
688
|
+
## [0.64.1](https://github.com/rokucommunity/brighterscript/compare/v0.64.0...v0.64.1) - 2023-04-14
|
|
689
|
+
### Changed
|
|
690
|
+
- Bump xml2js from 0.4.23 to 0.5.0 ([#790](https://github.com/rokucommunity/brighterscript/pull/790))
|
|
691
|
+
- 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:
|
|
692
|
+
- Bump xml2js from 0.4.23 to 0.5.0 ([roku-deploy#112](https://github.com/rokucommunity/roku-deploy/pull/112))
|
|
693
|
+
|
|
694
|
+
|
|
695
|
+
|
|
696
|
+
## [0.64.0](https://github.com/rokucommunity/brighterscript/compare/v0.63.0...v0.64.0) - 2023-04-04
|
|
697
|
+
### Changed
|
|
698
|
+
- Fix namespace-relative items ([#789](https://github.com/rokucommunity/brighterscript/pull/789))
|
|
699
|
+
|
|
700
|
+
|
|
701
|
+
|
|
702
|
+
## [0.63.0](https://github.com/rokucommunity/brighterscript/compare/v0.62.0...v0.63.0) - 2023-03-31
|
|
703
|
+
### Changed
|
|
704
|
+
- Wrap transpiled template strings in parens ([#788](https://github.com/rokucommunity/brighterscript/pull/788))
|
|
705
|
+
- Simplify the ast range logic ([#784](https://github.com/rokucommunity/brighterscript/pull/784))
|
|
706
|
+
|
|
707
|
+
|
|
708
|
+
|
|
709
|
+
## [0.62.0](https://github.com/rokucommunity/brighterscript/compare/v0.61.3...v0.62.0) - 2023-03-16
|
|
710
|
+
### Added
|
|
711
|
+
- `severityOverride` option ([#725](https://github.com/rokucommunity/brighterscript/pull/725))
|
|
712
|
+
- Optional chaining assignment validation ([#782](https://github.com/rokucommunity/brighterscript/pull/782))
|
|
713
|
+
### Changed
|
|
714
|
+
- Fix transpile bug with optional chaning ([#781](https://github.com/rokucommunity/brighterscript/pull/781))
|
|
715
|
+
- Fix crash when func has no block ([#774](https://github.com/rokucommunity/brighterscript/pull/774))
|
|
716
|
+
- Move not-referenced check into ProgramValidator ([#773](https://github.com/rokucommunity/brighterscript/pull/773))
|
|
717
|
+
- 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:
|
|
718
|
+
- Use micromatch instead of picomatch ([roku-deploy#109](https://github.com/rokucommunity/roku-deploy/pull/109))
|
|
719
|
+
|
|
720
|
+
|
|
721
|
+
|
|
722
|
+
## [0.61.3](https://github.com/rokucommunity/brighterscript/compare/v0.61.2...0.61.3) - 2023-01-12
|
|
723
|
+
### Changed
|
|
724
|
+
- Add diagnostic for passing more than 5 arguments to a callFunc ([#765](https://github.com/rokucommunity/brighterscript/pull/765))
|
|
725
|
+
- upgrade to [roku-deploy@3.9.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#393---2023-01-12)
|
|
726
|
+
|
|
727
|
+
|
|
728
|
+
|
|
729
|
+
## [0.61.2](https://github.com/rokucommunity/brighterscript/compare/v0.61.1...0.61.2) - 2022-12-15
|
|
730
|
+
### Changed
|
|
731
|
+
- Bump qs from 6.5.2 to 6.5.3 ([#758](https://github.com/rokucommunity/brighterscript/pull/758))
|
|
732
|
+
|
|
733
|
+
|
|
734
|
+
|
|
735
|
+
## [0.61.1](https://github.com/rokucommunity/brighterscript/compare/v0.61.0...0.61.1) - 2022-12-07
|
|
736
|
+
### Fixed
|
|
737
|
+
- Ensure enums and interfaces persist in typedefs ([#757](https://github.com/rokucommunity/brighterscript/pull/757))
|
|
738
|
+
|
|
739
|
+
|
|
740
|
+
|
|
741
|
+
## [0.61.0](https://github.com/rokucommunity/brighterscript/compare/v0.60.6...0.61.0) - 2022-12-05
|
|
742
|
+
### Added
|
|
743
|
+
- new `removeParameterTypes` option that removes type information from parameters when transpiling ([#744](https://github.com/rokucommunity/brighterscript/pull/744))
|
|
744
|
+
### Fixed
|
|
745
|
+
- throttle transpiling to prevent crashes ([#755](https://github.com/rokucommunity/brighterscript/pull/755))
|
|
746
|
+
- exception while validating continue statement ([#752](https://github.com/rokucommunity/brighterscript/pull/752))
|
|
747
|
+
- add missing visitor params for DottedSetStatement ([#748](https://github.com/rokucommunity/brighterscript/pull/748))
|
|
748
|
+
- flag incorrectly nested statements ([#747](https://github.com/rokucommunity/brighterscript/pull/747))
|
|
749
|
+
|
|
750
|
+
|
|
751
|
+
|
|
752
|
+
## [0.60.6](https://github.com/rokucommunity/brighterscript/compare/v0.60.5...0.60.6) - 2022-11-08
|
|
753
|
+
### Fixed
|
|
754
|
+
- double `super` call transpile in subclasses ([#740](https://github.com/rokucommunity/brighterscript/pull/740))
|
|
755
|
+
- issues with Roku doc scraper and adds missing components ([#736](https://github.com/rokucommunity/brighterscript/pull/736))
|
|
756
|
+
|
|
757
|
+
|
|
758
|
+
|
|
759
|
+
## [0.60.5](https://github.com/rokucommunity/brighterscript/compare/v0.60.4...0.60.5) - 2022-11-03
|
|
760
|
+
### Changed
|
|
761
|
+
- 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))
|
|
762
|
+
### Fixed
|
|
763
|
+
- Significant performance boost in `validate()` by caching `getCallableByName` ([#739](https://github.com/rokucommunity/brighterscript/pull/739))
|
|
764
|
+
- Add diagnostic when using namespaces as variables ([#738](https://github.com/rokucommunity/brighterscript/pull/738))
|
|
765
|
+
- Fix crash in `getDefinition` ([#734](https://github.com/rokucommunity/brighterscript/pull/734))
|
|
766
|
+
|
|
767
|
+
|
|
768
|
+
|
|
769
|
+
## [0.60.4](https://github.com/rokucommunity/brighterscript/compare/v0.60.3...0.60.4) - 2022-10-28
|
|
770
|
+
### Changed
|
|
771
|
+
- Add `name` to symbol table ([#728](https://github.com/rokucommunity/brighterscript/pull/728))
|
|
772
|
+
### Fixed
|
|
773
|
+
- Allow `continue` as local var ([#730](https://github.com/rokucommunity/brighterscript/pull/730))
|
|
774
|
+
- language server semanticToken request now waits until validate finishes ([#727](https://github.com/rokucommunity/brighterscript/pull/727))
|
|
775
|
+
|
|
776
|
+
|
|
777
|
+
|
|
778
|
+
## [0.60.3](https://github.com/rokucommunity/brighterscript/compare/v0.60.2...0.60.3) - 2022-10-20
|
|
779
|
+
### Changed
|
|
780
|
+
- better parse recovery for unknown function parameter types ([#722](https://github.com/rokucommunity/brighterscript/pull/722))
|
|
781
|
+
|
|
782
|
+
|
|
783
|
+
|
|
784
|
+
## [0.60.2](https://github.com/rokucommunity/brighterscript/compare/v0.60.1...0.60.2) - 2022-10-18
|
|
785
|
+
### Fixed
|
|
786
|
+
- if statement block var bug ([#698](https://github.com/rokucommunity/brighterscript/pull/698))
|
|
787
|
+
|
|
788
|
+
|
|
789
|
+
|
|
790
|
+
## [0.60.1](https://github.com/rokucommunity/brighterscript/compare/v0.60.0...0.60.1) - 2022-10-18
|
|
791
|
+
### Fixed
|
|
792
|
+
- Beter location for bs1042 ([#719](https://github.com/rokucommunity/brighterscript/pull/719))
|
|
793
|
+
|
|
794
|
+
|
|
795
|
+
|
|
796
|
+
## [0.60.0](https://github.com/rokucommunity/brighterscript/compare/v0.59.0...0.60.0) - 2022-10-10
|
|
797
|
+
### Added
|
|
798
|
+
- goto definition for enum statements and enum members ([#715](https://github.com/rokucommunity/brighterscript/pull/715))
|
|
799
|
+
- nested namespace support ([#708](https://github.com/rokucommunity/brighterscript/pull/708))
|
|
800
|
+
### Changed
|
|
801
|
+
- 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:
|
|
802
|
+
- Replace minimatch with picomatch ([roku-deploy#101](https://github.com/rokucommunity/roku-deploy/pull/101))
|
|
803
|
+
### Fixed
|
|
804
|
+
- fixes signature help resolution for callexpressions ([#707](https://github.com/rokucommunity/brighterscript/pull/707))
|
|
805
|
+
- Fix transpilation of simple else block with leading comment ([#712](https://github.com/rokucommunity/brighterscript/pull/712))
|
|
806
|
+
|
|
807
|
+
|
|
808
|
+
|
|
809
|
+
## [0.59.0](https://github.com/rokucommunity/brighterscript/compare/v0.58.0...0.59.0) - 2022-10-03
|
|
810
|
+
### Added
|
|
811
|
+
- `isThrowStatement` reflection function ([#709](https://github.com/rokucommunity/brighterscript/pull/709))
|
|
812
|
+
- Support `pkg:/` paths for `setFile` ([#701](https://github.com/rokucommunity/brighterscript/pull/701))
|
|
813
|
+
- Syntax and transpile support for continue statement ([#697](https://github.com/rokucommunity/brighterscript/pull/697))
|
|
814
|
+
### Changed
|
|
815
|
+
- Migrate to `stagingDir` away from `stagingFolder` ([#706](https://github.com/rokucommunity/brighterscript/pull/706))
|
|
816
|
+
### Fixed
|
|
817
|
+
- Fix enum error for negative values ([#703](https://github.com/rokucommunity/brighterscript/pull/703))
|
|
818
|
+
|
|
13
819
|
|
|
14
820
|
|
|
821
|
+
## [0.58.0](https://github.com/rokucommunity/brighterscript/compare/v0.57.2...0.58.0) - 2022-09-23
|
|
822
|
+
### Added
|
|
823
|
+
- AST child searching functionality. ([#695](https://github.com/rokucommunity/brighterscript/pull/695))
|
|
824
|
+
- `stagingFolderPath` option to the docs ([f521066](https://github.com/rokucommunity/brighterscript/commit/f521066))
|
|
825
|
+
- Create common ancestor for Expression and Statement ([#693](https://github.com/rokucommunity/brighterscript/pull/693))
|
|
826
|
+
### Fixed
|
|
827
|
+
- Scope validation performance boost ([#656](https://github.com/rokucommunity/brighterscript/pull/656))
|
|
828
|
+
- Finds and includes more deeply embedded expressions ([#696](https://github.com/rokucommunity/brighterscript/pull/696))
|
|
829
|
+
### Changed
|
|
830
|
+
- Rename refs to `isClassFieldStatement` and `isClassMethodStatement` ([#694](https://github.com/rokucommunity/brighterscript/pull/694))
|
|
831
|
+
- Centralize file path normalization for Program ([#692](https://github.com/rokucommunity/brighterscript/pull/692))
|
|
832
|
+
- use outputPath instead of object reference during transpiling to prevent duplicate file collisions ([#691](https://github.com/rokucommunity/brighterscript/pull/691))
|
|
833
|
+
- Move file validation into BscPlugin ([#688](https://github.com/rokucommunity/brighterscript/pull/688))
|
|
834
|
+
- 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:
|
|
835
|
+
- Sync retainStagingFolder, stagingFolderPath with options. ([roku-deploy#100](https://github.com/rokucommunity/roku-deploy/pull/100))
|
|
836
|
+
- Add stagingDir and retainStagingDir. ([roku-deploy#99](https://github.com/rokucommunity/roku-deploy/pull/99))
|
|
837
|
+
|
|
15
838
|
|
|
16
|
-
|
|
17
|
-
[0.
|
|
839
|
+
|
|
840
|
+
## [0.57.2](https://github.com/rokucommunity/brighterscript/compare/v0.57.1...0.57.2) - 2022-09-08
|
|
18
841
|
### Fixed
|
|
19
|
-
-
|
|
842
|
+
- Fix `brightscript.configFile` workspace config bug ([#686](https://github.com/rokucommunity/brighterscript/pull/686))
|
|
843
|
+
|
|
844
|
+
|
|
845
|
+
|
|
846
|
+
## [0.57.1](https://github.com/rokucommunity/brighterscript/compare/v0.57.0...0.57.1) - 2022-09-07
|
|
847
|
+
### Fixed
|
|
848
|
+
- fix(parser): consider namespace function transpiled names ([#685](https://github.com/rokucommunity/brighterscript/pull/685))
|
|
20
849
|
|
|
21
850
|
|
|
22
851
|
|
|
23
|
-
## [
|
|
24
|
-
[1.0.0-alpha.3]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.2...v1.0.0-alpha.3
|
|
852
|
+
## [0.57.0](https://github.com/rokucommunity/brighterscript/compare/v0.56.0...0.57.0) - 2022-09-02
|
|
25
853
|
### Added
|
|
26
|
-
-
|
|
854
|
+
- validation for files that are nested too deep ([#680](https://github.com/rokucommunity/brighterscript/pull/680))
|
|
27
855
|
### Changed
|
|
28
|
-
-
|
|
29
|
-
|
|
30
|
-
-
|
|
31
|
-
-
|
|
856
|
+
- upgrade to [roku-deploy@3.8.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#381---2022-09-02). Notable changes since 3.7.1:
|
|
857
|
+
### Fixed
|
|
858
|
+
- Allow `mod` as an aa prop([#684](https://github.com/rokucommunity/brighterscript/pull/684))
|
|
859
|
+
- coerce AA member identifier kinds to `TokenKind.Identifier` ([#684](https://github.com/rokucommunity/brighterscript/pull/684))
|
|
860
|
+
- Doc Scraper issues ([#585](https://github.com/rokucommunity/brighterscript/pull/585))
|
|
861
|
+
- Fix case sensitivity issue with `bs_const` values ([#677](https://github.com/rokucommunity/brighterscript/pull/677))
|
|
862
|
+
|
|
863
|
+
|
|
864
|
+
|
|
865
|
+
## [0.56.0](https://github.com/rokucommunity/brighterscript/compare/v0.55.2...0.56.0) - 2022-08-23
|
|
866
|
+
### Added
|
|
867
|
+
- validation for dimmed variables ([#672](https://github.com/rokucommunity/brighterscript/pull/672))
|
|
868
|
+
- "--lsp" flag to bsc to start an LSP server ([#668](https://github.com/rokucommunity/brighterscript/pull/668))
|
|
869
|
+
### Fixed
|
|
870
|
+
- compile crash for scope-less files ([#674](https://github.com/rokucommunity/brighterscript/pull/674))
|
|
871
|
+
- parse error for malformed dim statement ([#673](https://github.com/rokucommunity/brighterscript/pull/673))
|
|
872
|
+
- allow const as variable name ([#670](https://github.com/rokucommunity/brighterscript/pull/670))
|
|
873
|
+
- crashes for language clients that don't support "workspace/configuration" requests ([#667](https://github.com/rokucommunity/brighterscript/pull/667))
|
|
32
874
|
|
|
33
875
|
|
|
34
876
|
|
|
35
|
-
## [0.
|
|
36
|
-
|
|
877
|
+
## [0.55.2](https://github.com/rokucommunity/brighterscript/compare/v0.55.1...0.55.2) - 2022-08-15
|
|
878
|
+
### Fixed
|
|
879
|
+
- Dedupe code completions in components ([#664](https://github.com/rokucommunity/brighterscript/pull/664))
|
|
880
|
+
|
|
881
|
+
|
|
882
|
+
|
|
883
|
+
## [0.55.1](https://github.com/rokucommunity/brighterscript/compare/v0.55.0...0.55.1) - 2022-08-07
|
|
884
|
+
### Fixed
|
|
885
|
+
- scope-specific diagnostic grouping issue ([#660](https://github.com/rokucommunity/brighterscript/pull/660))
|
|
886
|
+
- typescript error for ast parent setting ([#659](https://github.com/rokucommunity/brighterscript/pull/659))
|
|
887
|
+
|
|
888
|
+
|
|
889
|
+
|
|
890
|
+
## [0.55.0](https://github.com/rokucommunity/brighterscript/compare/v0.54.1...0.55.0) - 2022-08-03
|
|
891
|
+
### Added
|
|
892
|
+
- a `toJSON` function to SymbolTable ([#655](https://github.com/rokucommunity/brighterscript/pull/655))
|
|
893
|
+
- link all brs AST nodes to parent onFileValidate ([#650](https://github.com/rokucommunity/brighterscript/pull/650))
|
|
894
|
+
- semantic token color for consts ([#654](https://github.com/rokucommunity/brighterscript/pull/654))
|
|
895
|
+
- go-to-definition support for const statements ([#653](https://github.com/rokucommunity/brighterscript/pull/653))
|
|
37
896
|
### Changed
|
|
38
|
-
- 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))
|
|
39
897
|
### Fixed
|
|
40
|
-
-
|
|
41
|
-
-
|
|
42
|
-
-
|
|
43
|
-
|
|
898
|
+
- bug that wasn't transpiling const expressions when used inside assignment expressions ([#658](https://github.com/rokucommunity/brighterscript/pull/658))
|
|
899
|
+
- Performance boost: better function sorting during validation ([#651](https://github.com/rokucommunity/brighterscript/pull/651))
|
|
900
|
+
- broken plugin imports with custom cwd ([#652](https://github.com/rokucommunity/brighterscript/pull/652))
|
|
901
|
+
|
|
902
|
+
|
|
903
|
+
|
|
904
|
+
## [0.54.1](https://github.com/rokucommunity/brighterscript/compare/v0.54.0...0.54.1) - 2022-07-22
|
|
905
|
+
### Changed
|
|
906
|
+
- Fix bug in languageserver hover provider ([#649](https://github.com/rokucommunity/brighterscript/pull/649))
|
|
44
907
|
|
|
45
908
|
|
|
46
909
|
|
|
47
|
-
## [
|
|
48
|
-
[1.0.0-alpha.2]: https://github.com/rokucommunity/brighterscript/compare/v1.0.0-alpha.1...v1.0.0-alpha.2
|
|
910
|
+
## [0.54.0](https://github.com/rokucommunity/brighterscript/compare/v0.53.1...0.54.0) - 2022-07-22
|
|
49
911
|
### Added
|
|
50
|
-
-
|
|
912
|
+
- hover for CONST references. ([#648](https://github.com/rokucommunity/brighterscript/pull/648))
|
|
913
|
+
- plugins can contribute completions ([#647](https://github.com/rokucommunity/brighterscript/pull/647))
|
|
914
|
+
- plugins can contribute hovers ([#393](https://github.com/rokucommunity/brighterscript/pull/393))
|
|
51
915
|
### Changed
|
|
52
|
-
-
|
|
53
|
-
-
|
|
54
|
-
|
|
55
|
-
|
|
916
|
+
- Export some vscode interfaces ([#644](https://github.com/rokucommunity/brighterscript/pull/644))
|
|
917
|
+
- Better plugin docs ([#643](https://github.com/rokucommunity/brighterscript/pull/643))
|
|
918
|
+
|
|
919
|
+
|
|
920
|
+
|
|
921
|
+
## [0.53.1](https://github.com/rokucommunity/brighterscript/compare/v0.53.0...0.53.1) - 2022-07-15
|
|
922
|
+
### Fixed
|
|
923
|
+
- bug with codeactions at the edges of tokens. ([#642](https://github.com/rokucommunity/brighterscript/pull/642))
|
|
924
|
+
- nested namespace import codeActions bug. ([#641](https://github.com/rokucommunity/brighterscript/pull/641))
|
|
56
925
|
|
|
57
926
|
|
|
58
927
|
|
|
59
|
-
## [0.
|
|
928
|
+
## [0.53.0](https://github.com/rokucommunity/brighterscript/compare/v0.52.3...0.53.0) - 2022-07-14
|
|
60
929
|
### Added
|
|
61
|
-
-
|
|
62
|
-
|
|
930
|
+
- New Language Feature: Constants ([#632](https://github.com/rokucommunity/brighterscript/pull/632))
|
|
931
|
+
### Changed
|
|
932
|
+
- Flag top level statements ([#638](https://github.com/rokucommunity/brighterscript/pull/638))
|
|
933
|
+
- Flag usage of undefined variables ([#631](https://github.com/rokucommunity/brighterscript/pull/631))
|
|
934
|
+
- Use `util.createLocation`, not `Location.create()` ([#637](https://github.com/rokucommunity/brighterscript/pull/637))
|
|
935
|
+
- Better project detection by language server ([#633](https://github.com/rokucommunity/brighterscript/pull/633))
|
|
936
|
+
|
|
937
|
+
|
|
938
|
+
|
|
939
|
+
## [0.52.3](https://github.com/rokucommunity/brighterscript/compare/v0.52.2...v0.52.3) - 2022-06-14
|
|
940
|
+
### Fixed
|
|
941
|
+
- fix bug with class transpile in watch mode ([#630](https://github.com/rokucommunity/brighterscript/pull/630))
|
|
942
|
+
- Send program-triggered `validate()` diagnostics to language client ([#629](https://github.com/rokucommunity/brighterscript/pull/629))
|
|
943
|
+
- Emit before/after programTranspile during file transpile preview ([#628](https://github.com/rokucommunity/brighterscript/pull/628))
|
|
944
|
+
|
|
945
|
+
|
|
946
|
+
|
|
947
|
+
## [0.52.2](https://github.com/rokucommunity/brighterscript/compare/v0.52.1...v0.52.2) - 2022-06-13
|
|
948
|
+
### Fixed
|
|
949
|
+
- transpile crash when file was changed by a plugin in beforeTranspile events ([#627](https://github.com/rokucommunity/brighterscript/pull/627))
|
|
950
|
+
- bug in transpile preview custom command that wasn't returning the result ([#626](https://github.com/rokucommunity/brighterscript/pull/626))
|
|
951
|
+
- add missing range on interface statement, causing transpile crashes ([#623](https://github.com/rokucommunity/brighterscript/pull/623))
|
|
952
|
+
- transpile enum values in binary expressions ([#622](https://github.com/rokucommunity/brighterscript/pull/622))
|
|
953
|
+
|
|
954
|
+
|
|
955
|
+
|
|
956
|
+
## [0.52.1](https://github.com/rokucommunity/brighterscript/compare/v0.52.0...v0.52.1) - 2022-06-10
|
|
957
|
+
### Fixed
|
|
958
|
+
- detect class circular extends ([#619](https://github.com/rokucommunity/brighterscript/pull/619))
|
|
959
|
+
- improve namespace/enum/class semantic token detection (better syntax highlighting) ([##621](https://github.com/rokucommunity/brighterscript/pull/#621))
|
|
63
960
|
|
|
64
961
|
|
|
65
962
|
|
|
66
|
-
## [
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
- Type checking for function arguments ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
|
|
963
|
+
## [0.52.0](https://github.com/rokucommunity/brighterscript/compare/v0.51.4...v0.52.0) - 2022-06-08
|
|
964
|
+
### Added
|
|
965
|
+
- LanguageServer: Load projects based on bsconfig.json presence ([#613](https://github.com/rokucommunity/brighterscript/pull/613))
|
|
70
966
|
### Changed
|
|
71
|
-
-
|
|
72
|
-
- Remove `FunctionScope` ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
|
|
73
|
-
- Add `SymbolTable` and `LazyType` objects to improve type tracking ([#401](https://github.com/rokucommunity/brighterscript/pull/401))
|
|
967
|
+
- upgrade to [roku-deploy@3.7.1](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#371---2022-06-08)
|
|
74
968
|
|
|
75
969
|
|
|
76
970
|
|
|
77
|
-
## [0.
|
|
971
|
+
## [0.51.4](https://github.com/rokucommunity/brighterscript/compare/v0.51.3...v0.51.4) - 2022-05-31
|
|
78
972
|
### Fixed
|
|
79
|
-
-
|
|
973
|
+
- Add allowBrighterScriptInBrightScript to bsconfig.schema.json ([#610](https://github.com/rokucommunity/brighterscript/pull/610))
|
|
974
|
+
|
|
975
|
+
|
|
976
|
+
|
|
977
|
+
## [0.51.3](https://github.com/rokucommunity/brighterscript/compare/v0.51.2...v0.51.3) - 2022-05-31
|
|
978
|
+
### Fixed
|
|
979
|
+
- hover for namespace functions ([#606](https://github.com/rokucommunity/brighterscript/pull/606))
|
|
980
|
+
### Changed
|
|
981
|
+
- add `owner` and `key` to the visitor callbacks ([#600](https://github.com/rokucommunity/brighterscript/pull/600))
|
|
982
|
+
|
|
983
|
+
|
|
984
|
+
|
|
985
|
+
## [0.51.2](https://github.com/rokucommunity/brighterscript/compare/v0.51.1...v0.51.2) - 2022-05-26
|
|
986
|
+
### Fixed
|
|
987
|
+
- allow enums and interfaces as class field types ([#602](https://github.com/rokucommunity/brighterscript/pull/602))
|
|
988
|
+
|
|
989
|
+
|
|
990
|
+
|
|
991
|
+
## [0.51.1](https://github.com/rokucommunity/brighterscript/compare/v0.51.0...v0.51.1) - 2022-05-26
|
|
992
|
+
### Fixed
|
|
993
|
+
- allow enums and interfaces as function return types ([#601](https://github.com/rokucommunity/brighterscript/pull/601))
|
|
994
|
+
- support AstEditor in visitor editing pattern ([#599](https://github.com/rokucommunity/brighterscript/pull/599))
|
|
995
|
+
|
|
996
|
+
|
|
997
|
+
|
|
998
|
+
## [0.51.0](https://github.com/rokucommunity/brighterscript/compare/v0.50.2...v0.51.0) - 2022-05-24
|
|
999
|
+
### Added
|
|
1000
|
+
- Add function-based` AstEditor.edit` method ([#598](https://github.com/rokucommunity/brighterscript/pull/598))
|
|
1001
|
+
- Allow multiple keys for `DependencyGraph.getAllDependencies()` ([#596](https://github.com/rokucommunity/brighterscript/pull/596))
|
|
1002
|
+
|
|
1003
|
+
|
|
1004
|
+
|
|
1005
|
+
## [0.50.2](https://github.com/rokucommunity/brighterscript/compare/v0.50.1...v0.50.2) - 2022-05-23
|
|
1006
|
+
### Added
|
|
1007
|
+
- `allowBrighterScriptInBrightScript` config option to allow brighterscript features to be included in BrightScript files, and force those files to be transpiled ([#573](https://github.com/rokucommunity/brighterscript/pull/573))
|
|
1008
|
+
### Changed
|
|
1009
|
+
- upgrade to [roku-deploy@3.7.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#370---2022-05-23)
|
|
1010
|
+
|
|
1011
|
+
|
|
1012
|
+
|
|
1013
|
+
## [0.50.1](https://github.com/rokucommunity/brighterscript/compare/v0.50.0...v0.50.1) - 2022-05-18
|
|
1014
|
+
### Fixed
|
|
1015
|
+
- Expose all the AstEditor methods to plugin events ([#593](https://github.com/rokucommunity/brighterscript/pull/593))
|
|
1016
|
+
- Fix language server cwd issue with multi-root workspaces ([#592](https://github.com/rokucommunity/brighterscript/pull/592))
|
|
1017
|
+
|
|
1018
|
+
|
|
1019
|
+
|
|
1020
|
+
## [0.50.0](https://github.com/rokucommunity/brighterscript/compare/v0.49.0...v0.50.0) - 2022-05-17
|
|
1021
|
+
### Added
|
|
1022
|
+
- `srcPath` property on `XmlFile` and `BrsFile` to line up with the v1 branch ([#581](https://github.com/rokucommunity/brighterscript/pull/581))
|
|
1023
|
+
- more `AstEditor` functions ([#589](https://github.com/rokucommunity/brighterscript/pull/589))
|
|
1024
|
+
### Changed
|
|
1025
|
+
- rename `ClassFieldStatement` and `ClassMethodStatement` to `FieldStatement` and `MethodStatement` respectively to allow their use in non-class-related things ([#582](https://github.com/rokucommunity/brighterscript/pull/582))
|
|
1026
|
+
### Fixed
|
|
1027
|
+
- Fix semantic tokens for enums in if statements ([#584](https://github.com/rokucommunity/brighterscript/pull/584))
|
|
1028
|
+
- Don't push synthetic constructor into each class ([#586](https://github.com/rokucommunity/brighterscript/pull/586))
|
|
1029
|
+
- transpile bugs related to class `super` handling ([#590](https://github.com/rokucommunity/brighterscript/pull/590))
|
|
1030
|
+
|
|
1031
|
+
|
|
1032
|
+
|
|
1033
|
+
## [0.49.0](https://github.com/rokucommunity/brighterscript/compare/v0.48.1...v0.49.0) - 2022-05-02
|
|
1034
|
+
### Added
|
|
1035
|
+
- allow interfaces and enums as function param types ([#580](https://github.com/rokucommunity/brighterscript/pull/580))
|
|
1036
|
+
- Transpile files added by plugins after start of transpile cycle ([#578](https://github.com/rokucommunity/brighterscript/pull/578))
|
|
1037
|
+
- add AstEditor to `beforeProgramTranspile` and `afterProgramTranspile` plugin events ([#576](https://github.com/rokucommunity/brighterscript/pull/576))
|
|
1038
|
+
|
|
1039
|
+
|
|
1040
|
+
|
|
1041
|
+
## [0.48.1](https://github.com/rokucommunity/brighterscript/compare/v0.48.0...v0.48.1) - 2022-04-14
|
|
1042
|
+
### Fixed
|
|
1043
|
+
- prevent duplicate `CreateObject` validations showing one for each affected scope ([#568](https://github.com/rokucommunity/brighterscript/pull/568))
|
|
1044
|
+
- prevent `CreateObject` diagnostics for component library components ([#568](https://github.com/rokucommunity/brighterscript/pull/568))
|
|
1045
|
+
|
|
1046
|
+
|
|
1047
|
+
|
|
1048
|
+
## [0.48.0](https://github.com/rokucommunity/brighterscript/compare/v0.47.3...v0.48.0) - 2022-04-13
|
|
1049
|
+
### Added
|
|
1050
|
+
- language support for native BrightScript optional chaining ([#546](https://github.com/rokucommunity/brighterscript/pull/546))
|
|
1051
|
+
- validation for all known `createObject` values and parameters. ([#435](https://github.com/rokucommunity/brighterscript/pull/435))
|
|
1052
|
+
### Fixed
|
|
1053
|
+
- add missing statements and expressions to `createVisitor` ([#567](https://github.com/rokucommunity/brighterscript/pull/567))
|
|
1054
|
+
|
|
1055
|
+
|
|
1056
|
+
|
|
1057
|
+
## [0.47.3](https://github.com/rokucommunity/brighterscript/compare/v0.47.2...v0.47.3) - 2022-04-08
|
|
1058
|
+
### Fixed
|
|
1059
|
+
- accuracy issues when parsing the manifest ([#565](https://github.com/rokucommunity/brighterscript/pull/565))
|
|
1060
|
+
|
|
1061
|
+
|
|
1062
|
+
|
|
1063
|
+
## [0.47.2](https://github.com/rokucommunity/brighterscript/compare/v0.47.1...v0.47.2) - 2022-04-07
|
|
1064
|
+
### Fixed
|
|
1065
|
+
- enum transpile bug for binary expressions ([#559](https://github.com/rokucommunity/brighterscript/pull/559))
|
|
1066
|
+
- add missing `require` entry to `bsconfig.schema.json` ([#560](https://github.com/rokucommunity/brighterscript/pull/560))
|
|
1067
|
+
|
|
1068
|
+
|
|
1069
|
+
|
|
1070
|
+
## [0.47.1](https://github.com/rokucommunity/brighterscript/compare/v0.47.0...v0.47.1) - 2022-04-05
|
|
1071
|
+
### Changed
|
|
1072
|
+
- disable strict cli args to empower plugins ([#557](https://github.com/rokucommunity/brighterscript/pull/557))
|
|
1073
|
+
- don't add trailing commas in transpiled output for array and aa literals ([#556](https://github.com/rokucommunity/brighterscript/pull/556))
|
|
1074
|
+
- retain quote char when transpiling xml attributes ([#552](https://github.com/rokucommunity/brighterscript/pull/552))
|
|
1075
|
+
|
|
1076
|
+
|
|
1077
|
+
|
|
1078
|
+
## [0.47.0](https://github.com/rokucommunity/brighterscript/compare/v0.46.0...v0.47.0) - 2022-03-30
|
|
1079
|
+
### Added
|
|
1080
|
+
- `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))
|
|
1081
|
+
|
|
1082
|
+
|
|
1083
|
+
|
|
1084
|
+
## [0.46.0](https://github.com/rokucommunity/brighterscript/compare/v0.45.6...v0.46.0) - 2022-03-24
|
|
1085
|
+
### Changed
|
|
1086
|
+
- refactored try-catch statement to make the expressions and bodies easier to access via plugins. [#514](https://github.com/rokucommunity/brighterscript/pull/514)
|
|
1087
|
+
|
|
1088
|
+
|
|
1089
|
+
|
|
1090
|
+
## [0.45.6](https://github.com/rokucommunity/brighterscript/compare/v0.45.5...v0.45.6) - 2022-03-17
|
|
1091
|
+
### Changed
|
|
1092
|
+
- 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))
|
|
1093
|
+
### Fixed
|
|
1094
|
+
- crash when checking for enums to transpile [#539](https://github.com/rokucommunity/brighterscript/pull/539)
|
|
1095
|
+
- Transpile if statements as written [#537](https://github.com/rokucommunity/brighterscript/pull/537)
|
|
1096
|
+
- Keep the original type case when transpiling. [#536](https://github.com/rokucommunity/brighterscript/pull/536)
|
|
1097
|
+
- Show cli usage in plugins documentation
|
|
1098
|
+
|
|
1099
|
+
|
|
1100
|
+
|
|
1101
|
+
## [0.45.5](https://github.com/rokucommunity/brighterscript/compare/v0.45.4...v0.45.5) - 2022-03-10
|
|
1102
|
+
### Fixed
|
|
1103
|
+
- bug with typedefs and auto-generated class constructor functions [#535](https://github.com/rokucommunity/brighterscript/pull/535)
|
|
1104
|
+
|
|
1105
|
+
|
|
1106
|
+
|
|
1107
|
+
## [0.45.4](https://github.com/rokucommunity/brighterscript/compare/v0.45.3...v0.45.4) - 2022-03-08
|
|
1108
|
+
### Fixed
|
|
1109
|
+
- bug that wasn't computing ownScriptImports after calling `invalidateReferences()` [#529](https://github.com/rokucommunity/brighterscript/pull/529)
|
|
1110
|
+
- bug with logger.time() not having accurate timings when run asynchronously [#532](https://github.com/rokucommunity/brighterscript/pull/532)
|
|
1111
|
+
|
|
1112
|
+
|
|
1113
|
+
|
|
1114
|
+
## [0.45.3](https://github.com/rokucommunity/brighterscript/compare/v0.45.2...v0.45.3) - 2022-02-25
|
|
1115
|
+
### Fixed
|
|
1116
|
+
- source map bug with plugins that used the AST node creation functions depending on `interpolatedRange`. [#528](https://github.com/rokucommunity/brighterscript/pull/528)
|
|
1117
|
+
|
|
1118
|
+
|
|
1119
|
+
|
|
1120
|
+
## [0.45.2](https://github.com/rokucommunity/brighterscript/compare/v0.45.1...v0.45.2) - 2022-02-24
|
|
1121
|
+
### Changed
|
|
1122
|
+
- add default token values in creators. [#520](https://github.com/rokucommunity/brighterscript/pull/520)
|
|
1123
|
+
### Fixed
|
|
1124
|
+
- significant memory leak [#527](https://github.com/rokucommunity/brighterscript/pull/527)
|
|
1125
|
+
- bug with transpiling empty for loop [#519](https://github.com/rokucommunity/brighterscript/pull/519)
|
|
1126
|
+
|
|
1127
|
+
|
|
1128
|
+
|
|
1129
|
+
## [0.45.1](https://github.com/rokucommunity/brighterscript/compare/v0.45.0...v0.45.1) - 2022-02-16
|
|
1130
|
+
### Changed
|
|
1131
|
+
- upgrade to [roku-deploy@3.5.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#353---2022-02-16) which fixed a missing typescript definition issue.
|
|
1132
|
+
|
|
1133
|
+
|
|
1134
|
+
|
|
1135
|
+
## [0.45.0](https://github.com/rokucommunity/brighterscript/compare/v0.44.0...v0.45.0) - 2022-02-11
|
|
1136
|
+
### Added
|
|
1137
|
+
- `enum` language feature ([#484](https://github.com/rokucommunity/brighterscript/pull/484))
|
|
1138
|
+
- transpile override for plugins when providing AST edits. ([#511](https://github.com/rokucommunity/brighterscript/pull/511))
|
|
1139
|
+
- `setFile` method to align with v1. ([#510](https://github.com/rokucommunity/brighterscript/pull/510))
|
|
1140
|
+
### Changed
|
|
1141
|
+
- deprecated `addOrReplaceFile` method to align with v1. ([#510](https://github.com/rokucommunity/brighterscript/pull/510))
|
|
1142
|
+
- internal `Cache` method now extends `Map` instead of keeping an internal map. ([#509](https://github.com/rokucommunity/brighterscript/pull/509))
|
|
1143
|
+
|
|
1144
|
+
|
|
1145
|
+
|
|
1146
|
+
## [0.44.0](https://github.com/rokucommunity/brighterscript/compare/v0.43.1...v0.44.0) - 2022-02-08
|
|
1147
|
+
### Added
|
|
1148
|
+
- `onScopeValidate` plugin event useful when plugins want to contribute scope validations ([#505](https://github.com/rokucommunity/brighterscript/pull/505))
|
|
1149
|
+
### Changed
|
|
1150
|
+
- show plugin transpile modifications in the `getTranspiledFile` callback (used for "show preview" functionality in vscode) ([#502](https://github.com/rokucommunity/brighterscript/pull/502))
|
|
1151
|
+
- make `Program.getFile` more flexible, and deprecate `Program.getFileByPkgPath`, `Program.getFileByPathAbsolute` ([#506](https://github.com/rokucommunity/brighterscript/pull/506))
|
|
1152
|
+
- add `Program.getFiles` and deprecate `Program.getFilesByPkgPath` ([#506](https://github.com/rokucommunity/brighterscript/pull/506))
|
|
1153
|
+
- move file validation plugin event emitting into `Program.validate()` which means you can't trigger those events by calling `File.validate()` anymore. ([#504](https://github.com/rokucommunity/brighterscript/pull/504))
|
|
1154
|
+
- support generics for `Cache` class ([#503](https://github.com/rokucommunity/brighterscript/pull/503))
|
|
1155
|
+
### Fixed
|
|
1156
|
+
- bug in hover showing required params as optional and optional params as required ([#501](https://github.com/rokucommunity/brighterscript/pull/501))
|
|
1157
|
+
|
|
1158
|
+
|
|
1159
|
+
|
|
1160
|
+
## [0.43.1](https://github.com/rokucommunity/brighterscript/compare/v0.43.0...v0.43.1) - 2022-01-28
|
|
1161
|
+
### Fixed
|
|
1162
|
+
- crash when hovering over global functions ([#497](https://github.com/rokucommunity/brighterscript/pull/497))
|
|
1163
|
+
|
|
1164
|
+
|
|
1165
|
+
|
|
1166
|
+
## [0.43.0](https://github.com/rokucommunity/brighterscript/compare/v0.42.0...v0.43.0) - 2022-01-28
|
|
1167
|
+
### Added
|
|
1168
|
+
- show function documentation when hovering over functions. ([#495](https://github.com/rokucommunity/brighterscript/pull/495))
|
|
1169
|
+
- for plugin authors:
|
|
1170
|
+
- added `beforeFileValidate` and `onFileValidate` plugin hooks ([#490](https://github.com/rokucommunity/brighterscript/pull/490))
|
|
1171
|
+
- added `expressions` collection to `BrsFile.parser.references` which includes all the full expressions, which can be used instead of AST walking in many cases. ([#487](https://github.com/rokucommunity/brighterscript/pull/487))
|
|
1172
|
+
### Changed
|
|
1173
|
+
- For plugin authors:
|
|
1174
|
+
- 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))
|
|
1175
|
+
- 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))
|
|
1176
|
+
- use `Map` for `ClassValidator` class lookup instead of an object. ([#481](https://github.com/rokucommunity/brighterscript/pull/481))
|
|
1177
|
+
|
|
1178
|
+
|
|
1179
|
+
|
|
1180
|
+
### Fixed
|
|
1181
|
+
- bug preventing code to come after an interface statement. ([#493](https://github.com/rokucommunity/brighterscript/pull/493))
|
|
1182
|
+
- don't crash on null options in `printDiagnostics`. ([3147202](https://github.com/rokucommunity/brighterscript/commit/3147202b948d08be198255c068f082857c9de1f0))
|
|
1183
|
+
|
|
1184
|
+
## [0.42.0](https://github.com/rokucommunity/brighterscript/compare/v0.41.6...v0.42.0) - 2022-01-10
|
|
1185
|
+
### Added
|
|
1186
|
+
- AST editing utility for transformations during between the begin and end transpile lifecycle events. See [the documentation](https://github.com/rokucommunity/brighterscript/blob/master/docs/plugins.md#modifying-code) for more info. ([#478](https://github.com/rokucommunity/brighterscript/pull/478))
|
|
1187
|
+
### Fixed
|
|
1188
|
+
- bug in global function parameter checking that was not properly enforcing optional/required status for parameters. ([#479](https://github.com/rokucommunity/brighterscript/pull/479))
|
|
1189
|
+
|
|
1190
|
+
|
|
1191
|
+
|
|
1192
|
+
## [0.41.6](https://github.com/rokucommunity/brighterscript/compare/v0.41.5...v0.41.6) - 2022-01-05
|
|
1193
|
+
### Fixed
|
|
1194
|
+
- issue in the transpiled output of the null coalescing operator where plain variable references are not properly passed into the function. ([#474](https://github.com/rokucommunity/brighterscript/pull/474))
|
|
1195
|
+
|
|
1196
|
+
|
|
1197
|
+
|
|
1198
|
+
## [0.41.5](https://github.com/rokucommunity/brighterscript/compare/v0.41.4...v0.41.5) - 2021-11-23
|
|
1199
|
+
### Fixed
|
|
1200
|
+
- critical crash whenever a local variable had the same name as a javascript object function on the prototype (stuch as `constructor`). ([#469](https://github.com/rokucommunity/brighterscript/pull/469))
|
|
1201
|
+
|
|
1202
|
+
|
|
1203
|
+
|
|
1204
|
+
## [0.41.4](https://github.com/rokucommunity/brighterscript/compare/v0.41.3...v0.41.4) - 2021-10-28
|
|
1205
|
+
### Fixed
|
|
1206
|
+
- bug transpiling instant resume xml elements ([#465](https://github.com/rokucommunity/brighterscript/pull/465))
|
|
1207
|
+
|
|
1208
|
+
|
|
1209
|
+
|
|
1210
|
+
## [0.41.3](https://github.com/rokucommunity/brighterscript/compare/v0.41.2...v0.41.3) - 2021-10-27
|
|
1211
|
+
### Changed
|
|
1212
|
+
- upgrade to [roku-deploy@3.5.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#350---2021-10-27) which adds the ability to use negated non-rootDir top-level patterns in the files array ([#78](https://github.com/rokucommunity/roku-deploy/pull/78))
|
|
1213
|
+
### Fixed
|
|
1214
|
+
- Allow diagnostic non-numeric disable code comments ([#463](https://github.com/rokucommunity/brighterscript/pull/463)).
|
|
1215
|
+
|
|
1216
|
+
|
|
1217
|
+
## [0.41.2](https://github.com/rokucommunity/brighterscript/compare/v0.41.1...v0.41.2) - 2021-10-17
|
|
1218
|
+
### Fixed
|
|
1219
|
+
- crash when subclass field has same name as ancestor method ([#460](https://github.com/rokucommunity/brighterscript/pull/460)).
|
|
1220
|
+
|
|
1221
|
+
|
|
1222
|
+
|
|
1223
|
+
## [0.41.1](https://github.com/rokucommunity/brighterscript/compare/v0.41.0...v0.41.1) - 2021-10-07
|
|
1224
|
+
### Fixed
|
|
1225
|
+
- parse issue with regex literals ([#458](https://github.com/rokucommunity/brighterscript/pull/458)).
|
|
1226
|
+
|
|
1227
|
+
|
|
1228
|
+
|
|
1229
|
+
## [0.41.0](https://github.com/rokucommunity/brighterscript/compare/v0.40.1...v0.41.0) - 2021-09-27
|
|
1230
|
+
### Added
|
|
1231
|
+
- Regex literal support in brighterscript ([#452](https://github.com/rokucommunity/brighterscript/pull/452)).
|
|
1232
|
+
|
|
1233
|
+
|
|
1234
|
+
|
|
1235
|
+
## [0.40.1](https://github.com/rokucommunity/brighterscript/compare/v0.40.0...v0.40.1) - 2021-09-17
|
|
1236
|
+
### Changed
|
|
1237
|
+
- install roku-deploy@3.4.2 which prevents deploy crashes when target Roku doesn't have an installed channel ([roku-deploy#65](https://github.com/rokucommunity/brighterscript/compare/v0.39.4...v0.40.0))
|
|
1238
|
+
|
|
1239
|
+
|
|
1240
|
+
|
|
1241
|
+
## [0.40.0](https://github.com/rokucommunity/brighterscript/compare/v0.39.4...v0.40.0) - 2021-08-02
|
|
1242
|
+
### Added
|
|
1243
|
+
- language support for Interface statements ([#426](https://github.com/rokucommunity/brighterscript/pull/426))
|
|
1244
|
+
### Changed
|
|
1245
|
+
- cli prints the path of any loaded bsconfig.json on startup ([#434](https://github.com/rokucommunity/brighterscript/pull/434))
|
|
1246
|
+
|
|
1247
|
+
|
|
1248
|
+
|
|
1249
|
+
## [0.39.4](https://github.com/rokucommunity/brighterscript/compare/v0.39.3...v0.39.4) - 2021-06-27
|
|
1250
|
+
### Fixed
|
|
1251
|
+
- incorrect block range for inline if/then branch ([#424](https://github.com/rokucommunity/brighterscript/pull/424))
|
|
1252
|
+
- extract associative array comma when parsing ([#427](https://github.com/rokucommunity/brighterscript/pull/424))
|
|
1253
|
+
- allow up to 6 arguments in `CreateObject` function signature ([#430](https://github.com/rokucommunity/brighterscript/pull/430))
|
|
1254
|
+
- add v30/bslCore library functions to global callables ([#433](https://github.com/rokucommunity/brighterscript/pull/433))
|
|
1255
|
+
|
|
1256
|
+
|
|
1257
|
+
## [0.39.3](https://github.com/rokucommunity/brighterscript/compare/v0.39.2...v0.39.3) - 2021-06-01
|
|
1258
|
+
### Changed
|
|
1259
|
+
- 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
|
|
1260
|
+
|
|
1261
|
+
|
|
1262
|
+
|
|
1263
|
+
## [0.39.2](https://github.com/rokucommunity/brighterscript/compare/v0.39.1...v0.39.2) - 2021-05-28
|
|
1264
|
+
### Changed
|
|
1265
|
+
- upgraded to [roku-deploy@3.4.0](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#340---2021-05-28) which brings significant zip speed improvements
|
|
1266
|
+
|
|
1267
|
+
|
|
1268
|
+
|
|
1269
|
+
## [0.39.1](https://github.com/rokucommunity/brighterscript/compare/v0.39.0...v0.39.1) - 2021-05-24
|
|
1270
|
+
### Changed
|
|
1271
|
+
- re-export `CodeActionKind` so plugins don't need to import from vscode-brightscript-language directly.
|
|
1272
|
+
### Fixed
|
|
1273
|
+
- code action for "replace" tasks bug
|
|
1274
|
+
- include missing information in the CodeAction construction
|
|
1275
|
+
|
|
1276
|
+
|
|
1277
|
+
|
|
1278
|
+
## [0.39.0](https://github.com/rokucommunity/brighterscript/compare/v0.38.2...v0.39.0) - 2021-05-18
|
|
1279
|
+
### Added
|
|
1280
|
+
- semantic token support for plugins
|
|
1281
|
+
- basic semantic tokens for `new` statements and namespace usage
|
|
1282
|
+
|
|
1283
|
+
|
|
1284
|
+
|
|
1285
|
+
## [0.38.2](https://github.com/rokucommunity/brighterscript/compare/v0.38.1...v0.38.2) - 2021-05-17
|
|
1286
|
+
### Fixed
|
|
1287
|
+
- language server crash when namespaced function or class didn't have a name ([#419](https://github.com/rokucommunity/brighterscript/pull/419))
|
|
1288
|
+
|
|
1289
|
+
|
|
1290
|
+
|
|
1291
|
+
## [0.38.1](https://github.com/rokucommunity/brighterscript/compare/v0.38.0...v0.38.1) - 2021-05-14
|
|
1292
|
+
### Changed
|
|
1293
|
+
- 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))
|
|
1294
|
+
### Fixed
|
|
1295
|
+
- ParseJson function signature to include second parameter ([#418](https://github.com/rokucommunity/brighterscript/pull/418))
|
|
1296
|
+
- bsconfig.schema.json support for string diagnostic codes ([#416](https://github.com/rokucommunity/brighterscript/pull/416))
|
|
1297
|
+
- upgrade chokidar to add `--watch` cli support for M1 mac computers ([#386](https://github.com/rokucommunity/brighterscript/pull/386))
|
|
1298
|
+
- several dependency vulnerability fixes ([#413](https://github.com/rokucommunity/brighterscript/pull/413), [#410](https://github.com/rokucommunity/brighterscript/pull/410), [#411](https://github.com/rokucommunity/brighterscript/pull/411))
|
|
1299
|
+
|
|
1300
|
+
|
|
1301
|
+
|
|
1302
|
+
## [0.38.0](https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v0.38.0) - 2021-05-04
|
|
1303
|
+
### Added
|
|
1304
|
+
- warning for mismatched class method accessibility ([#402](https://github.com/rokucommunity/brighterscript/pull/402))
|
|
1305
|
+
- allow class field overrides in child classes as long as they are the same type ([#394](https://github.com/rokucommunity/brighterscript/pull/394))
|
|
80
1306
|
|
|
81
1307
|
|
|
82
1308
|
|
|
83
|
-
## [0.37.4] - 2021-04-20
|
|
1309
|
+
## [0.37.4](https://github.com/rokucommunity/brighterscript/compare/v0.37.3...v0.37.4) - 2021-04-20
|
|
84
1310
|
### Fixed
|
|
85
1311
|
- bug validating namespace function calls ([#390](https://github.com/rokucommunity/brighterscript/pull/390))
|
|
86
1312
|
|
|
87
1313
|
|
|
88
1314
|
|
|
89
|
-
## [0.37.3] - 2021-04-12
|
|
1315
|
+
## [0.37.3](https://github.com/rokucommunity/brighterscript/compare/v0.37.2...v0.37.3) - 2021-04-12
|
|
90
1316
|
### Fixed
|
|
91
1317
|
- bug where having multiple components with the same name would cause issues in the program, normally requiring a language server or watcher restart. ([#353](https://github.com/rokucommunity/brighterscript/pull/353))
|
|
92
1318
|
- bug in xml file ignoring `needsTranspiled` flag when set by plugins ([#384](https://github.com/rokucommunity/brighterscript/pull/384))
|
|
93
1319
|
|
|
94
1320
|
|
|
95
1321
|
|
|
96
|
-
## [0.37.2] - 2021-04-08
|
|
1322
|
+
## [0.37.2](https://github.com/rokucommunity/brighterscript/compare/v0.37.1...v0.37.2) - 2021-04-08
|
|
97
1323
|
### Fixed
|
|
98
1324
|
- erraneous syntax issue when concatenating a template string and a regular string. ([#383](https://github.com/rokucommunity/brighterscript/pull/383))
|
|
99
1325
|
- prevent circular import causing stack overflow crash. ([#381](https://github.com/rokucommunity/brighterscript/pull/381))
|
|
100
1326
|
|
|
101
1327
|
|
|
102
1328
|
|
|
103
|
-
## [0.37.1] - 2021-03-30
|
|
1329
|
+
## [0.37.1](https://github.com/rokucommunity/brighterscript/compare/v0.37.0...v0.37.1) - 2021-03-30
|
|
104
1330
|
### Fixed
|
|
105
1331
|
- bug when transpiling print statements that wouldn't retain the existing separators (semicolon, comma, no separator) which all have unique uses ([#373](https://github.com/rokucommunity/brighterscript/pull/373))
|
|
106
1332
|
|
|
107
1333
|
|
|
108
1334
|
|
|
109
|
-
## [0.37.0] - 2021-03-18
|
|
1335
|
+
## [0.37.0](https://github.com/rokucommunity/brighterscript/compare/v0.36.0...v0.37.0) - 2021-03-18
|
|
110
1336
|
### Added
|
|
111
1337
|
- support for `bs:disable` comments in xml files ([#363](https://github.com/rokucommunity/brighterscript/pull/363))
|
|
112
1338
|
|
|
113
1339
|
|
|
114
1340
|
|
|
115
|
-
## [0.36.0] - 2021-03-15
|
|
1341
|
+
## [0.36.0](https://github.com/rokucommunity/brighterscript/compare/v0.35.0...v0.36.0) - 2021-03-15
|
|
116
1342
|
### Added
|
|
117
1343
|
- class import code actions ([#365](https://github.com/rokucommunity/brighterscript/pull/365))
|
|
118
1344
|
### Changed
|
|
@@ -125,7 +1351,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
125
1351
|
|
|
126
1352
|
|
|
127
1353
|
|
|
128
|
-
## [0.35.0] - 2021-03-09
|
|
1354
|
+
## [0.35.0](https://github.com/rokucommunity/brighterscript/compare/v0.34.3...v0.35.0) - 2021-03-09
|
|
129
1355
|
### Added
|
|
130
1356
|
- code actions for suggesting import statements in brighterscript files ([#347](https://github.com/rokucommunity/brighterscript/pull/347))
|
|
131
1357
|
### Fixed
|
|
@@ -133,13 +1359,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
133
1359
|
|
|
134
1360
|
|
|
135
1361
|
|
|
136
|
-
## [0.34.3] -2021-03-05
|
|
1362
|
+
## [0.34.3](https://github.com/rokucommunity/brighterscript/compare/v0.34.2...v0.34.3) -2021-03-05
|
|
137
1363
|
### Fixed
|
|
138
1364
|
- bug when transpiling bsc with custom function and parameter return types
|
|
139
1365
|
|
|
140
1366
|
|
|
141
1367
|
|
|
142
|
-
## [0.34.2] - 2021-03-04
|
|
1368
|
+
## [0.34.2](https://github.com/rokucommunity/brighterscript/compare/v0.34.1...v0.34.2) - 2021-03-04
|
|
143
1369
|
### Added
|
|
144
1370
|
- support for loading bslib without alias (i.e. `@rokucommunity/bslib`).
|
|
145
1371
|
### Fixed
|
|
@@ -149,19 +1375,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
149
1375
|
|
|
150
1376
|
|
|
151
1377
|
|
|
152
|
-
## [0.34.1] - 2021-03-02
|
|
1378
|
+
## [0.34.1](https://github.com/rokucommunity/brighterscript/compare/v0.34.0...v0.34.1) - 2021-03-02
|
|
153
1379
|
### Fixed
|
|
154
1380
|
- syntax parsing bugs within single-line if statements
|
|
155
1381
|
|
|
156
1382
|
|
|
157
1383
|
|
|
158
|
-
## [0.34.0] - 2021-02-28
|
|
1384
|
+
## [0.34.0](https://github.com/rokucommunity/brighterscript/compare/v0.33.0...v0.34.0) - 2021-02-28
|
|
159
1385
|
### Added
|
|
160
1386
|
- language server file path completions inside strings that start with `pkg:` or `libpkg:`
|
|
161
1387
|
|
|
162
1388
|
|
|
163
1389
|
|
|
164
|
-
## [0.33.0] - 2021-02-27
|
|
1390
|
+
## [0.33.0](https://github.com/rokucommunity/brighterscript/compare/v0.32.3...v0.33.0) - 2021-02-27
|
|
165
1391
|
### Added
|
|
166
1392
|
- support for ropm version of bslib.([#334](https://github.com/rokucommunity/brighterscript/pull/334))
|
|
167
1393
|
### Fixed
|
|
@@ -171,7 +1397,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
171
1397
|
|
|
172
1398
|
|
|
173
1399
|
|
|
174
|
-
## [0.32.3] - 2021-02-25
|
|
1400
|
+
## [0.32.3](https://github.com/rokucommunity/brighterscript/compare/v0.32.2...v0.32.3) - 2021-02-25
|
|
175
1401
|
### Fixed
|
|
176
1402
|
- fix significant performance bug in diagnostic filtering
|
|
177
1403
|
- tweaks to the logging system to make `logLevel=verbose` less chatty
|
|
@@ -180,25 +1406,21 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
180
1406
|
|
|
181
1407
|
|
|
182
1408
|
|
|
183
|
-
## [0.
|
|
1409
|
+
## [0.31.2](https://github.com/rokucommunity/brighterscript/compare/v0.31.1...v0.31.2) - 2021-02-20
|
|
184
1410
|
### Fixed
|
|
185
1411
|
- transpile bug when a template string starts with an expression ([#327](https://github.com/rokucommunity/brighterscript/pull/327))
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
## [0.31.2] - 2021-02-18
|
|
190
1412
|
### Changed
|
|
191
|
-
-
|
|
1413
|
+
- when generating type definition files, include the namespace for every extends statement ([#324](https://github.com/rokucommunity/brighterscript/pull/324))
|
|
192
1414
|
|
|
193
1415
|
|
|
194
1416
|
|
|
195
|
-
## [0.31.1] - 2021-02-18
|
|
1417
|
+
## [0.31.1](https://github.com/rokucommunity/brighterscript/compare/v0.31.0...v0.31.1) - 2021-02-18
|
|
196
1418
|
### Fixed
|
|
197
1419
|
- prevent exception in codeAction functionality when file cannot be found in a `Program`
|
|
198
1420
|
|
|
199
1421
|
|
|
200
1422
|
|
|
201
|
-
## [0.31.0] - 2021-02-17
|
|
1423
|
+
## [0.31.0](https://github.com/rokucommunity/brighterscript/compare/v0.30.9...v0.31.0) - 2021-02-17
|
|
202
1424
|
### Added
|
|
203
1425
|
- plugin and language server support for [codeActions](https://microsoft.github.io/language-server-protocol/specifications/specification-current/#textDocument_codeAction)
|
|
204
1426
|
- codeAction to add missing `extends` attribute in components
|
|
@@ -208,7 +1430,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
208
1430
|
|
|
209
1431
|
|
|
210
1432
|
|
|
211
|
-
## [0.30.9] - 2021-02-15
|
|
1433
|
+
## [0.30.9](https://github.com/rokucommunity/brighterscript/compare/v0.30.8...v0.30.9) - 2021-02-15
|
|
212
1434
|
### Fixed
|
|
213
1435
|
- prevent excess validations when non-workspace files are changed ([#315](https://github.com/rokucommunity/brighterscript/pull/315))
|
|
214
1436
|
- catch errors when getting signatures ([#285](https://github.com/rokucommunity/brighterscript/pull/285))
|
|
@@ -216,7 +1438,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
216
1438
|
|
|
217
1439
|
|
|
218
1440
|
|
|
219
|
-
## [0.30.8] - 2021-02-12
|
|
1441
|
+
## [0.30.8](https://github.com/rokucommunity/brighterscript/compare/v0.30.7...v0.30.8) - 2021-02-12
|
|
220
1442
|
### Changed
|
|
221
1443
|
- add additional logging in `Program.removeFile`
|
|
222
1444
|
### Fixed
|
|
@@ -225,20 +1447,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
225
1447
|
|
|
226
1448
|
|
|
227
1449
|
|
|
228
|
-
## [0.30.7] - 2021-02-11
|
|
1450
|
+
## [0.30.7](https://github.com/rokucommunity/brighterscript/compare/v0.30.6...v0.30.7) - 2021-02-11
|
|
229
1451
|
### Fixed
|
|
230
1452
|
- bug in `getSignatureHelp` that wouldn't work for function calls with no leading whitespace. ([#307](https://github.com/rokucommunity/brighterscript/issues/307))
|
|
231
1453
|
|
|
232
1454
|
|
|
233
1455
|
|
|
234
|
-
## [0.30.6] - 2021-02-07
|
|
1456
|
+
## [0.30.6](https://github.com/rokucommunity/brighterscript/compare/v0.30.5...v0.30.6) - 2021-02-07
|
|
235
1457
|
### Fixed
|
|
236
1458
|
- bad transpile for nested class method super calls
|
|
237
1459
|
- SceneGraph node attributes being wrongly removed when modifying attributes
|
|
238
1460
|
|
|
239
1461
|
|
|
240
1462
|
|
|
241
|
-
## [0.30.5] - 2021-02-03
|
|
1463
|
+
## [0.30.5](https://github.com/rokucommunity/brighterscript/compare/v0.30.4...v0.30.5) - 2021-02-03
|
|
242
1464
|
### Added
|
|
243
1465
|
- syntax support for dim statements
|
|
244
1466
|
- completion and code navigation for labels
|
|
@@ -247,33 +1469,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
247
1469
|
|
|
248
1470
|
|
|
249
1471
|
|
|
250
|
-
## [0.30.4] - 2021-02-02
|
|
1472
|
+
## [0.30.4](https://github.com/rokucommunity/brighterscript/compare/v0.30.3...v0.30.4) - 2021-02-02
|
|
251
1473
|
### Fixed
|
|
252
1474
|
- fixed crash during validation caused by a missing function body when parsing malformed code
|
|
253
1475
|
|
|
254
1476
|
|
|
255
1477
|
|
|
256
|
-
## [0.30.3] - 2021-02-01
|
|
1478
|
+
## [0.30.3](https://github.com/rokucommunity/brighterscript/compare/v0.30.2...v0.30.3) - 2021-02-01
|
|
257
1479
|
### Fixed
|
|
258
1480
|
- performance issue when transpiling larger projects, even when no brighterscript code was used
|
|
259
1481
|
|
|
260
1482
|
|
|
261
1483
|
|
|
262
|
-
## [0.30.2] - 2021-01-31
|
|
1484
|
+
## [0.30.2](https://github.com/rokucommunity/brighterscript/compare/v0.30.1...v0.30.2) - 2021-01-31
|
|
263
1485
|
### Fixed
|
|
264
1486
|
- xml parse error crashing validation ((#294)[https://github.com/rokucommunity/brighterscript/pull/294])
|
|
265
1487
|
- better handling for `createStringLiteral` ((#292)[https://github.com/rokucommunity/brighterscript/pull/292])
|
|
266
1488
|
|
|
267
1489
|
|
|
268
1490
|
|
|
269
|
-
## [0.30.1] - 2021-01-29
|
|
1491
|
+
## [0.30.1](https://github.com/rokucommunity/brighterscript/compare/v0.30.0...v0.30.1) - 2021-01-29
|
|
270
1492
|
### Fixed
|
|
271
1493
|
- bug that would crash while transpiling if a script tag didn't have a `type` attribute
|
|
272
1494
|
- XML transpile now honors the `sourceMap` option
|
|
273
1495
|
|
|
274
1496
|
|
|
275
1497
|
|
|
276
|
-
## [0.30.0] - 2021-01-26
|
|
1498
|
+
## [0.30.0](https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0) - 2021-01-26
|
|
277
1499
|
### Added
|
|
278
1500
|
- null coalescing operator (see [the docs](https://github.com/rokucommunity/brighterscript/blob/master/docs/null-coalescing-operator.md) for more information)
|
|
279
1501
|
### Fixed
|
|
@@ -281,13 +1503,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
281
1503
|
|
|
282
1504
|
|
|
283
1505
|
|
|
284
|
-
## [0.29.0] - 2021-01-25
|
|
1506
|
+
## [0.29.0](https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0) - 2021-01-25
|
|
285
1507
|
### Added
|
|
286
1508
|
- ternary operator (see [the docs](https://github.com/rokucommunity/brighterscript/blob/master/docs/ternary-operator.md) for more information)
|
|
287
1509
|
|
|
288
1510
|
|
|
289
1511
|
|
|
290
|
-
## [0.28.2] - 2021-01-22
|
|
1512
|
+
## [0.28.2](https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0) - 2021-01-22
|
|
291
1513
|
### Changed
|
|
292
1514
|
- config loading functions from `util.ts` are now run synchronously
|
|
293
1515
|
### Fixed
|
|
@@ -296,7 +1518,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
296
1518
|
|
|
297
1519
|
|
|
298
1520
|
|
|
299
|
-
## [0.28.1] - 2021-01-19
|
|
1521
|
+
## [0.28.1](https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0) - 2021-01-19
|
|
300
1522
|
### Changed
|
|
301
1523
|
- (For plugin authors) refactored many async methods into sync methods to simplify file creation/management. ([#278](https://github.com/rokucommunity/brighterscript/pull/278))
|
|
302
1524
|
### Fixed
|
|
@@ -305,7 +1527,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
305
1527
|
|
|
306
1528
|
|
|
307
1529
|
|
|
308
|
-
## [0.28.0] - 2021-01-16
|
|
1530
|
+
## [0.28.0](https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0) - 2021-01-16
|
|
309
1531
|
### Added
|
|
310
1532
|
- annotation support for classes and class methods ([#270](https://github.com/rokucommunity/brighterscript/pull/270))
|
|
311
1533
|
### fixed
|
|
@@ -313,13 +1535,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
313
1535
|
|
|
314
1536
|
|
|
315
1537
|
|
|
316
|
-
## [0.27.0] - 2021-01-15
|
|
1538
|
+
## [0.27.0](https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0) - 2021-01-15
|
|
317
1539
|
### Changed
|
|
318
1540
|
- plugin system changed to require a factory function instead of a singleton object ([#272](https://github.com/rokucommunity/brighterscript/pull/272))
|
|
319
1541
|
|
|
320
1542
|
|
|
321
1543
|
|
|
322
|
-
## [0.26.0] - 2021-01-14
|
|
1544
|
+
## [0.26.0](https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0) - 2021-01-14
|
|
323
1545
|
### Added
|
|
324
1546
|
- proper XML AST support
|
|
325
1547
|
- component interface validation
|
|
@@ -327,25 +1549,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
327
1549
|
|
|
328
1550
|
|
|
329
1551
|
|
|
330
|
-
## [0.25.0] - 2021-01-12
|
|
1552
|
+
## [0.25.0](https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0) - 2021-01-12
|
|
331
1553
|
### Added
|
|
332
1554
|
- support for passing custom types as function parameters and return types ([#262](https://github.com/rokucommunity/brighterscript/issues/262))
|
|
333
1555
|
|
|
334
1556
|
|
|
335
1557
|
|
|
336
|
-
## [0.24.2] - 2021-01-11
|
|
1558
|
+
## [0.24.2](https://github.com/rokucommunity/brighterscript/compare/v0.24.1...v0.24.2) - 2021-01-11
|
|
337
1559
|
### Fixed
|
|
338
1560
|
- bug with transpiled child classes causing on-device stack overflows ([#267](https://github.com/rokucommunity/brighterscript/issues/267))
|
|
339
1561
|
|
|
340
1562
|
|
|
341
1563
|
|
|
342
|
-
## [0.24.1] - 2021-01-09
|
|
1564
|
+
## [0.24.1](https://github.com/rokucommunity/brighterscript/compare/v0.24.0...v0.24.1) - 2021-01-09
|
|
343
1565
|
### Changed
|
|
344
1566
|
- upgraded to [roku-deploy@3.2.4](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#324---2021-01-08)
|
|
345
1567
|
|
|
346
1568
|
|
|
347
1569
|
|
|
348
|
-
## [0.24.0] - 2021-01-08
|
|
1570
|
+
## [0.24.0](https://github.com/rokucommunity/brighterscript/compare/v0.23.2...v0.24.0) - 2021-01-08
|
|
349
1571
|
### Added
|
|
350
1572
|
- `sourceMap` option to enable/disable generating sourcemaps
|
|
351
1573
|
### Changed
|
|
@@ -353,14 +1575,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
353
1575
|
|
|
354
1576
|
|
|
355
1577
|
|
|
356
|
-
## [0.23.2] - 2020-01-06
|
|
1578
|
+
## [0.23.2](https://github.com/rokucommunity/brighterscript/compare/v0.23.1...v0.23.2) - 2020-01-06
|
|
357
1579
|
### Fixed
|
|
358
1580
|
- `isLiteralInvalid` was causing infinite recursion.
|
|
359
1581
|
- lock `vscode-languageserver-protocol` package version to prevent issues with vscode not following semantic versioning.
|
|
360
1582
|
|
|
361
1583
|
|
|
362
1584
|
|
|
363
|
-
## [0.23.1] - 2020-12-22
|
|
1585
|
+
## [0.23.1](https://github.com/rokucommunity/brighterscript/compare/v0.23.0...v0.23.1) - 2020-12-22
|
|
364
1586
|
### Changed
|
|
365
1587
|
- renamed `Scope.getFiles()` to `Scope.getAllFiles()` and added a new function called `Scope.getOwnFiles()`
|
|
366
1588
|
### Fixed
|
|
@@ -368,7 +1590,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
368
1590
|
|
|
369
1591
|
|
|
370
1592
|
|
|
371
|
-
## [0.23.0] - 2020-12-18
|
|
1593
|
+
## [0.23.0](https://github.com/rokucommunity/brighterscript/compare/v0.22.1...v0.23.0) - 2020-12-18
|
|
372
1594
|
### Changed
|
|
373
1595
|
- AST parser refactoring ([#244](https://github.com/rokucommunity/brighterscript/pull/244))
|
|
374
1596
|
- Make `ElseIf` into an `ElseIfStatement`
|
|
@@ -383,19 +1605,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
383
1605
|
|
|
384
1606
|
|
|
385
1607
|
|
|
386
|
-
## [0.22.1] - 2020-12-14
|
|
1608
|
+
## [0.22.1](https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1) - 2020-12-14
|
|
387
1609
|
### Fixed
|
|
388
1610
|
- small bug introduced by vscode-languageserver causing crashes anytime negative range values are provided.
|
|
389
1611
|
|
|
390
1612
|
|
|
391
1613
|
|
|
392
|
-
## [0.22.0] - 2020-11-23
|
|
1614
|
+
## [0.22.0](https://github.com/rokucommunity/brighterscript/compare/v0.21.0...v0.22.0) - 2020-11-23
|
|
393
1615
|
### Added
|
|
394
1616
|
- `try/catch` and `throw` syntax support [#218](https://github.com/rokucommunity/brighterscript/issues/218)
|
|
395
1617
|
|
|
396
1618
|
|
|
397
1619
|
|
|
398
|
-
## [0.21.0] - 2020-11-19
|
|
1620
|
+
## [0.21.0](https://github.com/rokucommunity/brighterscript/compare/v0.20.1...v0.21.0) - 2020-11-19
|
|
399
1621
|
### Added
|
|
400
1622
|
- Catch when local variables and scope functions have the same name as a class. ([#246](https://github.com/rokucommunity/brighterscript/pull/246))
|
|
401
1623
|
- Catch when functions use keyword names ([#247](https://github.com/rokucommunity/brighterscript/pull/247))
|
|
@@ -411,20 +1633,20 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
411
1633
|
- remove eliminated `BrsType` items from `reflection.ts`.
|
|
412
1634
|
|
|
413
1635
|
|
|
414
|
-
## [0.20.1] - 2020-11-16
|
|
1636
|
+
## [0.20.1](https://github.com/rokucommunity/brighterscript/compare/v0.20.0...v0.20.1) - 2020-11-16
|
|
415
1637
|
### Changed
|
|
416
1638
|
- load plugins relatively to the project ([#242](https://github.com/rokucommunity/brighterscript/pull/242))
|
|
417
1639
|
- modified reflection utilities so they are compatible with TS strict null checks ([#243](https://github.com/rokucommunity/brighterscript/pull/243))
|
|
418
1640
|
|
|
419
1641
|
|
|
420
1642
|
|
|
421
|
-
## [0.20.0] - 2020-11-13
|
|
1643
|
+
## [0.20.0](https://github.com/rokucommunity/brighterscript/compare/v0.19.0...v0.20.0) - 2020-11-13
|
|
422
1644
|
### Added
|
|
423
1645
|
- more language server features: onWorkspaceSymbol, onSignatureHelp, onDocumentSymbol, onReferences, improve onDefinition ([#191](https://github.com/rokucommunity/brighterscript/pull/191))
|
|
424
1646
|
|
|
425
1647
|
|
|
426
1648
|
|
|
427
|
-
## [0.19.0] - 2020-11-04
|
|
1649
|
+
## [0.19.0](https://github.com/rokucommunity/brighterscript/compare/v0.18.2...v0.19.0) - 2020-11-04
|
|
428
1650
|
### Changed
|
|
429
1651
|
- `emitDefinitions` now defaults to `false` (it previously defaulted to `true`)
|
|
430
1652
|
### Fixed
|
|
@@ -432,13 +1654,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
432
1654
|
|
|
433
1655
|
|
|
434
1656
|
|
|
435
|
-
## [0.18.2] - 2020-11-2
|
|
1657
|
+
## [0.18.2](https://github.com/rokucommunity/brighterscript/compare/v0.18.1...v0.18.2) - 2020-11-2
|
|
436
1658
|
### Fixed
|
|
437
1659
|
- support on-demand parse for typedef-shadowed files ([#237](https://github.com/rokucommunity/brighterscript/pull/237))
|
|
438
1660
|
|
|
439
1661
|
|
|
440
1662
|
|
|
441
|
-
## [0.18.1] - 2020-10-30
|
|
1663
|
+
## [0.18.1](https://github.com/rokucommunity/brighterscript/compare/v0.18.0...v0.18.1) - 2020-10-30
|
|
442
1664
|
### Fixed
|
|
443
1665
|
- exclude bs1100 for typedef files (`Missing "super()" call in class constructor method.`)
|
|
444
1666
|
- fix some invalid class field types in typedef files
|
|
@@ -446,25 +1668,25 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
446
1668
|
|
|
447
1669
|
|
|
448
1670
|
|
|
449
|
-
## [0.18.0] - 2020-10-30
|
|
1671
|
+
## [0.18.0](https://github.com/rokucommunity/brighterscript/compare/v0.17.0...v0.18.0) - 2020-10-30
|
|
450
1672
|
### Added
|
|
451
1673
|
- support for consuming and producing type definitions. ([188](https://github.com/rokucommunity/brighterscript/pull/188))
|
|
452
1674
|
|
|
453
1675
|
|
|
454
1676
|
|
|
455
|
-
## [0.17.0] - 2020-10-27
|
|
1677
|
+
## [0.17.0](https://github.com/rokucommunity/brighterscript/compare/v0.16.12...v0.17.0) - 2020-10-27
|
|
456
1678
|
### Added
|
|
457
1679
|
- Annotation syntax and AST support ([#234](https://github.com/rokucommunity/brighterscript/pull/234))
|
|
458
1680
|
|
|
459
1681
|
|
|
460
1682
|
|
|
461
|
-
## [0.16.12] - 2020-10-21
|
|
1683
|
+
## [0.16.12](https://github.com/rokucommunity/brighterscript/compare/v0.16.11...v0.16.12) - 2020-10-21
|
|
462
1684
|
### Fixed
|
|
463
1685
|
- parser bug when there was a trailing colon after `for` or `while` loop statements ([#230](https://github.com/rokucommunity/brighterscript/pull/230))
|
|
464
1686
|
|
|
465
1687
|
|
|
466
1688
|
|
|
467
|
-
## [0.16.11] - 2020-10-20
|
|
1689
|
+
## [0.16.11](https://github.com/rokucommunity/brighterscript/compare/v0.16.10...v0.16.11 - 2020-10-20
|
|
468
1690
|
### Fixed
|
|
469
1691
|
- bug when using single quotes in an xml script tag
|
|
470
1692
|
### Changed
|
|
@@ -472,14 +1694,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
472
1694
|
|
|
473
1695
|
|
|
474
1696
|
|
|
475
|
-
## [0.16.10] - 2020-10-20
|
|
1697
|
+
## [0.16.10](https://github.com/rokucommunity/brighterscript/compare/v0.16.9...v0.16.10) - 2020-10-20
|
|
476
1698
|
### Fixed
|
|
477
1699
|
- prevent crash when a callable has the same name as a javascript reserved name ([#226](https://github.com/rokucommunity/brighterscript/pull/226))
|
|
478
1700
|
- prevent crash when `import` statement is malformed ([#224](https://github.com/rokucommunity/brighterscript/pull/224))
|
|
479
1701
|
|
|
480
1702
|
|
|
481
1703
|
|
|
482
|
-
## [0.16.9] - 2020-10-18
|
|
1704
|
+
## [0.16.9](https://github.com/rokucommunity/brighterscript/compare/v0.16.8...v0.16.9) - 2020-10-18
|
|
483
1705
|
### Fixed
|
|
484
1706
|
- reduce language server throttle for validation and parsing now that those have improved performance.
|
|
485
1707
|
- massively improve validation performance by refactoring `getFileByPkgPath`
|
|
@@ -488,33 +1710,33 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
488
1710
|
|
|
489
1711
|
|
|
490
1712
|
|
|
491
|
-
## [0.16.8] - 2020-10-15
|
|
1713
|
+
## [0.16.8](https://github.com/rokucommunity/brighterscript/compare/v0.16.7...v0.16.8) - 2020-10-15
|
|
492
1714
|
### Fixed
|
|
493
1715
|
- bug when printing diagnostics that would crash if the contents were missing (like for in-memory-only files injected by plugins) ([#217](https://github.com/rokucommunity/brighterscript/pull/217))
|
|
494
1716
|
- Drop expensive AST walking for collecting property names and instead collect them as part of parsing
|
|
495
1717
|
|
|
496
1718
|
|
|
497
1719
|
|
|
498
|
-
## [0.16.7] - 2020-10-13
|
|
1720
|
+
## [0.16.7](https://github.com/rokucommunity/brighterscript/compare/v0.16.6...v0.16.7) - 2020-10-13
|
|
499
1721
|
### Fixed
|
|
500
1722
|
- bug when finding `bsconfig.json` that would use the wrong cwd in multi-workspace language server situations.
|
|
501
1723
|
- bug when transpiling in-memory-only files. ([#212](https://github.com/rokucommunity/brighterscript/pull/212))
|
|
502
1724
|
|
|
503
1725
|
|
|
504
1726
|
|
|
505
|
-
## [0.16.6] - 2020-10-13
|
|
1727
|
+
## [0.16.6](https://github.com/rokucommunity/brighterscript/compare/v0.16.5...v0.16.6) - 2020-10-13
|
|
506
1728
|
### Fixed
|
|
507
1729
|
- quirk in the GitHub actions workflow that didn't publish the correct code.
|
|
508
1730
|
|
|
509
1731
|
|
|
510
1732
|
|
|
511
|
-
## [0.16.5] - 2020-10-13
|
|
1733
|
+
## [0.16.5](https://github.com/rokucommunity/brighterscript/compare/v0.16.4...v0.16.5) - 2020-10-13
|
|
512
1734
|
### Fixed
|
|
513
1735
|
- performance issue during the parse phase. We now defer certain collections until needed. ([#210](https://github.com/rokucommunity/brighterscript/pull/210))
|
|
514
1736
|
|
|
515
1737
|
|
|
516
1738
|
|
|
517
|
-
## [0.16.4] - 2020-10-12
|
|
1739
|
+
## [0.16.4](https://github.com/rokucommunity/brighterscript/compare/v0.16.3...v0.16.4) - 2020-10-12
|
|
518
1740
|
### Changed
|
|
519
1741
|
- LanguageServer now sends a _diff_ of diagnostics for files, instead of the entire project's diagnostics every time. ([#204](https://github.com/rokucommunity/brighterscript/pull/204))
|
|
520
1742
|
### Fixed
|
|
@@ -523,7 +1745,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
523
1745
|
|
|
524
1746
|
|
|
525
1747
|
|
|
526
|
-
## [0.16.3] - 2020-10-11
|
|
1748
|
+
## [0.16.3](https://github.com/rokucommunity/brighterscript/compare/v0.16.2...v0.16.3) - 2020-10-11
|
|
527
1749
|
### Changed
|
|
528
1750
|
- Add generic type parameter for `Program` add functions.
|
|
529
1751
|
- Export `BscType` type to simplify `BrsFile | XmlFile` usage everywhere.
|
|
@@ -532,13 +1754,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
532
1754
|
|
|
533
1755
|
|
|
534
1756
|
|
|
535
|
-
## [0.16.2] - 2020-10-09
|
|
1757
|
+
## [0.16.2](https://github.com/rokucommunity/brighterscript/compare/v0.16.1...v0.16.2) - 2020-10-09
|
|
536
1758
|
### Fixed
|
|
537
1759
|
- critical bug in diagnostic printing that would crash the program if a diagnostic was missing a valid range.
|
|
538
1760
|
|
|
539
1761
|
|
|
540
1762
|
|
|
541
|
-
## [0.16.1] - 2020-10-03
|
|
1763
|
+
## [0.16.1](https://github.com/rokucommunity/brighterscript/compare/v0.16.0...v0.16.1) - 2020-10-03
|
|
542
1764
|
### Changed
|
|
543
1765
|
- rename `isEscapedCharCodeLiteral` to `isEscapedCharCodeLiteralExpression` to match other expression class names
|
|
544
1766
|
- rename `FunctionParameter` to `FunctionParameterExpression` to match other expression class names
|
|
@@ -549,7 +1771,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
549
1771
|
|
|
550
1772
|
|
|
551
1773
|
|
|
552
|
-
## [0.16.0] - 2020-10-02
|
|
1774
|
+
## [0.16.0](https://github.com/rokucommunity/brighterscript/compare/v0.15.2...v0.16.0) - 2020-10-02
|
|
553
1775
|
### Added
|
|
554
1776
|
- `Expression.walk` and `Statement.walk` functions which provide shallow or deep walking of the AST
|
|
555
1777
|
- Many `ast` reflection methods to be used instead of `instanceof`.
|
|
@@ -562,38 +1784,38 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
562
1784
|
|
|
563
1785
|
|
|
564
1786
|
|
|
565
|
-
## [0.15.2] - 2020-10-01
|
|
1787
|
+
## [0.15.2](https://github.com/rokucommunity/brighterscript/compare/v0.15.1...v0.15.2) - 2020-10-01
|
|
566
1788
|
### Fixed
|
|
567
1789
|
- Bug in component validation that would throw errors if component name was undefined (generally due to an XML parse error). ([#194](https://github.com/rokucommunity/brighterscript/pull/194))
|
|
568
1790
|
|
|
569
1791
|
|
|
570
1792
|
|
|
571
|
-
## [0.15.1] - 2020-09-30
|
|
1793
|
+
## [0.15.1](https://github.com/rokucommunity/brighterscript/compare/v0.15.0...v0.15.1) - 2020-09-30
|
|
572
1794
|
### Fixed
|
|
573
1795
|
- improved performance in the lexer and parser
|
|
574
1796
|
- potential for accidentally changing `cwd` during bsconfig resolving
|
|
575
1797
|
|
|
576
1798
|
|
|
577
1799
|
|
|
578
|
-
## [0.15.0] - 2020-09-18
|
|
1800
|
+
## [0.15.0](https://github.com/rokucommunity/brighterscript/compare/v0.14.0...v0.15.0) - 2020-09-18
|
|
579
1801
|
### Added
|
|
580
1802
|
- plugin API to allow visibility into the various compiler phases. This is currently in alpha. ([#170](https://github.com/rokucommunity/brighterscript/pull/170))
|
|
581
1803
|
|
|
582
1804
|
|
|
583
1805
|
|
|
584
|
-
## [0.14.0] - 2020-09-04
|
|
1806
|
+
## [0.14.0](https://github.com/rokucommunity/brighterscript/compare/v0.13.2...v0.14.0) - 2020-09-04
|
|
585
1807
|
### Changed
|
|
586
1808
|
- Add error diagnostic BS1115 which flags duplicate component names [#186](https://github.com/rokucommunity/brighterscript/pull/186)
|
|
587
1809
|
|
|
588
1810
|
|
|
589
1811
|
|
|
590
|
-
## [0.13.2] - 2020-08-31
|
|
1812
|
+
## [0.13.2](https://github.com/rokucommunity/brighterscript/compare/v0.13.1...v0.13.2) - 2020-08-31
|
|
591
1813
|
### Changed
|
|
592
1814
|
- Upgraded BS1104 to error (previously a warning) and refined the messaging.
|
|
593
1815
|
|
|
594
1816
|
|
|
595
1817
|
|
|
596
|
-
## [0.13.1] - 2020-08-14
|
|
1818
|
+
## [0.13.1](https://github.com/rokucommunity/brighterscript/compare/v0.13.0...v0.13.1) - 2020-08-14
|
|
597
1819
|
### Changed
|
|
598
1820
|
- upgraded to [roku-deploy@3.2.3](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#323---2020-08-14)
|
|
599
1821
|
- throw exception when copying to staging folder and `rootDir` does not exist in the file system
|
|
@@ -601,26 +1823,26 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
601
1823
|
|
|
602
1824
|
|
|
603
1825
|
|
|
604
|
-
## [0.13.0] - 2020-08-10
|
|
1826
|
+
## [0.13.0](https://github.com/rokucommunity/brighterscript/compare/v0.12.4...v0.13.0) - 2020-08-10
|
|
605
1827
|
### Added
|
|
606
1828
|
- ability to mark the `extends` and `project` options in `bsconfig.json`, API and CLI as optional.
|
|
607
1829
|
|
|
608
1830
|
|
|
609
1831
|
|
|
610
|
-
## [0.12.4] - 2020-08-06
|
|
1832
|
+
## [0.12.4](https://github.com/rokucommunity/brighterscript/compare/v0.12.3...v0.12.4) - 2020-08-06
|
|
611
1833
|
### Fixed
|
|
612
1834
|
- bug in cli that wouldn't properly read bsconfig values. [#167](https://github.com/rokucommunity/brighterscript/issues/167)
|
|
613
1835
|
- bug in cli that doesn't use `retain-staging-folder` argument properly. [#168](https://github.com/rokucommunity/brighterscript/issues/168)
|
|
614
1836
|
|
|
615
1837
|
|
|
616
1838
|
|
|
617
|
-
## [0.12.3] - 2020-08-03
|
|
1839
|
+
## [0.12.3](https://github.com/rokucommunity/brighterscript/compare/v0.12.2...v0.12.3) - 2020-08-03
|
|
618
1840
|
### Fixed
|
|
619
1841
|
- bug in the language server that would provide stale completions due to the file throttling introduced in v0.11.2. Now the language server will wait for the throttled parsing to complete before serving completion results.
|
|
620
1842
|
|
|
621
1843
|
|
|
622
1844
|
|
|
623
|
-
## [0.12.2] - 2020-07-16
|
|
1845
|
+
## [0.12.2](https://github.com/rokucommunity/brighterscript/compare/v0.12.1...v0.12.2) - 2020-07-16
|
|
624
1846
|
### Added
|
|
625
1847
|
- Expose `ProgramBuilder.transpile()` method to make it easier for tools to transpile programmatically. [#154](https://github.com/rokucommunity/brighterscript/issues/154)
|
|
626
1848
|
### Fixed
|
|
@@ -628,7 +1850,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
628
1850
|
|
|
629
1851
|
|
|
630
1852
|
|
|
631
|
-
## [0.12.1] - 2020-07-15
|
|
1853
|
+
## [0.12.1](https://github.com/rokucommunity/brighterscript/compare/v0.12.0...v0.12.1) - 2020-07-15
|
|
632
1854
|
### Changed
|
|
633
1855
|
- upgraded to [roku-deploy@3.2.2](https://github.com/rokucommunity/roku-deploy/blob/master/CHANGELOG.md#322---2020-07-14)
|
|
634
1856
|
### Fixed
|
|
@@ -636,7 +1858,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
636
1858
|
|
|
637
1859
|
|
|
638
1860
|
|
|
639
|
-
## [0.12.0] - 2020-07-09
|
|
1861
|
+
## [0.12.0](https://github.com/rokucommunity/brighterscript/compare/v0.11.2...v0.12.0) - 2020-07-09
|
|
640
1862
|
### Added
|
|
641
1863
|
- `diagnosticLevel` option to limit/control the noise in the console diagnostics
|
|
642
1864
|
### Changed
|
|
@@ -648,7 +1870,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
648
1870
|
|
|
649
1871
|
|
|
650
1872
|
|
|
651
|
-
## [0.11.2] - 2020-07-09
|
|
1873
|
+
## [0.11.2](https://github.com/rokucommunity/brighterscript/compare/v0.11.1...v0.11.2) - 2020-07-09
|
|
652
1874
|
### Changed
|
|
653
1875
|
- add 350ms debounce in LanguageServer `onDidChangeWatchedFiles` to increase performance by reducing the number of times a file is parsed and validated.
|
|
654
1876
|
### Fixed
|
|
@@ -658,7 +1880,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
658
1880
|
|
|
659
1881
|
|
|
660
1882
|
|
|
661
|
-
## [0.11.1] - 2020-07-07
|
|
1883
|
+
## [0.11.1](https://github.com/rokucommunity/brighterscript/compare/v0.11.0...v0.11.1) - 2020-07-07
|
|
662
1884
|
### Added
|
|
663
1885
|
- diagnostic for unknown file reference in import statements ([#139](https://github.com/rokucommunity/brighterscript/pull/139))
|
|
664
1886
|
### Changed
|
|
@@ -671,7 +1893,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
671
1893
|
|
|
672
1894
|
|
|
673
1895
|
|
|
674
|
-
## [0.11.0] - 2020-07-06
|
|
1896
|
+
## [0.11.0](https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.11.0) - 2020-07-06
|
|
675
1897
|
### Added
|
|
676
1898
|
- [Source literals feature](https://github.com/rokucommunity/brighterscript/blob/master/docs/source-literals.md) which adds new literals such as `SOURCE_FILE_PATH`, `SOURCE_LINE_NUM`, `FUNCTION_NAME`, and more. ([#13](https://github.com/rokucommunity/brighterscript/issues/13))
|
|
677
1899
|
- `sourceRoot` config option to fix sourcemap paths for projects that use a temporary staging folder before calling the BrighterScript compiler. ([#134](https://github.com/rokucommunity/brighterscript/commit/e5b73ca37016d5015a389257fb259573c4721e7a))
|
|
@@ -681,18 +1903,18 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
681
1903
|
|
|
682
1904
|
|
|
683
1905
|
|
|
684
|
-
## [0.10.11] - 2020-07-05
|
|
1906
|
+
## [0.10.11](https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.10.11) - 2020-07-05
|
|
685
1907
|
- Fix bug that would fail to copy files to staging without explicitly specifying `stagingFolderpath`. [#129](https://github.com/rokucommunity/brighterscript/issues/129)
|
|
686
1908
|
|
|
687
1909
|
|
|
688
1910
|
|
|
689
|
-
## [0.10.10] - 2020-06-12
|
|
1911
|
+
## [0.10.10](https://github.com/rokucommunity/brighterscript/compare/v0.10.9...v0.10.10) - 2020-06-12
|
|
690
1912
|
### Fixed
|
|
691
1913
|
- include the missing `bslib.brs` file in the npm package which was causing errors during transpile.
|
|
692
1914
|
|
|
693
1915
|
|
|
694
1916
|
|
|
695
|
-
## [0.10.9] 2020-06-12
|
|
1917
|
+
## [0.10.9](https://github.com/rokucommunity/brighterscript/compare/v0.10.8...v0.10.9) 2020-06-12
|
|
696
1918
|
### Added
|
|
697
1919
|
- bslib.brs gets copied to `pkg:/source` and added as an import to every component on transpile.
|
|
698
1920
|
- several timing logs under the `"info"` log level.
|
|
@@ -704,32 +1926,32 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
704
1926
|
|
|
705
1927
|
|
|
706
1928
|
|
|
707
|
-
## [0.10.8] - 2020-06-09
|
|
1929
|
+
## [0.10.8](https://github.com/rokucommunity/brighterscript/compare/v0.10.7...v0.10.8) - 2020-06-09
|
|
708
1930
|
### Fixed
|
|
709
1931
|
- Allow leading spcaes for `bs:disable-line` and `bs:disable-next-line` comments ([#108](https://github.com/rokucommunity/brighterscript/pull/108))
|
|
710
1932
|
|
|
711
1933
|
|
|
712
1934
|
|
|
713
|
-
## [0.10.7] - 2020-06-08
|
|
1935
|
+
## [0.10.7](https://github.com/rokucommunity/brighterscript/compare/v0.10.6...v0.10.7) - 2020-06-08
|
|
714
1936
|
### Fixed
|
|
715
1937
|
- bug in cli that was always returning a nonzero error code
|
|
716
1938
|
|
|
717
1939
|
|
|
718
1940
|
|
|
719
|
-
## [0.10.6] - 2020-06-05
|
|
1941
|
+
## [0.10.6](https://github.com/rokucommunity/brighterscript/compare/v0.10.5...v0.10.6) - 2020-06-05
|
|
720
1942
|
### Fixed
|
|
721
1943
|
- incorrect definition for global `Left()` function. ([#100](https://github.com/rokucommunity/brighterscript/issues/100))
|
|
722
1944
|
- missing definition for global `Tab()` and `Pos()` functions ([#101](https://github.com/rokucommunity/brighterscript/issues/101))
|
|
723
1945
|
|
|
724
1946
|
|
|
725
1947
|
|
|
726
|
-
## [0.10.5] - 2020-06-04
|
|
1948
|
+
## [0.10.5](https://github.com/rokucommunity/brighterscript/compare/v0.10.4...v0.10.5) - 2020-06-04
|
|
727
1949
|
### Changed
|
|
728
1950
|
- added better logging for certain critical language server crashes
|
|
729
1951
|
|
|
730
1952
|
|
|
731
1953
|
|
|
732
|
-
## [0.10.4] - 2020-05-28
|
|
1954
|
+
## [0.10.4](https://github.com/rokucommunity/brighterscript/compare/v0.10.3...v0.10.4) - 2020-05-28
|
|
733
1955
|
### Fixed
|
|
734
1956
|
- bug where assigning a namespaced function to a variable wasn't properly transpiling the dots to underscores (fixes [#91](https://github.com/rokucommunity/brighterscript/issues/91))
|
|
735
1957
|
- flag parameter with same name as namespace
|
|
@@ -738,14 +1960,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
738
1960
|
|
|
739
1961
|
|
|
740
1962
|
|
|
741
|
-
## [0.10.3] - 2020-05-27
|
|
1963
|
+
## [0.10.3](https://github.com/rokucommunity/brighterscript/compare/v0.10.2...v0.10.3) - 2020-05-27
|
|
742
1964
|
### Changed
|
|
743
1965
|
- tokenizing a string with no closing quote will now include all of the text until the end of the line.
|
|
744
1966
|
- language server `TranspileFile` command now waits until the program is finished building before trying to transpile.
|
|
745
1967
|
|
|
746
1968
|
|
|
747
1969
|
|
|
748
|
-
## [0.10.2] - 2020-05-23
|
|
1970
|
+
## [0.10.2](https://github.com/rokucommunity/brighterscript/compare/v0.10.1...v0.10.2) - 2020-05-23
|
|
749
1971
|
### Added
|
|
750
1972
|
- language server command `TranspileFile` which will return the transpiled contents of the requested file.
|
|
751
1973
|
### Fixed
|
|
@@ -754,7 +1976,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
754
1976
|
|
|
755
1977
|
|
|
756
1978
|
|
|
757
|
-
## [0.10.1] - 2020-05-22
|
|
1979
|
+
## [0.10.1](https://github.com/rokucommunity/brighterscript/compare/v0.10.0...v0.10.1) - 2020-05-22
|
|
758
1980
|
### Fixed
|
|
759
1981
|
- transpile bug for compound assignment statements (such as `+=`, `-=`) ([#87](https://github.com/rokucommunity/brighterscript/issues/87))
|
|
760
1982
|
- transpile bug that was inserting function parameter types before default values ([#88](https://github.com/rokucommunity/brighterscript/issues/88))
|
|
@@ -762,13 +1984,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
762
1984
|
|
|
763
1985
|
|
|
764
1986
|
|
|
765
|
-
## [0.10.0] - 2020-05-19
|
|
1987
|
+
## [0.10.0](https://github.com/rokucommunity/brighterscript/compare/v0.9.8...v0.10.0) - 2020-05-19
|
|
766
1988
|
### Added
|
|
767
1989
|
- new callfunc operator.
|
|
768
1990
|
|
|
769
1991
|
|
|
770
1992
|
|
|
771
|
-
## [0.9.8] - 2020-05-16
|
|
1993
|
+
## [0.9.8](https://github.com/rokucommunity/brighterscript/compare/v0.9.7...v0.9.8) - 2020-05-16
|
|
772
1994
|
### Changed
|
|
773
1995
|
- the inner event system handling file changes. This should fix several race conditions causing false negatives during CLI runs.
|
|
774
1996
|
### Fixed
|
|
@@ -776,7 +1998,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
776
1998
|
|
|
777
1999
|
|
|
778
2000
|
|
|
779
|
-
## [0.9.7] - 2020-05-14
|
|
2001
|
+
## [0.9.7](https://github.com/rokucommunity/brighterscript/compare/v0.9.6...v0.9.7) - 2020-05-14
|
|
780
2002
|
### Changed
|
|
781
2003
|
- TypeScript target to "ES2017" which provides a significant performance boost in lexer (~30%) and parser (~175%)
|
|
782
2004
|
### Fixed
|
|
@@ -786,7 +2008,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
786
2008
|
|
|
787
2009
|
|
|
788
2010
|
|
|
789
|
-
## [0.9.6] - 2020-05-11
|
|
2011
|
+
## [0.9.6](https://github.com/rokucommunity/brighterscript/compare/v0.9.5...v0.9.6) - 2020-05-11
|
|
790
2012
|
### Added
|
|
791
2013
|
- `logLevel` option from the bsconfig.json and command prompt that allows specifying how much detain the logging should contain.
|
|
792
2014
|
- additional messages during cli run
|
|
@@ -798,7 +2020,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
798
2020
|
|
|
799
2021
|
|
|
800
2022
|
|
|
801
|
-
## [0.9.5] - 2020-05-06
|
|
2023
|
+
## [0.9.5](https://github.com/rokucommunity/brighterscript/compare/v0.9.4...v0.9.5) - 2020-05-06
|
|
802
2024
|
### Added
|
|
803
2025
|
- new config option called `showDiagnosticsInConsole` which disables printing diagnostics to the console
|
|
804
2026
|
### Fixed
|
|
@@ -808,7 +2030,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
808
2030
|
|
|
809
2031
|
|
|
810
2032
|
|
|
811
|
-
## [0.9.4] - 2020-05-05
|
|
2033
|
+
## [0.9.4](https://github.com/rokucommunity/brighterscript/compare/v0.9.3...v0.9.4) - 2020-05-05
|
|
812
2034
|
### Added
|
|
813
2035
|
- diagnostic for detecting unnecessary script imports when `autoImportComponentScript` is enabled
|
|
814
2036
|
### Changed
|
|
@@ -821,7 +2043,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
821
2043
|
|
|
822
2044
|
|
|
823
2045
|
|
|
824
|
-
## [0.9.3] - 2020-05-04
|
|
2046
|
+
## [0.9.3](https://github.com/rokucommunity/brighterscript/compare/v0.9.2...v0.9.3) - 2020-05-04
|
|
825
2047
|
### Changed
|
|
826
2048
|
- do not show BRS1013 for standalone files ([#72](https://github.com/rokucommunity/brighterscript/issues/72))
|
|
827
2049
|
- BS1011 (same name as global function) is no longer shown for local variables that are not of type `function` ([#70](https://github.com/rokucommunity/brighterscript/issues/70))
|
|
@@ -830,7 +2052,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
830
2052
|
|
|
831
2053
|
|
|
832
2054
|
|
|
833
|
-
## [0.9.2] - 2020-05-02
|
|
2055
|
+
## [0.9.2](https://github.com/rokucommunity/brighterscript/compare/v0.9.1...v0.9.2) - 2020-05-02
|
|
834
2056
|
### Changed
|
|
835
2057
|
- intellisense anywhere other than next to a dot now includes keywords (#67)
|
|
836
2058
|
|
|
@@ -841,19 +2063,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
841
2063
|
|
|
842
2064
|
|
|
843
2065
|
|
|
844
|
-
## [0.9.1] - 2020-05-01
|
|
2066
|
+
## [0.9.1](https://github.com/rokucommunity/brighterscript/compare/v0.9.0...v0.9.1) - 2020-05-01
|
|
845
2067
|
### Fixed
|
|
846
2068
|
- bug with upper-case two-word conditional compile tokens (`#ELSE IF` and `#END IF`) (#63)
|
|
847
2069
|
|
|
848
2070
|
|
|
849
2071
|
|
|
850
|
-
## [0.9.0] - 2020-05-01
|
|
2072
|
+
## [0.9.0](https://github.com/rokucommunity/brighterscript/compare/v0.8.2...v0.9.0) - 2020-05-01
|
|
851
2073
|
### Added
|
|
852
2074
|
- new compile flag `autoImportComponentScript` which will automatically import a script for a component with the same name if it exists.
|
|
853
2075
|
|
|
854
2076
|
|
|
855
2077
|
|
|
856
|
-
## [0.8.2] - 2020-04-29
|
|
2078
|
+
## [0.8.2](https://github.com/rokucommunity/brighterscript/compare/v0.8.1...v0.8.2) - 2020-04-29
|
|
857
2079
|
### Fixed
|
|
858
2080
|
- bugs in namespace transpilation
|
|
859
2081
|
- bugs in class transpilation
|
|
@@ -862,14 +2084,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
862
2084
|
|
|
863
2085
|
|
|
864
2086
|
|
|
865
|
-
## [0.8.1] - 2020-04-27
|
|
2087
|
+
## [0.8.1](https://github.com/rokucommunity/brighterscript/compare/v0.8.0...v0.8.1) - 2020-04-27
|
|
866
2088
|
### Fixed
|
|
867
2089
|
- Bug where class property initializers would cause parse error
|
|
868
2090
|
- better parse recovery for incomplete class members
|
|
869
2091
|
|
|
870
2092
|
|
|
871
2093
|
|
|
872
|
-
## [0.8.0] - 2020-04-26
|
|
2094
|
+
## [0.8.0](https://github.com/rokucommunity/brighterscript/compare/v0.7.2...v0.8.0) - 2020-04-26
|
|
873
2095
|
### Added
|
|
874
2096
|
- new `import` syntax for BrighterScript projects.
|
|
875
2097
|
- experimental transpile support for xml files (converts `.bs` extensions to `.brs`, auto-appends the `import` statments to each xml component)
|
|
@@ -877,19 +2099,19 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
877
2099
|
- upgraded to vscode-languageserver@6.1.1
|
|
878
2100
|
|
|
879
2101
|
|
|
880
|
-
## [0.7.2] - 2020-04-24
|
|
2102
|
+
## [0.7.2](https://github.com/rokucommunity/brighterscript/compare/v0.7.1...v0.7.2) - 2020-04-24
|
|
881
2103
|
### Fixed
|
|
882
2104
|
- runtime bug in the language server when validating incomplete class statements
|
|
883
2105
|
|
|
884
2106
|
|
|
885
2107
|
|
|
886
|
-
## [0.7.1] - 2020-04-23
|
|
2108
|
+
## [0.7.1](https://github.com/rokucommunity/brighterscript/compare/v0.7.0...v0.7.1) - 2020-04-23
|
|
887
2109
|
### Fixed
|
|
888
2110
|
- dependency issue: `glob` is required but was not listed as a dependency
|
|
889
2111
|
|
|
890
2112
|
|
|
891
2113
|
|
|
892
|
-
## [0.7.0] - 2020-04-23
|
|
2114
|
+
## [0.7.0](https://github.com/rokucommunity/brighterscript/compare/v0.6.0...v0.7.0) - 2020-04-23
|
|
893
2115
|
### Added
|
|
894
2116
|
- basic support for namespaces
|
|
895
2117
|
- experimental parser support for import statements (no transpile yet)
|
|
@@ -898,7 +2120,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
898
2120
|
|
|
899
2121
|
|
|
900
2122
|
|
|
901
|
-
## [0.6.0] 2020-04-15
|
|
2123
|
+
## [0.6.0](https://github.com/rokucommunity/brighterscript/compare/v0.5.4...v0.6.0) 2020-04-15
|
|
902
2124
|
### Added
|
|
903
2125
|
- ability to filter out diagnostics by using the `diagnosticFilters` option in bsconfig
|
|
904
2126
|
### Changed
|
|
@@ -908,14 +2130,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
908
2130
|
|
|
909
2131
|
|
|
910
2132
|
|
|
911
|
-
## [0.5.4] 2020-04-13
|
|
2133
|
+
## [0.5.4](https://github.com/rokucommunity/brighterscript/compare/v0.5.3...v0.5.4) 2020-04-13
|
|
912
2134
|
### Fixed
|
|
913
2135
|
- Syntax bug that wasn't allowing period before indexed get expression (example: `prop.["key"]`) (#58)
|
|
914
2136
|
- Syntax bug preventing comments from being used in various locations within a class
|
|
915
2137
|
|
|
916
2138
|
|
|
917
2139
|
|
|
918
|
-
## [0.5.3] - 2020-04-12
|
|
2140
|
+
## [0.5.3](https://github.com/rokucommunity/brighterscript/compare/v0.5.2...v0.5.3) - 2020-04-12
|
|
919
2141
|
### Added
|
|
920
2142
|
- syntax support for the xml attribute operator (`node@someAttr`) (#34)
|
|
921
2143
|
- syntax support for bitshift operators (`<<` and `>>`) (#50)
|
|
@@ -925,7 +2147,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
925
2147
|
|
|
926
2148
|
|
|
927
2149
|
|
|
928
|
-
## [0.5.2] - 2020-04-11
|
|
2150
|
+
## [0.5.2](https://github.com/rokucommunity/brighterscript/compare/v0.5.1...v0.5.2) - 2020-04-11
|
|
929
2151
|
### Changed
|
|
930
2152
|
- downgrade diagnostic issue 1007 from an error to a warning, and updated the message to "Component is mising "extends" attribute and will automatically extend "Group" by default" (#53)
|
|
931
2153
|
### Fixed
|
|
@@ -934,13 +2156,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
934
2156
|
|
|
935
2157
|
|
|
936
2158
|
|
|
937
|
-
## [0.5.1] - 2020-04-10
|
|
2159
|
+
## [0.5.1](https://github.com/rokucommunity/brighterscript/compare/v0.5.0...v0.5.1) - 2020-04-10
|
|
938
2160
|
### Changed
|
|
939
2161
|
- upgraded to [roku-deploy@3.0.2](https://www.npmjs.com/package/roku-debug/v/0.3.4) which fixed a file copy bug in subdirectories of symlinked folders (fixes #41)
|
|
940
2162
|
|
|
941
2163
|
|
|
942
2164
|
|
|
943
|
-
## [0.5.0] - 2020-04-10
|
|
2165
|
+
## [0.5.0](https://github.com/rokucommunity/brighterscript/compare/v0.4.4...v0.5.0) - 2020-04-10
|
|
944
2166
|
### Added
|
|
945
2167
|
- several new diagnostics for conditional compiles. Some of them allow the parser to recover and continue.
|
|
946
2168
|
- experimental class transpile support. There is still no intellisense for classes yet though.
|
|
@@ -953,31 +2175,31 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
953
2175
|
|
|
954
2176
|
|
|
955
2177
|
|
|
956
|
-
## [0.4.4] - 2020-04-04
|
|
2178
|
+
## [0.4.4](https://github.com/rokucommunity/brighterscript/compare/v0.4.3...v0.4.4) - 2020-04-04
|
|
957
2179
|
### Fixed
|
|
958
2180
|
- bug in the ProgramBuilder that would terminate the program on first run if an error diagnostic was found, even when in watch mode.
|
|
959
2181
|
|
|
960
2182
|
|
|
961
2183
|
|
|
962
|
-
## [0.4.3] - 2020-04-03
|
|
2184
|
+
## [0.4.3](https://github.com/rokucommunity/brighterscript/compare/v0.4.2...v0.4.3) - 2020-04-03
|
|
963
2185
|
### Changed
|
|
964
2186
|
- the `bsc` cli now emits a nonzero return code whenever parse errors are encountered, which allows tools to detect compile-time errors. (#43)
|
|
965
2187
|
|
|
966
2188
|
|
|
967
2189
|
|
|
968
|
-
## [0.4.2] - 2020-04-01
|
|
2190
|
+
## [0.4.2](https://github.com/rokucommunity/brighterscript/compare/v0.4.1...v0.4.2) - 2020-04-01
|
|
969
2191
|
### Changed
|
|
970
2192
|
- upgraded to [roku-deploy@3.0.0](https://www.npmjs.com/package/roku-deploy/v/3.0.0)
|
|
971
2193
|
|
|
972
2194
|
|
|
973
2195
|
|
|
974
|
-
## [0.4.1] - 2020-01-11
|
|
2196
|
+
## [0.4.1](https://github.com/rokucommunity/brighterscript/compare/v0.4.0...v0.4.1) - 2020-01-11
|
|
975
2197
|
### Changed
|
|
976
2198
|
- upgraded to [roku-deploy@3.0.0-beta.7](https://www.npmjs.com/package/roku-deploy/v/3.0.0-beta.7) which fixed a critical bug during pkg creation.
|
|
977
2199
|
|
|
978
2200
|
|
|
979
2201
|
|
|
980
|
-
## [0.4.0] - 2020-01-07
|
|
2202
|
+
## [0.4.0](https://github.com/rokucommunity/brighterscript/compare/v0.3.1...v0.4.0) - 2020-01-07
|
|
981
2203
|
### Added
|
|
982
2204
|
- ability to specify the pkgPath of a file when adding to the project.
|
|
983
2205
|
### Changed
|
|
@@ -990,14 +2212,14 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
990
2212
|
|
|
991
2213
|
|
|
992
2214
|
|
|
993
|
-
## [0.3.1] - 2019-11-08
|
|
2215
|
+
## [0.3.1](https://github.com/rokucommunity/brighterscript/compare/v0.3.0...v0.3.1) - 2019-11-08
|
|
994
2216
|
### Fixed
|
|
995
2217
|
- language server bug that was showing error messages in certain startup race conditions.
|
|
996
2218
|
- error during hover caused by race condition during file re-parse.
|
|
997
2219
|
|
|
998
2220
|
|
|
999
2221
|
|
|
1000
|
-
## [0.3.0] - 2019-10-03
|
|
2222
|
+
## [0.3.0](https://github.com/rokucommunity/brighterscript/compare/v0.2.2...v0.3.0) - 2019-10-03
|
|
1001
2223
|
### Added
|
|
1002
2224
|
- support for parsing opened files not included in any project.
|
|
1003
2225
|
### Fixed
|
|
@@ -1005,13 +2227,13 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1005
2227
|
|
|
1006
2228
|
|
|
1007
2229
|
|
|
1008
|
-
## [0.2.2] - 2019-09-27
|
|
2230
|
+
## [0.2.2](https://github.com/rokucommunity/brighterscript/compare/v0.2.1...v0.2.2) - 2019-09-27
|
|
1009
2231
|
### Fixed
|
|
1010
2232
|
- bug in language server where the server would crash when sending a diagnostic too early. Now the server waits for the program to load before sending diagnostics.
|
|
1011
2233
|
|
|
1012
2234
|
|
|
1013
2235
|
|
|
1014
|
-
## [0.2.1] - 2019-09-24
|
|
2236
|
+
## [0.2.1](https://github.com/rokucommunity/brighterscript/compare/v0.2.0...v0.2.1) - 2019-09-24
|
|
1015
2237
|
### Changed
|
|
1016
2238
|
- the text for diagnostic 1010 to say "override" instead of "shadows"
|
|
1017
2239
|
### Fixed
|
|
@@ -1022,7 +2244,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1022
2244
|
|
|
1023
2245
|
|
|
1024
2246
|
|
|
1025
|
-
## [0.2.0] - 2019-09-20
|
|
2247
|
+
## [0.2.0](https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.2.0) - 2019-09-20
|
|
1026
2248
|
### Added
|
|
1027
2249
|
- bsconfig.json validation
|
|
1028
2250
|
- slightly smarter intellisense that knows when you're trying to complete an object property.
|
|
@@ -1037,132 +2259,6 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
1037
2259
|
- Bug during file creation that wouldn't recognize the file
|
|
1038
2260
|
|
|
1039
2261
|
|
|
1040
|
-
## [0.1.0] - 2019-08-10
|
|
2262
|
+
## [0.1.0](https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.1.0) - 2019-08-10
|
|
1041
2263
|
### Changed
|
|
1042
2264
|
- Cloned from [brightscript-language](https://github.com/rokucommunity/brightscript-language)
|
|
1043
|
-
|
|
1044
|
-
|
|
1045
|
-
[0.1.0]: https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.1.0
|
|
1046
|
-
[0.2.0]: https://github.com/rokucommunity/brighterscript/compare/v0.1.0...v0.2.0
|
|
1047
|
-
[0.2.1]: https://github.com/rokucommunity/brighterscript/compare/v0.2.0...v0.2.1
|
|
1048
|
-
[0.2.2]: https://github.com/rokucommunity/brighterscript/compare/v0.2.1...v0.2.2
|
|
1049
|
-
[0.3.0]: https://github.com/rokucommunity/brighterscript/compare/v0.2.2...v0.3.0
|
|
1050
|
-
[0.3.1]: https://github.com/rokucommunity/brighterscript/compare/v0.3.0...v0.3.1
|
|
1051
|
-
[0.4.0]: https://github.com/rokucommunity/brighterscript/compare/v0.3.1...v0.4.0
|
|
1052
|
-
[0.4.1]: https://github.com/rokucommunity/brighterscript/compare/v0.4.0...v0.4.1
|
|
1053
|
-
[0.4.2]: https://github.com/rokucommunity/brighterscript/compare/v0.4.1...v0.4.2
|
|
1054
|
-
[0.4.3]: https://github.com/rokucommunity/brighterscript/compare/v0.4.2...v0.4.3
|
|
1055
|
-
[0.4.4]: https://github.com/rokucommunity/brighterscript/compare/v0.4.3...v0.4.4
|
|
1056
|
-
[0.5.0]: https://github.com/rokucommunity/brighterscript/compare/v0.4.4...v0.5.0
|
|
1057
|
-
[0.5.1]: https://github.com/rokucommunity/brighterscript/compare/v0.5.0...v0.5.1
|
|
1058
|
-
[0.5.2]: https://github.com/rokucommunity/brighterscript/compare/v0.5.1...v0.5.2
|
|
1059
|
-
[0.5.3]: https://github.com/rokucommunity/brighterscript/compare/v0.5.2...v0.5.3
|
|
1060
|
-
[0.5.4]: https://github.com/rokucommunity/brighterscript/compare/v0.5.3...v0.5.4
|
|
1061
|
-
[0.6.0]: https://github.com/rokucommunity/brighterscript/compare/v0.5.4...v0.6.0
|
|
1062
|
-
[0.7.0]: https://github.com/rokucommunity/brighterscript/compare/v0.6.0...v0.7.0
|
|
1063
|
-
[0.7.1]: https://github.com/rokucommunity/brighterscript/compare/v0.7.0...v0.7.1
|
|
1064
|
-
[0.7.2]: https://github.com/rokucommunity/brighterscript/compare/v0.7.1...v0.7.2
|
|
1065
|
-
[0.8.0]: https://github.com/rokucommunity/brighterscript/compare/v0.7.2...v0.8.0
|
|
1066
|
-
[0.8.1]: https://github.com/rokucommunity/brighterscript/compare/v0.8.0...v0.8.1
|
|
1067
|
-
[0.8.2]: https://github.com/rokucommunity/brighterscript/compare/v0.8.1...v0.8.2
|
|
1068
|
-
[0.9.0]: https://github.com/rokucommunity/brighterscript/compare/v0.8.2...v0.9.0
|
|
1069
|
-
[0.9.1]: https://github.com/rokucommunity/brighterscript/compare/v0.9.0...v0.9.1
|
|
1070
|
-
[0.9.2]: https://github.com/rokucommunity/brighterscript/compare/v0.9.1...v0.9.2
|
|
1071
|
-
[0.9.3]: https://github.com/rokucommunity/brighterscript/compare/v0.9.2...v0.9.3
|
|
1072
|
-
[0.9.4]: https://github.com/rokucommunity/brighterscript/compare/v0.9.3...v0.9.4
|
|
1073
|
-
[0.9.5]: https://github.com/rokucommunity/brighterscript/compare/v0.9.4...v0.9.5
|
|
1074
|
-
[0.9.6]: https://github.com/rokucommunity/brighterscript/compare/v0.9.5...v0.9.6
|
|
1075
|
-
[0.9.7]: https://github.com/rokucommunity/brighterscript/compare/v0.9.6...v0.9.7
|
|
1076
|
-
[0.9.8]: https://github.com/rokucommunity/brighterscript/compare/v0.9.7...v0.9.8
|
|
1077
|
-
[0.10.0]: https://github.com/rokucommunity/brighterscript/compare/v0.9.8...v0.10.0
|
|
1078
|
-
[0.10.1]: https://github.com/rokucommunity/brighterscript/compare/v0.10.0...v0.10.1
|
|
1079
|
-
[0.10.2]: https://github.com/rokucommunity/brighterscript/compare/v0.10.1...v0.10.2
|
|
1080
|
-
[0.10.3]: https://github.com/rokucommunity/brighterscript/compare/v0.10.2...v0.10.3
|
|
1081
|
-
[0.10.4]: https://github.com/rokucommunity/brighterscript/compare/v0.10.3...v0.10.4
|
|
1082
|
-
[0.10.5]: https://github.com/rokucommunity/brighterscript/compare/v0.10.4...v0.10.5
|
|
1083
|
-
[0.10.6]: https://github.com/rokucommunity/brighterscript/compare/v0.10.5...v0.10.6
|
|
1084
|
-
[0.10.7]: https://github.com/rokucommunity/brighterscript/compare/v0.10.6...v0.10.7
|
|
1085
|
-
[0.10.8]: https://github.com/rokucommunity/brighterscript/compare/v0.10.7...v0.10.8
|
|
1086
|
-
[0.10.9]: https://github.com/rokucommunity/brighterscript/compare/v0.10.8...v0.10.9
|
|
1087
|
-
[0.10.10]: https://github.com/rokucommunity/brighterscript/compare/v0.10.9...v0.10.10
|
|
1088
|
-
[0.11.0]: https://github.com/rokucommunity/brighterscript/compare/v0.10.10...v0.11.0
|
|
1089
|
-
[0.11.1]: https://github.com/rokucommunity/brighterscript/compare/v0.11.0...v0.11.1
|
|
1090
|
-
[0.11.2]: https://github.com/rokucommunity/brighterscript/compare/v0.11.1...v0.11.2
|
|
1091
|
-
[0.11.3]: https://github.com/rokucommunity/brighterscript/compare/v0.11.2...v0.11.3
|
|
1092
|
-
[0.12.0]: https://github.com/rokucommunity/brighterscript/compare/v0.11.3...v0.12.0
|
|
1093
|
-
[0.12.1]: https://github.com/rokucommunity/brighterscript/compare/v0.12.0...v0.12.1
|
|
1094
|
-
[0.12.2]: https://github.com/rokucommunity/brighterscript/compare/v0.12.1...v0.12.2
|
|
1095
|
-
[0.12.3]: https://github.com/rokucommunity/brighterscript/compare/v0.12.2...v0.12.3
|
|
1096
|
-
[0.12.4]: https://github.com/rokucommunity/brighterscript/compare/v0.12.3...v0.12.4
|
|
1097
|
-
[0.13.0]: https://github.com/rokucommunity/brighterscript/compare/v0.12.4...v0.13.0
|
|
1098
|
-
[0.13.1]: https://github.com/rokucommunity/brighterscript/compare/v0.13.0...v0.13.1
|
|
1099
|
-
[0.13.2]: https://github.com/rokucommunity/brighterscript/compare/v0.13.1...v0.13.2
|
|
1100
|
-
[0.14.0]: https://github.com/rokucommunity/brighterscript/compare/v0.13.2...v0.14.0
|
|
1101
|
-
[0.15.0]: https://github.com/rokucommunity/brighterscript/compare/v0.14.0...v0.15.0
|
|
1102
|
-
[0.15.1]: https://github.com/rokucommunity/brighterscript/compare/v0.15.0...v0.15.1
|
|
1103
|
-
[0.15.2]: https://github.com/rokucommunity/brighterscript/compare/v0.15.1...v0.15.2
|
|
1104
|
-
[0.16.0]: https://github.com/rokucommunity/brighterscript/compare/v0.15.2...v0.16.0
|
|
1105
|
-
[0.16.1]: https://github.com/rokucommunity/brighterscript/compare/v0.16.0...v0.16.1
|
|
1106
|
-
[0.16.2]: https://github.com/rokucommunity/brighterscript/compare/v0.16.1...v0.16.2
|
|
1107
|
-
[0.16.3]: https://github.com/rokucommunity/brighterscript/compare/v0.16.2...v0.16.3
|
|
1108
|
-
[0.16.4]: https://github.com/rokucommunity/brighterscript/compare/v0.16.3...v0.16.4
|
|
1109
|
-
[0.16.5]: https://github.com/rokucommunity/brighterscript/compare/v0.16.4...v0.16.5
|
|
1110
|
-
[0.16.6]: https://github.com/rokucommunity/brighterscript/compare/v0.16.5...v0.16.6
|
|
1111
|
-
[0.16.7]: https://github.com/rokucommunity/brighterscript/compare/v0.16.6...v0.16.7
|
|
1112
|
-
[0.16.8]: https://github.com/rokucommunity/brighterscript/compare/v0.16.7...v0.16.8
|
|
1113
|
-
[0.16.9]: https://github.com/rokucommunity/brighterscript/compare/v0.16.8...v0.16.9
|
|
1114
|
-
[0.16.10]: https://github.com/rokucommunity/brighterscript/compare/v0.16.9...v0.16.10
|
|
1115
|
-
[0.16.11]: https://github.com/rokucommunity/brighterscript/compare/v0.16.10...v0.16.11
|
|
1116
|
-
[0.16.12]: https://github.com/rokucommunity/brighterscript/compare/v0.16.11...v0.16.12
|
|
1117
|
-
[0.17.0]: https://github.com/rokucommunity/brighterscript/compare/v0.16.12...v0.17.0
|
|
1118
|
-
[0.18.0]: https://github.com/rokucommunity/brighterscript/compare/v0.17.0...v0.18.0
|
|
1119
|
-
[0.18.1]: https://github.com/rokucommunity/brighterscript/compare/v0.18.0...v0.18.1
|
|
1120
|
-
[0.18.2]: https://github.com/rokucommunity/brighterscript/compare/v0.18.1...v0.18.2
|
|
1121
|
-
[0.19.0]: https://github.com/rokucommunity/brighterscript/compare/v0.18.2...v0.19.0
|
|
1122
|
-
[0.20.0]: https://github.com/rokucommunity/brighterscript/compare/v0.19.0...v0.20.0
|
|
1123
|
-
[0.20.1]: https://github.com/rokucommunity/brighterscript/compare/v0.20.0...v0.20.1
|
|
1124
|
-
[0.21.0]: https://github.com/rokucommunity/brighterscript/compare/v0.20.1...v0.21.0
|
|
1125
|
-
[0.22.0]: https://github.com/rokucommunity/brighterscript/compare/v0.21.0...v0.22.0
|
|
1126
|
-
[0.22.1]: https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1
|
|
1127
|
-
[0.22.1]: https://github.com/rokucommunity/brighterscript/compare/v0.22.0...v0.22.1
|
|
1128
|
-
[0.23.0]: https://github.com/rokucommunity/brighterscript/compare/v0.22.1...v0.23.0
|
|
1129
|
-
[0.23.1]: https://github.com/rokucommunity/brighterscript/compare/v0.23.0...v0.23.1
|
|
1130
|
-
[0.23.2]: https://github.com/rokucommunity/brighterscript/compare/v0.23.1...v0.23.2
|
|
1131
|
-
[0.24.0]: https://github.com/rokucommunity/brighterscript/compare/v0.23.2...v0.24.0
|
|
1132
|
-
[0.24.1]: https://github.com/rokucommunity/brighterscript/compare/v0.24.0...v0.24.1
|
|
1133
|
-
[0.24.2]: https://github.com/rokucommunity/brighterscript/compare/v0.24.1...v0.24.2
|
|
1134
|
-
[0.25.0]: https://github.com/rokucommunity/brighterscript/compare/v0.24.2...v0.25.0
|
|
1135
|
-
[0.26.0]: https://github.com/rokucommunity/brighterscript/compare/v0.25.0...v0.26.0
|
|
1136
|
-
[0.27.0]: https://github.com/rokucommunity/brighterscript/compare/v0.26.0...v0.27.0
|
|
1137
|
-
[0.28.0]: https://github.com/rokucommunity/brighterscript/compare/v0.27.0...v0.28.0
|
|
1138
|
-
[0.28.1]: https://github.com/rokucommunity/brighterscript/compare/v0.28.0...v0.28.1
|
|
1139
|
-
[0.28.2]: https://github.com/rokucommunity/brighterscript/compare/v0.28.1...v0.28.2
|
|
1140
|
-
[0.29.0]: https://github.com/rokucommunity/brighterscript/compare/v0.28.2...v0.29.0
|
|
1141
|
-
[0.30.0]: https://github.com/rokucommunity/brighterscript/compare/v0.29.0...v0.30.0
|
|
1142
|
-
[0.30.1]: https://github.com/rokucommunity/brighterscript/compare/v0.30.0...v0.30.1
|
|
1143
|
-
[0.30.2]: https://github.com/rokucommunity/brighterscript/compare/v0.30.1...v0.30.2
|
|
1144
|
-
[0.30.3]: https://github.com/rokucommunity/brighterscript/compare/v0.30.2...v0.30.3
|
|
1145
|
-
[0.30.4]: https://github.com/rokucommunity/brighterscript/compare/v0.30.3...v0.30.4
|
|
1146
|
-
[0.30.5]: https://github.com/rokucommunity/brighterscript/compare/v0.30.4...v0.30.5
|
|
1147
|
-
[0.30.6]: https://github.com/rokucommunity/brighterscript/compare/v0.30.5...v0.30.6
|
|
1148
|
-
[0.30.7]: https://github.com/rokucommunity/brighterscript/compare/v0.30.6...v0.30.7
|
|
1149
|
-
[0.30.8]: https://github.com/rokucommunity/brighterscript/compare/v0.30.7...v0.30.8
|
|
1150
|
-
[0.30.9]: https://github.com/rokucommunity/brighterscript/compare/v0.30.8...v0.30.9
|
|
1151
|
-
[0.31.0]: https://github.com/rokucommunity/brighterscript/compare/v0.30.9...v0.31.0
|
|
1152
|
-
[0.31.1]: https://github.com/rokucommunity/brighterscript/compare/v0.31.0...v0.31.1
|
|
1153
|
-
[0.31.2]: https://github.com/rokucommunity/brighterscript/compare/v0.31.1...v0.31.2
|
|
1154
|
-
[0.32.2]: https://github.com/rokucommunity/brighterscript/compare/v0.31.2...v0.32.2
|
|
1155
|
-
[0.32.3]: https://github.com/rokucommunity/brighterscript/compare/v0.32.2...v0.32.3
|
|
1156
|
-
[0.33.0]: https://github.com/rokucommunity/brighterscript/compare/v0.32.3...v0.33.0
|
|
1157
|
-
[0.34.0]: https://github.com/rokucommunity/brighterscript/compare/v0.33.0...v0.34.0
|
|
1158
|
-
[0.34.1]: https://github.com/rokucommunity/brighterscript/compare/v0.34.0...v0.34.1
|
|
1159
|
-
[0.34.2]: https://github.com/rokucommunity/brighterscript/compare/v0.34.1...v0.34.2
|
|
1160
|
-
[0.34.3]: https://github.com/rokucommunity/brighterscript/compare/v0.34.2...v0.34.3
|
|
1161
|
-
[0.35.0]: https://github.com/rokucommunity/brighterscript/compare/v0.34.3...v0.35.0
|
|
1162
|
-
[0.36.0]: https://github.com/rokucommunity/brighterscript/compare/v0.35.0...v0.36.0
|
|
1163
|
-
[0.37.0]: https://github.com/rokucommunity/brighterscript/compare/v0.36.0...v0.37.0
|
|
1164
|
-
[0.37.1]: https://github.com/rokucommunity/brighterscript/compare/v0.37.0...v0.37.1
|
|
1165
|
-
[0.37.2]: https://github.com/rokucommunity/brighterscript/compare/v0.37.1...v0.37.2
|
|
1166
|
-
[0.37.3]: https://github.com/rokucommunity/brighterscript/compare/v0.37.2...v0.37.3
|
|
1167
|
-
[0.37.4]: https://github.com/rokucommunity/brighterscript/compare/v0.37.3...v0.37.4
|
|
1168
|
-
[0.38.0]: https://github.com/rokucommunity/brighterscript/compare/v0.37.4...v0.38.0
|