Release Notes
1.4.0 (Feb-2023)
Breaking Changes
- Category Charts have a new look & feel. The old L&F is deprecated but if needed for whatever reason, they're can be restored by doing
revealSdkSettings.enableNewCharts = false
. - Subtitles for Data Source Items are no longer autogenerated. Only the Subtitle property is considered.
New Features
All Platforms
- New API
onFieldsInitializing
that makes it possible to customize the list of fields shown in the visualization editor, by removing, renaming or reordering fields. Usage example:
revealView.onFieldsInitializing = function (args) {
args.fields = args.fields.filter(f => !["Avg.CPC", "Avg. CPC"].some(e => e == f.name));
};
- BigQuery, Snowflake and Athena now support the
CustomQuery
property - Snowflake - Allow setting
Warehouse
property from sdk
Node
- (Beta) Headless Export for node.js SDK. Currently, it only works on the Windows platform.
RVHeadersDataSourceCredentials
now available for Node.js SDK.
Bug Fixes
All Platforms
- When trying to join a third dataset the app freezes
- Using a RVDashboardDataSource causes a crash when the Id property is not set (Web only)
- Inconsistent time part for dates sent in the range parameter of onDateFilterChanged
- Inconsistent day shown in the global filter range selector, when using 'Today' or 'Yesterday' two different days were displayed.
- Data blending editor doesn't show the field used for joining when that field comes from a previous data blending.
- The Athena DataSourceItem errors out unless you specify the Database property on the Client (Web only)
- RVSnowflakeDataSourceItem Does Not Work
ASP.NET
- Headless export fails if DocumentExportOptions is used.
Java
- "Fail to retrieve row count for first arrow chunk" error in Snowflake (Java only)
1.3.1 (Jan-2023)
BREAKING CHANGES
ASP.NET
- The
Reveal.Sdk.Web.AspNetCore.Trial
nuget package has been deprecated and is no longer updated. - The new
Reveal.Sdk.AspNetCore
nuget package is now available on nuget.org, and will work as both a Trial and Licensed version. To unlock the Trial, set the license key in the SDK. - The license key is now set in the initialization parameters of the Reveal SDK (previously, this was done in the installer). Here's how to set it:
services
.AddMvc()
.AddReveal(builder =>
{
builder
.AddSettings(settings =>
{
settings.License = "XYZ123";
});
});
Node
- Renamed
RVUserNamePasswordDataSourceCredential
toRVUsernamePasswordDataSourceCredential
. Changed the uppercase "N" to lowercase "n".
Bug Fixes
All Platforms
- Several improvements to headless export:
- Improved API.
- Visualization using Maps now show correctly.
- Decreased memory footprint when running.
- Fixed issue where a missing title in the dashboard would make the export fail.
- Fixed issue: when creating a REST datasource using parameters. If the back button was pressed, values were already populated but they were not really applied.
- Fixed issue: Dashboard filter list of available values was always refreshed when opening a dashboard, no matter what expiration setting was set.
- Fixed issue: Dashboard filter expiration value was not saved.
- Fixed issue: Dashboard horizontal filter lost when maximizing and then restoring.
- Fixed issue: the kebab menu in the dashboard view was not reachable using the keyboard (tab).
- Fixed issue: Dashboard linking stops working after selecting a dashboard filter in the linked visualization.
- Fixed issue: Wrong value shown for Scatter Map mouseover tooltip.
- Fixed issue: Cancelling the MenuOpening event didn't really cancel.
- Fixed issue: In ChangeDataSourceItemAsync method, the userContext parameter was coming with null value.
Java
- Fixed issue: "Login failed due to client TLS version..." error when connecting to mssql in Azure.
- Fixed issue: Could not add Google Analytics 4 interactively.
1.3.0 (Nov-2022)
New Features
- Export dashboards from the backend:
- ASP.NET
- Java
var pdfStream = await dashboardExporter.ExportToPdf(dashboardId);
RevealEngineLocator.dashboardExporter.exportToPdf(dashboardId, new ExportStreamCallback() {
@Override
public void onSuccess(InputStream stream) {
// result PDF to be read from the stream parameter
}
@Override
public void onFailure(Exception e) {
// the export failed :(
}
});
- New Data Source: Google Analytics 4.
- Interactive Dashboard Filtering: Filter all visualizations using the same data source by clicking on a chart or pivot table data point. Enable with:
revealView.interactiveFilteringEnabled = true
. - Methods containing a callback now include an additional signature allowing for promise method handling:
$.ig.RevealUtility.loadDashboard(dashboardId).then(dashboard => {
revealView.dashboard = dashboard;
});
If using async/await:
let dashboard = await $.ig.RevealUtility.loadDashboard(dashboardId);
revealView.dashboard = dashboard;
- Manually loading of default fonts using the
ensureFontsLoadedAsync
method from$.ig.revealSdkSettings
is no longer required. - New function 'DateDiff' for calculated fields.
Bug Fixes
All Platforms
- Fix error when filtering boolean values in Postgres & Redshift ("operator does not exist")
- Fix localization not working when the locale contains an hyphen
- Fix for
IRVDataSourceProvider.ChangeDataSourceItem
not invoked when creating a new visualization from a REST data source. - Removed new http header 'XRID' that was accidentally added in v1.2.3 and was causing issues with CORS.
Java
- sdk-ext: updated commons-text library.
- Fix for very slow response times when processing some Excel files.