Skip to content

Commit 8bdda9f

Browse files
committed
Bump version to 0.8.0, update CHANGELOG.md
Fixes #382.
1 parent 80f1ea2 commit 8bdda9f

File tree

3 files changed

+94
-2
lines changed

3 files changed

+94
-2
lines changed

CHANGELOG.md

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

3+
## 0.8.0
4+
### Friday, December 16, 2016
5+
6+
#### Improved PowerShell session management
7+
8+
It's now much easier to manage the active PowerShell session. We've added a
9+
new item to the status bar to indicate the state of the session and the version
10+
of PowerShell you're using:
11+
12+
![Screenshot of status indicator](https://cloud.githubusercontent.com/assets/79405/21247551/fcf2777c-c2e4-11e6-9659-7349c35adbcd.png)
13+
14+
When this status item is clicked, a new menu appears to give you some session
15+
management options:
16+
17+
![Screenshot of session menu](https://cloud.githubusercontent.com/assets/79405/21247555/009fa64c-c2e5-11e6-8171-76914d3366a0.png)
18+
19+
You can restart the active session, switch between 32-bit and 64-bit PowerShell on
20+
Windows or switch to another PowerShell process (like a 6.0 alpha build) that
21+
you've configured with the `powershell.developer.powerShellExePath`.
22+
23+
We've also improved the overall experience of loading and using the extension:
24+
25+
- It will prompt to restart the PowerShell session if it crashes for any reason
26+
- It will also prompt to restart the session if you change any relevant PowerShell
27+
configuration setting like the aforementioned `powershell.developer.powerShellExePath`.
28+
- You can easily access the logs of the current session by running the command
29+
`Open PowerShell Extension Logs Folder`.
30+
31+
#### Create new modules with Plaster
32+
33+
In this release we've added integration with the [Plaster](https://github.com/PowerShell/Plaster)
34+
module to provide a `Create New Project from Plaster Template` command. This command will
35+
walk you through the experience of selecting a template and filling in all of
36+
the project details:
37+
38+
![Screenshot of Plaster template selection](https://cloud.githubusercontent.com/assets/79405/21247560/087b47a4-c2e5-11e6-86e7-ba3727b5e36d.png)
39+
40+
![Screenshot of Plaster input](https://cloud.githubusercontent.com/assets/79405/21247562/0a79b130-c2e5-11e6-97e9-cfd672803f75.png)
41+
42+
We include one basic project template by default and will add more in the very
43+
near future. However, you won't need to update the PowerShell extension to get these
44+
new templates, they will appear when you install an update to the Plaster module from
45+
the [PowerShell Gallery](https://www.powershellgallery.com/).
46+
47+
Check out [Plaster's documentation](https://github.com/PowerShell/Plaster/tree/master/docs/en-US)
48+
for more details on how it can be used and how you can create your own templates.
49+
50+
#### New "quick fix" actions for PSScriptAnalyzer rules
51+
52+
The PowerShell extension now uses any "suggested corrections" which are returned with
53+
a rule violation in your script file to provide a "quick fix" option for the affected
54+
section of code. For example, when the `PSAvoidUsingCmdletAliases` rule finds the use
55+
of a non-whitelisted alias, you will see a light bulb icon that gives the option to
56+
change to the full name (right click or <kbd>Ctrl+.</kbd> on the marker):
57+
58+
![Screenshot of PSScriptAnalyzer quick fix](https://cloud.githubusercontent.com/assets/79405/21247558/05887e86-c2e5-11e6-9c67-e4558a7e2dba.png)
59+
60+
If you'd like to see more quick fixes for PowerShell code, head over to the
61+
[PSScriptAnalyzer](https://github.com/PowerShell/PSScriptAnalyzer) GitHub page and
62+
get involved!
63+
64+
#### Easily enable and disable PSScriptAnalyzer rules
65+
66+
Another improvement related to PSScriptAnalyzer is the ability to change the active
67+
PSScriptAnalyzer rules in the current editing session using a helpful selection menu:
68+
69+
![Screenshot of PSScriptAnalyzer rule selection](https://cloud.githubusercontent.com/assets/79405/21247557/037888b6-c2e5-11e6-816f-6732e13cddb7.png)
70+
71+
You can enable and disable active rules by running the `Select PSScriptAnalyzer Rules`
72+
command. For now this only changes the active session but in a future release we will
73+
modify your PSScriptAnalyzer settings file so that the changes are persisted to future
74+
editing sessions.
75+
76+
#### New "hit count" breakpoints in the debugger
77+
78+
When debugging PowerShell scripts you can now set "hit count" breakpoints which
79+
cause the debugger to stop only after the breakpoint has been encountered a specified
80+
number of times.
81+
82+
![Screenshot of a hit count breakpoint](https://cloud.githubusercontent.com/assets/79405/21247563/0c159202-c2e5-11e6-8c91-36791c4fa804.png)
83+
84+
#### Other fixes and improvements
85+
86+
- We now provide snippets for the `launch.json` configuration file which make it easier
87+
to add new PowerShell debugging configurations for your project.
88+
- In PowerShell `launch.json` configurations, the `program` parameter has now been
89+
renamed to `script`. Configurations still using `program` will continue to work.
90+
- Fixed #353: Cannot start PowerShell debugger on Windows when offline
91+
- Fixed #217: PowerShell output window should be shown when F8 is pressed
92+
- Fixed #292: Check for Homebrew's OpenSSL libraries correctly on macOS
93+
- Fixed #384: PowerShell snippets broken in VS Code 1.8.0
94+
395
## 0.7.2
496
### Friday, September 2, 2016
597

package.json

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
{
22
"name": "PowerShell",
33
"displayName": "PowerShell",
4-
"version": "0.7.2",
4+
"version": "0.8.0",
55
"publisher": "ms-vscode",
66
"description": "Develop PowerShell scripts in Visual Studio Code!",
77
"engines": {

src/main.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ import { CodeActionsFeature } from './features/CodeActions';
2121

2222
// NOTE: We will need to find a better way to deal with the required
2323
// PS Editor Services version...
24-
var requiredEditorServicesVersion = "0.7.2";
24+
var requiredEditorServicesVersion = "0.8.0";
2525

2626
var logger: Logger = undefined;
2727
var sessionManager: SessionManager = undefined;

0 commit comments

Comments
 (0)