Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
22 commits
Select commit Hold shift + click to select a range
f22924c
Update tpn distro and 3rd party notices
DonJayamanne Mar 19, 2019
46d4d02
Pin to beta version of PTVSD (#4836)
DonJayamanne Mar 19, 2019
095e210
Add ignore button to the MacInterpreterSelectedAndNoOtherInterpreters…
alinalobast Mar 20, 2019
d180c9c
Generalize test results service (#4813)
Mar 19, 2019
aa2c0ba
Merge branch 'release' of https://github.com/Microsoft/vscode-python …
DonJayamanne Mar 20, 2019
369397c
fix names for run above and run below code lenses (#4879)
IanMatthewHuff Mar 21, 2019
f7a4d53
Fix multiline comments with text on first line. (#4884)
rchiodo Mar 21, 2019
0d96d3a
Cherry-pick 26a7b9c
rchiodo Mar 22, 2019
2412a58
cherry pick from master branch
IanMatthewHuff Mar 22, 2019
76eb5e2
Revert "Revert "Always use the same jedi environment (#4687)" (#4850)"
DonJayamanne Mar 22, 2019
4e44f6d
Update change log entries
DonJayamanne Mar 25, 2019
434567e
Bump ptvsd to 4.2.5 (#4904)
DonJayamanne Mar 25, 2019
6c9b79c
Ensure output panel does not steal focus due to ls errors (#4919)
DonJayamanne Mar 26, 2019
3e314b6
Fix change log
DonJayamanne Mar 26, 2019
d852809
Bump pinned version of Language Server
DonJayamanne Mar 26, 2019
c0f7eca
Release for march 2018 (#4931)
DonJayamanne Mar 26, 2019
1f600d9
Same logic for stable and beta (#4964)
DonJayamanne Mar 27, 2019
095b74c
Point release for March 2018 (#4965)
DonJayamanne Mar 27, 2019
7c041fd
Capture telemetry when tests are disabled (#4997)
DonJayamanne Mar 28, 2019
68316a0
Update change log
DonJayamanne Mar 28, 2019
1738841
March 2019 point release with debugger fixes (#5056)
DonJayamanne Apr 2, 2019
01332b3
Merge branch 'release' into mergeIntoMaster
DonJayamanne Apr 4, 2019
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
19 changes: 19 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,25 @@
# Changelog


## 2019.3.2 (2 April 2019)

### Fixes

1. Fix regression preventing the expansion of variables in the watch window and the debug console.
([#5035](https://github.com/Microsoft/vscode-python/issues/5035))
1. Display survey banner (again) for Language Server when using current Lanaguage Server.
([#5064](https://github.com/Microsoft/vscode-python/issues/5064))
1. Update ptvsd to [4.2.6](https://github.com/Microsoft/ptvsd/releases/tag/v4.2.6).
([#5083](https://github.com/Microsoft/vscode-python/issues/5083))
* Fix issue with expanding variables in watch window and hover.
* Fix issue with launching a sub-module.

### Code Health

1. Capture telemetry to track which installer was used when installing packages via the extension.
([#5063](https://github.com/Microsoft/vscode-python/issues/5063))


## 2019.3.1 (28 March 2019)

### Enhancements
Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
jedi==0.12.0
parso==0.2.1
isort==4.3.4
ptvsd==4.2.5
ptvsd==4.2.6
4 changes: 2 additions & 2 deletions src/client/activation/languageServer/analysisOptions.ts
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ import { LanguageClientOptions, ProvideCompletionItemsSignature, RevealOutputCha
import { IWorkspaceService } from '../../common/application/types';
import { isTestExecution, PYTHON_LANGUAGE, STANDARD_OUTPUT_CHANNEL } from '../../common/constants';
import { traceDecorators, traceError } from '../../common/logger';
import { BANNER_NAME_PROPOSE_LS, IConfigurationService, IExtensionContext, IOutputChannel, IPathUtils, IPythonExtensionBanner, Resource } from '../../common/types';
import { BANNER_NAME_LS_SURVEY, IConfigurationService, IExtensionContext, IOutputChannel, IPathUtils, IPythonExtensionBanner, Resource } from '../../common/types';
import { debounceSync } from '../../common/utils/decorators';
import { IEnvironmentVariablesProvider } from '../../common/variables/types';
import { IInterpreterService } from '../../interpreter/contracts';
Expand All @@ -29,7 +29,7 @@ export class LanguageServerAnalysisOptions implements ILanguageServerAnalysisOpt
@inject(IEnvironmentVariablesProvider) private readonly envVarsProvider: IEnvironmentVariablesProvider,
@inject(IConfigurationService) private readonly configuration: IConfigurationService,
@inject(IWorkspaceService) private readonly workspace: IWorkspaceService,
@inject(IPythonExtensionBanner) @named(BANNER_NAME_PROPOSE_LS) private readonly surveyBanner: IPythonExtensionBanner,
@inject(IPythonExtensionBanner) @named(BANNER_NAME_LS_SURVEY) private readonly surveyBanner: IPythonExtensionBanner,
@inject(IInterpreterService) private readonly interpreterService: IInterpreterService,
@inject(IOutputChannel) @named(STANDARD_OUTPUT_CHANNEL) private readonly output: OutputChannel,
@inject(IPathUtils) private readonly pathUtils: IPathUtils,
Expand Down
4 changes: 4 additions & 0 deletions src/client/common/installer/moduleInstaller.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,15 +7,19 @@ import * as path from 'path';
import * as vscode from 'vscode';
import { IInterpreterService, InterpreterType } from '../../interpreter/contracts';
import { IServiceContainer } from '../../ioc/types';
import { sendTelemetryEvent } from '../../telemetry';
import { EventName } from '../../telemetry/constants';
import { STANDARD_OUTPUT_CHANNEL } from '../constants';
import { ITerminalServiceFactory } from '../terminal/types';
import { ExecutionInfo, IConfigurationService, IOutputChannel } from '../types';
import { noop } from '../utils/misc';

@injectable()
export abstract class ModuleInstaller {
public abstract get displayName(): string
constructor(protected serviceContainer: IServiceContainer) { }
public async installModule(name: string, resource?: vscode.Uri): Promise<void> {
sendTelemetryEvent(EventName.PYTHON_INSTALL_PACKAGE, undefined, { installer: this.displayName });
const executionInfo = await this.getExecutionInfo(name, resource);
const terminalService = this.serviceContainer.get<ITerminalServiceFactory>(ITerminalServiceFactory).getTerminalService(resource);

Expand Down
1 change: 1 addition & 0 deletions src/client/telemetry/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,6 +23,7 @@ export enum EventName {
REFACTOR_EXTRACT_FUNCTION = 'REFACTOR_EXTRACT_FUNCTION',
REPL = 'REPL',
PYTHON_INTERPRETER = 'PYTHON_INTERPRETER',
PYTHON_INSTALL_PACKAGE = 'PYTHON_INSTALL_PACKAGE',
PYTHON_INTERPRETER_DISCOVERY = 'PYTHON_INTERPRETER_DISCOVERY',
PYTHON_INTERPRETER_AUTO_SELECTION = 'PYTHON_INTERPRETER_AUTO_SELECTION',
PYTHON_INTERPRETER_ACTIVATION_ENVIRONMENT_VARIABLES = 'PYTHON_INTERPRETER_ACTIVATION_ENVIRONMENT_VARIABLES',
Expand Down
1 change: 1 addition & 0 deletions src/client/telemetry/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -276,6 +276,7 @@ export interface IEventNamePropertyMapping {
[EventName.KNOWN_IMPORT_FROM_FILE]: { import: string };
[EventName.KNOWN_IMPORT_FROM_EXECUTION]: { import: string };
[EventName.LINTER_NOT_INSTALLED_PROMPT]: LinterInstallPromptTelemetry;
[EventName.PYTHON_INSTALL_PACKAGE]: { installer: string };
[EventName.LINTING]: LintingTelemetry;
[EventName.PLATFORM_INFO]: Platform;
[EventName.PYTHON_INTERPRETER]: PythonInterpreterTelemetry;
Expand Down