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