From c7130f85628a257d11c54915b3c18d44a8afbe86 Mon Sep 17 00:00:00 2001 From: Jake Bailey <5341706+jakebailey@users.noreply.github.com> Date: Tue, 8 Oct 2019 12:26:04 -0700 Subject: [PATCH 1/4] Allow the language server to choose its default caching mode (#7822) --- news/2 Fixes/7821.md | 1 + package.json | 3 ++- 2 files changed, 3 insertions(+), 1 deletion(-) create mode 100644 news/2 Fixes/7821.md diff --git a/news/2 Fixes/7821.md b/news/2 Fixes/7821.md new file mode 100644 index 000000000000..689a261bfdde --- /dev/null +++ b/news/2 Fixes/7821.md @@ -0,0 +1 @@ +Allow the language server to pick a default caching mode. diff --git a/package.json b/package.json index 07bd394e7ada..85379faef319 100644 --- a/package.json +++ b/package.json @@ -1872,11 +1872,12 @@ "python.analysis.cachingLevel": { "type": "string", "enum": [ + "Default", "None", "System", "Library" ], - "default": "None", + "default": "Default", "description": "Defines which types of modules get their analysis cached.", "scope": "resource" }, From 24ba6595f6da717ad46a570fe83048b8df31d295 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Tue, 8 Oct 2019 12:45:14 -0700 Subject: [PATCH 2/4] Preparing for release --- news/1 Enhancements/4441.md | 1 - news/2 Fixes/7624.md | 1 - news/2 Fixes/7638.md | 1 - news/2 Fixes/7688.md | 1 - news/2 Fixes/7821.md | 1 - 5 files changed, 5 deletions(-) delete mode 100644 news/1 Enhancements/4441.md delete mode 100644 news/2 Fixes/7624.md delete mode 100644 news/2 Fixes/7638.md delete mode 100644 news/2 Fixes/7688.md delete mode 100644 news/2 Fixes/7821.md diff --git a/news/1 Enhancements/4441.md b/news/1 Enhancements/4441.md deleted file mode 100644 index b3671783354c..000000000000 --- a/news/1 Enhancements/4441.md +++ /dev/null @@ -1 +0,0 @@ -Support other variables for notebookFileRoot besides ${workspaceRoot}. Specifically allow things like ${fileDirName} so that the dir of the first file run in the interactive window is used for the current directory. diff --git a/news/2 Fixes/7624.md b/news/2 Fixes/7624.md deleted file mode 100644 index 1875f4ca313b..000000000000 --- a/news/2 Fixes/7624.md +++ /dev/null @@ -1 +0,0 @@ -Make interactive window and native take their fontSize and fontFamily from the settings in VS Code. diff --git a/news/2 Fixes/7638.md b/news/2 Fixes/7638.md deleted file mode 100644 index dea499b65438..000000000000 --- a/news/2 Fixes/7638.md +++ /dev/null @@ -1 +0,0 @@ -Fix a hang in the Interactive window when connecting guest to host after the host has already started the interactive window. \ No newline at end of file diff --git a/news/2 Fixes/7688.md b/news/2 Fixes/7688.md deleted file mode 100644 index 9c7cea856132..000000000000 --- a/news/2 Fixes/7688.md +++ /dev/null @@ -1 +0,0 @@ -When there's no workspace open, use the directory of the opened file as the root directory for a jupyter session. diff --git a/news/2 Fixes/7821.md b/news/2 Fixes/7821.md deleted file mode 100644 index 689a261bfdde..000000000000 --- a/news/2 Fixes/7821.md +++ /dev/null @@ -1 +0,0 @@ -Allow the language server to pick a default caching mode. From b00ec3c01d398c4f1780afc8ec0881680bdac202 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Tue, 8 Oct 2019 12:46:51 -0700 Subject: [PATCH 3/4] Update to change logs --- CHANGELOG.md | 12 +++++++++++- package-lock.json | 8 ++++---- package.json | 2 +- 3 files changed, 16 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 38b4c1359ca7..0d53123ec31e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 2019.10.0-rc (2 October 2019) +## 2019.10.0 (10 October 2019) ### Enhancements @@ -36,6 +36,8 @@ ([#7517](https://github.com/Microsoft/vscode-python/issues/7517)) 1. Add support for ptvsd and debug adapter experiments in remote debugging API. ([#7549](https://github.com/Microsoft/vscode-python/issues/7549)) +1. Support other variables for notebookFileRoot besides ${workspaceRoot}. Specifically allow things like ${fileDirName} so that the dir of the first file run in the interactive window is used for the current directory. + ([#4441](https://github.com/Microsoft/vscode-python/issues/4441)) ### Fixes @@ -183,6 +185,14 @@ ([#7636](https://github.com/Microsoft/vscode-python/issues/7636)) 1. Goto cell code lens was not scrolling. ([#7639](https://github.com/Microsoft/vscode-python/issues/7639)) +1. Make interactive window and native take their fontSize and fontFamily from the settings in VS Code. + ([#7624](https://github.com/Microsoft/vscode-python/issues/7624)) +1. Fix a hang in the Interactive window when connecting guest to host after the host has already started the interactive window. + ([#7638](https://github.com/Microsoft/vscode-python/issues/7638)) +1. When there's no workspace open, use the directory of the opened file as the root directory for a jupyter session. + ([#7688](https://github.com/Microsoft/vscode-python/issues/7688)) +1. Allow the language server to pick a default caching mode. + ([#7821](https://github.com/Microsoft/vscode-python/issues/7821)) ### Code Health diff --git a/package-lock.json b/package-lock.json index 7954b5c3bf06..6a0b36e78cdb 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,6 +1,6 @@ { "name": "python", - "version": "2019.10.0-rc", + "version": "2019.10.0", "lockfileVersion": 1, "requires": true, "dependencies": { @@ -13770,7 +13770,7 @@ "dependencies": { "buffer": { "version": "4.9.1", - "resolved": "http://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", + "resolved": "https://registry.npmjs.org/buffer/-/buffer-4.9.1.tgz", "integrity": "sha1-bRu2AbB6TvztlwlBMgkwJ8lbwpg=", "dev": true, "requires": { @@ -13793,7 +13793,7 @@ }, "readable-stream": { "version": "2.3.6", - "resolved": "http://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", + "resolved": "https://registry.npmjs.org/readable-stream/-/readable-stream-2.3.6.tgz", "integrity": "sha512-tQtKA9WIAhBF3+VLAseyMqZeBjW0AHJoxOtYqSUZNJxauErmLbVm2FW1y+J/YA9dUrAC39ITejlZWhVIwawkKw==", "dev": true, "requires": { @@ -18754,7 +18754,7 @@ "dependencies": { "json5": { "version": "1.0.1", - "resolved": "http://registry.npmjs.org/json5/-/json5-1.0.1.tgz", + "resolved": "https://registry.npmjs.org/json5/-/json5-1.0.1.tgz", "integrity": "sha512-aKS4WQjPenRxiQsC93MNfjx+nbF4PAdYzmd/1JIj8HYzqfbu86beTuNgXDzPknWk0n0uARlyewZo4s++ES36Ow==", "dev": true, "requires": { diff --git a/package.json b/package.json index 85379faef319..4e940cda4ee4 100644 --- a/package.json +++ b/package.json @@ -2,7 +2,7 @@ "name": "python", "displayName": "Python", "description": "Linting, Debugging (multi-threaded, remote), Intellisense, code formatting, refactoring, unit tests, snippets, and more.", - "version": "2019.10.0-rc", + "version": "2019.10.0", "languageServerVersion": "0.4.24", "publisher": "ms-python", "author": { From b18e7e56cd3776981e617e6cb5b92ae2b7d24006 Mon Sep 17 00:00:00 2001 From: Karthik Nadig Date: Tue, 8 Oct 2019 13:06:41 -0700 Subject: [PATCH 4/4] Grammar and typo fixes. --- CHANGELOG.md | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 0d53123ec31e..24fcf9c5897f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 2019.10.0 (10 October 2019) +## 2019.10.0 (8 October 2019) ### Enhancements @@ -36,7 +36,7 @@ ([#7517](https://github.com/Microsoft/vscode-python/issues/7517)) 1. Add support for ptvsd and debug adapter experiments in remote debugging API. ([#7549](https://github.com/Microsoft/vscode-python/issues/7549)) -1. Support other variables for notebookFileRoot besides ${workspaceRoot}. Specifically allow things like ${fileDirName} so that the dir of the first file run in the interactive window is used for the current directory. +1. Support other variables for `notebookFileRoot` besides `${workspaceRoot}`. Specifically allow things like `${fileDirName}` so that the directory of the first file run in the interactive window is used for the current directory. ([#4441](https://github.com/Microsoft/vscode-python/issues/4441)) ### Fixes @@ -185,11 +185,11 @@ ([#7636](https://github.com/Microsoft/vscode-python/issues/7636)) 1. Goto cell code lens was not scrolling. ([#7639](https://github.com/Microsoft/vscode-python/issues/7639)) -1. Make interactive window and native take their fontSize and fontFamily from the settings in VS Code. +1. Make interactive window and native take their `fontSize` and `fontFamily` from the settings in VS Code. ([#7624](https://github.com/Microsoft/vscode-python/issues/7624)) 1. Fix a hang in the Interactive window when connecting guest to host after the host has already started the interactive window. ([#7638](https://github.com/Microsoft/vscode-python/issues/7638)) -1. When there's no workspace open, use the directory of the opened file as the root directory for a jupyter session. +1. When there's no workspace open, use the directory of the opened file as the root directory for a Jupyter session. ([#7688](https://github.com/Microsoft/vscode-python/issues/7688)) 1. Allow the language server to pick a default caching mode. ([#7821](https://github.com/Microsoft/vscode-python/issues/7821))