Skip to content

Releases: microsoft/PowerPlatform-DataverseServiceClient

1.1.21 Nuget Release notes

16 Apr 21:46
3af97c1
Compare
Choose a tag to compare

Updated Core SDK to 9.2.24044.9795
Added new ServiceClient method for creating requests called "RequestBuilder" - will allow you to create a request and customized header, user, and other properties as part of there request generation. Addressed #438
Example of Request Builder from Tests is here: https://github.com/microsoft/PowerPlatform-DataverseServiceClient/blob/3af97c1776070c155b416e4488993e49524eaeb2/src/GeneralTools/DataverseClient/UnitTests/CdsClient_Core_Tests/ServiceClientTests.cs#L1722C14-L1722C191

Modified Retry handler to use Task.Delay as called out by #442

Dependency Changes:

  • Removed
    System.Security.Cryptography.Algorithms
    System.Security.Cryptography.ProtectedData
    System.Drawing.Common
  • Modified
    System.Configuration.ConfigurationManager to 6.0.0

What's Changed

Full Changelog: 1.1.17...1.1.21

1.1.17 Nuget release

08 Jan 22:16
33b6089
Compare
Choose a tag to compare

1.1.17:
Fix for Request ID not reflecting correctly for some requests.
Fix for RequestAdditionalHeadersAsync interface not being forwarded to Cloned copies of DVSC. GitHub Reported - Fix #419
Fix for Clone being called concurrently causing unnecessary calls to dataverse. GitHub reported - Fix #422
Fix for invalid filenames and paths being created for token cache path when using user interactive mode. Git Hub reported - Fix #406
RENAME (Possible breaking change) MaxBufferPoolSizeOveride parameter name spelling issue, corrected to MaxBufferPoolSizeOverride
Speculative fix object null error reported in #403

What's Changed

Full Changelog: 1.1.16...1.1.17

1.1.16 Nuget release

08 Nov 00:34
284c3c2
Compare
Choose a tag to compare

What's Changed

Fixes #384
Fixes #406

Includes changes from 1.1.15.

Full Changelog: 1.1.15...1.1.16

1.1.15 Nuget release

07 Nov 18:12
521ee7d
Compare
Choose a tag to compare

What's Changed

  • Resync to Shipping code base. by @MattB-msft in #408
    Updated Core SDK
    Added new properties to Organization detail to report Schema Type and Deployment Type.
    Dependency changes:
    System.Text.Json moved to 7.0.3
    Microsoft.Identity.Client moved to 4.56.0
    Microsoft.Identity.Client.Extensions.Msal moved to 4.56.0
    Removed System.Security.Cryptography.Xml was transitive include to support CVE which is no longer necessary due to depending package updates
    Removed System.Security.Cryptography.Pkcs was transitive include to support CVE which is no longer necessary due to depending package updates

Full Changelog: 1.1.14...1.1.15

1.1.14 Nuget release

24 Aug 23:30
447f9dc
Compare
Choose a tag to compare

What's Changed

  • Updates to pick up new SDK bits and fix a bug in exception decode. by @MattB-msft in #393

Updated Core SDK Libs
Fixed issue with DataCenter ID not populating in Organization Detail object returned by the client.
Fixed a hang problem when parsing multi layered exceptions

Full Changelog: 1.1.12...1.1.14

1.1.12 Nuget release

14 Jul 15:32
90998e3
Compare
Choose a tag to compare

What's Changed

  • Push Update from Main Codebase by @MattB-msft in #387
    Refactored CurrentAccessToken property to avoid async call.
    Fix for min version of default client, pre-connection so it is recognized by features that require 9.0 or greater. Fixes #381
    Fix for notification of unsupported features when not 'breaking' to alert as 'warnings' in log vs information.
    Dependency changes:
    Microsoft.Rest.Client moved to 2.3.24 due to CVE-2022-26907.

Full Changelog: 1.1.9...1.1.12

1.1.9 Nuget release

08 Jun 19:42
4a44cfa
Compare
Choose a tag to compare

