Skip to content

Commit 3e71e51

Browse files
Merge pull request #55 from PowershellFrameworkCollective/Development
2.0.20
2 parents eabe5e5 + 0422f91 commit 3e71e51

40 files changed

+1223
-312
lines changed

PSUtil/PSUtil.psd1

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
@{
22
# Script module or binary module file associated with this manifest
3-
ModuleToProcess = 'PSUtil.psm1'
3+
RootModule = 'PSUtil.psm1'
44

55
# Version number of this module.
6-
ModuleVersion = '2.0.8'
6+
ModuleVersion = '2.0.20'
77

88
# ID used to uniquely identify this module
99
GUID = '9ef51588-c40c-4064-910d-9b624b758cf6'
@@ -26,7 +26,7 @@
2626
# Modules that must be imported into the global environment prior to importing
2727
# this module
2828
RequiredModules = @(
29-
@{ ModuleName='PSFramework'; ModuleVersion='0.10.31.176' }
29+
@{ ModuleName='PSFramework'; ModuleVersion='1.0.35' }
3030
)
3131

3232
# Assemblies that must be loaded prior to importing this module
@@ -52,6 +52,7 @@
5252
'Join-PSUString'
5353
'New-PSUDirectory'
5454
'Register-PSUObjectConversion'
55+
'Register-PSUObjectExpansion'
5556
'Remove-PSUPathAlias'
5657
'Remove-PSUString'
5758
'Select-PSUFunctionCode'
@@ -60,6 +61,7 @@
6061
'Set-PSUObjectType'
6162
'Set-PSUPath'
6263
'Set-PSUPathAlias'
64+
'Set-PSUPrompt'
6365
'Set-PSUShell'
6466
'Set-PSUString'
6567
'Split-PSUString'
@@ -123,10 +125,10 @@
123125
Tags = @('Utility')
124126

125127
# A URL to the license for this module.
126-
# LicenseUri = ''
128+
LicenseUri = 'https://github.com/PowershellFrameworkCollective/PSUtil/blob/Development/LICENSE'
127129

128130
# A URL to the main website for this project.
129-
ProjectUri = 'http://psframework.org'
131+
ProjectUri = 'https://psframework.org'
130132

131133
# A URL to an icon representing this module.
132134
# IconUri = ''
@@ -137,4 +139,4 @@
137139
} # End of PSData hashtable
138140

139141
} # End of PrivateData hashtable
140-
}
142+
}

PSUtil/PSUtil.psm1

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ function Import-ModuleFile
4545
$Path
4646
)
4747

48-
if ($doDotSource) { . (Resolve-Path $Path) }
49-
else { $ExecutionContext.InvokeCommand.InvokeScript($false, ([scriptblock]::Create([io.file]::ReadAllText((Resolve-Path $Path)))), $null, $null) }
48+
$resolvedPath = $ExecutionContext.SessionState.Path.GetResolvedPSPathFromPSPath($Path).ProviderPath
49+
if ($doDotSource) { . $resolvedPath }
50+
else { $ExecutionContext.InvokeCommand.InvokeScript($false, ([scriptblock]::Create([io.file]::ReadAllText($resolvedPath))), $null, $null) }
5051
}
5152

5253
#region Load individual files

PSUtil/bin/PSUtil.dll

3 KB
Binary file not shown.

PSUtil/bin/PSUtil.pdb

14 KB
Binary file not shown.

PSUtil/bin/PSUtil.xml

Lines changed: 270 additions & 11 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

PSUtil/bin/type-aliases.ps1

Lines changed: 0 additions & 3 deletions
This file was deleted.

PSUtil/changelog.md

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,18 @@
11
# Changelog
2+
## 2.0.20 (2019-09-18)
3+
- New: Command: Set-PSUPrompt - Applies a prompt from a set of pre-defined prompts
4+
- New: COmmand: Register-PSUObjectExpansion - Registers custom expansion rules for Expand-PSUObject
5+
- Upd: Start-PSUTimer - Added -MinFrequency and -MaxFrequency parameters.
6+
- Upd: Start-PSUTimer - Refactored parameter order, rationalized message handling
7+
- Upd: Invoke-PSUExplorer - Enabled opt-in exceptions and improved path resolution
8+
- Upd: Set-PSUPath - Now supports environment variable expansion using %name% notation.
9+
- Fix: Importing module from UNC path works
10+
- Fix: Module import concurrency issue
11+
- Fix: Convert-PSUObject unsafe Scriptblock handling
12+
- Fix: Set-PSUShell foreground color handling (requires latest pre-release version of PSReadline)
13+
- Fix: F1 Keybinding: On non-windows default to detailed help, rather than -ShowWindow
14+
- Fix: F1 Keybinding: In-Console help display now uses same application as launching application
15+
216
## Version 2.0.8 (2019-01-13)
317
- New: Keybinding for `Shift+SpaceBar` on PSReadline 2.0 that inserts a whitespace, helping to mitigate the typing issue in the windows release version.
418
- Upd: Switched input property tab completion to PSFramework implementation: PSFramework-Input-ObjectProperty

0 commit comments

Comments
 (0)