Skip to content

Commit 7050b12

Browse files
authored
2.0.0-beta4 release preparation (#905)
- Update the `InformationalVersion` tag to `2.0.0-beta4` - Update the change log - Update URLs to point to the PowerShell GitHub org.
1 parent e64acec commit 7050b12

9 files changed

+43
-26
lines changed

.github/ISSUE_TEMPLATE.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,9 +3,9 @@ Before submitting your bug report, please check for duplicates, and +1 the dupli
33
44
There are a few common issues that are commonly reported.
55
6-
If there is an exception copying to/from the clipboard, it's probably the same as https://github.com/lzybkr/PSReadLine/issues/265
6+
If there is an exception copying to/from the clipboard, it's probably the same as https://github.com/PowerShell/PSReadLine/issues/265
77
8-
If there is an exception shortly after resizing the console, it's probably the same as https://github.com/lzybkr/PSReadLine/issues/292
8+
If there is an exception shortly after resizing the console, it's probably the same as https://github.com/PowerShell/PSReadLine/issues/292
99
-->
1010

1111
Environment data

PSReadLine.build.ps1

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -300,7 +300,7 @@ task Publish -If ($Configuration -eq 'Release') {
300300
NuGetApiKey = [PSCredential]::new("user", $nugetApiKey).GetNetworkCredential().Password
301301
Repository = "PSGallery"
302302
ReleaseNotes = (Get-Content -Raw $binDir/Changes.txt)
303-
ProjectUri = 'https://github.com/lzybkr/PSReadLine'
303+
ProjectUri = 'https://github.com/PowerShell/PSReadLine'
304304
}
305305

306306
Publish-Module @publishParams

PSReadLine/AssemblyInfo.cs

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -36,9 +36,5 @@
3636
// You can specify all the values or you can default the Build and Revision Numbers
3737
// by using the '*' as shown below:
3838
// [assembly: AssemblyVersion("1.0.*")]
39-
[assembly: AssemblyVersion("2.0.0.0")]
40-
[assembly: AssemblyFileVersion("2.0.0")]
41-
[assembly: AssemblyInformationalVersion("2.0.0-beta3")]
42-
4339

4440
[assembly: SuppressMessage("Microsoft.Design", "CA1026:DefaultParametersShouldNotBeUsed")]

PSReadLine/Changes.txt

Lines changed: 25 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,27 @@
1+
### Version 2.0.0-beta4
2+
3+
Pre-release notes:
4+
5+
Bug fixes:
6+
7+
* Add Shift-Tab Windows ANSI escape (#695) (Thanks @parkovski)
8+
* Add script block vi mode indicator option (#695) (Thanks @parkovski)
9+
* Fix initialization for non-US keyboards (#768)
10+
* Fix unintentional font change in Windows console (#771)
11+
* Fix tooltips and menu at bottom of buffer (#783)
12+
* Respect the change to `[console]::BackgroundColor` by saving/restoring the initial foreground/background colors (#785)
13+
* Remove uses of CSI # S / ScrollConsoleScreenBuffer (#790)
14+
* Support vi mode `G` and `gg` movements in multi-line buffers (#793) (Thanks @springcomp!)
15+
* Fix rendering issue when menu complete shifts due to length of completion (#802)
16+
* Make Get-PSReadLineOption show AnsiEscapeTimeout (#800) (Thanks @jazzdelightsme!)
17+
* Fix the crash in `ViAppendLine` when cursor is at the end of the input (#797) (Thanks @springcomp!)
18+
* Fix cursor position during menu complete (#809)
19+
* Supports `_` and `$` to move to the beginning and end of the logical line in vi mode (#812) (Thanks @springcomp!)
20+
* Add `xtermjs` keybindings (#878)
21+
* Fix the regression to make long lines work properly at the end of screen buffer (#895)
22+
* Fix 'Shift+Backspace/Escape' to work the same as 'Backspace/Escape' on Windows (#898)
23+
* Make sure to generate the 'OnIdle' event when there are other subscribers (#899)
24+
125
### Version 2.0.0-beta3
226

327
Pre-release notes:
@@ -292,7 +316,7 @@ New features:
292316
* Get-PSReadLineKeyHandler now returns unbound functions
293317
* Get-PSReadLineKeyHandler has 2 new parameters: -Bound and -Unbound
294318
* Set-PSReadLineKeyHandler parameter -LongDescription is now -Description
295-
(not breaking because I left an alias)
319+
(not breaking because an alias was left)
296320
* WhatIsKey - display binding for a key
297321
* ShowKeyBindings - show all bound keys
298322
* Keyboard selection of text for cut/copy/delete. New functions:

PSReadLine/PSReadLine.csproj

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@
66
<AssemblyName>Microsoft.PowerShell.PSReadLine2</AssemblyName>
77
<AssemblyVersion>2.0.0.0</AssemblyVersion>
88
<FileVersion>2.0.0</FileVersion>
9-
<InformationalVersion>2.0.0-beta3</InformationalVersion>
9+
<InformationalVersion>2.0.0-beta4</InformationalVersion>
1010
<TargetFrameworks>net461;netcoreapp2.1</TargetFrameworks>
1111
</PropertyGroup>
1212
<ItemGroup>

PSReadLine/PSReadLineResources.Designer.cs

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PSReadLine/PSReadLineResources.resx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@
390390
<data name="OopsAnErrorMessage1" xml:space="preserve">
391391
<value>
392392
Oops, something went wrong. Please report this bug with the details below.
393-
Report on GitHub: https://github.com/lzybkr/PSReadLine/issues/new</value>
393+
Report on GitHub: https://github.com/PowerShell/PSReadLine/issues/new</value>
394394
</data>
395395
<data name="OopsAnErrorMessage2" xml:space="preserve">
396396
<value>### Environment

README.md

Lines changed: 11 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -37,27 +37,24 @@ There are multiple ways to install PSReadLine.
3737

3838
### Install from PowerShellGallery (preferred)
3939

40-
You will need PowerShellGet. It is included in Windows 10 and [WMF5](http://go.microsoft.com/fwlink/?LinkId=398175). If you are using PowerShell V3 or V4, you will need to install [PowerShellGet](https://www.microsoft.com/en-us/download/details.aspx?id=49186).
40+
You will need PowerShellGet. It is included in Windows 10 and [WMF5](http://go.microsoft.com/fwlink/?LinkId=398175). If you are using PowerShell V3 or V4, you will need to install [PowerShellGet](https://docs.microsoft.com/powershell/gallery/installing-psget).
4141

4242
After installing PowerShellGet, you can simply run `Install-Module PSReadLine`.
4343

4444
If you are on Windows 10, PSReadLine is already installed. Windows 10 RTM and the November update have version 1.1, later builds have version 1.2 (which includes vi mode). See below for how to upgrade.
4545

4646
### Install from GitHub (deprecated)
4747

48-
With the preview release of PowerShellGet for PowerShell V3/V4, I am deprecating downloads from GitHub. I don't intend to update releases on GitHub, and may remove the release entirely from GitHub at some point.
49-
50-
To install the build from GitHub, you can install using [PsGet](http://psget.net) (very easy to install), and run `Install-Module PSReadLine`. Note that PsGet and PowerShellGet both have a Install-Module command, but they are very different despite having similar names and commands. PowerShellGet is implemented and supported by the PowerShell team at Microsoft, PsGet is a 3rd party tool that was a source of inspiration for PowerShellGet.
51-
52-
If you'd rather not use PsGet, you can just download the file [PSReadLine.zip](https://github.com/lzybkr/PSReadLine/releases/download/Latest/PSReadLine.zip) and extract the contents into your `C:\Users\[User]\Documents\WindowsPowerShell\modules\PSReadLine` folder. (You may have to create these directories if they don't exist.)
48+
With the preview release of PowerShellGet for PowerShell V3/V4, downloads from GitHub are deprecated.
49+
We don't intend to update releases on GitHub, and may remove the release entirely from GitHub at some point.
5350

5451
### Post Installation
5552

5653
Edit your profile to import the module. This step is optional with PowerShell V5 and greater. There are two common profile files commonly used and the instructions are slightly different for each.
5754

5855
The file `C:\Users\[User]\Documents\WindowsPowerShell\profile.ps1` is used for all hosts (e.g. the ISE and powershell.exe). If you already have this file, then you should add the following:
5956

60-
```
57+
```powershell
6158
if ($host.Name -eq 'ConsoleHost')
6259
{
6360
Import-Module PSReadLine
@@ -66,7 +63,7 @@ if ($host.Name -eq 'ConsoleHost')
6663

6764
Alternatively, the file `C:\Users\[User]\Documents\WindowsPowerShell\Microsoft.PowerShell_profile.ps1` is for powershell.exe only. Using this file, you can simply add:
6865

69-
```
66+
```powershell
7067
Import-Module PSReadLine
7168
```
7269

@@ -78,15 +75,14 @@ When running one of the suggested commands below, be sure to exit all instances
7875

7976
If you are using the version of PSReadLine that ships with Windows 10, you need to run: `powershell -noprofile -command "Install-Module PSReadLine -Force -SkipPublisherCheck"`.
8077

81-
If you've installed PSReadLine yourself from the PowerShell Gallery or with `PSGet` (this is less common on Windows 10), you can simply run: `powershell -noprofile -command "Update-Module PSReadLine"`.
78+
If you've installed PSReadLine yourself from the PowerShell Gallery, you can simply run: `powershell -noprofile -command "Update-Module PSReadLine"`.
8279

8380
If you get an error like:
8481

85-
```
82+
```powershell
8683
Remove-Item : Cannot remove item
8784
C:\Users\{yourName}\Documents\WindowsPowerShell\Modules\PSReadLine\Microsoft.PowerShell.PSReadLine.dll: Access to the path
8885
'C:\Users\{yourName}\Documents\WindowsPowerShell\Modules\PSReadLine\Microsoft.PowerShell.PSReadLine.dll' is denied.
89-
At C:\Users\{yourName}\Documents\WindowsPowerShell\Modules\PsGet\PsGet.psm1:1009 char:52
9086
```
9187

9288
Then you didn't kill all the processes that loaded PSReadLine.
@@ -106,6 +102,7 @@ Set-PSReadLineOption -EditMode Emacs
106102
```
107103

108104
To view the current key bindings:
105+
109106
```powershell
110107
Get-PSReadLineKeyHandler
111108
```
@@ -157,7 +154,7 @@ In this example, when you type a single quote or double quote, there are two thi
157154

158155
Note that with the handler written this way, it correctly handles Undo - both quotes will be undone with one undo.
159156

160-
The [sample profile file](https://github.com/lzybkr/PSReadLine/blob/master/PSReadLine/SamplePSReadLineProfile.ps1) has a bunch of great examples to check out. This file is included when PSReadLine is installed.
157+
The [sample profile file](https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/SamplePSReadLineProfile.ps1) has a bunch of great examples to check out. This file is included when PSReadLine is installed.
161158

162159
See the public methods of [Microsoft.PowerShell.PSConsoleReadLine] to see what other built-in functionality you can modify.
163160

@@ -193,8 +190,8 @@ After a successful build, the tests are automatically run.
193190

194191
## Change Log
195192

196-
The change log is available [here](https://github.com/lzybkr/PSReadLine/blob/master/PSReadLine/Changes.txt).
193+
The change log is available [here](https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/Changes.txt).
197194

198195
## License
199196

200-
The license is available [here](https://github.com/lzybkr/PSReadLine/blob/master/PSReadLine/License.txt).
197+
The license is available [here](https://github.com/PowerShell/PSReadLine/blob/master/PSReadLine/License.txt).

docs/about_PSReadLine.help.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -166,7 +166,7 @@ POWERSHELL COMPATIBILITY
166166

167167
FEEDBACK
168168

169-
https://github.com/lzybkr/PSReadLine
169+
https://github.com/PowerShell/PSReadLine
170170

171171
CONTRIBUTING TO PSREADLINE
172172

0 commit comments

Comments
 (0)