From a8f2df64aaae8b322bd77e1cabc946915a24086b Mon Sep 17 00:00:00 2001 From: Brett Cannon Date: Wed, 2 May 2018 10:14:33 -0700 Subject: [PATCH] Bump to final for 2018.4.0 (#1562) --- CHANGELOG.md | 2 +- news/1 Enhancements/1206.md | 7 ------- news/1 Enhancements/1207.md | 1 - news/1 Enhancements/1229.md | 2 -- news/1 Enhancements/1306.md | 1 - news/1 Enhancements/1315.md | 1 - news/1 Enhancements/1316.md | 1 - news/1 Enhancements/1333.md | 1 - news/1 Enhancements/1349.md | 1 - news/1 Enhancements/1395.md | 1 - news/1 Enhancements/1400.md | 1 - news/1 Enhancements/1480.md | 1 - news/1 Enhancements/1492.md | 1 - news/1 Enhancements/907.md | 10 ---------- news/2 Fixes/1015.md | 1 - news/2 Fixes/1033.md | 1 - news/2 Fixes/1072.md | 1 - news/2 Fixes/1192.md | 1 - news/2 Fixes/1254.md | 1 - news/2 Fixes/1257-1.md | 1 - news/2 Fixes/1257-2.md | 1 - news/2 Fixes/1277.md | 1 - news/2 Fixes/1305.md | 1 - news/2 Fixes/1364.md | 1 - news/2 Fixes/142.md | 1 - news/2 Fixes/1472.md | 1 - news/2 Fixes/1473.md | 1 - news/2 Fixes/1487.md | 1 - news/2 Fixes/1520.md | 1 - news/2 Fixes/1533.md | 1 - news/2 Fixes/1534.md | 1 - news/2 Fixes/1535.md | 1 - news/2 Fixes/178.md | 1 - news/2 Fixes/259.md | 1 - news/2 Fixes/338.md | 1 - news/2 Fixes/344.md | 1 - news/2 Fixes/726.md | 1 - news/2 Fixes/737.md | 1 - news/3 Code Health/1216.md | 1 - news/3 Code Health/1247.md | 1 - news/3 Code Health/1253.md | 1 - news/3 Code Health/1298.md | 3 --- news/3 Code Health/1318.md | 1 - news/3 Code Health/1374.md | 1 - news/3 Code Health/1409.md | 1 - news/3 Code Health/1428.md | 1 - news/3 Code Health/1494.md | 1 - news/3 Code Health/1530.md | 1 - package.json | 4 ++-- 49 files changed, 3 insertions(+), 68 deletions(-) delete mode 100644 news/1 Enhancements/1206.md delete mode 100644 news/1 Enhancements/1207.md delete mode 100644 news/1 Enhancements/1229.md delete mode 100644 news/1 Enhancements/1306.md delete mode 100644 news/1 Enhancements/1315.md delete mode 100644 news/1 Enhancements/1316.md delete mode 100644 news/1 Enhancements/1333.md delete mode 100644 news/1 Enhancements/1349.md delete mode 100644 news/1 Enhancements/1395.md delete mode 100644 news/1 Enhancements/1400.md delete mode 100644 news/1 Enhancements/1480.md delete mode 100644 news/1 Enhancements/1492.md delete mode 100644 news/1 Enhancements/907.md delete mode 100644 news/2 Fixes/1015.md delete mode 100644 news/2 Fixes/1033.md delete mode 100644 news/2 Fixes/1072.md delete mode 100644 news/2 Fixes/1192.md delete mode 100644 news/2 Fixes/1254.md delete mode 100644 news/2 Fixes/1257-1.md delete mode 100644 news/2 Fixes/1257-2.md delete mode 100644 news/2 Fixes/1277.md delete mode 100644 news/2 Fixes/1305.md delete mode 100644 news/2 Fixes/1364.md delete mode 100644 news/2 Fixes/142.md delete mode 100644 news/2 Fixes/1472.md delete mode 100644 news/2 Fixes/1473.md delete mode 100644 news/2 Fixes/1487.md delete mode 100644 news/2 Fixes/1520.md delete mode 100644 news/2 Fixes/1533.md delete mode 100644 news/2 Fixes/1534.md delete mode 100644 news/2 Fixes/1535.md delete mode 100644 news/2 Fixes/178.md delete mode 100644 news/2 Fixes/259.md delete mode 100644 news/2 Fixes/338.md delete mode 100644 news/2 Fixes/344.md delete mode 100644 news/2 Fixes/726.md delete mode 100644 news/2 Fixes/737.md delete mode 100644 news/3 Code Health/1216.md delete mode 100644 news/3 Code Health/1247.md delete mode 100644 news/3 Code Health/1253.md delete mode 100644 news/3 Code Health/1298.md delete mode 100644 news/3 Code Health/1318.md delete mode 100644 news/3 Code Health/1374.md delete mode 100644 news/3 Code Health/1409.md delete mode 100644 news/3 Code Health/1428.md delete mode 100644 news/3 Code Health/1494.md delete mode 100644 news/3 Code Health/1530.md diff --git a/CHANGELOG.md b/CHANGELOG.md index 6eb336ef03f7..5ddc0129fd3f 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,6 +1,6 @@ # Changelog -## 2018.4.0-rc (30 Apr 2018) +## 2018.4.0 (2 May 2018) Thanks to the following projects which we fully rely on to provide some of our features: diff --git a/news/1 Enhancements/1206.md b/news/1 Enhancements/1206.md deleted file mode 100644 index 53ce31079bf9..000000000000 --- a/news/1 Enhancements/1206.md +++ /dev/null @@ -1,7 +0,0 @@ -Enable debugging of Jinja templates in the experimental debugger. -This is made possible with the addition of the `jinja` setting in the `launch.json` file as follows: -```json -"request": "launch or attach", -... -"jinja": true -``` diff --git a/news/1 Enhancements/1207.md b/news/1 Enhancements/1207.md deleted file mode 100644 index f668cdf00aae..000000000000 --- a/news/1 Enhancements/1207.md +++ /dev/null @@ -1 +0,0 @@ -Remove empty spaces from the selected text of the active editor when executing in a terminal. diff --git a/news/1 Enhancements/1229.md b/news/1 Enhancements/1229.md deleted file mode 100644 index 1367edb3bbcc..000000000000 --- a/news/1 Enhancements/1229.md +++ /dev/null @@ -1,2 +0,0 @@ -Add prelimnary support for remote debugging using the experimental debugger. -Attach to a Python program started using the command `python -m ptvsd --server --port 9091 --file pythonFile.py` \ No newline at end of file diff --git a/news/1 Enhancements/1306.md b/news/1 Enhancements/1306.md deleted file mode 100644 index 8b97fceaf12a..000000000000 --- a/news/1 Enhancements/1306.md +++ /dev/null @@ -1 +0,0 @@ -Add support for [logpoints](https://code.visualstudio.com/docs/editor/debugging#_logpoints) in the experimental debugger. diff --git a/news/1 Enhancements/1315.md b/news/1 Enhancements/1315.md deleted file mode 100644 index ff67ed87e629..000000000000 --- a/news/1 Enhancements/1315.md +++ /dev/null @@ -1 +0,0 @@ -Set focus to the terminal upon creation of a terminal using the `Python: Create Terminal` command. diff --git a/news/1 Enhancements/1316.md b/news/1 Enhancements/1316.md deleted file mode 100644 index ca6c6a80eb77..000000000000 --- a/news/1 Enhancements/1316.md +++ /dev/null @@ -1 +0,0 @@ -Save the python file before running it in the terminal using the command/menu `Run Python File in Terminal`. diff --git a/news/1 Enhancements/1333.md b/news/1 Enhancements/1333.md deleted file mode 100644 index dbf4296ba5bb..000000000000 --- a/news/1 Enhancements/1333.md +++ /dev/null @@ -1 +0,0 @@ -Added support for source references (remote debugging without having the source code locally) in the experimental debugger. diff --git a/news/1 Enhancements/1349.md b/news/1 Enhancements/1349.md deleted file mode 100644 index 7bcbcd8f1a88..000000000000 --- a/news/1 Enhancements/1349.md +++ /dev/null @@ -1 +0,0 @@ -Add `Ctrl+Enter` keyboard shortcut for `Run Selection/Line in Python Terminal`. diff --git a/news/1 Enhancements/1395.md b/news/1 Enhancements/1395.md deleted file mode 100644 index b572085061eb..000000000000 --- a/news/1 Enhancements/1395.md +++ /dev/null @@ -1 +0,0 @@ -Settings configured within the `debugOptions` property of `launch.json` for the old debugger are now defined as individual (boolean) properties in the new experimental debugger (e.g. `"debugOptions": ["RedirectOutput"]` becomes `"redirectOutput": true`). diff --git a/news/1 Enhancements/1400.md b/news/1 Enhancements/1400.md deleted file mode 100644 index 47b3cf611c88..000000000000 --- a/news/1 Enhancements/1400.md +++ /dev/null @@ -1 +0,0 @@ -Intergrate Jedi 0.12. See https://github.com/davidhalter/jedi/issues/1063#issuecomment-381417297 for details. \ No newline at end of file diff --git a/news/1 Enhancements/1480.md b/news/1 Enhancements/1480.md deleted file mode 100644 index 57d280dc60ae..000000000000 --- a/news/1 Enhancements/1480.md +++ /dev/null @@ -1 +0,0 @@ -Enable Jinja template debugging as a default behaivour when using the Watson debug configuration for debugging of Watson applications. diff --git a/news/1 Enhancements/1492.md b/news/1 Enhancements/1492.md deleted file mode 100644 index fe8decf90818..000000000000 --- a/news/1 Enhancements/1492.md +++ /dev/null @@ -1 +0,0 @@ -Enable Jinja template debugging as a default behavior when debugging Pyramid applications. diff --git a/news/1 Enhancements/907.md b/news/1 Enhancements/907.md deleted file mode 100644 index 378afbeb1c0c..000000000000 --- a/news/1 Enhancements/907.md +++ /dev/null @@ -1,10 +0,0 @@ -Add prelimnary support for remote debugging using the experimental debugger. -Attach to a Python program after having imported `ptvsd` and enabling the debugger to attach as follows: -```python -import ptvsd -ptvsd.enable_attach(('0.0.0.0', 5678)) -``` -Additional capabilities: -* `ptvsd.break_into_debugger()` to break into the attached debugger. -* `ptvsd.wait_for_attach(timeout)` to cause the program to wait untill a debugger attaches. -* `ptvsd.is_attached()` to determine whether a debugger is attached to the program. diff --git a/news/2 Fixes/1015.md b/news/2 Fixes/1015.md deleted file mode 100644 index c88fd33a17eb..000000000000 --- a/news/2 Fixes/1015.md +++ /dev/null @@ -1 +0,0 @@ -Use an existing method to identify the active interpreter. \ No newline at end of file diff --git a/news/2 Fixes/1033.md b/news/2 Fixes/1033.md deleted file mode 100644 index 6c66d9582d82..000000000000 --- a/news/2 Fixes/1033.md +++ /dev/null @@ -1 +0,0 @@ -Fix `go to definition` functionality across files. diff --git a/news/2 Fixes/1072.md b/news/2 Fixes/1072.md deleted file mode 100644 index 75e3c52bdc0c..000000000000 --- a/news/2 Fixes/1072.md +++ /dev/null @@ -1 +0,0 @@ -IntelliSense under Python 2 for inherited attributes works again (thanks to an upgraded Jedi). diff --git a/news/2 Fixes/1192.md b/news/2 Fixes/1192.md deleted file mode 100644 index b97883d49d8a..000000000000 --- a/news/2 Fixes/1192.md +++ /dev/null @@ -1 +0,0 @@ -Reverted change that ended up considering symlinked interpreters as duplicate interpreter. diff --git a/news/2 Fixes/1254.md b/news/2 Fixes/1254.md deleted file mode 100644 index fce864eb6f9f..000000000000 --- a/news/2 Fixes/1254.md +++ /dev/null @@ -1 +0,0 @@ -Display errors returned by the PipEnv command when identifying the corresonding environment. diff --git a/news/2 Fixes/1257-1.md b/news/2 Fixes/1257-1.md deleted file mode 100644 index 0f53d565ae55..000000000000 --- a/news/2 Fixes/1257-1.md +++ /dev/null @@ -1 +0,0 @@ -When `editor.formatOnType` is on, don't add a space for `*args` or `**kwargs` diff --git a/news/2 Fixes/1257-2.md b/news/2 Fixes/1257-2.md deleted file mode 100644 index c14a958df006..000000000000 --- a/news/2 Fixes/1257-2.md +++ /dev/null @@ -1 +0,0 @@ -When `editor.formatOnType` is on, don't add a space between a string type specifier and the string literal diff --git a/news/2 Fixes/1277.md b/news/2 Fixes/1277.md deleted file mode 100644 index 3f12d5f3ec26..000000000000 --- a/news/2 Fixes/1277.md +++ /dev/null @@ -1 +0,0 @@ -Reduce the frequency within which the memory usage of the language server is checked, also ensure memory usage is not checked unless language server functionality is used. diff --git a/news/2 Fixes/1305.md b/news/2 Fixes/1305.md deleted file mode 100644 index 321d9d0d8300..000000000000 --- a/news/2 Fixes/1305.md +++ /dev/null @@ -1 +0,0 @@ -Ensure interpreter file exists on the file system before including into list of interpreters. diff --git a/news/2 Fixes/1364.md b/news/2 Fixes/1364.md deleted file mode 100644 index df93759e9dd4..000000000000 --- a/news/2 Fixes/1364.md +++ /dev/null @@ -1 +0,0 @@ -Do not have the formatter consider single-quoted string multiline even if it is not terminated. diff --git a/news/2 Fixes/142.md b/news/2 Fixes/142.md deleted file mode 100644 index ab8918fcdfff..000000000000 --- a/news/2 Fixes/142.md +++ /dev/null @@ -1 +0,0 @@ -IntelliSense works in module-level `if` statements (thanks to Jedi 0.12.0 upgrade). diff --git a/news/2 Fixes/1472.md b/news/2 Fixes/1472.md deleted file mode 100644 index 873641719abf..000000000000 --- a/news/2 Fixes/1472.md +++ /dev/null @@ -1 +0,0 @@ -Clicking the codelens `Run Test` on a test class should run that specific test class instead of all tests in the file. diff --git a/news/2 Fixes/1473.md b/news/2 Fixes/1473.md deleted file mode 100644 index 80df87dc31df..000000000000 --- a/news/2 Fixes/1473.md +++ /dev/null @@ -1 +0,0 @@ -Clicking the codelens `Run Test` on a test class or method should run that specific test instead of all tests in the file. diff --git a/news/2 Fixes/1487.md b/news/2 Fixes/1487.md deleted file mode 100644 index 0d1bd5cfeb37..000000000000 --- a/news/2 Fixes/1487.md +++ /dev/null @@ -1 +0,0 @@ -Check whether the selected python interpreter is valid before starting the language server. Failing to do so could result in the extension failing to load. diff --git a/news/2 Fixes/1520.md b/news/2 Fixes/1520.md deleted file mode 100644 index 5f5d52ec9e44..000000000000 --- a/news/2 Fixes/1520.md +++ /dev/null @@ -1 +0,0 @@ -Fixes the issue where Conda environments created using the latest version of Anaconda are not activated in Powershell. diff --git a/news/2 Fixes/1533.md b/news/2 Fixes/1533.md deleted file mode 100644 index 30f0e0452b1a..000000000000 --- a/news/2 Fixes/1533.md +++ /dev/null @@ -1 +0,0 @@ -Increase the delay for the activation of environments in Powershell terminals. diff --git a/news/2 Fixes/1534.md b/news/2 Fixes/1534.md deleted file mode 100644 index c0e5b965116c..000000000000 --- a/news/2 Fixes/1534.md +++ /dev/null @@ -1 +0,0 @@ -Fix activation of environments with spaces in the python path when using Powershell. diff --git a/news/2 Fixes/1535.md b/news/2 Fixes/1535.md deleted file mode 100644 index 04b3bc69c3dd..000000000000 --- a/news/2 Fixes/1535.md +++ /dev/null @@ -1 +0,0 @@ -Ensure Flask application is launched with multi-threading disabled, when run in the CI tests. diff --git a/news/2 Fixes/178.md b/news/2 Fixes/178.md deleted file mode 100644 index 0d7105e2dc8c..000000000000 --- a/news/2 Fixes/178.md +++ /dev/null @@ -1 +0,0 @@ -IntelliSense works appropriately when a project contains multiple files with the same name (thanks to Jedi 0.12.0 update). diff --git a/news/2 Fixes/259.md b/news/2 Fixes/259.md deleted file mode 100644 index 6460214099c3..000000000000 --- a/news/2 Fixes/259.md +++ /dev/null @@ -1 +0,0 @@ -Add blank lines to separate blocks of indented code (function defs, classes, and the like) so as to ensure the code can be run within a Python interactive prompt. diff --git a/news/2 Fixes/338.md b/news/2 Fixes/338.md deleted file mode 100644 index 8c4553127ac2..000000000000 --- a/news/2 Fixes/338.md +++ /dev/null @@ -1 +0,0 @@ -Provide type details appropriate for the iterable in a `for` loop when the line has a `# type` comment. diff --git a/news/2 Fixes/344.md b/news/2 Fixes/344.md deleted file mode 100644 index 0a1d459ac2d6..000000000000 --- a/news/2 Fixes/344.md +++ /dev/null @@ -1 +0,0 @@ -Parameter hints following an f-string work again. diff --git a/news/2 Fixes/726.md b/news/2 Fixes/726.md deleted file mode 100644 index 3600f6648324..000000000000 --- a/news/2 Fixes/726.md +++ /dev/null @@ -1 +0,0 @@ -When `editor.formatOnType` is on, don't indent after a single-line statement block diff --git a/news/2 Fixes/737.md b/news/2 Fixes/737.md deleted file mode 100644 index e72295893f94..000000000000 --- a/news/2 Fixes/737.md +++ /dev/null @@ -1 +0,0 @@ -Fix debugging of Pyramid applications on Windows. diff --git a/news/3 Code Health/1216.md b/news/3 Code Health/1216.md deleted file mode 100644 index 884f1ba6286a..000000000000 --- a/news/3 Code Health/1216.md +++ /dev/null @@ -1 +0,0 @@ -Improved developer experience of the Python Extension on Windows. \ No newline at end of file diff --git a/news/3 Code Health/1247.md b/news/3 Code Health/1247.md deleted file mode 100644 index 458a70c5d1dc..000000000000 --- a/news/3 Code Health/1247.md +++ /dev/null @@ -1 +0,0 @@ -Parallelize jobs (unit tests) on CI server. diff --git a/news/3 Code Health/1253.md b/news/3 Code Health/1253.md deleted file mode 100644 index aabafccfc97a..000000000000 --- a/news/3 Code Health/1253.md +++ /dev/null @@ -1 +0,0 @@ -Run CI tests against the release version and master branch of PTVSD (experimental debugger), allowing tests to fail against the master branch of PTVSD. diff --git a/news/3 Code Health/1298.md b/news/3 Code Health/1298.md deleted file mode 100644 index 12214ac71549..000000000000 --- a/news/3 Code Health/1298.md +++ /dev/null @@ -1,3 +0,0 @@ -Only trigger the extension for `file` and `untitled` in preparation for -[Visual Studio Live Share](https://aka.ms/vsls) -(thanks to [Jonathan Carter](https://github.com/lostintangent)) diff --git a/news/3 Code Health/1318.md b/news/3 Code Health/1318.md deleted file mode 100644 index d0f965f5a448..000000000000 --- a/news/3 Code Health/1318.md +++ /dev/null @@ -1 +0,0 @@ -Ensure all unit tests run on Travis use the right Python interpreter. diff --git a/news/3 Code Health/1374.md b/news/3 Code Health/1374.md deleted file mode 100644 index 779b3920a1a8..000000000000 --- a/news/3 Code Health/1374.md +++ /dev/null @@ -1 +0,0 @@ -Pin all production dependencies. diff --git a/news/3 Code Health/1409.md b/news/3 Code Health/1409.md deleted file mode 100644 index 24e5dd3195ec..000000000000 --- a/news/3 Code Health/1409.md +++ /dev/null @@ -1 +0,0 @@ -Add support for [hit count breakpoints](https://code.visualstudio.com/docs/editor/debugging#_advanced-breakpoint-topics) in the experimental debugger. diff --git a/news/3 Code Health/1428.md b/news/3 Code Health/1428.md deleted file mode 100644 index 0a8db4aa2ee7..000000000000 --- a/news/3 Code Health/1428.md +++ /dev/null @@ -1 +0,0 @@ -Ensure custom environment variables defined in `.env` file are passed onto the `pipenv` command. diff --git a/news/3 Code Health/1494.md b/news/3 Code Health/1494.md deleted file mode 100644 index a23e50e189ea..000000000000 --- a/news/3 Code Health/1494.md +++ /dev/null @@ -1 +0,0 @@ -Remove unwanted python packages no longer used in unit tests. diff --git a/news/3 Code Health/1530.md b/news/3 Code Health/1530.md deleted file mode 100644 index e5692016a587..000000000000 --- a/news/3 Code Health/1530.md +++ /dev/null @@ -1 +0,0 @@ -Register language server functionality in the extension against specific resource types supporting the python language. diff --git a/package.json b/package.json index a0dd00b5f6a7..21c8c6834da6 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": "2018.4.0-rc", + "version": "2018.4.0", "publisher": "ms-python", "author": { "name": "Microsoft Corporation" @@ -52,7 +52,7 @@ "multi-root ready" ], "categories": [ - "Languages", + "Programming Languages", "Debuggers", "Linters", "Snippets",