Skip to content

Releases: Yevrag35/PowerShell-ListFunctions

v2.0.0 Release of ListFunctions

07 Jan 21:41
a0d5c27
Compare
Choose a tag to compare

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

06 May 16:25
Compare
Choose a tag to compare

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

07 Aug 22:08
Compare
Choose a tag to compare

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]