Skip to content

v1.1.4

Compare
Choose a tag to compare
@santisq santisq released this 25 Jan 20:34
· 139 commits to main since this release

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