Repository navigation
PowerShellUniversal.Component.Pivot 0.7.1
·
49 commits
to main
since this release
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