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