Skip to content

Commit

Permalink
Bump version, changelog for 1.25.2 and cherry pick #3983 (#3984)
Browse files Browse the repository at this point in the history
* Bump version, changelog for 1.25.2

* Enable only `revealFileInOS` command for container tooltips
  • Loading branch information
bwateratmsft authored Jun 28, 2023
1 parent 2558764 commit eb247cb
Show file tree
Hide file tree
Showing 4 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,7 @@
## 1.25.2 - 23 June 2023
### Fixed
* Fixed a potential security issue involving Markdown tooltips for containers. [#3983](https://github.com/microsoft/vscode-docker/pull/3983)

## 1.25.1 - 16 May 2023
### Fixed
* The extension was not activating when a Dockerfile was opened. [#3928](https://github.com/microsoft/vscode-docker/pull/3928)
Expand Down
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "vscode-docker",
"version": "1.25.1",
"version": "1.25.2",
"publisher": "ms-azuretools",
"displayName": "Docker",
"description": "Makes it easy to create, manage, and debug containerized applications.",
Expand Down
2 changes: 1 addition & 1 deletion src/tree/resolveTooltipMarkdown.ts
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ export async function resolveTooltipMarkdown(templateString: string, context: un

const markdownString = template(context);
const result = new MarkdownString(markdownString, true);
result.isTrusted = true;
result.isTrusted = { enabledCommands: ['revealFileInOS'] }; // revealFileInOS is used in container tooltips
return result;
}

0 comments on commit eb247cb

Please sign in to comment.