This page contains information about changes to the PowerBI Visual Tools (pbiviz).
- Updated to ESLint v9
- Updated to TypeScript v5
--use-default
flag forpbiviz package
andpbiviz lint
commands is deprecated. Recommeded config is used by default
- Fixed subtotal feature check
- Changed path for storing certificates. It allows the certificate to be reused regardless of tools version. New path is
({home directory}/pbiviz-certs)
. - Windows version lower 10 is deprecated.
- Resolve of symlinks is disabled.
- Fixed bug with missing plugins for Eslint.
- New flag
--use-default
forpbiviz package
andpbiviz lint
commands. Use this command to lint files according to recommended lint config.
- Added the node: false option to the webpack plugin to eliminate the use of the potentially dangerous new Function() method, which ensures compatibility with the Node.js runtime.
- Introduced support for *.mjs ECMAScript modules.
- Updated R-based visuals settings.ts file to work properly with the new API
- Updated packages
- New command
pbiviz lint
to run lint check from tools. It'll use eslintrc file from the root of the visual, if there is no such file, recommended one will be used instead.
- Updated packages
- Updated to Typescript 5.0 ⚠
- New flag
--pbiviz-file
to specify path to pbiviz.json file
- Fixed errors output when packaging the visual
- Fixed
RHTML
template render error
- Integrated PAC validation
- Updated crypto import to fix error in old Node versions
- New flag
--skip-api
to skip verifying api version. It might produce different errors in visual, so use it only in some specific cases (ex. installing something during the build process brakes packages managed by monorepo managers). - New flag
--all-locales
to disable optimization using localization loader. It's recommended not to use this flag because all locales take a huge amount of package size. If you need just a few of them follow this guide. In this case, only declared in stringResources locales will be added to your visual package.
- Now option
--install-cert
is command. The new usage ispbiviz install-cert
⚠
- Now option
--install-cert
is command. New usage ispbiviz install-cert
- Fixed bug with the incorrect detection of the installed API version
- Implemented common solution for webpack loaders on different environments
- Fixed broken imports in webpack.config for some cases
- Migrated to TypeScript
- Migrated to eslint
- Fixed vulnerabilities
- Migrated to newest CommanderJS
- Migrated to NodeJS 18.0 ⚠
options
inVisual.constructor()
is optional. It's made to match PowerBI interface and to support strict mode- LocalizationLoader has been moved to
powerbi-visuals-webpack-plugin
- Fixed path to localization loader
- Implemented new flag
--no-stats
to disable statistics files - Fixed vulnerabilities
- Replaced
base64-inline-loader
with webpackasset/inline
- Fixed vulnerabilities
- Updated
powerbi-visuals-webpack-plugin
to 3.2.0
-
Added loader to reduce localizations size. REQUIRES
powerbi-visuals-utils-formattingutils
version 5.1 and higher.Now loader deletes all unused in stringResources folder locales.
-
Fixed vulnerabilities
- Fixed vulnerabilities
- Reverted to stable version
- Removed vulnerabilities
- StringResources (Localizations) are supported in Developer Mode.
- Update
powerbi-visuals-webpack-plugin
to 3.1.0 - Fixed vulnerabilities
Update templates visuals to:
- Support new visuals-api version 5.1.0
- Replace
enumerateObjectInstances
bygetFormattingModel
API - Import and use
powerbi-visuals-utils-formattingmodel
- Updated dependencies, fixed npm audit issues
- Removed polyfills and 'Internet Explorer` browser support
- Removed
--target
option forpbiviz-start
andpbiviz-package
commands
- Fix custom visual package upload to desktop version of PowerBI
- Removed environment logging in this version
- Downgraded "powerbi-visuals-webpack-plugin"
- This release version includes changes from previous betta versions: 3.4.0, 3.4.1, 3.4.2, 3.4.3.
- Updated webpack assets compilation
- Added environment logging for debugging purposes
- Fixed certificate date verification for different regional settings
- Migrated from
request
lib to nodehttps
standard method - Removed
friendly-errors-webpack-plugin
usage - Removed or updated deprecated dependencies
- Fixed vulnerabilities
- Fixed certificate verification for 'non-english' environment
- Removed old API ( 2.6.0 and bellow) templates logic
- Removed
pbiviz-update
method - Removed
--api [version]
flag - Migrated to
webpack-dev-server
v4
- Extended
"powerbi-visuals-api"
usage up to version 3.2.0 and higher
- Fixed certificate issues
- Fixed an issue when previous API version was used for a new package build
- Starting from tools version 3.3.0, it expects usage of "powerbi-visuals-api": ">=3.8.0"
- Added support for CV modal dialog
- Removed npm-force-resolutions package
- Fixed preinstall to prevent instalation failure because of npm-force-resolutions
- Fixed pbiviz.json dependencies option usage
- Fixed LessCompiler for old visuals
- Fixed webpack Node.js polyfill issue in webpack 5+"
- Removed deprecated packages
- Added visuals compatibility with webpack v5
- Removed lodash: _.template, ._findindex, .difference
- Packages update
- Webpack plugin update
- npm audit package-lock patch
- Fix output library name for debug mode
- Command package rolling back to fix issues with some commands running
- Packages update. Fixed #304
- Packages update: Uglify-js is replaced by Terser
- Fix loading the old visual projects
- Fix loading old
formattingutils
in the old visual projects.
- Update
powerbi-visuals-webpack-plugin
to 2.2.1
- Fix vscode workspace settings template
- Fix certificate tool error handling
- Fix webpack configureation include regex
- Templates update
- Templates update
- Packages update
- Remove
@babel/polyfill
- Replace
webpack-visualizer-plugin
bywebpack-bundle-analyzer
- Add extensions for .svg.eot files to
base64-inline-loader
configuration - Exclude
code-js
package to process by Babel - Include
@babel/plugin-syntax-dynamic-import
plugin for Babel - Update
core-js
package to version 3.x.x.
- Add
base64-inline-loader
to load images
- Release. Now Webpack is default builder for Custom Visuals.
- What’s new in powerbi-visuals-tools v3?
- TypeScript v3.0.1 by default
- ES6 Modules supported
- New versions of D3v5 and other external libraries are supported
- Reduced package size
- Improved API performance
- For the full details please check this article.
- Added Analytics Pane support Note: API v2.4.0 skipped as it does not include any public changes
- custom visuals now support a landing page
- Update package-lock.json to fix vulnerabilities
- Deprecated
applySelectionFilter
fromISelectionManager
- Compression option for compressing visual package
- Fix launch webpack build triggering
- Update powerbi-visuals-webpack-plugin to 2.1.0
- Add support to import .css and.less files
- Fix reloading capabilities.json
- Resolve issue of starting dev server after copy certs from global instance
- Serve old visual project by nodejs server instead webpack dev server
- Resolve dev server certificates from global instance of pbiviz.
- Replace VisualServer.js by webpack-dev-server
- Set
sourceType
to "unambiguous" for babel configuration
- Update powerbi-visuals-webpack-plugin to 2.0.0
- Remove minification by babel (remove
babel-preset-minify
package).
- Update powerbi-visuals-webpack-plugin to 1.0.15
- Install the latest patch of
powerbi-visuals-api
- The
pbiviz.json
values of visual templates overrides global template values - Remove unnecessary
setApiVersion
andupdateApi
fromVisualGenerator
- Fix including styles into visual package
- Update powerbi-visuals-plugin to version 1.0.13
- Prevent using define function in context of module
- Update powerbi-visuals-plugin to version 1.0.11
- Update powerbi-visuals-plugin to version 1.0.10
- Remove jasmine-node package
- Tools observe changes in
pbiviz.json
andcapabilities.json
files and rebuild the visual. webpack-visualizer-plugin
replaced bywebpack-bundle-analyzer
to visualize the webpack bundle stats.
- Webpack based tools
- Skip precompilation for the visual with ES6 modules
- Update package.json. Fix package installation
- TypeScript external modules support
- Generate certificates on development server starts
- Resolve PowerShell params issue on Win8.
- Resolve PowerShell script launching issue.
- Check certificate path in
--install-cert
command.
- Added
selectionManager.registerOnSelectCallback()
method for Report Bookmarks support
- Added
pbiviz --create-cert
for generating new unique certificate
- Increase typescript to 2.3.3 version
- Added ILocalizationManager
- Upgrade dependencies
- Added Authentication API call support
- Added launchUrl API call support
- FIX: Localization schema will be ignored if API doesn't support localization
- Added new type "fillRule" (gradient) support in capabilities schema
- Added "rule" property support in capabilities schema for object properties
- Fixed sub commands help output in "Using:" section
- Return innerHTML method for RHTML visual sample
- Remove innerHTML method from sample visual
- Added RESJSON support
- Add name validation to pbiviz new command, restrict usage of symbols in the file visual name.
- Added visual name validation
- Added auto-install npm dependencies
- Updated npm dependencies
- Fixed settings generation
- Fix issue in Capabilities.objects does not support "text" type
- Add
pbiviz update
to support updating visual API type definitions and schema - Add
--api-version
flag topbiviz new
to support creating visuals with a specific api version - Add support for alpha release of API v1.2.0
Initial public release