Skip to content

Commit

Permalink
api 5.8.0 (#84)
Browse files Browse the repository at this point in the history
Co-authored-by: Shafeeq Azzam <shafeeqazzam@microsoft.com>
  • Loading branch information
shafeeqz and Shafeeq Azzam authored Feb 19, 2024
1 parent bd5b69f commit 4939502
Show file tree
Hide file tree
Showing 7 changed files with 524 additions and 3 deletions.
9 changes: 9 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,4 +1,13 @@
# Change Log - Power BI Custom Visuals API
## 5.8.0
* `storageV2Service` : Enables visuals to use the browser's local storage.
* Support For OnObject Formatting:
- Adds OnObject Formatting interfaces.
- visualOnObjectFormatting: Contains the get APIs of the onObject.
- `subSelectionService`: Enables visuals to send subSelections and outlines to PowerBI.
- Adds 2 capabilities: `supportsOnObjectFormatting` and `enablePointerEventsFormatMode`.
- Adds `subSelections` and `formatMode` in `VisualUpdateOptions` interface.

## 5.7.0
* `acquireAADTokenService` : Enables visuals to obtain Microsoft Entra ID (formerly known as Azure AD) access tokens for signed-in users.
* Dynamic drill control : Adds new API and capability to dynamically control the drill and expand collapse features.
Expand Down
3 changes: 3 additions & 0 deletions index.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,7 @@
// Powerbi formatting pane APIs
/// <reference path='./src/formatting-model-api.d.ts'/>

// Powerbi onobject formatting APIs
/// <reference path='./src/on-object-formatting-api.d.ts'/>

export default powerbi;
4 changes: 2 additions & 2 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "powerbi-visuals-api",
"version": "5.7.0",
"version": "5.8.0",
"description": "Power BI Custom Visuals API type definitions for typescript",
"types": "index",
"main": "index.js",
Expand Down
8 changes: 8 additions & 0 deletions schema.capabilities.json
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,14 @@
"dataReductionCustomization": {
"description": "Specifies the dataReduction customization applied in the customQuery method",
"$ref": "#/definitions/dataReductionCustomization"
},
"supportsOnObjectFormatting": {
"type": "boolean",
"description": "Indicates that the visual supports onObjectFormatting"
},
"enablePointerEventsFormatMode": {
"type": "boolean",
"description": "enables PointerEvents for FormatMode"
}
},
"required": [
Expand Down
Loading

0 comments on commit 4939502

Please sign in to comment.