Skip to content

PowerShellUniversal.Component.Pivot 0.8.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 15:41
· 47 commits to main since this release
b86a673

Added

  • Get-UDPivotSource lists the sources of a pivotkit-server that the caller may use (GET /sources),
    with the same sign-in parameters as Invoke-UDPivotReport -Engine Rest
    (#141).
    • Each source has its id, title, description, kind, parameters and whether links and schedules
      work for it.
    • DataMaxBytes says how large a request with -Data the caller may send.
    • An empty list writes the server's reason to the warning stream.
  • Invoke-UDPivotReport -AsLink returns a link to the report that expires, instead of the file
    (#141).
    • The server keeps the report (POST /views/render with save: true).
    • The result has Url, ExpiresAt, Rows, RequestId, Format, FileName, Bound,
      DataAsOf and Message.
    • Where the server gives no link, the new error id PivotNoLink says so plainly, with the
      server's reason.
  • The errors of pivotkit-server carry its answer as a record: $_.TargetObject is a
    PivotServerProblem with Status, Code, Title, Detail, RequestId, Retryable,
    RetryAfter, Type and Findings. A page can tell the reader why a call failed by its code
    (#141).
  • $_.Exception.Data holds Title and Detail too. Its other keys and the error ids stay.
  • Invoke-UDPivotReport -Template gives an HTML report of the command line a print template of your
    own. It goes with -Format html and -Engine Node. With -Engine Rest the server's source decides
    the template, so the function refuses it there
    (#140).
  • Theme properties for the field type colours: --psu-pivot-type-string, --psu-pivot-type-number,
    --psu-pivot-type-date and --psu-pivot-type-boolean. Without them the colours stay pivotkit's
    (#137).
  • Theme properties for the tabs and buttons of pivotkit-react 0.8.1: --psu-pivot-tab-*,
    --psu-pivot-icon-button-*, --psu-pivot-button-border* and --psu-pivot-primary-*. Without them
    the parts follow the report's colours as before. A primary button's hover follows its own fill
    (#137).

Changed

  • The docs give both zone heights, measured on PSU: about 150 pixels in the 2×2 grid, about 390
    pixels in one column.
    The showcase screenshots show pivotkit 0.8's toolbar and zones
    (#143).

In the PowerShell Gallery: https://www.powershellgallery.com/packages/PowerShellUniversal.Component.Pivot/0.8.0