diff --git a/changelog.md b/changelog.md index a8c9453..3b36e48 100644 --- a/changelog.md +++ b/changelog.md @@ -2,6 +2,20 @@ This page contains information about changes to the **PowerBI-visuals-webpack-plugin**. +# 4.4.0 + +* Implemented new `environmentInformation` option with following nested properties: +```js +{ + typescript: string, + node: string, + tools: string, // powerbi-visuals-tools version + flags: "", // flags used to build pbiviz (such as --certification-fix) + os: "" +} +``` +Using this flag will help speed up the certification process and reduce the chances of mistaken rejections. + ## 4.3.1 * Extended audit for network calls diff --git a/package.json b/package.json index 6bbca2d..5be2481 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "powerbi-visuals-webpack-plugin", - "version": "4.3.1", + "version": "4.4.0", "description": "PowerBI Custom Visuals webpack plugin", "main": "src/index.js", "keywords": [ diff --git a/src/index.js b/src/index.js index 575f067..e6a5881 100644 --- a/src/index.js +++ b/src/index.js @@ -76,6 +76,13 @@ class PowerBICustomVisualsWebpackPlugin { compression: 0, // no compression, certificationAudit: false, certificationFix: false, + environmentInformation: { // Helps to complete certification faster + typescript: null, + node: null, + tools: null, + flags: "", + os: "" + } }; this._name = "PowerBICustomVisualsWebpackPlugin"; @@ -341,6 +348,7 @@ class PowerBICustomVisualsWebpackPlugin { js: jsContent, css: cssContent, iconBase64: this.options.iconImage, + environment: btoa(JSON.stringify(this.options.environmentInformation)) }, visualEntryPoint: "", };