Repository navigation
Releases
PowerShellUniversal.Component.Pivot 0.10.1
Fixed
Invoke-UDPivotReport -Engine Restwithout-OutFilereturns abyte[]again, as with
-Engine Node. Since 0.9.0 it returned anobject[]of single bytes:[string]of it gave the
byte values joined by spaces, so an HTML report shown in a page read60 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
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 Noderenders whenPSU_COMPONENT_PIVOT_SCHEMA_URLis a path. The
temporary view file leaves$schemaout; 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-UDPivotViewFileends 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,234or1.500reads 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.
-Labelsno longer uses the keysettingsShort. Remove it if you set it. The
pivotkit changelogs list all changes.
- A loaded CSV or Excel file with numbers such as
- 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 httpsPSU_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, setPSU_COMPONENT_PIVOT_SCHEMA_URLto 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.csand its helpers one function per file. The rows it returns are unchanged.- The module's code is one function per file in
Public/andPrivate/; the.psm1only 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-UDPivotTemplateStoreshows 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
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 withInvoke-UDPivotReport -Engine Node. They need pivotkit's command
line on the server;New-UDPivotShowcase -PivotkitPathnames 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 $AccessTokenfor the signed-in
person, set up withNew-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
andNew-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
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 onlyidandview, 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
Added
Invoke-UDPivotReport -Engine Node -Numbers Full|Shownand-FlatHeader: pivotkit-cli 0.5.0's
--numbersand--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 -Tokenshows the rows of a pivotkit-server source for the signed-in
person, also when a link from pivotkit'screate_linkopens 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,$AccessTokenof 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'slinkParams.-Parametersets them instead. -Viewtakes 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.-Parameteralso 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.
-ErrorActionor-ErrorVariableget the error itself;-ErrorAction Stopthrows it. The new
error ids arePivotRowsNotAllowed,PivotNoDataandPivotServerBusy. - 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.
- PowerShell fetches the rows from the server's rows route (
Get-UDPivotSourcegives each sourceRecords,LinkParams,Views,RowsandDataAsOf, where
the server sends them.PivotServerProblemhasNotShown, the fields of aNOT_ALLOWEDanswer 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, andDOTNET_GCHeapHardLimitper PSU process. - pivotkit 0.9's chart types in views and in
Invoke-UDPivotReport -Layout:combo(bars and lines)
andtreemap. High and low points on a chart,chart.referenceLines.extremes. - pivotkit 0.9's view keys pass
ConvertFrom-UDPivotView, view files,-Templatesand 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'sconditional.colors.
The check refuses afieldLabelsthat 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-otherfor 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 (
stackedTotalfor-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.
- Chart settings offers Bars and lines and Treemap, and High and low points under
-OnCellClickfor 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-UDPivotViewtakesdisplayin 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 withdisplay = 'both'in a view folder or store with a warning, refuses it in-Viewand
-Templates, and dropsfieldLabels. 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-axiswhere an app sets it, also when it sets
--psu-pivot-borderfor the report's other lines. Invoke-UDPivotReport -Engine Nodenames Node 24 or later for pivotkit-cli 0.5.0 and later
(Node 22 for pivotkit-cli 0.4 and older).
Fixed
-ErrorVariableholds 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 SilentlyContinueorIgnore, a command of the module went on after its own
error:Invoke-UDPivotReportwithout a command line still tried to run it, and
ConvertFrom-UDPivotViewreturned a result for a view it had refused. Such an error now stops the
command with every-ErrorAction. Catch it withtryandcatch
(#153). New-UDPivotReport -Tipsrefuses an id pivotkit does not know, and names the ones it knows. A wrong
id or a notice id such asfilterEmptywent 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
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 fromshared/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
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
Added
Get-UDPivotSourcelists the sources of a pivotkit-server that the caller may use (GET /sources),
with the same sign-in parameters asInvoke-UDPivotReport -Engine Rest
(#141).- Each source has its id, title, description, kind, parameters and whether links and schedules
work for it. DataMaxBytessays how large a request with-Datathe caller may send.- An empty list writes the server's reason to the warning stream.
- Each source has its id, title, description, kind, parameters and whether links and schedules
Invoke-UDPivotReport -AsLinkreturns a link to the report that expires, instead of the file
(#141).- The server keeps the report (
POST /views/renderwithsave: true). - The result has
Url,ExpiresAt,Rows,RequestId,Format,FileName,Bound,
DataAsOfandMessage. - Where the server gives no link, the new error id
PivotNoLinksays so plainly, with the
server's reason.
- The server keeps the report (
- The errors of pivotkit-server carry its answer as a record:
$_.TargetObjectis a
PivotServerProblemwithStatus,Code,Title,Detail,RequestId,Retryable,
RetryAfter,TypeandFindings. A page can tell the reader why a call failed by its code
(#141). $_.Exception.DataholdsTitleandDetailtoo. Its other keys and the error ids stay.Invoke-UDPivotReport -Templategives an HTML report of the command line a print template of your
own. It goes with-Format htmland-Engine Node. With-Engine Restthe 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-dateand--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
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.
- The four zones form an even 2×2 grid: Filters and Columns on top, Rows and Values below, in
- 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
Added
-SchemaUrltakes a path on the PSU server, such as/assets/pivot/schema/view-file-2.json. One
value fits every instance, a local one onhttp://localhostincluded
(#138).- The browser writes the path with the page's origin.
- The template stores and
ConvertTo-UDPivotViewFiletake 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 variablePSU_COMPONENT_PIVOT_SCHEMA_URL
of the PSU process. An explicit-SchemaUrlstill wins,''included. - The module ships pivotkit-core's
view-file-1.json,view-file-2.jsonandview-2.jsonin its
schemafolder. They come from the pivotkit-core version the bundle is built from, so a host can
publish the matching copy.
Changed
New-UDPivotReport,ConvertTo-UDPivotViewFileand the template stores check-SchemaUrlthe
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-UDPivotViewFileand the stores took any text
before: anhttp://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'sview-file-1.jsonaddress, 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