Releases: Yevrag35/PowerShell-ListFunctions
Releases · Yevrag35/PowerShell-ListFunctions
v2.0.0 Release of ListFunctions
Overhaul of all of the cmdlets and moved to a binary module for performance improvement.
What's Changed
Full Changelog: v1.2.0...v2.0.0
v1.2.0 Release of ListFunctions
The CSharp code that was used for creating the comparing and equality checking logic has been compiled into its own engine. Just makes it easier.
- New Function - New-SortedSet
Changes
- When New-HashSet's generic type is
[string]
, the default comparer is case-insensitive. Case-sensitivity can retained by specifying the '-CaseSensitive' switch. - Assert-Any & Assert-All functions were rewritten to perform better. Instead of enumerating the entire collection(s), the check can return as soon as a check fails to validate.
- BREAKING -
$args[0]
&$args[1]
have been removed as valid variables within scriptblocks. ScriptBlocks must use$x
&$y
now where 2 objects are being compared.
Full Changelog: v1.1...v1.2.0
v1.1 Release of ListFunctions
Introduces 2 new functions:
- New-List
- An easier way to create a 'System.Collections.Generic.List<T>' in PowerShell
- New-HashSet
- An easier way to create a 'System.Collections.Generic.HashSet<T>' in PowerShell (MSDocs)
- Complete with a method for customizing equality checking using
[scriptblock]