Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: DynamicProgramr/PowerBI-JavaScript-wordpress
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: microsoft/PowerBI-JavaScript
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 8 commits
  • 10 files changed
  • 5 contributors

Commits on Jun 25, 2026

  1. Merged PR 1012321: Extend report allowed events to support exportData…

    …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
    Ohad Edry Ohad Edry
    Ohad Edry authored and Ohad Edry committed Jun 25, 2026
    Configuration menu
    Copy the full SHA
    9d6f815 View commit details
    Browse the repository at this point in the history

Commits on Jul 13, 2026

  1. Merged PR 1026873: Release PowerBI Client 2.24.0

    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
    Ohad Edry Ohad Edry
    Ohad Edry authored and Ohad Edry committed Jul 13, 2026
    Configuration menu
    Copy the full SHA
    f2980f3 View commit details
    Browse the repository at this point in the history

Commits on Jul 16, 2026

  1. Merged PR 1015932: Update hosts regex with new host

    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
    Ohad Edry Ohad Edry
    Ohad Edry authored and Ohad Edry committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    d45bee8 View commit details
    Browse the repository at this point in the history
  2. Merged PR 1030874: Release PowerBI Client 2.24.1

    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
    Ohad Edry Ohad Edry
    Ohad Edry authored and Ohad Edry committed Jul 16, 2026
    Configuration menu
    Copy the full SHA
    8322e3f View commit details
    Browse the repository at this point in the history

Commits on Sep 24, 2026

  1. Merged PR 1052017: Forward reportDefinition through createReport (P0 …

    …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...
    tappanajmera committed Sep 24, 2026
    Configuration menu
    Copy the full SHA
    f0079a8 View commit details
    Browse the repository at this point in the history

Commits on Oct 5, 2026

  1. Merge powerbi/master for powerbi-client 2.25.0 public release

    Preserve the official SDK mirror merge history and existing public repository exclusions.
    
    Co-authored-by: Copilot App <223556219+Copilot@users.noreply.github.com>
    Tappan Ajmera and Copilot committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    6397188 View commit details
    Browse the repository at this point in the history
  2. Limit PR396 to report-definition create support

    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>
    Tappan Ajmera and Copilot committed Oct 5, 2026
    Configuration menu
    Copy the full SHA
    dda4b41 View commit details
    Browse the repository at this point in the history

Commits on Oct 7, 2026

  1. Merge pull request microsoft#396 from tappan-ajmera/tappanajmera-micr…

    …osoft-sdk-mirror-release
    
    Mirror 2.25.0
    ayeshurun authored Oct 7, 2026
    Configuration menu
    Copy the full SHA
    afc8e5e View commit details
    Browse the repository at this point in the history
Loading