REMOVED .net 3.1 and .net 5 support as they are out of support frameworks.
Added new DiscoverOnlineOrganizationsAsync which supports CancellationToken
Added new RetrieveSolutionImportResultAsync for retrieving solution import result from Dataverse
Added StageSolution API to Deployment Extensions.
Added Support for "StageSolution" as source for import solution. to use it, you must first stage the solution, then call importsolution passing the staged solution id.
Added GetAsyncOperationStatus API to Deployment Extensions. This provides a simple way to get the status of an async operation.
Added async version of ExecuteWebRequest. Git: #354 Fix #354
Updated telemetry behavior to remove some unnecessary log noise when cloning connections.
Updated auth flow to reduce access token acquire frequency. Git: #377 Fix #377
Updated min version of DV required for SessionID Support.
Updated Async via sync calls to support more current patterns. Git: #372 Fix #372
Fix for cleaning up Last Error reported by Git: #359 Fix #359
Fix for Object Null exception that occurs when using .Clone under request load in a multi threaded use case. Git issue: #362 Fix #362
Dependency changes:

System.ServiceModel.Security moved to 4.10.2 due min dependency (transient dependency is vulnerable to CVE-2022-34716).
System.ServiceModel.Http moved to 4.10.2 due min dependency (transient dependency is vulnerable to CVE-2022-34716).

What's Changed

Full Changelog: 1.0.39...1.1.9

1.0.39 Nuget Release

13 Mar 18:53
44a1af6
Compare
Choose a tag to compare

What's Changed

  • Release Resync from Main Branch by @MattB-msft in #360
    Added .net 6.0 Target for the Client.
    Added implementation for CreateAndReturnAsync variations. Fixed #347
    Updated Default Login flow to use WebAPI to allow for detecting Admin Mode on server during login.
    A Environment in Admin mode will now throw DataverseConnectionException an error with the text "One or more errors occurred. (User does not have required privileges (or role membership) to access the org when it is in Admin Only mode.)". Partial fix for #135
    Updated Improved error reporting of standard HTTP status codes
    Updated ServiceClient Bootstrap to improve startup time.
    Fix (Speculative) for Memory Leak in Retrieve Multiple Fix #305 / Fix #255
    Fix for issue with cross thread calls and dispose were External authentication is used. Fix #306
    Fix for inappropriate retry operations. Unauthorized errors are no longer retried during WebAPI calls
    Fix to enabled GZip Compression for WebAPI requests.
    Dependency changes:
    System.Text.Json moved to 6.0.7 min dependency (transient dependency is vulnerable to CVE-2022-34716).
    System.ServiceModel.Http moved to 4.10.0 due min dependency (transient dependency is vulnerable to CVE-2021-24112).

Full Changelog: 1.0.26...1.0.39

1.0.26 Nuget Release

04 Nov 19:50
b483aee
Compare
Choose a tag to compare

What's Changed

  • SyncUp to Main Build Branch by @MattB-msft in #332
    Fix by Git user matkov accepted for crash during create when an invalid timespan is passed from a configuration file to the ServiceClient Constructor. See #326 for details.

Fix by GIT user 0xced accepted for bug in Integrated user security setting, Code will now properly honor integrated security when attempting to authenticate. See #324 for details.

Fixed a number of places where Async Calls did not have a .ConfigureAwait specification. Thanks to user 0xced for prompting this fix.

Fixed a misleading warning message "Client ID not supplied, using SDK Sample Client ID for this connection" that would be incorrectly shown when ExternalAuthentication type was used. Fixes #314, Thanks for your report!

Fixed a possible thread contention issue when managing connection context across multiple concurrent threads in the same client. Git issue: #304 Thanks for your report !

Fixed a memory leak when caused by a logger not being cleaned up when a the creation of the ServiceClient fails. Git issue: #322

Fixed issue where calling the IOrganizationService* interfaces after the client has been disposed would throw a NullReferenceException. Taking this action will now throw an ObjectDisposedException

Removed a set of exception catch and rethrows to preserve the full callstack to caller. Thanks to Git user 0xceed for prompting ( and sticking with getting us to ) this fix. See: #248 for details.

Full Changelog: 1.0.23...1.0.26

1.0.23 Nuget Release

26 Oct 17:11
dd3a389
Compare
Choose a tag to compare

What's Changed

New Contributors

Full Changelog: 1.0.9...1.0.23