From eb69f134c0ac3db171850d619069b86d671b1874 Mon Sep 17 00:00:00 2001 From: Raimund Andree Date: Sun, 4 Oct 2026 19:36:23 +0200 Subject: [PATCH] docs: complete the version history from the PowerShell Gallery Compare the six NTFSSecurity packages in the PowerShell Gallery (4.0.0 and 4.2.2 to 4.2.6) and the commit history to complete the version history: - Add the Gallery publish dates to 4.0 and 4.2.2 to 4.2.6. - Add notes for 4.2.2, which had none: Test-Path2, Remove-Item2 -PassThur, the new audit parameters, and the hidden Show-SimpleAccess. - Replace "Bug fixes" for 4.2.4 with its changes (#12, #31, #33, #35), and move the MIT license there: the 4.2.4 package already links it. - Split 4.2.5 (#18, #36, #48, Show-SimpleAccess removed) from 4.2.6, which only fixed the Applies to column that 4.2.5 broke (#57). Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Co-authored-by: AI Assistant --- CHANGELOG.md | 6 ++++ Docs/Version-History.md | 69 ++++++++++++++++++++++++++++++++--------- 2 files changed, 61 insertions(+), 14 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index bc909f5..3451647 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -14,6 +14,12 @@ The format is based on [wiki](https://github.com/raandree/NTFSSecurity/wiki), generated from the `Docs` folder after every change, with a sidebar that lists all cmdlets +### Changed + +- Complete the version history with the release dates from the PowerShell + Gallery, notes for 4.2.2, detailed notes for 4.2.4, and separate notes for + 4.2.5 and 4.2.6 + ## [5.0.0] - 2026-10-04 ### Changed diff --git a/Docs/Version-History.md b/Docs/Version-History.md index 6f8ea40..cbbd40c 100644 --- a/Docs/Version-History.md +++ b/Docs/Version-History.md @@ -4,32 +4,73 @@ This page lists the changes in NTFSSecurity 4.2.6 and earlier. It replaces the hand-written version history that the GitHub wiki kept until 2018. For the changes since 4.2.6, see the [changelog](../CHANGELOG.md). -## 4.2.5 and 4.2.6 +Dates are the days on which the PowerShell Gallery published a version. +Versions without a date were released only on CodePlex, and their release +dates are lost. The notes for 4.2.2 and later also draw on a comparison of +the packages in the PowerShell Gallery and on the commit history. -The PowerShell Gallery published 4.2.5 on 2019-07-11 and 4.2.6 on -2019-07-12. The wiki listed no changes for these versions, so this list is -reconstructed from the commit history. +## 4.2.6 - 2019-07-12 -- Removed `Show-NTFSSimpleAccess`, which used Windows Forms, for - compatibility with PowerShell Core. -- Fixed parameter alias definitions that made importing the module fail, - for example in Service Management Automation +- Fixed the `Applies to` column in the output of `Get-NTFSAccess` + ([#57](https://github.com/raandree/NTFSSecurity/pull/57)). + +## 4.2.5 - 2019-07-11 + +- Removed `Show-SimpleAccess`, which used Windows Forms, for compatibility + with PowerShell Core. It had not been available since 4.2.2. +- Fixed the aliases `IdentityReference` and `ID` of the `-Account` + parameter, whose definition made importing the module fail, for example + in Service Management Automation ([#18](https://github.com/raandree/NTFSSecurity/issues/18), [#36](https://github.com/raandree/NTFSSecurity/issues/36)). - Fixed the `ToSimpleFileSystemAccessRule2` method of the access entries that `Get-NTFSAccess` returns ([#48](https://github.com/raandree/NTFSSecurity/issues/48)). -- Fixed the `ApplyTo` column in the output of `Get-NTFSAccess`. +- Known issue: the `Applies to` column in the output of `Get-NTFSAccess` + shows the inheritance flags instead of the scope, such as + `ThisFolderSubfoldersAndFiles`. 4.2.6 fixes it. + +## 4.2.4 - 2018-08-13 + +- `Get-ChildItem2` adds a `HardLinkCount` property to each file. The new + module setting `IdentifyHardLinks` turns it off. +- The objects that `Get-NTFSOwner` returns have the properties `FullName` + and `Account`, so you can pipe them into `Set-NTFSOwner` + ([#31](https://github.com/raandree/NTFSSecurity/issues/31)). +- `Copy-Item2 -Force` and `Move-Item2 -Force` replace an existing file + instead of failing. +- Updated AlphaFS, the library for long paths, to 2.2.1. - Added the MIT license. +- Fixed `Get-NTFSSimpleAccess -ExcludeInherited`, which returned inherited + permissions ([#12](https://github.com/raandree/NTFSSecurity/issues/12)). +- Fixed `-PassThru` of `Enable-NTFSAccessInheritance`, + `Disable-NTFSAccessInheritance`, `Enable-NTFSAuditInheritance`, and + `Disable-NTFSAuditInheritance` + ([#33](https://github.com/raandree/NTFSSecurity/issues/33)). +- Fixed `Remove-NTFSAudit`, which didn't work + ([#35](https://github.com/raandree/NTFSSecurity/issues/35)). -## 4.2.4 +## 4.2.3 - 2016-05-19 +- Added the cmdlet `Get-FileHash2`. - Bug fixes. -## 4.2.3 +## 4.2.2 - 2016-05-18 -- Added the cmdlet `Get-FileHash2`. -- Bug fixes. +No notes exist for this version. Compared with 4.0, the previous version in +the PowerShell Gallery, it adds the cmdlets of 4.2 and 4.2.1 and these +changes, which no notes mention: + +- Added the cmdlet `Test-Path2`. +- Added the `-PassThur` parameter to `Remove-Item2`, renamed to `-PassThru` + in 5.0.0. +- `Add-NTFSAudit` takes the audit flags in the new `-AuditFlags` parameter + instead of `-AccessType`. +- `Remove-NTFSAudit` has the new parameters `-Path` and + `-SecurityDescriptor`, and its `-Type` parameter is renamed to + `-AuditFlags`, its former alias. +- `Show-SimpleAccess` is no longer available, because the module manifest + lists it as `Show-NTFSSimpleAccess`. ## 4.2.1 @@ -50,7 +91,7 @@ reconstructed from the commit history. entries. The old behavior is still available with the `-RemoveSpecific` switch parameter. -## 4.0 +## 4.0 - 2015-08-19 - The `*-NTFSAccess` cmdlets can now work on security descriptors to allow bulk processes.