Skip to content

Commit 6538a94

Browse files
[Ignore] Prep for 2.0.0-preview.1 release (#1716)
* Prep for 2.0.0-preview.1 release * mark preview extensions as preview * update package.json for git tracking * leave PSES_BRANCH at master * spaces * mini-announcement * address keith's feedback * explicit versions * feedback
1 parent f7ae98c commit 6538a94

File tree

5 files changed

+81
-5
lines changed

5 files changed

+81
-5
lines changed

CHANGELOG.md

+70
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,75 @@
11
# vscode-powershell Release History
22

3+
## v2.0.0-preview.1
4+
### Wednesday, January 23, 2019
5+
6+
#### Preview builds of the PowerShell extension are now available in VSCode
7+
8+
We are excited to announce the PowerShell Preview extension in the VSCode marketplace!
9+
The PowerShell Preview extension allows users on Windows PowerShell 5.1 and PowerShell Core 6 to get and test the latest updates
10+
to the PowerShell extension and comes with some exciting features.
11+
12+
The PowerShell Preview extension is a substitute for the PowerShell extension so
13+
both the PowerShell extension and the PowerShell Preview extension should not be enabled at the same time.
14+
15+
By having a preview channel, in addition to our existing stable channel, we can get new features out faster and get feedback faster from you, the users.
16+
17+
##### How to Get/Use the PowerShell Preview extension
18+
19+
If you dont already have VSCode, start [here](https://code.visualstudio.com/Docs/setup/setup-overview).
20+
21+
Once you have VSCode open, click `Clt+Shift+X` to open the extensions marketplace.
22+
Next, type `PowerShell Preview` in the search bar.
23+
Click `Install` on the `PowerShell Preview` page.
24+
Finally, click `Reload` in order to refresh VSCode.
25+
26+
If you already have the PowerShell extension, please disable it to use the Powershell Preview extension.
27+
To disable the PowerShell extension, find it in the Extensions sidebar view, specifically under the list of Enabled extensions,
28+
Right-click on the PowerShell extension and select `Disable`.
29+
Please note that it is important to only have either the PowerShell extension or the PowerShell Preview extension enabled at one time.
30+
![How to Disable](https://github.com/PowerShell/powershell.github.io/blob/master/PowerShell-Blog/Images/disable-extension.jpg)
31+
32+
#### What the first preview contains
33+
34+
The v2.0.0-preview.1 version of the extension is built on .NET Standard
35+
(enabling support for both Windows PowerShell and PowerShell Core from one assembly)
36+
37+
It also contains PSReadLine support in the integrated console for Windows behind a feature flag.
38+
PSReadLine provides a consistent and rich interactive experience,
39+
including syntax coloring and multi-line editing and history, in the PowerShell console, in Cloud Shell,
40+
and now in VSCode terminal. For more information on the benefits of PSReadLine,
41+
check out their [documentation](https://docs.microsoft.com/en-us/powershell/module/psreadline/about/about_psreadline?view=powershell-6).
42+
43+
To enable PSReadLine support in the Preview version on Windows, please add the following to your user settings:
44+
45+
```
46+
"powershell.developer.featureFlags": [ "PSReadLine" ]
47+
```
48+
49+
HUGE thanks to @SeeminglyScience for all his amazing work getting PSReadLine working in PowerShell Editor Services!
50+
51+
#### Breaking Changes
52+
53+
As stated above, this version of the PowerShell extension only works with Windows PowerShell versions 5.1 and PowerShell Core 6.
54+
55+
#### [vscode-powershell](https://github.com/powershell/vscode-powershell)
56+
57+
- [vscode-PowerShell #1587](https://github.com/PowerShell/vscode-PowerShell/pull/1587) -
58+
Removed ShowOnlineHelp Command (Thanks @corbob!)
59+
60+
#### [PowerShellEditorServices](https://github.com/powershell/PowerShellEditorServices)
61+
62+
- [PowerShellEditorServices #792](https://github.com/PowerShell/PowerShellEditorServices/pull/792) -
63+
Add Async suffix to async methods (Thanks @dee-see!)
64+
- [PowerShellEditorServices #775](https://github.com/PowerShell/PowerShellEditorServices/pull/775) -
65+
Removed ShowOnlineHelp Message (Thanks @corbob!)
66+
- [PowerShellEditorServices #769](https://github.com/PowerShell/PowerShellEditorServices/pull/769) -
67+
Set Runspaces to use STA when running in Windows PowerShell
68+
- [PowerShellEditorServices #741](https://github.com/PowerShell/PowerShellEditorServices/pull/741) -
69+
Migrate to netstandard2.0 and PSStandard
70+
- [PowerShellEditorServices #672](https://github.com/PowerShell/PowerShellEditorServices/pull/672) -
71+
PSReadLine integration (Thanks @SeeminglyScience!)
72+
373
## v1.10.2
474
### Tuesday, December 18, 2018
575

README.md

+4
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# PowerShell Language Support for Visual Studio Code
22

3+
> ## ATTENTION: This is the PREVIEW version of the PowerShell extension for VSCode which contains features that are being evaluated for stable. It works with PowerShell 5.1 and up.
4+
> ### If you are looking for the stable version, please [go here](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell) or install the extension called "PowerShell" (not "PowerShell Preview")
5+
> ## NOTE: If you have both stable (aka "PowerShell") and preview (aka "PowerShell Preview") installed, you MUST [DISABLE](https://code.visualstudio.com/docs/editor/extension-gallery#_disable-an-extension) one of them for the best performance. Docs on how to disable an extension can be found [here](https://code.visualstudio.com/docs/editor/extension-gallery#_disable-an-extension)
6+
37
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/df06b9909e7442cebc1132bda0b8c0e3)](https://app.codacy.com/app/TylerLeonhardt/vscode-powershell?utm_source=github.com&utm_medium=referral&utm_content=PowerShell/vscode-powershell&utm_campaign=Badge_Grade_Dashboard)
48
[![Version](https://vsmarketplacebadge.apphb.com/version/ms-vscode.PowerShell.svg)](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell) [![Installs](https://vsmarketplacebadge.apphb.com/installs-short/ms-vscode.PowerShell.svg)](https://marketplace.visualstudio.com/items?itemName=ms-vscode.PowerShell) [![windows build](https://img.shields.io/appveyor/ci/PowerShell/vscode-powershell/master.svg?label=windows+build)](https://ci.appveyor.com/project/PowerShell/vscode-powershell) [![linux/macos build](https://img.shields.io/travis/PowerShell/vscode-powershell/master.svg?label=linux/macos+build)](https://travis-ci.org/PowerShell/vscode-powershell) [![Join the chat at https://gitter.im/PowerShell/vscode-powershell](https://badges.gitter.im/PowerShell/vscode-powershell.svg)](https://gitter.im/PowerShell/vscode-powershell?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge&utm_content=badge)
59

package.json

+5-4
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,10 @@
11
{
2-
"name": "PowerShell",
3-
"displayName": "PowerShell",
4-
"version": "2.0.0",
2+
"name": "PowerShell-Preview",
3+
"displayName": "PowerShell Preview",
4+
"version": "2.0.0-preview.1",
5+
"preview": true,
56
"publisher": "ms-vscode",
6-
"description": "Develop PowerShell scripts in Visual Studio Code!",
7+
"description": "(Preview) Develop PowerShell scripts in Visual Studio Code!",
78
"engines": {
89
"vscode": "^1.25.0"
910
},

tools/releaseBuild/Image/DockerFile

+1-1
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ COPY build.ps1 containerFiles/build.ps1
2323

2424
# Add an environment variable for build versioning
2525
ENV VSTS_BUILD=1
26-
ENV VSTS_BUILD_VERSION=2.0.0
26+
ENV VSTS_BUILD_VERSION=2.0.0-preview.1
2727

2828
# Uncomment to debug locally
2929
# RUN Import-Module ./containerFiles/dockerInstall.psm1; `

vscode-powershell.build.ps1

+1
Original file line numberDiff line numberDiff line change
@@ -133,6 +133,7 @@ task UpdatePackageJson {
133133
$script:PackageJson.name = "PowerShell-Preview"
134134
$script:PackageJson.displayName = "PowerShell Preview"
135135
$script:PackageJson.description = "(Preview) Develop PowerShell scripts in Visual Studio Code!"
136+
$script:PackageJson.preview = $true
136137
$script:ExtensionName = $script:PackageJson.name
137138
Set-Content -Path $PSScriptRoot/package.json ($script:PackageJson | ConvertTo-Json -Depth 100)
138139
}

0 commit comments

Comments
 (0)