Repository navigation
Mirror 2.25.0 - #396
Merged
Alon Yeshurun (ayeshurun) merged 7 commits intoOct 7, 2026
Merged
Mirror 2.25.0#396Alon Yeshurun (ayeshurun) merged 7 commits into
Alon Yeshurun (ayeshurun) merged 7 commits into
Conversation
…Completed Extend report allowed events to support exportDataCompleted ---- #### AI description (iteration 1) #### PR Classification New feature - extending the list of allowed events to support the `exportDataCompleted` event for reports. #### PR Summary This PR adds support for the `exportDataCompleted` event to the list of allowed report events, enabling applications to listen for and respond to visual data export completion events. - `src/report.ts`: Added `"exportDataCompleted"` to the `Report.allowedEvents` array - `dist/powerbi.js`: Updated the compiled distribution file to include the new event in the allowed events list - `test/protocol.spec.ts`: Added test case for `POST /reports/:uniqueId/events/exportDataCompleted` endpoint to verify event handling when users export visual data <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #2138216
Release PowerBI Client 2.24.0 ---- #### AI description (iteration 1) #### PR Classification Release of PowerBI JavaScript Client version 2.24.0, introducing new export data event capabilities and enums. #### PR Summary This release adds new enums and types to support export data completion events in the PowerBI JavaScript client library. The changes primarily introduce new type definitions for tracking export data operations with different result types, formats, and completion statuses. - Added new `ExportDataResultType` enum with values for Summarized, Underlying, and DataWithCurrentLayout export types - Added new `ExportDataResultFormat` enum supporting Csv and Xlsx output formats - Added new `ExportDataCompletedStatus` enum to track Succeeded/Failed states of export operations - Updated webpack module cache implementation to use `const` instead of `var` declarations - Updated internal webpack module references and validator imports across multiple files to reflect new module structure <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #2146358
Update hosts regex with new host ---- #### AI description (iteration 1) #### PR Classification Bug fix and new feature addition to allow a new sovereign cloud host and fix broken test loop conditions. #### PR Summary This PR adds support for the French sovereign cloud host (`app.powerbi.sovcloud-api.fr`) to the allowed embed URL hosts and fixes critical bugs in test loop conditions that would have caused infinite loops or prevented tests from running. - `src/util.ts` and `dist/powerbi.js`: Updated `allowedPowerBiHostsSovRegex` to include `app\.powerbi\.sovcloud-api\.fr` as an allowed sovereign cloud host - `/test/util.spec.ts`: Fixed incorrect for-loop syntax (moved increment operator from middle to end position) in `validateEmbedUrl` tests that would have caused test failures - `/test/util.spec.ts`: Added test case for the new French sovereign cloud host URL <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #2169002, #2192452
Release PowerBI Client 2.24.1 ---- #### AI description (iteration 1) #### PR Classification Version bump release to update the Power BI Client SDK to version 2.24.1 with Bleu support. #### PR Summary This pull request increments the Power BI Client SDK version from 2.24.0 to 2.24.1, enabling Bleu support as specified in the linked work item. - `src/config.ts` and `/dist/powerbi.js`: Updated version number from '2.24.0' to '2.24.1' <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> Related work items: #2195144
…read-only preview) ## Why The read-only "Preview report without publish" flow (P0) renders an agent-edited, unpublished report layout with live data by passing the edited layout as `reportDefinition` on `createReport`. Today `Create.configChanged` rebuilds a whitelisted `createConfig` and `create()` posts only that to `/report/create`, so `reportDefinition` is dropped before it reaches the report engine — the preview silently renders a blank create instead of the edited layout. ## What - `src/create.ts` — copy `reportDefinition` into `createConfig` in `configChanged` so `createReport` forwards it to the bundle. - `test/service.spec.ts` — two regression tests (forwarded when present, `undefined` when absent), mirroring the existing `theme` tests. ## How - Cast the union config to `IReportCreateConfiguration` when reading `reportDefinition` (the field exists only on the create configuration, not on `IEmbedConfiguration`). ## Dependencies - Requires `powerbi-models` with `IReportCreateConfiguration.reportDefinition` [Add reportDefinition support to embed configuration](https://dev.azure.com/powerbi/Embedded/_git/powerbi-models/pullrequest/1045219) to be published and consumed here before this compiles green. Related PR: [[ReportEmbed] [createReport] Add support for previewing report](https://dev.azure.com/powerbi/PowerBIClients/_git/PowerBIClients/pullrequest/1050455) ---- #### AI description (iteration 1) #### PR Classification Feature enhancement to support passing `reportDefinition` configuration through the `createReport` API for P0 read-only preview functionality. #### PR Summary This change enables the `reportDefinition` property to be forwarded from the embed configuration to the report creation configuration, allowing reports to be created with predefined report definitions. - `src/create.ts`: Added `reportDefinition` property from `IReportCreateConfiguration` to the `createConfig` object - `test/service.spec.ts`: Added two test cases to verify `reportDefinition` is correctly passed through when present and remains undefined when absent <!-- GitOpsUserAgent=GitOps.Apps.Server.pullrequestcopilot --> ---- #### AI description (iteration 4) #### PR Classification New feature: adds support for forwarding `reportDefinition` through `createReport` to enable read-only report preview from a report definition. #### PR Summary This PR extends the `createReport` API to accept an `IReportCreateFromDefinitionConfiguration`, allowing a `reportDefinition` to be included in the create config for report preview scenarios. - `src/create.ts`: adds `isReportCreateFromDefinitionConfiguration` type guard, updates `createConfig` type to support the new definition-based config, validates using `validateCreateReportFromDefinition` when applicable, and includes `reportDefinition` in the resulting create config. - `src/service.ts` and `src/embed.ts`: update `createReport` signature and export new `IReportCreateFromDefinitionConfiguration` type from `powerbi-models`. - `src/po...
Preserve the official SDK mirror merge history and existing public repository exclusions. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
Restore public report events, embed host validation and protocol tests. Rebuild distribution from feature-only source while retaining published history. Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
may-hartov
approved these changes
Oct 6, 2026
Author
|
@microsoft-github-policy-service agree company="Microsoft" |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
No description provided.