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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

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

2019-11-21 21:11:04 +03:00
# CodeQL for Visual Studio Code: Changelog
2024-10-10 15:38:04 +03:00
## [UNRELEASED]
2024-10-14 15:08:40 +03:00
- Support result columns of type `QlBuiltins::BigInt` in quick evaluations. [#3647](https://github.com/github/vscode-codeql/pull/3647)
2024-10-22 15:59:41 +03:00
- Fix a bug where the CodeQL CLI would be re-downloaded if you switched to a different filesystem (for example Codespaces or a remote SSH host). [#3762](https://github.com/github/vscode-codeql/pull/3762)
2024-10-22 16:23:38 +03:00
- Clean up old extension-managed CodeQL CLI distributions. [#3763](https://github.com/github/vscode-codeql/pull/3763)
2024-10-29 15:43:41 +03:00
- Only compare the source and sink of a path when comparing alerts of local queries. [#3772](https://github.com/github/vscode-codeql/pull/3772)
2024-10-14 15:08:40 +03:00
2024-10-10 13:57:14 +03:00
## 1.16.0 - 10 October 2024
2024-09-26 12:43:08 +03:00
2024-10-02 14:54:30 +03:00
- Increase the required version of VS Code to 1.90.0. [#3737](https://github.com/github/vscode-codeql/pull/3737)
- Fix a bug where some variant analysis results failed to download. [#3750](https://github.com/github/vscode-codeql/pull/3750)
2024-10-02 14:54:30 +03:00
2024-09-26 12:16:40 +03:00
## 1.15.0 - 26 September 2024
2024-08-07 18:17:55 +03:00
- Update results view to display the length of the shortest path for path queries. [#3687](https://github.com/github/vscode-codeql/pull/3687)
2024-09-26 12:03:14 +03:00
- Remove support for CodeQL CLI versions older than 2.16.6. [#3728](https://github.com/github/vscode-codeql/pull/3728)
2024-08-07 18:00:34 +03:00
## 1.14.0 - 7 August 2024
2024-05-29 12:17:05 +03:00
2024-07-31 12:17:29 +03:00
- Add Python support to the CodeQL Model Editor. [#3676](https://github.com/github/vscode-codeql/pull/3676)
- Update variant analysis view to display the length of the shortest path for path queries. [#3671](https://github.com/github/vscode-codeql/pull/3671)
2024-08-07 18:00:34 +03:00
- Remove support for CodeQL CLI versions older than 2.15.5. [#3681](https://github.com/github/vscode-codeql/pull/3681)
2024-05-29 11:43:56 +03:00
## 1.13.1 - 29 May 2024
2024-05-01 14:44:41 +03:00
- Fix a bug when re-importing test databases that erroneously showed old source code. [#3616](https://github.com/github/vscode-codeql/pull/3616)
- Update the progress window with details on potentially long-running post-processing steps after running a query. [#3622](https://github.com/github/vscode-codeql/pull/3622)
2024-05-01 11:36:40 +03:00
## 1.13.0 - 1 May 2024
2024-04-09 15:29:43 +03:00
- Add Ruby support to the CodeQL Model Editor. [#3584](https://github.com/github/vscode-codeql/pull/3584)
2024-05-01 10:42:03 +03:00
- Remove support for CodeQL CLI versions older than 2.14.6. [#3562](https://github.com/github/vscode-codeql/pull/3562)
2024-04-09 11:54:07 +03:00
## 1.12.5 - 9 April 2024
2024-03-20 13:54:17 +03:00
2024-03-26 14:20:45 +03:00
- Add new supported source and sink kinds in the CodeQL Model Editor [#3511](https://github.com/github/vscode-codeql/pull/3511)
2024-03-29 19:26:24 +03:00
- Fix a bug where the test explorer wouldn't display certain tests. [#3527](https://github.com/github/vscode-codeql/pull/3527)
2024-04-09 12:08:47 +03:00
- The "model dependency" operation in the model editor can now be cancelled. [#3517](https://github.com/github/vscode-codeql/pull/3517)
2024-03-26 14:20:45 +03:00
2024-03-20 12:28:24 +03:00
## 1.12.4 - 20 March 2024
2024-02-14 13:29:50 +03:00
- Don't show notification after local query cancellation. [#3489](https://github.com/github/vscode-codeql/pull/3489)
- Databases created from [CodeQL test cases](https://docs.github.com/en/code-security/codeql-cli/using-the-advanced-functionality-of-the-codeql-cli/testing-custom-queries) are now copied into a shared VS Code storage location. This avoids a bug where re-running test cases would fail if the test's database is already imported into the workspace. [#3433](https://github.com/github/vscode-codeql/pull/3433)
2024-02-29 12:24:32 +03:00
## 1.12.3 - 29 February 2024
2024-02-14 13:29:50 +03:00
- Update variant analysis view to show when cancelation is in progress. [#3405](https://github.com/github/vscode-codeql/pull/3405)
- Remove support for CodeQL CLI versions older than 2.13.5. [#3371](https://github.com/github/vscode-codeql/pull/3371)
2024-02-22 15:25:02 +03:00
- Add a timeout to downloading databases and the CodeQL CLI. These can be changed using the `codeQL.addingDatabases.downloadTimeout` and `codeQL.cli.downloadTimeout` settings respectively. [#3373](https://github.com/github/vscode-codeql/pull/3373)
2024-03-06 19:28:37 +03:00
- When downloading a CodeQL database through the model editor, only use credentials when in canary mode. [#3440](https://github.com/github/vscode-codeql/pull/3440)
2024-02-14 12:24:55 +03:00
## 1.12.2 - 14 February 2024
2024-02-06 19:28:02 +03:00
- Stop allowing running variant analyses with a query outside of the workspace. [#3302](https://github.com/github/vscode-codeql/pull/3302)
2024-01-31 15:52:43 +03:00
## 1.12.1 - 31 January 2024
2024-01-11 15:25:03 +03:00
- Enable collection of telemetry for the `codeQL.addingDatabases.addDatabaseSourceToWorkspace` setting. [#3238](https://github.com/github/vscode-codeql/pull/3238)
- In the CodeQL model editor, you can now select individual method rows and save changes to only the selected rows, instead of having to save the entire library model. [#3156](https://github.com/github/vscode-codeql/pull/3156)
- If you run a query without having selected a database, we show a more intuitive prompt to help you select a database. [#3214](https://github.com/github/vscode-codeql/pull/3214)
2024-01-19 14:28:04 +03:00
- Error messages returned from the CodeQL CLI are now less verbose and more user-friendly. [#3259](https://github.com/github/vscode-codeql/pull/3259)
2024-01-11 19:34:35 +03:00
- The UI for browsing and running CodeQL tests has moved to use VS Code's built-in test UI. This makes the CodeQL test UI more consistent with the test UIs for other languages.
This change means that this extension no longer depends on the "Test Explorer UI" and "Test Adapter Converter" extensions. You can uninstall those two extensions if they are
2024-01-31 15:52:43 +03:00
not being used by any other extensions you may have installed. [#3232](https://github.com/github/vscode-codeql/pull/3232)
2024-01-11 13:08:00 +03:00
## 1.12.0 - 11 January 2024
2023-12-13 16:17:03 +03:00
2023-12-14 12:10:14 +03:00
- Add a prompt for downloading a GitHub database when opening a GitHub repository. [#3138](https://github.com/github/vscode-codeql/pull/3138)
2023-12-14 01:52:19 +03:00
- Avoid showing a popup when hovering over source elements in database source files. [#3125](https://github.com/github/vscode-codeql/pull/3125)
2023-12-14 12:27:54 +03:00
- Add comparison of alerts when comparing query results. This allows viewing path explanations for differences in alerts. [#3113](https://github.com/github/vscode-codeql/pull/3113)
- Fix a bug where the CodeQL CLI and variant analysis results were corrupted after extraction in VS Code Insiders. [#3151](https://github.com/github/vscode-codeql/pull/3151) & [#3152](https://github.com/github/vscode-codeql/pull/3152)
- Show progress when extracting the CodeQL CLI distribution during installation. [#3157](https://github.com/github/vscode-codeql/pull/3157)
2024-01-04 13:52:42 +03:00
- Add option to cancel opening the model editor. [#3189](https://github.com/github/vscode-codeql/pull/3189)
2023-12-14 01:52:19 +03:00
2023-12-13 11:48:49 +03:00
## 1.11.0 - 13 December 2023
2023-11-16 21:20:26 +03:00
2023-12-12 16:57:01 +03:00
- Add a new method modeling panel to classify methods as sources/sinks/summaries while in the context of the source code. [#3128](https://github.com/github/vscode-codeql/pull/3128)
- Adds the ability to add multiple classifications per method in the CodeQL Model Editor. [#3128](https://github.com/github/vscode-codeql/pull/3128)
2023-12-13 11:48:49 +03:00
- Switch add and delete button positions in the CodeQL Model Editor. [#3123](https://github.com/github/vscode-codeql/pull/3123)
- Add a prompt to the "Quick query" command to encourage users in single-folder workspaces to use "Create query" instead. [#3082](https://github.com/github/vscode-codeql/pull/3082)
2023-11-23 15:58:08 +03:00
- Remove support for CodeQL CLI versions older than 2.11.6. [#3087](https://github.com/github/vscode-codeql/pull/3087)
2023-11-24 16:21:03 +03:00
- Preserve focus on results viewer when showing a location in a file. [#3088](https://github.com/github/vscode-codeql/pull/3088)
2023-11-24 21:02:40 +03:00
- The `dataflowtracking` and `tainttracking` snippets expand to the new module-based interface. [#3091](https://github.com/github/vscode-codeql/pull/3091)
2023-12-06 13:19:04 +03:00
- The compare view will now show a loading message while the results are loading. [#3107](https://github.com/github/vscode-codeql/pull/3107)
2023-12-08 17:13:05 +03:00
- Make top-banner of the model editor sticky [#3120](https://github.com/github/vscode-codeql/pull/3120)
2023-11-16 17:22:20 +03:00
## 1.10.0 - 16 November 2023
2023-11-06 17:32:49 +03:00
- Add new CodeQL views for managing databases and queries:
2023-11-16 17:22:20 +03:00
1. A queries panel that shows all queries in your workspace. It allows you to view, create, and run queries in one place.
2. A language selector, which allows you to quickly filter databases and queries by language.
2023-12-14 01:52:19 +03:00
For more information, see the [documentation](https://codeql.github.com/docs/codeql-for-visual-studio-code/analyzing-your-projects/#filtering-databases-and-queries-by-language).
- When adding a CodeQL database, we no longer add the database source folder to the workspace by default (since this caused bugs in single-folder workspaces). [#3047](https://github.com/github/vscode-codeql/pull/3047)
- You can manually add individual database source folders to the workspace with the "Add Database Source to Workspace" right-click command in the databases view.
- To restore the old behavior of adding all database source folders by default, set the `codeQL.addingDatabases.addDatabaseSourceToWorkspace` setting to `true`.
2023-11-14 14:44:46 +03:00
- Rename the `codeQL.databaseDownload.allowHttp` setting to `codeQL.addingDatabases.allowHttp`, so that database-related settings are grouped together in the Settings UI. [#3047](https://github.com/github/vscode-codeql/pull/3047) & [#3069](https://github.com/github/vscode-codeql/pull/3069)
- The "Sort by Language" action in the databases view now sorts by name within each language. [#3055](https://github.com/github/vscode-codeql/pull/3055)
2023-11-06 16:41:42 +03:00
## 1.9.4 - 6 November 2023
No user facing changes.
2023-10-26 13:11:17 +03:00
## 1.9.3 - 26 October 2023
2023-10-12 11:59:04 +03:00
- Sorted result set filenames now include a hash of the result set name instead of the full name. [#2955](https://github.com/github/vscode-codeql/pull/2955)
2023-10-16 10:53:22 +03:00
- The "Install Pack Dependencies" will now only list CodeQL packs located in the workspace. [#2960](https://github.com/github/vscode-codeql/pull/2960)
- Fix a bug where the "View Query Log" action for a query history item was not working. [#2984](https://github.com/github/vscode-codeql/pull/2984)
- Add a command to sort items in the databases view by language. [#2993](https://github.com/github/vscode-codeql/pull/2993)
2023-10-19 11:03:43 +03:00
- Fix not being able to open the results directory or evaluator log for a cancelled local query run. [#2996](https://github.com/github/vscode-codeql/pull/2996)
2023-10-26 11:42:11 +03:00
- Fix empty row in alert path when the SARIF location was empty. [#3018](https://github.com/github/vscode-codeql/pull/3018)
2023-10-12 10:50:13 +03:00
## 1.9.2 - 12 October 2023
2023-09-29 13:27:33 +03:00
2023-09-29 02:27:29 +03:00
- Fix a bug where the query to Find Definitions in database source files would not be cancelled appropriately. [#2885](https://github.com/github/vscode-codeql/pull/2885)
2023-10-03 12:23:32 +03:00
- It is now possible to show the language of query history items using the `%l` specifier in the `codeQL.queryHistory.format` setting. Note that this only works for queries run after this upgrade, and older items will show `unknown` as a language. [#2892](https://github.com/github/vscode-codeql/pull/2892)
2023-10-03 10:36:59 +03:00
- Increase the required version of VS Code to 1.82.0. [#2877](https://github.com/github/vscode-codeql/pull/2877)
2023-09-29 00:29:40 +03:00
- Fix a bug where the query server was restarted twice after configuration changes. [#2884](https://github.com/github/vscode-codeql/pull/2884).
- Add support for the `telemetry.telemetryLevel` setting. For more information, see the [telemetry documentation](https://codeql.github.com/docs/codeql-for-visual-studio-code/about-telemetry-in-codeql-for-visual-studio-code). [#2824](https://github.com/github/vscode-codeql/pull/2824).
2023-10-10 22:51:31 +03:00
- Add a "CodeQL: Trim Cache" command that clears the evaluation cache of a database except for predicates annotated with the `cached` keyword. Its purpose is to get accurate performance measurements when tuning the final stage of a query, like a data-flow configuration. This is equivalent to the `codeql database cleanup --mode=normal` CLI command. In contrast, the existing "CodeQL: Clear Cache" command clears the entire cache. CodeQL CLI v2.15.1 or later is required. [#2928](https://github.com/github/vscode-codeql/pull/2928)
- Fix syntax highlighting directly after import statements with instantiation arguments. [#2792](https://github.com/github/vscode-codeql/pull/2792)
2023-10-11 14:35:11 +03:00
- The `debug.saveBeforeStart` setting is now respected when running variant analyses. [#2950](https://github.com/github/vscode-codeql/pull/2950)
- The 'open database' button of the model editor was renamed to 'open source'. Also, it's now only available if the source archive is available as a workspace folder. [#2945](https://github.com/github/vscode-codeql/pull/2945)
2023-09-29 02:27:29 +03:00
2023-09-29 10:44:44 +03:00
## 1.9.1 - 29 September 2023
- Add warning when using a VS Code version older than 1.82.0. [#2854](https://github.com/github/vscode-codeql/pull/2854)
- Fix a bug when parsing large evaluation log summaries. [#2858](https://github.com/github/vscode-codeql/pull/2858)
- Right-align and format numbers in raw result tables. [#2864](https://github.com/github/vscode-codeql/pull/2864)
- Remove rate limit warning notifications when using Code Search to add repositories to a variant analysis list. [#2812](https://github.com/github/vscode-codeql/pull/2812)
2023-09-19 16:49:34 +03:00
2023-09-19 12:12:04 +03:00
## 1.9.0 - 19 September 2023
- Release the [CodeQL model editor](https://codeql.github.com/docs/codeql-for-visual-studio-code/using-the-codeql-model-editor/) to create CodeQL model packs for Java frameworks. Open the editor using the "CodeQL: Open CodeQL Model Editor (Beta)" command. [#2823](https://github.com/github/vscode-codeql/pull/2823)
2023-09-15 16:19:38 +03:00
2023-09-11 16:02:23 +03:00
## 1.8.12 - 11 September 2023
- Fix a bug where variant analysis queries would fail for queries in the `codeql/java-queries` query pack. [#2786](https://github.com/github/vscode-codeql/pull/2786)
2023-09-07 15:40:41 +03:00
2023-09-07 14:28:37 +03:00
## 1.8.11 - 7 September 2023
2023-08-15 13:08:02 +03:00
2023-08-24 19:37:40 +03:00
- Update how variant analysis results are displayed. For queries with ["path-problem" or "problem" `@kind`](https://codeql.github.com/docs/writing-codeql-queries/metadata-for-codeql-queries/#metadata-properties), you can choose to display the results as rendered alerts or as a table of raw results. For queries with any other `@kind`, the results are displayed as a table. [#2745](https://github.com/github/vscode-codeql/pull/2745) & [#2749](https://github.com/github/vscode-codeql/pull/2749)
- When running variant analyses, don't download artifacts for repositories with no results. [#2736](https://github.com/github/vscode-codeql/pull/2736)
2023-08-17 19:13:40 +03:00
- Group the extension settings, so that they're easier to find in the Settings UI. [#2706](https://github.com/github/vscode-codeql/pull/2706)
2023-08-15 12:41:34 +03:00
## 1.8.10 - 15 August 2023
2023-08-03 12:53:59 +03:00
- Add a code lens to make the `CodeQL: Open Referenced File` command more discoverable. Click the "Open referenced file" prompt in a `.qlref` file to jump to the referenced `.ql` file. [#2704](https://github.com/github/vscode-codeql/pull/2704)
## 1.8.9 - 3 August 2023
2023-06-29 15:22:33 +03:00
- Remove "last updated" information and sorting from variant analysis results view. [#2637](https://github.com/github/vscode-codeql/pull/2637)
2023-07-19 11:57:58 +03:00
- Links to code on GitHub now include column numbers as well as line numbers. [#2406](https://github.com/github/vscode-codeql/pull/2406)
2023-07-17 22:39:38 +03:00
- No longer highlight trailing commas for jump to definition. [#2615](https://github.com/github/vscode-codeql/pull/2615)
- Fix a bug where the QHelp preview page was not being refreshed after changes to the underlying `.qhelp` file. [#2660](https://github.com/github/vscode-codeql/pull/2660)
2023-07-17 12:17:54 +03:00
## 1.8.8 - 17 July 2023
2023-06-29 15:22:33 +03:00
- Remove support for CodeQL CLI versions older than 2.9.4. [#2610](https://github.com/github/vscode-codeql/pull/2610)
- Implement syntax highlighting for the `additional` and `default` keywords. [#2609](https://github.com/github/vscode-codeql/pull/2609)
2023-06-29 11:43:05 +03:00
## 1.8.7 - 29 June 2023
2023-06-14 15:20:00 +03:00
2023-06-29 11:43:05 +03:00
- Show a run button on the file tab for query files, that will start a local query. This button will only show when a local database is selected in the extension. [#2544](https://github.com/github/vscode-codeql/pull/2544)
2023-07-17 12:17:54 +03:00
- Add a `CodeQL: Quick Evaluation Count` command to generate the count summary statistics of the results set
without spending the time to compute locations and strings. [#2475](https://github.com/github/vscode-codeql/pull/2475)
2023-06-14 14:17:03 +03:00
## 1.8.6 - 14 June 2023
2023-06-06 18:16:08 +03:00
2023-06-13 17:55:14 +03:00
- Add repositories to a variant analysis list with GitHub Code Search. [#2439](https://github.com/github/vscode-codeql/pull/2439) and [#2476](https://github.com/github/vscode-codeql/pull/2476)
2023-06-06 11:51:58 +03:00
## 1.8.5 - 6 June 2023
2023-05-03 14:09:07 +03:00
- Add settings `codeQL.variantAnalysis.defaultResultsFilter` and `codeQL.variantAnalysis.defaultResultsSort` for configuring how variant analysis results are filtered and sorted in the results view. The default is to show all repositories, and to sort by the number of results. [#2392](https://github.com/github/vscode-codeql/pull/2392)
2023-05-17 00:51:03 +03:00
- Fix bug to ensure error messages have complete stack trace in message logs. [#2425](https://github.com/github/vscode-codeql/pull/2425)
2023-05-16 22:32:29 +03:00
- Fix bug where the `CodeQL: Compare Query` command did not work for comparing quick-eval queries. [#2422](https://github.com/github/vscode-codeql/pull/2422)
2023-05-17 17:46:35 +03:00
- Update text of copy and export buttons in variant analysis results view to clarify that they only copy/export the selected/filtered results. [#2427](https://github.com/github/vscode-codeql/pull/2427)
2023-05-17 17:55:11 +03:00
- Add warning when using unsupported CodeQL CLI version. [#2428](https://github.com/github/vscode-codeql/pull/2428)
- Retry variant analysis results download if connection times out. [#2440](https://github.com/github/vscode-codeql/pull/2440)
2023-05-03 12:40:43 +03:00
## 1.8.4 - 3 May 2023
2023-04-26 12:47:12 +03:00
- Avoid repeated error messages when unable to monitor a variant analysis. [#2396](https://github.com/github/vscode-codeql/pull/2396)
- Fix bug where a variant analysis didn't display the `#select` results set correctly when the [query metadata](https://codeql.github.com/docs/writing-codeql-queries/about-codeql-queries/#query-metadata) didn't exactly match the query results. [#2395](https://github.com/github/vscode-codeql/pull/2395)
- On the variant analysis results page, show the count of successful analyses instead of completed analyses, and indicate the reason why analyses were not successful. [#2349](https://github.com/github/vscode-codeql/pull/2349)
2023-04-27 18:51:33 +03:00
- Fix bug where the "CodeQL: Set Current Database" command didn't always select the database. [#2384](https://github.com/github/vscode-codeql/pull/2384)
2023-04-26 11:20:20 +03:00
## 1.8.3 - 26 April 2023
2023-04-12 15:58:18 +03:00
2023-04-18 18:34:34 +03:00
- Added ability to filter repositories for a variant analysis to only those that have results [#2343](https://github.com/github/vscode-codeql/pull/2343)
2023-04-18 01:43:07 +03:00
- Add new configuration option to allow downloading databases from http, non-secure servers. [#2332](https://github.com/github/vscode-codeql/pull/2332)
2023-04-19 11:52:02 +03:00
- Remove title actions from the query history panel that depended on history items being selected. [#2350](https://github.com/github/vscode-codeql/pull/2350)
2023-04-18 18:34:34 +03:00
2023-04-12 15:20:22 +03:00
## 1.8.2 - 12 April 2023
2023-03-23 14:39:09 +03:00
2023-04-12 18:18:19 +03:00
- Fix bug where users could end up with the managed CodeQL CLI getting uninstalled during upgrades and not reinstalled. [#2294](https://github.com/github/vscode-codeql/pull/2294)
- Fix bug that was causing code flows to not get updated when switching between results. [#2288](https://github.com/github/vscode-codeql/pull/2288)
- Restart the CodeQL language server whenever the _CodeQL: Restart Query Server_ command is invoked. This avoids bugs where the CLI version changes to support new language features, but the language server is not updated. [#2238](https://github.com/github/vscode-codeql/pull/2238)
2023-04-11 19:43:49 +03:00
- Avoid requiring a manual restart of the query server when the [external CLI config file](https://docs.github.com/en/code-security/codeql-cli/using-the-codeql-cli/specifying-command-options-in-a-codeql-configuration-file#using-a-codeql-configuration-file) changes. [#2289](https://github.com/github/vscode-codeql/pull/2289)
2023-03-23 14:00:29 +03:00
## 1.8.1 - 23 March 2023
2023-03-09 17:22:57 +03:00
- Show data flow paths of a variant analysis in a new tab. [#2172](https://github.com/github/vscode-codeql/pull/2172) & [#2182](https://github.com/github/vscode-codeql/pull/2182)
- Show labels of entities in exported CSV results. [#2170](https://github.com/github/vscode-codeql/pull/2170)
2023-03-17 16:30:32 +03:00
## 1.8.0 - 9 March 2023
2023-03-01 22:07:38 +03:00
- Send telemetry about unhandled errors happening within the extension. [#2125](https://github.com/github/vscode-codeql/pull/2125)
2023-03-08 15:39:21 +03:00
- Enable multi-repository variant analysis. [#2144](https://github.com/github/vscode-codeql/pull/2144)
## 1.7.11 - 1 March 2023
2023-02-20 15:27:39 +03:00
2023-02-27 18:23:36 +03:00
- Enable collection of telemetry concerning interactions with UI elements, including buttons, links, and other inputs. [#2114](https://github.com/github/vscode-codeql/pull/2114)
- Prevent the automatic installation of CodeQL CLI version 2.12.3 to avoid a bug in the language server. CodeQL CLI 2.12.2 will be used instead. [#2126](https://github.com/github/vscode-codeql/pull/2126)
2023-02-23 11:58:41 +03:00
## 1.7.10 - 23 February 2023
2023-02-23 11:38:10 +03:00
- Fix bug that was causing unwanted error notifications.
2023-02-20 14:58:32 +03:00
## 1.7.9 - 20 February 2023
No user facing changes.
2023-02-02 20:03:23 +03:00
2023-02-02 18:40:30 +03:00
## 1.7.8 - 2 February 2023
2022-12-13 16:10:27 +03:00
- Renamed command "CodeQL: Run Query" to "CodeQL: Run Query on Selected Database". [#1962](https://github.com/github/vscode-codeql/pull/1962)
- Remove support for CodeQL CLI versions older than 2.7.6. [#1788](https://github.com/github/vscode-codeql/pull/1788)
2023-01-16 18:48:06 +03:00
2022-12-13 14:55:42 +03:00
## 1.7.7 - 13 December 2022
2022-11-21 22:39:04 +03:00
- Increase the required version of VS Code to 1.67.0. [#1662](https://github.com/github/vscode-codeql/pull/1662)
2022-11-21 20:01:47 +03:00
## 1.7.6 - 21 November 2022
2022-10-29 23:41:07 +03:00
2022-11-08 02:23:24 +03:00
- Warn users when their VS Code version is too old to support all features in the vscode-codeql extension. [#1674](https://github.com/github/vscode-codeql/pull/1674)
2022-11-09 04:22:50 +03:00
## 1.7.5 - 8 November 2022
- Fix a bug where the AST Viewer was not working unless the associated CodeQL library pack is in the workspace. [#1735](https://github.com/github/vscode-codeql/pull/1735)
2022-10-29 23:41:07 +03:00
2022-10-29 23:17:19 +03:00
## 1.7.4 - 29 October 2022
No user facing changes.
2022-10-29 02:11:00 +03:00
## 1.7.3 - 28 October 2022
2022-10-14 23:34:35 +03:00
- Fix a bug where databases may be lost if VS Code is restarted while the extension is being started up. [#1638](https://github.com/github/vscode-codeql/pull/1638)
- Add commands for navigating up, down, left, or right in the result viewer. Previously there were only commands for moving up and down the currently-selected path. We suggest binding keyboard shortcuts to these commands, for navigating the result viewer using the keyboard. [#1568](https://github.com/github/vscode-codeql/pull/1568)
2022-10-21 02:25:14 +03:00
2022-10-14 20:20:34 +03:00
## 1.7.2 - 14 October 2022
2022-10-14 17:42:11 +03:00
- Fix a bug where results created in older versions were thought to be unsuccessful. [#1605](https://github.com/github/vscode-codeql/pull/1605)
## 1.7.1 - 12 October 2022
2022-09-21 18:22:10 +03:00
- Fix a bug where it was not possible to add a database folder if the folder name starts with `db-`. [#1565](https://github.com/github/vscode-codeql/pull/1565)
- Ensure the results view opens in an editor column beside the currently active editor. [#1557](https://github.com/github/vscode-codeql/pull/1557)
2022-09-20 18:23:47 +03:00
## 1.7.0 - 20 September 2022
2022-08-09 18:21:26 +03:00
2022-08-23 17:08:23 +03:00
- Remove ability to download databases from LGTM. [#1467](https://github.com/github/vscode-codeql/pull/1467)
- Remove the ability to manually upgrade databases from the context menu on databases. Databases are non-destructively upgraded automatically so for most users this was not needed. For advanced users this is still available in the Command Palette. [#1501](https://github.com/github/vscode-codeql/pull/1501)
2022-09-17 02:19:58 +03:00
- Always restart the query server after a manual database upgrade. This avoids a bug in the query server where an invalid dbscheme was being retained in memory after an upgrade. [#1519](https://github.com/github/vscode-codeql/pull/1519)
2022-09-01 23:25:04 +03:00
## 1.6.12 - 1 September 2022
2022-08-25 23:46:21 +03:00
2022-08-30 16:09:16 +03:00
- Add ability for users to download databases directly from GitHub. [#1485](https://github.com/github/vscode-codeql/pull/1485)
2022-09-01 23:25:04 +03:00
- Fix a race condition that could cause a failure to open the evaluator log when running a query. [#1490](https://github.com/github/vscode-codeql/pull/1490)
- Fix an error when running a query with an older version of the CodeQL CLI. [#1490](https://github.com/github/vscode-codeql/pull/1490)
2022-08-30 16:09:16 +03:00
2022-08-25 20:11:50 +03:00
## 1.6.11 - 25 August 2022
No user facing changes.
2022-08-23 17:08:23 +03:00
2022-08-09 18:17:57 +03:00
## 1.6.10 - 9 August 2022
2022-07-20 12:22:17 +03:00
2022-08-09 18:17:57 +03:00
No user facing changes.
2022-09-17 02:19:58 +03:00
## 1.6.9 - 20 July 2022
2022-07-20 12:01:12 +03:00
No user facing changes.
2022-06-29 14:56:36 +03:00
2022-06-29 14:42:18 +03:00
## 1.6.8 - 29 June 2022
2022-06-15 17:18:00 +03:00
2022-06-28 21:37:36 +03:00
- Fix a bug where quick queries cannot be compiled if the core libraries are not in the workspace. [#1411](https://github.com/github/vscode-codeql/pull/1411)
- Fix a bug where quick evaluation of library files would display an error message when using CodeQL CLI v2.10.0. [#1412](https://github.com/github/vscode-codeql/pull/1412)
2022-06-28 21:37:36 +03:00
2022-06-15 16:41:11 +03:00
## 1.6.7 - 15 June 2022
2022-05-17 18:11:49 +03:00
- Prints end-of-query evaluator log summaries to the Query Log. [#1349](https://github.com/github/vscode-codeql/pull/1349)
2022-06-01 14:07:13 +03:00
- Be consistent about casing in Query History menu. [#1369](https://github.com/github/vscode-codeql/pull/1369)
2022-06-04 02:26:02 +03:00
- Fix quoting string columns in exported CSV results. [#1379](https://github.com/github/vscode-codeql/pull/1379)
2022-05-17 17:51:33 +03:00
## 1.6.6 - 17 May 2022
No user facing changes.
## 1.6.5 - 25 April 2022
2022-04-07 01:39:04 +03:00
2022-04-08 00:01:28 +03:00
- Re-enable publishing to open-vsx. [#1285](https://github.com/github/vscode-codeql/pull/1285)
2022-04-07 00:54:56 +03:00
## 1.6.4 - 6 April 2022
No user facing changes.
2022-04-04 18:28:36 +03:00
## 1.6.3 - 4 April 2022
2022-03-24 22:39:11 +03:00
- Fix a bug where the AST viewer was not synchronizing its selected node when the editor selection changes. [#1230](https://github.com/github/vscode-codeql/pull/1230)
2022-03-29 21:11:44 +03:00
- Avoid synchronizing the `codeQL.cli.executablePath` setting. [#1252](https://github.com/github/vscode-codeql/pull/1252)
- Open the directory in the finder/explorer (instead of just highlighting it) when running the "Open query directory" command from the query history view. [#1235](https://github.com/github/vscode-codeql/pull/1235)
- Ensure query label in the query history view changes are persisted across restarts. [#1235](https://github.com/github/vscode-codeql/pull/1235)
- Prints end-of-query evaluator log summaries to the Query Server Console. [#1264](https://github.com/github/vscode-codeql/pull/1264)
2022-03-24 22:39:11 +03:00
2022-03-17 15:04:37 +03:00
## 1.6.1 - 17 March 2022
No user facing changes.
2022-03-07 21:04:29 +03:00
## 1.6.0 - 7 March 2022
2022-02-10 23:29:28 +03:00
2022-02-12 00:00:49 +03:00
- Fix a bug where database upgrades could not be resolved if some of the target pack's dependencies are outside of the workspace. [#1138](https://github.com/github/vscode-codeql/pull/1138)
- Open the query server logs for query errors (instead of the extension log). This will make it easier to track down query errors. [#1158](https://github.com/github/vscode-codeql/pull/1158)
- Fix a bug where queries took a long time to run if there are no folders in the workspace. [#1157](https://github.com/github/vscode-codeql/pull/1157)
- [BREAKING CHANGE] The `codeQL.runningQueries.customLogDirectory` setting is deprecated and no longer has any function. Instead, all query log files will be stored in the query history directory, next to the query results. [#1178](https://github.com/github/vscode-codeql/pull/1178)
- Add a _Open query directory_ command for query items. This command opens the directory containing all artifacts for a query. [#1179](https://github.com/github/vscode-codeql/pull/1179)
- Add options to display evaluator logs for a given query run. Some information that was previously found in the query server output may now be found here. [#1186](https://github.com/github/vscode-codeql/pull/1186)
2022-02-12 00:00:49 +03:00
2022-02-10 22:32:04 +03:00
## 1.5.11 - 10 February 2022
2022-01-25 19:22:35 +03:00
- Fix a bug where invoking _View AST_ from the file explorer would not view the selected file. Instead it would view the active editor. Also, prevent the _View AST_ from appearing if the current selection includes a directory or multiple files. [#1113](https://github.com/github/vscode-codeql/pull/1113)
- Add query history items as soon as a query is run, including new icons for each history item. [#1094](https://github.com/github/vscode-codeql/pull/1094)
2022-02-10 02:09:08 +03:00
- Save query history items across restarts. Items will be saved for 30 days and can be overwritten by setting the `codeQL.queryHistory.ttl` configuration setting. [#1130](https://github.com/github/vscode-codeql/pull/1130)
2022-02-10 22:32:04 +03:00
- Allow in-progress query items to be cancelled from the query history view. [#1105](https://github.com/github/vscode-codeql/pull/1105)
2022-01-25 19:07:19 +03:00
## 1.5.10 - 25 January 2022
2021-12-17 18:20:13 +03:00
2022-01-06 17:10:14 +03:00
- Fix a bug where the results view moved column even when it was already visible. [#1070](https://github.com/github/vscode-codeql/pull/1070)
- Add packaging-related commands. _CodeQL: Download Packs_ downloads query packs from the package registry that can be run locally, and _CodeQL: Install Pack Dependencies_ installs dependencies for packs in your workspace. [#1076](https://github.com/github/vscode-codeql/pull/1076)
2022-01-06 17:10:14 +03:00
2021-12-17 14:52:54 +03:00
## 1.5.9 - 17 December 2021
2021-12-02 14:31:02 +03:00
- Avoid creating a third column when opening the results view. The results view will always open to the right of the active editor, unless the active editor is in the rightmost editor column. In that case open in the leftmost column. [#1037](https://github.com/github/vscode-codeql/pull/1037)
2021-12-17 14:52:54 +03:00
- Add a CodeLens to make the Quick Evaluation command more accessible. Click the `Quick Evaluation` prompt above a predicate definition in the editor to evaluate that predicate on its own. You can enable/disable this feature in the `codeQL.runningQueries.quickEvalCodelens` setting. [#1035](https://github.com/github/vscode-codeql/pull/1035) & [#1052](https://github.com/github/vscode-codeql/pull/1052)
2021-12-10 01:18:43 +03:00
- Fix a bug where the _Alerts_ option would show in the results view even if there is no alerts table available. [#1038](https://github.com/github/vscode-codeql/pull/1038)
2021-12-02 14:17:47 +03:00
## 1.5.8 - 2 December 2021
2021-11-29 21:47:07 +03:00
- Emit a more explicit error message when a user tries to add a database with an unzipped source folder to the workspace. [#1021](https://github.com/github/vscode-codeql/pull/1021)
- Ensure `src.zip` archives are used as the canonical source instead of `src` folders when importing databases. [#1025](https://github.com/github/vscode-codeql/pull/1025)
2021-11-23 23:52:40 +03:00
## 1.5.7 - 23 November 2021
2021-10-07 20:35:25 +03:00
2021-11-23 23:52:40 +03:00
- Fix the _CodeQL: Open Referenced File_ command for Windows systems. [#979](https://github.com/github/vscode-codeql/pull/979)
- Support large SARIF results files (>4GB) without crashing VS Code. [#1004](https://github.com/github/vscode-codeql/pull/1004)
- Fix a bug that shows 'Set current database' when hovering over the currently selected database in the databases view. [#976](https://github.com/github/vscode-codeql/pull/976)
- Fix a bug with importing large databases. Databases over 4GB can now be imported directly from LGTM or from a zip file. This functionality is only available when using CodeQL CLI version 2.6.0 or later. [#971](https://github.com/github/vscode-codeql/pull/971)
2021-11-17 20:39:49 +03:00
- Replace certain control codes (`U+0000` - `U+001F`) with their corresponding control labels (`U+2400` - `U+241F`) in the results view. [#963](https://github.com/github/vscode-codeql/pull/963)
- Allow case-insensitive project slugs for GitHub repositories when adding a CodeQL database from LGTM. [#978](https://github.com/github/vscode-codeql/pull/961)
- Add a _CodeQL: Preview Query Help_ command to generate Markdown previews of `.qhelp` query help files. This command should only be run in trusted workspaces. See [the CodeQL CLI docs](https://codeql.github.com/docs/codeql-cli/testing-query-help-files) for more information about query help. [#988](https://github.com/github/vscode-codeql/pull/988)
- Make "Open Referenced File" command accessible from the active editor menu. [#989](https://github.com/github/vscode-codeql/pull/989)
2021-11-17 20:39:49 +03:00
- Fix a bug where result set names in the result set drop-down were disappearing when viewing a sorted table. [#1007](https://github.com/github/vscode-codeql/pull/1007)
- Allow query result locations with 0 as the end column value. These are treated as the first column in the line. [#1002](https://github.com/github/vscode-codeql/pull/1002)
2021-10-08 23:05:48 +03:00
2021-10-07 20:23:58 +03:00
## 1.5.6 - 07 October 2021
2021-05-05 19:43:27 +03:00
- Add progress messages to LGTM download option. This makes the two-step process (selecting a project, then selecting a language) more clear. [#960](https://github.com/github/vscode-codeql/pull/960)
- Remove line about selecting a language from the dropdown when downloading database from LGTM. This makes the download progress visible when the popup is not expanded. [#957](https://github.com/github/vscode-codeql/pull/957)
2021-10-07 20:19:03 +03:00
- Fix a bug where copying the version information fails when a CodeQL CLI cannot be found. [#958](https://github.com/github/vscode-codeql/pull/958)
2021-10-07 18:17:24 +03:00
- Avoid a race condition when deleting databases that can cause occasional errors. [#959](https://github.com/github/vscode-codeql/pull/959)
2021-10-07 20:19:03 +03:00
- Update CodeQL logos. [#965](https://github.com/github/vscode-codeql/pull/965)
2021-10-01 14:44:19 +03:00
2021-09-09 01:42:03 +03:00
## 1.5.5 - 08 September 2021
2021-09-02 21:53:57 +03:00
2021-09-07 17:50:23 +03:00
- Fix bug where a query is sometimes run before the file is saved. [#947](https://github.com/github/vscode-codeql/pull/947)
2021-09-08 21:54:40 +03:00
- Fix broken contextual queries, including _View AST_. [#949](https://github.com/github/vscode-codeql/pull/949)
2021-09-07 17:50:23 +03:00
2021-09-02 21:40:35 +03:00
## 1.5.4 - 02 September 2021
2021-08-18 18:35:05 +03:00
2021-08-19 13:42:49 +03:00
- Add support for filename pattern in history view. [#930](https://github.com/github/vscode-codeql/pull/930)
- Add an option _View Results (CSV)_ to view the results of a non-alert query. The existing options for alert queries have been renamed to _View Alerts_ to avoid confusion. [#929](https://github.com/github/vscode-codeql/pull/929)
- Allow users to specify the number of paths to display for each alert. [#931](https://github.com/github/vscode-codeql/pull/931)
- Adjust pagination controls in _CodeQL Query Results_ to always be visible [#936](https://github.com/github/vscode-codeql/pull/936)
2021-09-02 18:28:27 +03:00
- Fix bug where _View AST_ fails due to recent refactoring in the standard library and query packs. [#939](https://github.com/github/vscode-codeql/pull/939)
2021-08-19 13:42:49 +03:00
2021-08-18 18:21:48 +03:00
## 1.5.3 - 18 August 2021
2021-07-13 20:37:19 +03:00
2021-07-15 22:28:04 +03:00
- Add a command _CodeQL: Run Query on Multiple Databases_, which lets users select multiple databases to run a query on. [#898](https://github.com/github/vscode-codeql/pull/898)
- Autodetect what language a query targets. This refines the _CodeQL: Run Query on Multiple Databases_ command to only show relevant databases. [#915](https://github.com/github/vscode-codeql/pull/915)
2021-08-17 05:25:00 +03:00
- Adjust test log output to display diffs only when comparing failed test results with expected test results. [#920](https://github.com/github/vscode-codeql/pull/920)
2021-07-15 22:28:04 +03:00
2021-07-13 20:19:05 +03:00
## 1.5.2 - 13 July 2021
2021-06-23 18:15:13 +03:00
2021-07-12 11:13:43 +03:00
- Add the _Add Database Source to Workspace_ command to the right-click context menu in the databases view. This lets users re-add a database's source folder to the workspace and browse the source code. [#891](https://github.com/github/vscode-codeql/pull/891)
- Fix markdown rendering in the description of the `codeQL.cli.executablePath` setting. [#908](https://github.com/github/vscode-codeql/pull/908)
- Fix the _Open Query Results_ command in the query history view. [#909](https://github.com/github/vscode-codeql/pull/909)
2021-06-25 21:33:39 +03:00
2021-06-23 17:30:49 +03:00
## 1.5.1 - 23 June 2021
No user facing changes.
2021-06-14 22:05:22 +03:00
2021-06-14 21:42:39 +03:00
## 1.5.0 - 14 June 2021
2021-05-05 19:43:27 +03:00
2021-05-14 17:54:06 +03:00
- Display CodeQL CLI version being downloaded during an upgrade. [#862](https://github.com/github/vscode-codeql/pull/862)
2021-05-18 02:05:27 +03:00
- Display a helpful message and link to documentation when a query produces no results. [#866](https://github.com/github/vscode-codeql/pull/866)
- Refresh test databases automatically after a test run. [#868](https://github.com/github/vscode-codeql/pull/868)
2021-05-21 17:58:49 +03:00
- Allow users to specify a custom directory for storing query server logs (`codeQL.runningQueries.customLogDirectory`). The extension will not delete these logs automatically. [#863](https://github.com/github/vscode-codeql/pull/863)
2021-06-14 20:18:28 +03:00
- Support the VS Code [Workspace Trust feature](https://code.visualstudio.com/docs/editor/workspace-trust). This extension is now enabled in untrusted workspaces, but it restricts commands that contain arbitrary paths. [#861](https://github.com/github/vscode-codeql/pull/861)
- Allow the `codeQL.cli.executablePath` configuration setting to be set in workspace-scoped configuration files. This means that each workspace can now specify its own CodeQL CLI compiler, a feature that is unblocked due to implementing Workspace Trust. [#861](https://github.com/github/vscode-codeql/pull/861)
2021-05-14 17:54:06 +03:00
2021-05-05 19:24:05 +03:00
## 1.4.8 - 05 May 2021
2021-04-23 18:14:22 +03:00
2021-04-23 19:49:06 +03:00
- Copy version information to the clipboard when a user clicks the CodeQL section of the status bar. [#845](https://github.com/github/vscode-codeql/pull/845)
2021-04-24 00:18:14 +03:00
- Ensure changes in directories that contain tests will be properly updated in the test explorer. [#846](https://github.com/github/vscode-codeql/pull/846)
2021-04-28 16:21:23 +03:00
- Remind users to choose a language when downloading a database from LGTM. [#852](https://github.com/github/vscode-codeql/pull/852)
2021-04-24 00:18:14 +03:00
2021-04-23 18:03:31 +03:00
## 1.4.7 - 23 April 2021
2021-04-21 21:46:49 +03:00
- Fix a bug that prevented the results view from being loaded. [#842](https://github.com/github/vscode-codeql/pull/842)
2021-04-21 21:04:30 +03:00
## 1.4.6 - 21 April 2021
2021-03-19 20:30:30 +03:00
2021-04-21 21:04:30 +03:00
- Avoid showing an error popup when running a query with `@kind table` metadata. [#814](https://github.com/github/vscode-codeql/pull/814)
2021-04-10 19:10:51 +03:00
- Add an option to jump from a .qlref file to the .ql file it references. [#815](https://github.com/github/vscode-codeql/pull/815)
- Avoid opening the results panel when a database is deleted. [#831](https://github.com/github/vscode-codeql/pull/831)
2021-04-21 17:23:56 +03:00
- Forward all query metadata to the CLI when interpreting results. [#838](https://github.com/github/vscode-codeql/pull/838)
2021-03-23 03:18:32 +03:00
## 1.4.5 - 22 March 2021
- Avoid showing an error popup when user runs a query without `@kind` metadata. [#801](https://github.com/github/vscode-codeql/pull/801)
2021-03-23 03:18:32 +03:00
- Fix running of tests when the `ms-python` extension is installed. [#803](https://github.com/github/vscode-codeql/pull/803)
2021-03-19 20:17:37 +03:00
## 1.4.4 - 19 March 2021
2021-02-22 23:33:47 +03:00
2021-03-19 20:17:37 +03:00
- Introduce evaluator options for saving intermediate results to the disk cache (`codeQL.runningQueries.saveCache`) and for limiting the size of this cache (`codeQL.runningQueries.cacheSize`). [#778](https://github.com/github/vscode-codeql/pull/778)
- Respect the `codeQL.runningQueries.numberOfThreads` setting when creating SARIF files during result interpretation. [#771](https://github.com/github/vscode-codeql/pull/771)
- Allow using raw LGTM project slugs for fetching LGTM databases. [#769](https://github.com/github/vscode-codeql/pull/769)
- Better error messages when BQRS interpretation fails to produce SARIF. [#770](https://github.com/github/vscode-codeql/pull/770)
- Implement sorting of the query history view by name, date, and results count. [#777](https://github.com/github/vscode-codeql/pull/777)
- Add a configuration option to pass additional arguments to the CLI when running tests. [#785](https://github.com/github/vscode-codeql/pull/785)
- Introduce option to view query results as CSV. [#784](https://github.com/github/vscode-codeql/pull/784)
2021-03-23 03:18:32 +03:00
- Add some snippets for commonly used QL statements. [#782](https://github.com/github/vscode-codeql/pull/782)
2021-03-19 18:51:13 +03:00
- More descriptive error messages on QL test failures. [#788](https://github.com/github/vscode-codeql/pull/788)
2021-02-22 23:30:14 +03:00
## 1.4.3 - 22 February 2021
2021-02-03 01:25:56 +03:00
- Avoid displaying an error when removing orphaned databases and the storage folder does not exist. [#748](https://github.com/github/vscode-codeql/pull/748)
- Add better error messages when AST Viewer is unable to create an AST. [#753](https://github.com/github/vscode-codeql/pull/753)
- Cache AST viewing operations so that subsequent calls to view the AST of a single file will be extremely fast. [#753](https://github.com/github/vscode-codeql/pull/753)
- Ensure CodeQL version in status bar updates correctly when version changes. [#754](https://github.com/github/vscode-codeql/pull/754)
- Avoid deleting the quick query file when it is re-opened. [#747](https://github.com/github/vscode-codeql/pull/747)
2021-02-03 01:21:16 +03:00
## 1.4.2 - 2 February 2021
2021-01-30 08:40:09 +03:00
- Add a status bar item for the CodeQL CLI to show the current version. [#741](https://github.com/github/vscode-codeql/pull/741)
2021-02-03 01:21:16 +03:00
- Fix version constraint for flagging CLI support of non-destructive updates. [#744](https://github.com/github/vscode-codeql/pull/744)
2021-02-18 21:16:22 +03:00
- Add a _More Information_ button in the telemetry popup that opens the [telemetry documentation](https://codeql.github.com/docs/codeql-for-visual-studio-code/about-telemetry-in-codeql-for-visual-studio-code) in a browser tab. [#742](https://github.com/github/vscode-codeql/pull/742)
2021-01-30 04:48:41 +03:00
## 1.4.1 - 29 January 2021
2021-01-30 02:34:40 +03:00
- Reword the telemetry modal dialog box. [#738](https://github.com/github/vscode-codeql/pull/738)
2021-01-30 02:29:28 +03:00
## 1.4.0 - 29 January 2021
2021-01-21 01:17:57 +03:00
- Fix bug where databases are not reregistered when the query server restarts. [#734](https://github.com/github/vscode-codeql/pull/734)
2021-01-29 22:13:12 +03:00
- Fix bug where upgrade requests were erroneously being marked as failed. [#734](https://github.com/github/vscode-codeql/pull/734)
2021-02-18 21:16:22 +03:00
- On a strictly opt-in basis, collect anonymized usage data from the VS Code extension, helping improve CodeQL's usability and performance. See the [telemetry documentation](https://codeql.github.com/docs/codeql-for-visual-studio-code/about-telemetry-in-codeql-for-visual-studio-code) for more information on exactly what data is collected and what it is used for. [#611](https://github.com/github/vscode-codeql/pull/611)
2021-01-21 01:12:54 +03:00
## 1.3.10 - 20 January 2021
2020-12-17 22:55:03 +03:00
2021-01-20 19:48:04 +03:00
- Include the full stack in error log messages to help with debugging. [#726](https://github.com/github/vscode-codeql/pull/726)
2021-01-21 01:12:54 +03:00
## 1.3.9 - 12 January 2021
- No changes visible to end users.
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.
2024-04-10 18:05:20 +03:00
- Remove feature flag for the AST Viewer. For more information on how to use the AST Viewer, [see the documentation](https://codeql.github.com/docs/codeql-for-visual-studio-code/exploring-the-structure-of-your-source-code/).
- 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.