v6.0.0-preview0001
Pre-release
Pre-release
[v6.0.0-preview0001]
Changed
- BREAKING CHANGE: Exceptions returned by
Invoke-CosmosDbRequestare now
CosmosDb.ResponseExceptionobjects instead of either
Microsoft.PowerShell.Commands.HttpResponseException(PowerShell 7.x) or
System.Net.HttpWebResponse(PowerShell 5.x) objects. This is to prevent
authorization Headers from being returned in the exception object. In future
the filtered headers and other response information may be included in the
CosmosDb.ResponseExceptionobject.
Added
- Added
Get-CosmosDbRequestExceptionStringfunction to get the exception string
from a Cosmos DB response. RefactoredInvoke-CosmosDbRequestto use this
function to get the exception string from the response.
Fixed
- Added testing for MacOS-13, MacOS-14, MacOS-15, Windows Server 2025, Ubuntu-24.04
and PowerShell 7.x on Windows Server 2019, 2022 and 2025 to the CI pipeline. - Converted CI pipeline Test stage to use matrix to reduce duplication of code.
- FIx spelling error of
ApplicationObjectIdvariable in CI pipeline.