From 7238b440026417149eb528988ae448988ba65544 Mon Sep 17 00:00:00 2001 From: Santiago Squarzon Date: Mon, 11 Sep 2023 21:48:40 -0300 Subject: [PATCH] updating changelog. increasing module version. --- CHANGELOG.md | 7 +++++++ module/PSTree.psd1 | 4 +++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c48237..e927e6e 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,12 @@ # CHANGELOG +- __09/11/2023__ + - No changes to the cmdlet but a few improvements to the code base: + - [x] `PSTreeCache` and `PSTreeIndexer` internal classes have been sealed following the recommendations from dotnet/runtime#49944. + - [x] `Indent` extension method has been changed to use `StringBuilder`. + - [x] Improved `ConvertToTree` method. Was too complicated and inefficient, there was also no need to use `Regex`. + - [x] `-Depth` parameter type was changed from `int` to `uint` and the documentation was updated accordingly. + - __07/28/2023__ - Added `.ToString()` method to `PSTreeFileSystemInfo` instances, the method resolves to the instances `.FullName` property similar to [`FileSystemInfo.ToString` Method](https://learn.microsoft.com/en-us/dotnet/api/system.io.filesysteminfo.tostring?view=net-7.0#system-io-filesysteminfo-tostring). Now it should be possible to pipe `Get-PSTree` output to `Get-Item` and `Get-ChildItem` when needed: diff --git a/module/PSTree.psd1 b/module/PSTree.psd1 index 46c7590..3155d35 100644 --- a/module/PSTree.psd1 +++ b/module/PSTree.psd1 @@ -11,7 +11,7 @@ RootModule = 'bin/netstandard2.0/PSTree.dll' # Version number of this module. - ModuleVersion = '2.1.13' + ModuleVersion = '2.1.14' # Supported PSEditions # CompatiblePSEditions = @() @@ -97,6 +97,8 @@ 'tree' 'powershell' 'csharp' + 'recursion' + 'tree-structure' ) # A URL to the license for this module.