Skip to content

v0.32.0

Latest

Choose a tag to compare

@NowinskiK NowinskiK released this 06 May 22:14
07ab92d

What's Changed

Full Changelog: v0.31.0...v0.32.0

Changelog

Added

  • Added Get-FabricDataset cmdlet to retrieve Power BI datasets from My Workspace or a specific workspace, with optional filtering by DatasetId or DatasetName (WorkspaceId parameter, alias GroupId)
  • Added Get-FabricDatasetRefreshHistory cmdlet to retrieve the refresh history of a Power BI dataset, with optional WorkspaceId (alias GroupId) and Top parameters
  • Added Invoke-FabricDatasetRefresh cmdlet (in Dataset folder) to trigger on-demand dataset refreshes, supporting both standard and enhanced refresh parameters (Type, CommitMode, MaxParallelism, RetryCount, Timeout, EffectiveDate, ApplyRefreshPolicy, Objects)
  • Updated unit tests for Invoke-FabricDatasetRefresh to cover the new parameter set, alias, ShouldProcess, body construction, and error handling

Changed

  • Renamed Add-FabricWorkspaceCapacityAssignment to Add-FabricWorkspaceCapacity (issue #42)
  • Renamed Remove-FabricWorkspaceCapacityAssignment to Remove-FabricWorkspaceCapacity (issue #42)
  • Refactored Invoke-FabricRestMethod call in bunch of cmdlets to use hash splatting instead of backtick line continuation (issue #87)
  • Refactored cmdlets to use HandleResponse = $true on Invoke-FabricRestMethod, removing manual status-code switches, LRO polling, and pagination loops from each cmdlet
  • Invoke-FabricRestMethod handles response by default

Fixed

  • Connect-FabricAccount now automatically re-authenticates when MFA or conditional access has expired, without requiring the -Reset switch
  • Made ReportPathDefinition parameter optional in New-FabricReport (issue #43)
  • Fixed PowerShell 5.1 compatibility by replacing ternary operators with if-else statements (issue #166)
  • Added PSFramework as a required module dependency to prevent "not recognized" errors on fresh environments (issue #167)
  • Added Id parameter alias to Workspace functions that take WorkspaceId to support compatibility with API field names and issue #158.
  • The module is compatible with PS 5.1 (issue #166)

Deprecated

Removed

  • Removed Invoke-FabricAPIRequest_duplicate and Invoke-FabricRestMethodExtended
  • Removed all legacy FAB and PowerBI aliases from functions to clean up the module and remove references to old PowerBI-focused codebase (issue #47).
  • Removed Register-FabricWorkspaceToCapacity and Unregister-FabricWorkspaceToCapacity, as they are no longer needed (issue #42)
  • Removed abandoned New-FabricNotebookNEW file (incomplete/broken duplicate of New-FabricNotebook)