Skip to content

Releases: PowerShell/vscode-powershell

v2022.1.0-preview

11 Jan 21:45
Compare
Choose a tag to compare
v2022.1.0-preview Pre-release
Pre-release

v2022.1.0-preview

Monday, January 10, 2022

vscode-powershell

Happy New Year! Please enjoy a new preview release! We have re-enabled nearly all of the
tests in PowerShell Editor Services, and are becoming more confident in our ability to fix
your reported issues without introducing regressions. Thanks so much for continuing to use
and help improve the extension.

PowerShellEditorServices

v2021.12.0

22 Dec 21:36
Compare
Choose a tag to compare

v2021.12.0

Wednesday, December 22, 2021

vscode-powershell

This release does not include the latest major update of PowerShell Editor Services. We
are updating the stable extension to bring some bug fixes forward. Please try out the
PowerShell Preview extension for the latest and hopefully greatest experience, and
help us squash those bugs!

PowerShellEditorServices

This extension update includes PowerShell Editor Services v2.5.3, a re-release of
v2.5.2 which was the last version before the major pipeline and threading overhaul was
merged in v3.0.0. By re-releasing we are able to update the module's signature with a
renewed certificate.

v2021.12.0-preview

21 Dec 03:26
Compare
Choose a tag to compare
v2021.12.0-preview Pre-release
Pre-release

v2021.12.0-preview

Monday, December 20, 2021

vscode-powershell

We're hard at work continuing to improve the stability and coverage of the PowerShell
Preview so we can bring the updates to the regular extension. Most recently we got the unit tests
covering the debugger back online, which revealed a bug in the ability to set variables
through the debugger. We're continuing to work to resolve this and re-enable the rest of
our tests. Please keep using the Preview if you're able and filing bug reports, we
appreciate it!

PowerShellEditorServices

v2021.11.1-preview

23 Nov 01:14
Compare
Choose a tag to compare
v2021.11.1-preview Pre-release
Pre-release

v2021.11.1-preview

Monday, November 22, 2021

vscode-powershell

PowerShellEditorServices

v2021.11.0-preview

04 Nov 03:25
Compare
Choose a tag to compare
v2021.11.0-preview Pre-release
Pre-release

v2021.11.0-preview

Wednesday, November 03, 2021

vscode-powershell

PowerShellEditorServices

v2021.10.3-preview

28 Oct 23:00
Compare
Choose a tag to compare
v2021.10.3-preview Pre-release
Pre-release

v2021.10.3-preview

Thursday, October 28, 2021

vscode-powershell

No changes! New preview for PowerShell Editor Services v3.0.0!

PowerShellEditorServices

This preview release includes a complete overhaul of the core PowerShell engine of PowerShell Editor Services. This represents over a year's work, tracked in PSES #1295 and implemented in PSES #1459, and is our answer to many, many issues opened by users over the last few years. We're hoping you'll see a marked improvement in the reliability, performance and footprint of the extension as a result.

Previously the Integrated Console was run by setting threadpool tasks on a shared main runspace, and where LSP servicing was done with PowerShell idle events. This lead to overhead, threading issues and a complex implementation intended to work around the asymmetry between PowerShell as a synchronous, single-threaded runtime and a language server as an asynchronous, multi-threaded service.

Now, PowerShell Editor Services maintains its own dedicated pipeline thread, which is able to service requests similar to JavaScript's event loop, meaning we can run everything synchronously on the correct thread. We also get more efficiency because we can directly call PowerShell APIs and code written in C# from this thread, without the overhead of a PowerShell pipeline.

This change has overhauled how we service LSP requests, how the Integrated Console works, how PSReadLine is integrated, how debugging is implemented, how remoting is handled, and a long tail of other features in PowerShell Editor Services.

Also, in making it, while 6,000 lines of code were added, we removed 12,000, for a more maintainable, more efficient and easier to understand extension backend.

While most of our testing has been re-enabled (and we're working on adding more), there are bound to be issues with this new implementation. Please give this a try and let us know if you run into anything.

We also want to thank @SeeminglyScience for his help and knowledge as we've made this migration.

Finally, a crude breakdown of the work from the commits:

  • An initial dedicated pipeline thread consumer implementation
  • Implement the console REPL
  • Implement PSRL idle handling
  • Implement completions
  • Move to invoking PSRL as a C# delegate
  • Implement cancellation and Ctrl+C
  • Make F8 work again
  • Ensure execution policy is set correctly
  • Implement $PROFILE support
  • Make nested prompts work
  • Implement REPL debugging
  • Implement remote debugging in the REPL
  • Hook up the debugging UI
  • Implement a new concurrent priority queue for PowerShell tasks
  • Reimplement the REPL synchronously rather than on its own thread
  • Really get debugging working...
  • Implement DSC breakpoint support
  • Reimplement legacy readline support
  • Ensure stdio is still supported as an LSP transport
  • Remove PowerShellContextService and other defunct code
  • Get integration tests working again (and improve diagnosis of PSES failures)
  • Get unit testing working again (except debug service tests)

v2021.10.2

28 Oct 17:37
Compare
Choose a tag to compare

v2021.10.2

Thursday, October 28, 2021

vscode-powershell

The PSScriptAnalyzer rule explanations now open the beautiful published documentation at
docs.microsoft.com.

PowerShellEditorServices

No changes in this release, but the next preview will include PowerShell Editor Services
v3.0.0, with the pipeline rewrite!

v2021.10.1

20 Oct 17:47
Compare
Choose a tag to compare

v2021.10.1

Wednesday, October 20, 2021

vscode-powershell

Check out the new Pester Tests adapter by Justin Grote and inspired by Tyler
Leonhardt
. While still under development, it provides integration with Visual Studio
Code's new test explorer interface for Pester tests and is quite nice!

PowerShellEditorServices

v2021.10.1-preview

19 Oct 18:06
Compare
Choose a tag to compare
v2021.10.1-preview Pre-release
Pre-release

v2021.10.1-preview

Monday, October 18, 2021

vscode-powershell

PowerShellEditorServices

v2021.10.0

08 Oct 17:49
Compare
Choose a tag to compare

v2021.10.0

Friday, October 08, 2021

This is a hot-fix release for an upstream change to the location of the PSScriptAnalyzer rules documentation.

vscode-powershell

PowerShellEditorServices

No changes, but stay tuned for major updates! The pipeline rewrite work is under review.