diff --git a/CHANGELOG.md b/CHANGELOG.md index 8ea5a772..78ed01c3 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -6,6 +6,23 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 +## [2.48.6](https://github.com/rokucommunity/vscode-brightscript-language/compare/v2.48.5...v2.48.6) - 2024-07-24 +### Added + - support for viewing nodes that are in the node tree from NodeCountByTypePage ([#579](https://github.com/rokucommunity/vscode-brightscript-language/pull/579)) + - support for removing nodes in SceneGraph Inspector ([#578](https://github.com/rokucommunity/vscode-brightscript-language/pull/578)) +### Changed + - 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: + - Fix bug with absolute paths and getDestPath ([roku-deploy#171](https://github.com/rokucommunity/roku-deploy/pull/171)) + - upgrade to [roku-debug@0.21.10](https://github.com/rokucommunity/roku-debug/blob/master/CHANGELOG.md#02110---2024-07-24). Notable changes since 0.21.9: + - Prevent crash when rokuAdapter is not defined. ([roku-debug#194](https://github.com/rokucommunity/roku-debug/pull/194)) + - upgrade to [brighterscript@0.67.4](https://github.com/rokucommunity/brighterscript/blob/master/CHANGELOG.md#0674---2024-07-24). Notable changes since 0.67.2: + - Fix crash with missing scope ([brighterscript#1234](https://github.com/rokucommunity/brighterscript/pull/1234)) + - Fix conform bsconfig.schema.json to strict types ([brighterscript#1205](https://github.com/rokucommunity/brighterscript/pull/1205)) + - Flag using devDependency in production code ([brighterscript#1222](https://github.com/rokucommunity/brighterscript/pull/1222)) + - upgrade to [brighterscript-formatter@1.7.4](https://github.com/rokucommunity/brighterscript-formatter/blob/master/CHANGELOG.md#174---2024-07-24). Notable changes since 1.7.3: + + + ## [2.48.5](https://github.com/rokucommunity/vscode-brightscript-language/compare/v2.48.4...v2.48.5) - 2024-06-04 ### Fixed - bug with the language server crash tracker ([#576](https://github.com/rokucommunity/vscode-brightscript-language/pull/576)) diff --git a/docs/extension-settings.md b/docs/extension-settings.md index 8d7e1623..d28dcc60 100644 --- a/docs/extension-settings.md +++ b/docs/extension-settings.md @@ -22,6 +22,8 @@ If true, a space is inserted to the left of an opening function declaration pare ### `brightscript.format.insertSpaceBetweenEmptyCurlyBraces` if true, empty curly braces will contain exactly 1 whitespace char (i.e. `{ }`). If false, there will be zero whitespace chars between empty curly braces (i.e. `{}`) +### `brightscript.format.sortImports` +if true, import statements will be sorted alphabetically. ### `brightscript.output.includeStackTraces` If set to true, will print stack trace or breakpoint info in the log output. Set to false to avoid noisy logs - you'll still get the traces in the debug console, in any case ### `brightscript.output.focusOnLaunch` diff --git a/package-lock.json b/package-lock.json index 8c4a4f2c..652b5652 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "brightscript", - "version": "2.48.5", + "version": "2.48.6", "lockfileVersion": 3, "requires": true, "packages": { "": { "name": "brightscript", - "version": "2.48.5", + "version": "2.48.6", "hasInstallScript": true, "license": "MIT", "dependencies": { @@ -14,8 +14,8 @@ "@vscode/extension-telemetry": "^0.4.7", "array-sort": "^1.0.0", "backoff": "^2.5.0", - "brighterscript": "^0.67.2", - "brighterscript-formatter": "^1.7.3", + "brighterscript": "^0.67.4", + "brighterscript-formatter": "^1.7.4", "clone-deep": "^4.0.1", "debounce": "^1.2.0", "dotenv": "^6.2.0", @@ -35,8 +35,8 @@ "postman-request": "^2.88.1-postman.32", "pretty-bytes": "^5.6.0", "resolve": "^1.22.8", - "roku-debug": "^0.21.9", - "roku-deploy": "^3.12.0", + "roku-debug": "^0.21.10", + "roku-deploy": "^3.12.1", "roku-test-automation": "^2.0.6", "semver": "^7.1.3", "source-map": "^0.7.3", @@ -2576,9 +2576,9 @@ } }, "node_modules/brighterscript": { - "version": "0.67.2", - "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.67.2.tgz", - "integrity": "sha512-JMDJvty/zk1XrvY/v4Ez8NoXausuH/wlSb5hXHkfj5+s6jYeCaquUehS6NgRoo7rVaU0iUW1rd6UGZFWK6jUjg==", + "version": "0.67.4", + "resolved": "https://registry.npmjs.org/brighterscript/-/brighterscript-0.67.4.tgz", + "integrity": "sha512-1EbX2Po9WbIyi4r557fk6txkYR0VvbnGm1caS9AVlVek2R6d9+QsQxr+f24PePM4l/TOBvZ1JieBt6NheM4P2Q==", "dependencies": { "@rokucommunity/bslib": "^0.1.1", "@rokucommunity/logger": "^0.3.9", @@ -2603,12 +2603,13 @@ "parse-ms": "^2.1.0", "readline": "^1.3.0", "require-relative": "^0.8.7", - "roku-deploy": "^3.12.0", + "roku-deploy": "^3.12.1", "serialize-error": "^7.0.1", "source-map": "^0.7.4", "vscode-languageserver": "^9.0.1", "vscode-languageserver-protocol": "^3.17.5", "vscode-languageserver-textdocument": "^1.0.11", + "vscode-languageserver-types": "^3.17.5", "vscode-uri": "^3.0.8", "xml2js": "^0.5.0", "yargs": "^16.2.0" @@ -2618,11 +2619,11 @@ } }, "node_modules/brighterscript-formatter": { - "version": "1.7.3", - "resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.3.tgz", - "integrity": "sha512-UkxUcqlOvwdkFCel0lsHFmOk0qtb+bK9emIWtGLHW9s6/K8RA+yLEdcGKLqGwgrcnnuK2famP+V718yIvk1Sug==", + "version": "1.7.4", + "resolved": "https://registry.npmjs.org/brighterscript-formatter/-/brighterscript-formatter-1.7.4.tgz", + "integrity": "sha512-a9RWMbCADBHLwaVirf5NuXPxZaRSraSf3Zm8/ecf5qx51gEU4DbwqpLE+d4ncnHn2/Y5M3mf0fJeQGfWlqo6Kg==", "dependencies": { - "brighterscript": "^0.67.2", + "brighterscript": "^0.67.4", "glob-all": "^3.3.0", "jsonc-parser": "^3.0.0", "source-map": "^0.7.3", @@ -8892,13 +8893,13 @@ } }, "node_modules/roku-debug": { - "version": "0.21.9", - "resolved": "https://registry.npmjs.org/roku-debug/-/roku-debug-0.21.9.tgz", - "integrity": "sha512-pUHzAe6qTUxfHdp+HywjkNyf6PlrW/t6ihtFbWfY/j3KJYQkc5HZ77xwGCFzfftIivQBl4nw0QT6mg0nky24oA==", + "version": "0.21.10", + "resolved": "https://registry.npmjs.org/roku-debug/-/roku-debug-0.21.10.tgz", + "integrity": "sha512-kMfcEPXc6Acu7fw62CYB7lp1ATrmLRplo+eLSYmX0xZzuFtucum+Tre89fkigqudR6/UAiGAaDBAT0bf3NnJYA==", "dependencies": { "@rokucommunity/logger": "^0.3.9", "@types/request": "^2.48.8", - "brighterscript": "^0.67.2", + "brighterscript": "^0.67.4", "dateformat": "^4.6.3", "debounce": "^1.2.1", "eol": "^0.9.1", @@ -8911,7 +8912,7 @@ "postman-request": "^2.88.1-postman.32", "replace-in-file": "^6.3.2", "replace-last": "^1.2.6", - "roku-deploy": "^3.12.0", + "roku-deploy": "^3.12.1", "semver": "^7.5.4", "serialize-error": "^8.1.0", "smart-buffer": "^4.2.0", @@ -9011,9 +9012,9 @@ "integrity": "sha512-Ld1VelNuX9pdF39h2Hgaeb5hEZM2Z3jUrrMgWQAu82jMtZp7p3vJT3BzToKtZI7NgQssZje5o0zryOrhQvzQAg==" }, "node_modules/roku-deploy": { - "version": "3.12.0", - "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.12.0.tgz", - "integrity": "sha512-YiCZeQ+sEmFW9ZfXtMNH+/CBSHQ5deNZYWONM+s6gCEQsrz7kCMFPj5YEdgfqW+d2b8G1ve9GELHcSt2FsfM8g==", + "version": "3.12.1", + "resolved": "https://registry.npmjs.org/roku-deploy/-/roku-deploy-3.12.1.tgz", + "integrity": "sha512-PEOdiFKGW1jrcoC9zjb+9kOWC/Q3eH7dzPvSi5kKignjNcyDiyJi+/wINwNrzw9SsxAVtw+NLvYueyZi9wQVsw==", "dependencies": { "chalk": "^2.4.2", "dateformat": "^3.0.3", diff --git a/package.json b/package.json index c08e8ff6..d585fdf7 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "brightscript", "displayName": "BrightScript Language", - "version": "2.48.5", + "version": "2.48.6", "publisher": "RokuCommunity", "description": "Language support for Roku's BrightScript language.", "author": { @@ -56,8 +56,8 @@ "@vscode/extension-telemetry": "^0.4.7", "array-sort": "^1.0.0", "backoff": "^2.5.0", - "brighterscript": "^0.67.2", - "brighterscript-formatter": "^1.7.3", + "brighterscript": "^0.67.4", + "brighterscript-formatter": "^1.7.4", "clone-deep": "^4.0.1", "debounce": "^1.2.0", "dotenv": "^6.2.0", @@ -77,8 +77,8 @@ "postman-request": "^2.88.1-postman.32", "pretty-bytes": "^5.6.0", "resolve": "^1.22.8", - "roku-debug": "^0.21.9", - "roku-deploy": "^3.12.0", + "roku-debug": "^0.21.10", + "roku-deploy": "^3.12.1", "roku-test-automation": "^2.0.6", "semver": "^7.1.3", "source-map": "^0.7.3", @@ -1787,6 +1787,12 @@ "original" ], "scope": "resource" + }, + "brightscript.format.sortImports": { + "type": "boolean", + "default": false, + "description": "Sort import statements alphabetically", + "scope": "resource" } } },