Skip to content

Releases

PowerShellUniversal.Component.Pivot 0.10.1

Choose a tag to compare

@github-actions github-actions released this 25 Nov 13:32
514321f

Fixed

  • Invoke-UDPivotReport -Engine Rest without -OutFile returns a byte[] again, as with
    -Engine Node. Since 0.9.0 it returned an object[] of single bytes: [string] of it gave the
    byte values joined by spaces, so an HTML report shown in a page read 60 33 100 ...
    (#204). Large answers and
    requests no longer pass through PowerShell's pipeline byte by byte.

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

PowerShellUniversal.Component.Pivot 0.10.0

Choose a tag to compare

@github-actions github-actions released this 25 Nov 08:13
1099af8

Fixed

  • A store error of the server, such as a folder it cannot write, no longer shows the server's path to
    the reader. Only the module's own refusals (a name, a limit, a busy store, rights) and a text that
    the app's store throws reach the browser. Any other error goes to the app's log as a warning, and
    the reader reads "The server could not change the views."
  • Invoke-UDPivotReport -Engine Node renders when PSU_COMPONENT_PIVOT_SCHEMA_URL is a path. The
    temporary view file leaves $schema out; before, the path stopped every render from a schedule.
  • A time without an offset in a pivotkit-server answer is read as UTC, as documented, not as the
    server's local time.
  • ConvertTo-UDPivotViewFile ends the file with a newline, as its help says.
  • A field or column name with $ shows as written in the notices above the report; $& and similar
    patterns were replaced.
  • A description cut at its limit no longer ends in half of an emoji or another character outside the
    Basic Multilingual Plane.

Changed

  • pivotkit-core 0.10.0, pivotkit-react 0.10.0, pivotkit-report 0.6.0 and pivotkit-xlsx 0.7.0, all
    pinned. What readers see:
    • A loaded CSV or Excel file with numbers such as 1,234 or 1.500 reads them in the notation
      of the report's locale and says so in a note. Check such a column after the update.
    • On a phone, the settings button shows its icon only, and table headers wrap between words.
    • A menu that a low window cuts off fades out at its end.
      -Labels no longer uses the key settingsShort. Remove it if you set it. The
      pivotkit changelogs list all changes.
  • A shared view of a template store takes no origin from the request's headers for a -SchemaUrl
    path. It takes the origin of an https PSU_COMPONENT_PIVOT_SCHEMA_URL, else it names pivotkit's
    schema address. This affects you when you publish shared views with a path and no https default:
    to keep your own address in them, set PSU_COMPONENT_PIVOT_SCHEMA_URL to it. A view a reader saves
    for themselves keeps the origin of the request.
  • ConvertTo-PSUComponentData, the data conversion all modules share, keeps its C# converter in
    RowConverter.cs and its helpers one function per file. The rows it returns are unchanged.
  • The module's code is one function per file in Public/ and Private/; the .psm1 only loads them.
    Commands, parameters, help and output are unchanged
    (#163). The settings files in
    Private/Settings/ load in the order of their names on every file system.
  • The help of New-UDPivotTemplateStore shows a store you can run: one file per view in a folder.

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

PowerShellUniversal.Component.Pivot.Demo 0.6.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 14:26
3a43113

Added

  • The page "Report as a file": the buttons Download Excel workbook and Download HTML report make a file of the
    reader's view on the PSU server with Invoke-UDPivotReport -Engine Node. They need pivotkit's command
    line on the server; New-UDPivotShowcase -PivotkitPath names it when it is not on the PATH. Without
    it the page says what to install, and its report still works.
  • The page "Rows from a server": New-UDPivotReport -Uri -Source -Token $AccessToken for the signed-in
    person, set up with New-UDPivotShowcase -ServerUri -ServerSource. Without them, or without a token,
    the page says what it needs and shows no report.
  • The ticket showcase has the page Charts: the menu on a bar (Show the rows, Only, Without), a
    treemap, and a donut that puts its smallest slices into one slice "Other". Its views folder carries
    the view file "Hours to close per group (table and chart)".
  • Weather has the views "Which city is the warmest in July?" (rows sorted by one column) and "Rain and
    sunshine per month (bars and lines)" (a combo chart with field names of the report's own).

Changed

  • Requires PowerShellUniversal.Component.Pivot 0.9.0 or later (pivotkit 0.9.0): the pages use
    display = 'both', combo, treemap, the high and low points, fieldLabels, a sort by one column
    and New-UDPivotReport -Uri.
  • Weather is the first page, with the field list folded. Its start view shows the table and the chart side by side: the mean
    temperature per month as a colour scale from blue to orange and as lines, with each city's warmest and
    coldest month marked.

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

PowerShellUniversal.Component.Pivot 0.9.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 13:43
57a86de

Added

  • The showcase's Events page has a button that reads the report's view with Get-UDElement.

Fixed

  • Get-UDElement -Id <report id> returns the reader's current view as .view, as documented.
    It returned the string "null" on PSU 2026.2 and 2026.3. It now returns only id and view, not
    the rows (#158).

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

PowerShellUniversal.Component.Pivot 0.9.0

Choose a tag to compare

@github-actions github-actions released this 22 Nov 12:33
d9b8ca2

Added

  • Invoke-UDPivotReport -Engine Node -Numbers Full|Shown and -FlatHeader: pivotkit-cli 0.5.0's
    --numbers and --flat-header. CSV and JSON numbers rounded to the decimals the view shows, and a
    CSV file with one header row
    (#153).
  • New-UDPivotReport -Uri -Source -Token shows the rows of a pivotkit-server source for the signed-in
    person, also when a link from pivotkit's create_link opens the page
    (#144,
    rows from a server).
    • PowerShell fetches the rows from the server's rows route (POST /sources/records) with the
      person's token, $AccessToken of PSU's OpenID Connect sign-in. The browser makes no request to
      the server, and the token never reaches it.
    • The server's answer goes to the report as JSON text, never as PowerShell objects. The report
      parses it in the browser.
    • A link's parameters come from the page's query string ($Query, or -Query), only those the
      server lists in the source's linkParams. -Parameter sets them instead.
    • -View takes the name of a view the server publishes for the source: only the fields it uses
      leave the server.
    • -MaxBytes (default 32 MB, at most 64 MB) caps the answer. The module reads it in pieces and
      stops past the cap.
    • -Parameter also binds as -Params, the name of the issue.
    • When the server refuses, the report tells the reader in plain words, in English or German. The
      operator's message with a fixed error id goes to the warning stream, the app's log.
      -ErrorAction or -ErrorVariable get the error itself; -ErrorAction Stop throws it. The new
      error ids are PivotRowsNotAllowed, PivotNoData and PivotServerBusy.
    • A page without a token asks the reader to sign in, and a token without the server's scope says
      the service is not set up for the sign-in.
    • A link's view that needs a field the server held back says which field above the report.
  • Get-UDPivotSource gives each source Records, LinkParams, Views, Rows and DataAsOf, where
    the server sends them.
  • PivotServerProblem has NotShown, the fields of a NOT_ALLOWED answer of the rows route.
  • The docs list the module's own network requests next to pivotkit's
    (#146,
    network requests).
  • A sizing section: what the rows of a server take in the browser, the PowerShell process and PSU's
    server process, measured on PSU 2026.2.5 and 2026.3.4, and DOTNET_GCHeapHardLimit per PSU process.
  • pivotkit 0.9's chart types in views and in Invoke-UDPivotReport -Layout: combo (bars and lines)
    and treemap. High and low points on a chart, chart.referenceLines.extremes.
  • pivotkit 0.9's view keys pass ConvertFrom-UDPivotView, view files, -Templates and the template
    stores: fieldLabels (a field's name of the report's own), display = 'both' (the table and the chart
    side by side), sort[].column (rows sorted by one column) and a colour scale's conditional.colors.
    The check refuses a fieldLabels that is no object of field names with a text of 1 to 256
    characters each.
  • Theme properties --psu-pivot-chart-axis (falls back to --psu-chart-axis) for the chart's axis
    line, and --psu-pivot-chart-other for a pie's slice "Other (n)". Without it the slice takes
    pivotkit's colours: the muted text in the light theme, a grey in the dark.

Changed

  • pivotkit-core 0.9.0, pivotkit-react 0.9.0, pivotkit-report 0.5.0 and pivotkit-xlsx 0.6.0, all pinned.
    What readers see:
    • Chart settings offers Bars and lines and Treemap, and High and low points under
      Reference lines.
    • A pie or donut without a legend puts its smallest slices into one grey slice "Other (n)" when
      their labels have no room.
    • The messages about a loaded view no longer name pivotkit.
    • A click on a bar, a point or a heatmap cell opens a menu at it: Show the rows, Only … and
      Without …. A double click opens the rows at once.
    • Name in the menu of a field in Rows, Columns or Filters, a tab Both for the table and the
      chart side by side, Colours for a colour scale, a click on a column's name sorts by that
      column, and a date in Filters can be grouped.
    • A tip on stacked bars of a value that does not add up (stackedTotal for -Tips).
    • On a touch screen every button and menu row is at least 44 by 44 pixels.
    • The German texts and the tips are part of the module's one bundle, as before: PSU loads no
      new file.
  • -OnCellClick for a chart point runs at Show the rows in the point's menu or at a double click,
    no longer at the first click. The docs of the event say so.
  • ConvertFrom-UDPivotView takes display in lower case only, as pivotkit writes it: 'Table' is
    refused.
  • The bundle is about 1.8 MB, 550 KB with gzip.
  • Views with the new keys need this version on every PSU server that reads them. Module 0.8 skips a
    view with display = 'both' in a view folder or store with a warning, refuses it in -View and
    -Templates, and drops fieldLabels. Update every server that shares
    a template store or a view folder before readers save such views.
  • The chart's axis line takes --psu-chart-axis where an app sets it, also when it sets
    --psu-pivot-border for the report's other lines.
  • Invoke-UDPivotReport -Engine Node names Node 24 or later for pivotkit-cli 0.5.0 and later
    (Node 22 for pivotkit-cli 0.4 and older).

Fixed

  • -ErrorVariable holds the error that stops a command, once. It also held each step the error took
    through the module, often eight records or more. With -ErrorVariable +name, the entries you had
    before stay. This holds for every command of the module
    (#153).
  • With -ErrorAction SilentlyContinue or Ignore, a command of the module went on after its own
    error: Invoke-UDPivotReport without a command line still tried to run it, and
    ConvertFrom-UDPivotView returned a result for a view it had refused. Such an error now stops the
    command with every -ErrorAction. Catch it with try and catch
    (#153).
  • New-UDPivotReport -Tips refuses an id pivotkit does not know, and names the ones it knows. A wrong
    id or a notice id such as filterEmpty went to pivotkit, which ignored it. An id in other case, such as
    Values, now reaches pivotkit in its spelling
    (#154).
  • The views page lists the chart settings in a table of their own
    (#154).

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

PowerShellUniversal.Component.ECharts 0.3.1

Choose a tag to compare

@github-actions github-actions released this 23 Nov 13:44
57a86de

Fixed

  • Get-UDElement -Id <chart id> returns the last click (.selected), range (.range) and zoom
    (.zoom), as documented. It returned the string "null" on PSU 2026.3.4. It returns only
    these and the id, not the chart's data
    (#159).
    The answer comes from shared/js/elementState.js, new in the repository's shared code.

In the PowerShell Gallery: https://www.powershellgallery.com/packages/PowerShellUniversal.Component.ECharts/0.3.1

PowerShellUniversal.Component.Pivot.Demo 0.5.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 07:08
7ac3089

Added

  • The documentation pages have the example "Chart settings in a view" (a start view with stacked
    bars, a fixed series colour, the average as a reference line and shares in the tooltip, and
    -Zones Folded).

Changed

  • Requires PowerShellUniversal.Component.Pivot 0.7.0 or later (pivotkit 0.8.0): the example above
    uses -Zones, and the ticket showcase's Tickets page keeps the drill-down's Export menu with
    -DrillDownExport.

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

PowerShellUniversal.Component.Pivot 0.8.0

Choose a tag to compare

@github-actions github-actions released this 18 Nov 15:41
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

PowerShellUniversal.Component.Pivot 0.7.2

Choose a tag to compare

@github-actions github-actions released this 18 Nov 14:29
a50d985

Changed

  • pivotkit-react 0.8.1 (release,
    upgrading from 0.8.0).
    pivotkit-core stays at 0.8.0, pivotkit-report at 0.4.0 and pivotkit-xlsx at 0.5.0, all pinned.
    What readers see:
    • The four zones form an even 2×2 grid: Filters and Columns on top, Rows and Values below, in
      equal halves. In a narrow report they stand in one column.
    • Each zone has a frame and is a little taller. Adding a field no longer moves the other zones.
    • The Filters hint is shorter: "Add or drop a field to filter".
    • Folding the field list to its rail gives the zones the freed width.
  • pivotkit 0.8.1 adds theme tokens for the zone frames, the tabs, the icon buttons, the buttons
    and the primary buttons. The module's PSU theme needs no new properties for them: they take PSU's colours from
    the tokens it already sets. The zone frames use the colour of --psu-pivot-border-strong.

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

PowerShellUniversal.Component.Pivot 0.7.1

Choose a tag to compare

@github-actions github-actions released this 18 Nov 12:44
5b60c0e

Added

  • -SchemaUrl takes a path on the PSU server, such as /assets/pivot/schema/view-file-2.json. One
    value fits every instance, a local one on http://localhost included
    (#138).
    • The browser writes the path with the page's origin.
    • The template stores and ConvertTo-UDPivotViewFile take the origin of an https default.
    • Without one, they take the origin of the request (Origin, the page address, Referer). A
      template store uses the request of the save.
    • Without either, they stop with an error.
  • A module-wide default for -SchemaUrl: the environment variable PSU_COMPONENT_PIVOT_SCHEMA_URL
    of the PSU process. An explicit -SchemaUrl still wins, '' included.
  • The module ships pivotkit-core's view-file-1.json, view-file-2.json and view-2.json in its
    schema folder. They come from the pivotkit-core version the bundle is built from, so a host can
    publish the matching copy.

Changed

  • New-UDPivotReport, ConvertTo-UDPivotViewFile and the template stores check -SchemaUrl the
    same way: '', an https address or a path; no spaces, at most 2,000 characters, no user name or
    password. The scheme may be in any case. ConvertTo-UDPivotViewFile and the stores took any text
    before: an http:// address or another value now stops them with an error. The error text is new
    in all of them (#110).
  • An address of your own names the schema of the current format (view file format 2). A file of
    format 1 keeps pivotkit's view-file-1.json address, so it never names the schema of another
    format (#110).
  • An address of your own for a file of format 1 is no longer possible.

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