What's Changed
- Increase code coverage by @Gijsreyn in #177
- Added Star History diagram to readme file by @NowinskiK in #185
- 119 add useragent by @NowinskiK in #184
- Add Id alias to WorkspaceId parameters for consistency #158 by @NowinskiK in #186
- Removed Fab* aliases & updated docs by @NowinskiK in #187
- Update New-FabricReport parameters for clarity #43 by @NowinskiK in #188
- Remove duplicate API request functions and update docs by @NowinskiK in #189
- Update changelog and build configuration for clarity by @NowinskiK in #190
- Add PSFramework as a required module by @NowinskiK in #191
- Update documentation and CHANGELOG, remove duplicates by @NowinskiK in #192
- Tons of changes by @NowinskiK in #193
Full Changelog: v0.31.0...v0.32.0
Changelog
Added
- Added
Get-FabricDatasetcmdlet to retrieve Power BI datasets from My Workspace or a specific workspace, with optional filtering byDatasetIdorDatasetName(WorkspaceIdparameter, aliasGroupId) - Added
Get-FabricDatasetRefreshHistorycmdlet to retrieve the refresh history of a Power BI dataset, with optionalWorkspaceId(aliasGroupId) andTopparameters - Added
Invoke-FabricDatasetRefreshcmdlet (inDatasetfolder) 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-FabricDatasetRefreshto cover the new parameter set, alias, ShouldProcess, body construction, and error handling
Changed
- Renamed
Add-FabricWorkspaceCapacityAssignmenttoAdd-FabricWorkspaceCapacity(issue #42) - Renamed
Remove-FabricWorkspaceCapacityAssignmenttoRemove-FabricWorkspaceCapacity(issue #42) - Refactored
Invoke-FabricRestMethodcall in bunch of cmdlets to use hash splatting instead of backtick line continuation (issue #87) - Refactored cmdlets to use
HandleResponse = $trueonInvoke-FabricRestMethod, removing manual status-code switches, LRO polling, and pagination loops from each cmdlet Invoke-FabricRestMethodhandles response by default
Fixed
Connect-FabricAccountnow automatically re-authenticates when MFA or conditional access has expired, without requiring the-Resetswitch- Made
ReportPathDefinitionparameter optional inNew-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
Idparameter alias to Workspace functions that takeWorkspaceIdto support compatibility with API field names and issue #158. - The module is compatible with PS 5.1 (issue #166)
Deprecated
Removed
- Removed
Invoke-FabricAPIRequest_duplicateandInvoke-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-FabricWorkspaceToCapacityandUnregister-FabricWorkspaceToCapacity, as they are no longer needed (issue #42) - Removed abandoned
New-FabricNotebookNEWfile (incomplete/broken duplicate ofNew-FabricNotebook)