github-actions
released this
20 Dec 21:47
·
3 commits
to main
since this release
Major Changes
-
7f90e53: (BREAKING) New scriptable properties
this
and global context.In scriptable property functions:
this
is now a reference to the component itself.- Global variables
self
andclient
have been removed.- These have been replaced with a Perspective specific namespace, accessible through the global
perspective
object. - This object contains a
context
that can be used to access theclientStore
(i.e.perspective.context.client
). -
- This object will be the home of future Perspective specific utilities.
- These have been replaced with a Perspective specific namespace, accessible through the global
-
7f90e53: (BREAKING) Major changes in
toUserScript
parsing.- Strict mode is now enabled.
- Function body now follows standard arrow function syntax. If the body of the arrow function is a block (contained within brackets {...}) then the body MUST use the return keyword. If the body of the arrow function is not a block (like
() => 1 + 2
) then the body MUST NOT use the return keyword.
Minor Changes
-
7f90e53: (Feature) Added
component.getJavaScriptProxy(property)
component function.
This function allows you to access a JavaScriptProxy object by property name, then run client-side JavaScript against it.
Current proxy-able properties:chart
: Chart.js chart instance.
Example:
# Component Event chart = self.getJavaScriptProxy('chart') chart.runAsync("() => this.resetZoom('resize')")
-
7f90e53: (Chart.js) Update
chartjs-zoom-plugin
to 2.2.0
Patch Changes
- 7f90e53: (Dependencies) Update
chartjs-chart-funnel
to4.2.4
(Dependencies) Updatechartjs-chart-geo
to4.3.4
(Dependencies) Updatechartjs-chart-graph
to4.3.4
(Dependencies) Fixchartjs-chart-matrix
to2.0.1
(Dependencies) Updatechartjs-chart-pcp
to4.3.4
(Dependencies) Updatechartjs-chart-sankey
to0.13.0
(Dependencies) Updatechartjs-chart-treemap
to3.1.0
(Dependencies) Updatechartjs-chart-venn
to4.3.5
(Dependencies) Updatechartjs-chart-wordcloud
to4.4.4
(Dependencies) Updatechartjs-plugin-annotation
to3.1.0
(Dependencies) Updatechartjs-plugin-autocolors
to0.3.1
(Dependencies) Fixchartjs-plugin-crosshair
to2.0.0
(Dependencies) Fixchartjs-plugin-datalabels
to2.2.0
(Dependencies) Fixchartjs-plugin-gradient
to0.6.1
(Dependencies) Updatechartjs-plugin-hierarchical
to4.4.4
(Dependencies) Updatechartjs-plugin-stacked100
to1.7.0
(Dependencies) Updatechartjs-plugin-zoom
to2.2.0
- Updated dependencies [7f90e53]
- Updated dependencies [7f90e53]
- Updated dependencies [7f90e53]
- Updated dependencies [7f90e53]
- @embr-jvm/[email protected]
- @embr-jvm/[email protected]
- @embr-jvm/[email protected]
- @embr-jvm/[email protected]
- @embr-jvm/[email protected]
- @embr-modules/[email protected]