Skip to content

Releases: santisq/PSParallelPipeline

v1.1.5

05 Apr 18:24

Choose a tag to compare

What's Changed

  • Add support for member accessing on using: statements by @santisq in #21

This release adds support to properly handle property and index accessing on using: statements. v1.1.4 added support for index accessing however accessing of properties was not working properly. This release fixes that, including nested accessing. Example:

$test = @{
    foo = @{
        bar = [pscustomobject]@{ baz = 0..10 }
    }
}

1 | Invoke-Parallel { $using:test['foo']['bar'].baz[5] } # Outputs: 5

Full Changelog: v1.1.4...v1.1.5

v1.1.4

25 Jan 20:34

Choose a tag to compare

What's Changed

  • Fixes indexing on $using: statements by @santisq in #18

    This update allows proper index on $using: statements, for example:

    $arr = 0..10; $hash = @{ foo = 'bar' }
    1 | Invoke-Parallel { $using:hash['foo'] + ' ' + $using:arr[5] + $_ }
    
    # Outputs:
    # bar 51

    In previoues version this would fail with:

    Invoke-Parallel: Exception calling "GetValue" with "1" argument(s): "Cannot process argument because the value of argument "path" is not valid. Change the value of the "path" argument and run the operation again."

    Thanks to @jborean93 for catching and helping fixing this bug.

Full Changelog: v1.1.3...v1.1.4

v1.1.3

04 Aug 19:46
46c9d32

Choose a tag to compare

What's Changed

  • Added check to validate if a scriptblock is being passed to the parallel scope either through using: scope modifier or -Varables parameter. In both cases there will be a terminating error.
  • Added pester tests.

Full Changelog: v.1.1.2...v1.1.3

v.1.1.2

28 Jun 01:24
1da5fd5

Choose a tag to compare

What's Changed

  • Added Pester tests.
  • Few code improvements.
  • Added build script and improved CI pipeline.
  • Updated docs and readme.

Full Changelog: v1.1.1...v.1.1.2

v1.1.1

18 Apr 17:59

Choose a tag to compare

What's Changed

Updated ValidateRange attribute declaration of -ThrottleLimit parameter to have a max value of 63. This is due to a limitation of WaitHandle.WaitAny Method allowing a maximum of 63 concurrent handles on STA State. Previously -ThrottleLimit would allow a maximum of int.MaxValue threads.

Full Changelog: v1.1.0...v1.1.1

v1.1.0

12 Mar 16:14
60efa8d

Choose a tag to compare

What's Changed

Invoke-Parallel no longer uses a RunspacePool, now uses a custom class to manage parallel invocations.

  • Added parameter -UseNewRunspace.
  • Added parameter -TimeoutSeconds.
  • Removed parameter -ThreadOptions. The function no longer uses a RunspacePool, no reason to have it.

Full Changelog: v1.0.3...v1.1.0

v1.0.3

02 Jan 17:36
70c2c01

Choose a tag to compare

What's Changed

  • Change $ExecutionContext for $PSCmdlet on $using: statements by @santisq in #6

Full Changelog: v1.0.2...v1.0.3

v1.0.2

02 Jan 14:54
4a6b473

Choose a tag to compare

What's Changed

  • $using statements require lower case by @santisq in #4

Full Changelog: v1.0.1...v1.0.2

v1.0.1

01 Nov 00:26
da248e5

Choose a tag to compare

What's Changed

  • Fixing minor bug with $usingParams logic
  • Changing -ArgumentList to -Variables
  • Updating README
  • Adding Workflow for future releases

New Contributors

Full Changelog: v1.0.0...v1.0.1

v1.0.0

31 Oct 23:18

Choose a tag to compare

initial commit