Releases: Yevrag35/PowerShell-ListFunctions
Releases · Yevrag35/PowerShell-ListFunctions
Release v3.1.0
v3.0.0 of ListFunctions
What's Changed
Highlights
- Major refactor for performance and maintainability.
- PowerShell module now uses ZLinq (PowerShell 7) for faster list/query operations.
- Consolidated assertion cmdlets under a shared base for better null/empty handling and code reuse.
- Target frameworks and dependencies updated across .NET projects.
- New cmdlet:
ConvertTo-Dictionary.
Breaking Changes
- Removed: MG.Collections.dll and related resource files from the module.
- Exported cmdlets updated: the set of exported cmdlets has changed; review script imports if you referenced removed/renamed commands.
- Assertion semantics: AssertAllObjects* and AssertAnyObject* now share a common base with stricter and more consistent handling of null/empty inputs and enhanced parameter validation. Scripts relying on previous edge-case behavior may need adjustments.
Build/runtime baselines:
- System.Management.Automation updated to 7.5.2 (align with PowerShell 7.5.x on developer/build agents).
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&$ynow 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]