vscode-codeql/extensions/ql-vscode/CHANGELOG.md

210 строки
12 KiB
Markdown
Исходник Обычный вид История

2019-11-21 21:11:04 +03:00
# CodeQL for Visual Studio Code: Changelog
2020-12-17 22:55:03 +03:00
## [UNRELEASED]
2020-12-17 22:34:16 +03:00
## 1.3.8 - 17 December 2020
2020-11-25 01:06:39 +03:00
- Ensure databases are unlocked when removing them from the workspace. This will ensure that after a database is removed from VS Code, queries can be run on it from the command line without restarting the IDE. Requires CodeQL CLI 2.4.1 or later. [#681](https://github.com/github/vscode-codeql/pull/681)
- Fix bug when removing databases where sometimes the source folder would not also be removed from the workspace or the database files would not be deleted from the workspace storage location. [#692](https://github.com/github/vscode-codeql/pull/692)
- Query results with no string representation will now be displayed with placeholder text in query results. Previously, they were omitted. [#694](https://github.com/github/vscode-codeql/pull/694)
- Add a label for the language of a database in the databases view. This will only take effect for new databases created with the CodeQL CLI v2.4.1 or later. [#697](https://github.com/github/vscode-codeql/pull/697)
- Add clearer error message when running a query using a missing or invalid qlpack. [#702](https://github.com/github/vscode-codeql/pull/702)
- Add clearer error message when trying to run a command from the query history view if no item in the history is selected. [#702](https://github.com/github/vscode-codeql/pull/702)
- Fix a bug where it is not possible to download some database archives. This fix specifically addresses large archives and archives whose central directories do not align with file headers. [#700](https://github.com/github/vscode-codeql/pull/700)
- Avoid error dialogs when QL test discovery or database cleanup encounters a missing directory. [#706](https://github.com/github/vscode-codeql/pull/706)
- Add descriptive text and a link in the results view. [#711](https://github.com/github/vscode-codeql/pull/711)
- Fix the _Set Label_ command in the query history view. [#710](https://github.com/github/vscode-codeql/pull/710)
- Add the _CodeQL: View AST_ command to the right-click context menu when a source file in a database source archive is open in the editor. [#712](https://github.com/github/vscode-codeql/pull/712)
2020-11-25 00:58:03 +03:00
## 1.3.7 - 24 November 2020
- Editors opened by navigating from the results view are no longer opened in _preview mode_. Now they are opened as a persistent editor. [#630](https://github.com/github/vscode-codeql/pull/630)
- When comparing the results of a failed QL test run and the `.expected` file does not exist, an empty `.expected` file is created and compared against the `.actual` file. [#669](https://github.com/github/vscode-codeql/pull/669)
- Alter structure of the _Test Explorer_ tree. It now follows the structure of the filesystem instead of the QL Packs. [#624](https://github.com/github/vscode-codeql/pull/624)
- Alter structure of the _Test Explorer_ tree. It now follows the structure of the filesystem instead of the QL Packs. [#624](https://github.com/github/vscode-codeql/pull/624)
- Add more structured output for tests. [#626](https://github.com/github/vscode-codeql/pull/626)
- Whenever the extension restarts, orphaned databases will be cleaned up. These are databases whose files are located inside of the extension's storage area, but are not imported into the workspace.
2020-11-21 01:54:21 +03:00
- After renaming a database, the database list is re-sorted. [#685](https://github.com/github/vscode-codeql/pull/685)
- Add a `codeQl.resultsDisplay.pageSize` setting to configure the number of results displayed in a single results view page. Increase the default page size from 100 to 200. [#686](https://github.com/github/vscode-codeql/pull/686)
- Update the AST Viewer to include edge labels (if available) in addition to the target node labels. So far, only C/C++ databases take advantage of this change. [#688](https://github.com/github/vscode-codeql/pull/688)
2020-11-04 23:06:05 +03:00
## 1.3.6 - 4 November 2020
- Fix URI encoding for databases that were created with special characters in their paths. [#648](https://github.com/github/vscode-codeql/pull/648)
- Disable CodeQL Test commands from the command palette [#667](https://github.com/github/vscode-codeql/pull/667)
- Fix display of booleans in results view. [#657](https://github.com/github/vscode-codeql/pull/657)
- Avoid recursive selection changes in AST Viewer. [#668](https://github.com/github/vscode-codeql/pull/668)
2020-10-27 22:39:47 +03:00
2020-10-27 22:32:15 +03:00
## 1.3.5 - 27 October 2020
- Fix a bug where archived source folders for databases were not showing any contents.
- Fix URI encoding for databases that were created with special characters in their paths.
2020-10-22 20:47:57 +03:00
2020-10-22 20:35:29 +03:00
## 1.3.4 - 22 October 2020
2020-10-02 00:47:34 +03:00
- Add friendly welcome message when the databases view is empty.
2020-10-02 01:20:54 +03:00
- Add open query, open results, and remove query commands in the query history view title bar.
- The maximum number of simultaneous queries launchable by the `CodeQL: Run Queries in Selected Files` command is now configurable by changing the `codeQL.runningQueries.maxQueries` setting.
- Allow simultaneously run queries to be canceled in a single-click.
- Prevent multiple upgrade dialogs from appearing when running simultaneous queries on upgradeable databases.
2020-09-29 19:19:09 +03:00
- Fix sorting of results. Some pages of results would have the wrong sort order and columns.
- Remember previous sort order when reloading query results.
2020-09-29 22:31:11 +03:00
- Fix proper escaping of backslashes in SARIF message strings.
- Allow setting `codeQL.runningQueries.numberOfThreads` and `codeQL.runningTests.numberOfThreads` to 0, (which is interpreted as 'use one thread per core on the machine').
- Clear the problems view of all CodeQL query results when a database is removed.
2020-10-03 02:12:03 +03:00
- Add a `View DIL` command on query history items. This opens a text editor containing the Datalog Intermediary Language representation of the compiled query.
2020-10-19 20:55:30 +03:00
- Remove feature flag for the AST Viewer. For more information on how to use the AST Viewer, [see the documentation](https://help.semmle.com/codeql/codeql-for-vscode/procedures/exploring-the-structure-of-your-source-code.html).
- The `codeQL.runningTests.numberOfThreads` setting is now used correctly when running tests.
2020-10-20 01:08:26 +03:00
- Alter structure of the _Test Explorer_ tree. It now follows the structure of the filesystem instead of the qlpacks.
- Ensure output of CodeQL test runs includes compilation error messages and test failure messages.
2020-09-16 23:22:01 +03:00
## 1.3.3 - 16 September 2020
2020-08-13 15:23:02 +03:00
- Fix display of raw results entities with label but no url.
- Fix bug where sort order is forgotten when changing raw results page.
2020-09-02 02:16:39 +03:00
- Avoid showing a location link in results view when a result item has an empty location.
2020-08-13 15:23:02 +03:00
2020-08-12 19:39:23 +03:00
## 1.3.2 - 12 August 2020
2020-07-16 08:14:44 +03:00
- Fix error with choosing qlpack search path.
- Fix pagination when there are no results.
- Suppress database downloaded from URL message when action canceled.
2020-07-25 01:57:38 +03:00
- Fix QL test discovery to avoid showing duplicate tests in the test explorer.
2020-08-12 19:52:25 +03:00
- Enable pagination of query results
- Add experimental AST Viewer for Go and C++. To enable, add `"codeQL.experimentalAstViewer": true` to the user settings file.
2020-07-16 08:14:44 +03:00
2020-07-07 21:28:53 +03:00
## 1.3.1 - 7 July 2020
2020-06-23 02:08:35 +03:00
- Fix unzipping of large files.
2020-06-23 21:50:51 +03:00
- Ensure compare order is consistent when selecting two queries to compare. The first query selected is always the _from_ query and the query selected later is always the _to_ query.
2020-06-26 21:14:49 +03:00
- Ensure added databases have zipped source locations for databases added as archives or downloaded from the internet.
2020-07-02 08:50:10 +03:00
- Fix bug where it is not possible to add databases starting with `db-*`.
2020-07-02 22:53:35 +03:00
- Change styling of pagination section of the results page.
2020-07-07 15:40:07 +03:00
- Fix display of query text for stored quick queries.
2020-06-23 02:08:35 +03:00
2020-06-22 21:20:09 +03:00
## 1.3.0 - 22 June 2020
2020-06-08 21:38:22 +03:00
2020-06-11 23:21:50 +03:00
- Report error when selecting invalid database.
2020-06-12 00:35:08 +03:00
- Add descriptive message for database archive import failure.
2020-06-24 13:33:48 +03:00
- Respect VS Code's i18n locale setting when formatting dates and sorting strings.
- Allow the opening of large SARIF files externally from VS Code.
2020-06-16 21:48:52 +03:00
- Add new 'CodeQL: Compare Query' command that shows the differences between two queries.
2020-06-17 00:15:58 +03:00
- Allow multiple items in the query history view to be removed in one operation.
2020-06-18 00:31:02 +03:00
- Allow multiple items in the databases view to be removed in one operation.
- Allow multiple items in the databases view to be upgraded in one operation.
- Allow multiple items in the databases view to have their external folders opened.
2020-06-19 21:59:34 +03:00
- Allow all selected queries to be run in one command from the file explorer.
2020-06-11 23:21:50 +03:00
## 1.2.2 - 8 June 2020
2020-06-04 07:52:47 +03:00
- Fix auto-indentation rules.
- Add ability to download platform-specific releases of the CodeQL CLI if they are available.
- Fix handling of downloading prerelease versions of the CodeQL CLI.
- Add pagination for displaying non-interpreted results.
2020-06-04 07:52:47 +03:00
2020-05-29 20:32:29 +03:00
## 1.2.1 - 29 May 2020
2020-05-26 21:20:43 +03:00
2020-05-27 12:09:22 +03:00
- Better formatting and autoindentation when adding QLDoc comments to `.ql` and `.qll` files.
2020-05-26 21:41:54 +03:00
- Allow for more flexibility when opening a database in the workspace. A user can now choose the actual database folder, or the nested `db-*` folder.
- Add query history menu command for viewing corresponding SARIF file.
2020-05-28 08:39:43 +03:00
- Add ability for users to download databases directly from LGTM.com.
2020-05-26 21:20:43 +03:00
2020-05-19 21:20:29 +03:00
## 1.2.0 - 19 May 2020
2020-05-15 19:41:44 +03:00
- Enable 'Go to Definition' and 'Go to References' on source archive
files in CodeQL databases. This is handled by a CodeQL query.
2020-05-19 21:20:29 +03:00
- Fix adding database archive files on Windows.
- Enable adding remote and local database archive files from the
command palette.
2020-05-15 21:53:58 +03:00
## 1.1.5 - 15 May 2020
- Links in results are no longer underlined and monospaced.
2020-05-14 23:29:48 +03:00
- Add the ability to choose a database either from an archive, a folder, or from the internet.
- New icons for commands on the databases view.
2020-05-13 20:23:31 +03:00
## 1.1.4 - 13 May 2020
- Add the ability to download and install databases archives from the internet.
2020-05-08 19:34:37 +03:00
## 1.1.3 - 8 May 2020
- Add a suggestion in alerts view to view raw results, when there are
raw results but no alerts.
2020-05-08 07:52:17 +03:00
- Add the ability to rename databases in the database view.
- Add the ability to open the directory in the filesystem
of a database.
2020-05-08 19:34:37 +03:00
2020-04-28 20:30:45 +03:00
## 1.1.2 - 28 April 2020
- Implement syntax highlighting for the new `unique` aggregate.
2020-04-16 19:51:01 +03:00
- Implement XML syntax highlighting for `.qhelp` files.
- Add option to auto save queries before running them.
2020-04-17 22:12:41 +03:00
- Add new command in query history to view the query text of the
selected query (note that this may be different from the current
contents of the query file if the file has been edited).
2020-04-21 01:11:19 +03:00
- Add ability to sort CodeQL databases by name or by date added.
2020-03-23 19:25:24 +03:00
## 1.1.1 - 23 March 2020
2020-03-19 18:38:22 +03:00
2020-03-23 19:43:03 +03:00
- Fix quick evaluation in `.qll` files.
2020-03-19 18:38:22 +03:00
- Add new command in query history view to view the log file of a
query.
- Request user acknowledgment before updating the CodeQL binaries.
2020-03-23 19:30:08 +03:00
- Warn when using the deprecated `codeql.cmd` launcher on Windows.
2020-03-19 18:38:22 +03:00
2020-03-17 22:50:49 +03:00
## 1.1.0 - 17 March 2020
2020-03-09 21:47:08 +03:00
- Add functionality for testing custom CodeQL queries by using the VS
Code Test Explorer extension and `codeql test`. See the documentation for
2020-03-17 22:50:49 +03:00
more details.
2020-03-09 21:47:08 +03:00
- Add a "Show log" button to all information, error, and warning
popups that will display the CodeQL extension log.
- Display a message when a query times out.
- Show canceled queries in query history.
2020-03-17 22:50:49 +03:00
- Improve error messages when attempting to run non-query files.
2020-03-09 21:47:08 +03:00
2020-02-28 19:57:57 +03:00
## 1.0.6 - 28 February 2020
- Add command to restart query server.
- Enable support for future minor upgrades to the CodeQL CLI.
2020-02-13 20:27:46 +03:00
## 1.0.5 - 13 February 2020
2020-01-24 18:36:02 +03:00
2020-02-04 21:39:19 +03:00
- Add an icon next to any failed query runs in the query history
view.
2020-02-13 17:25:46 +03:00
- Add the ability to sort alerts by alert message.
2020-02-04 21:39:19 +03:00
2020-01-24 18:20:36 +03:00
## 1.0.4 - 24 January 2020
2020-01-13 16:09:23 +03:00
2020-01-23 16:02:41 +03:00
- Disable word-based autocomplete by default.
2020-01-23 18:15:32 +03:00
- Add command `CodeQL: Quick Query` for easy query creation without
having to choose a place in the filesystem to store the query file.
2020-01-23 16:02:41 +03:00
2020-01-13 15:38:49 +03:00
## 1.0.3 - 13 January 2020
2020-01-03 19:36:11 +03:00
- Reduce the frequency of CodeQL CLI update checks to help avoid hitting GitHub API limits of 60 requests per
2020-05-08 07:52:17 +03:00
hour for unauthenticated IPs.
2020-01-03 19:36:11 +03:00
- Fix sorting of result sets with names containing special characters.
2019-12-12 02:21:28 +03:00
## 1.0.2 - 13 December 2019
2019-12-13 00:42:36 +03:00
- Fix rendering of negative numbers in results.
- Allow customization of query history labels from settings and from
query history view context menu.
- Show number of results in results view.
2020-05-08 07:52:17 +03:00
- Add commands `CodeQL: Show Next Step on Path` and `CodeQL: Show Previous Step on Path` for navigating the steps on the currently
2019-12-13 00:42:36 +03:00
shown path result.
2019-12-12 02:21:28 +03:00
2019-11-21 21:11:04 +03:00
## 1.0.1 - 21 November 2019
- Change `codeQL.cli.executablePath` to a per-machine setting, so it can no longer be set at the user or workspace level. This helps prevent arbitrary code execution when using a VS Code workspace from an untrusted source.
- Improve the highlighting of the selected query result within the source code.
- Improve the performance of switching between result tables in the CodeQL Query Results view.
- Fix the automatic upgrading of CodeQL databases when using upgrade scripts from the workspace.
- Allow removal of items from the CodeQL Query History view.
## 1.0.0 - 14 November 2019
2019-12-12 02:21:28 +03:00
Initial release of CodeQL for Visual Studio Code.