Skip to content

Releases: microsoft/PowerPlatform-DataverseServiceClient

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

1.0.9 Nuget Release

19 Jul 18:49
dc278e3
Compare
Choose a tag to compare

Fixed an issue with Custom User Agent headers incorrectly causing a format error when .net core is used. Proper User-Agent format must be used to send requests including the user agent.
Fixed an issue with an Empty OptionSetValue collection causing an ArgumentOutOfRangeException. Empty OptionSetValue collections will now be mapped to Null. Fixes #292
Fixed an issue where EntityReference based operations do not propagate RowVersion when using WebAPI protocol. Fixes #296

What's Changed

  • Resync from Main Branch - Fixes from internal and git. by @MattB-msft in #297

Full Changelog: 1.0.4...1.0.9

1.0.4 - Nuget Release

07 Jul 15:04
dfba939
Compare
Choose a tag to compare

Fixed an issue with External Authentication and Connection and configuration constructor where external auth was not being respected correctly.
Fixed a bug on clone where Ilogger was not being propagated to the cloned connection correctly
Removed a call to WhoAmI during login flow as process of talking to Dataverse to verify the connection is delt with during get environment information call.
Updated Newtonsoft dependencies to 13.0.1 per GHSA-5crp-9r3c-p9vr

What's Changed

Full Changelog: 1.0.1...1.0.4

1.0.1 - Nuget Release

13 Jun 17:56
Compare
Choose a tag to compare

1.0 Release of Dataverse Service Client.

Thanks all for your help in getting us to this point... Your feedback over the development and refinement time has been key!

Main Highlights:
Fixed a "Duplicate Key Error" issue created when manually adding some request parameters to an organization request, while also setting the appropriate property in the client
Fix formatting issue with RequestId and Session Id.
Fix exponential back off issue for WebAPI based calls when retrying based on a throttled connection.
Added implementation for Connection and Configuration constructor.
- Allows for a instance of the service client to be created and configured without initialization the client. The client can then be initialized later using the .Connect() method.
- This constructor accepts 3 parameters
- connectionOptions (ConnectionOptions) = Options necessary to create the connection.
- deferConnection (bool) defaulted to false = When set to true, will configure but not create the connection until .Connect() is called.
- serviceClientConfiguration (ConfigurationOptions) defaulted to null = When populated, pre-configures the connection configuration.
- If deferred connection is set to true, .Connect() must be called before the client is useable.
Added Connect() method for use with the deferred behavior of the Connection and Configuration Constructor.
Activated support for adding additional headers to request when using the Configuration Constructor.
Note: Dataverse will only allow specific headers to be used. Use of this capability requires foreknowledge of this capability and agreement with Power Platform Dataverse team.

Full Changelog: 0.6.6...1.0.1

0.6.6 Nuget Release

25 Apr 21:44
6e462a7
Compare
Choose a tag to compare

What's Changed

0.6.6:
Accepted fixes requested by Git user 0xced - thanks for your contrib's!
Fixed Null ref bug for missing redirect URI (if it gets that far) fix #247
Fixed Missing ConfigureAwait's on some Async methods in auth chain. fix #246
Fixed several issues with Alternate Keys being used for entity references relating to use of Int's OptionSets and DateTime alt Key types. Fixes #244, Fixes #231
Fixed issue with suppress duplicate detection header not working correctly via WebAPI path. Fixes #266
Fixed an issue with DateTime's being incorrectly formatted on non english hosts. Fixes #216
Speculative Fix for Date Only types not correctly interpreting TimeZone Offset when in a UTC + Timezone. Fixes #143
Added Discovery Filter support for Korea and Norway GEO's

Full Changelog: 0.6.1...0.6.6

0.6.1 Nuget Release

09 Mar 23:54
254952f
Compare
Choose a tag to compare

Minor Bump to 0.6.x - Should be last bump prior to 1.0.

  • Added initial support for AD auth for OnPremise. This will work for full framework only.
  • Added new constructor that will accept a ConnectionOptions class and a ConfigurationOptions Options Object. This constructor is currently not fully implemented.
    • This is prep work for a builder process and intended to unify the connection flow to a single constructor at some point in the future.
    • The goal of this work will be to resolve the issues caused by lazy loading hosts.
  • Fixed a bug in Logger when working with Connection Strings where log events would not be correctly generated.
  • Speculative fix for GIT issue #219 and #220
  • Fixed a bug where LastError was not properly reset, fixed Git #229
  • Fixed Error message issue between onPrem and onLine , Fixed Git #232
  • Added configuration support to allow for better memory management of very large return sets, Git #207
    • New AppSetting is called "MaxBufferPoolSizeOveride" - there is currently not a way to set this via code at runtime.
    • Support for configuration of this will be added as part of the new Constructor for .net core, .net framework can use it by setting the appsetting value now.
  • Fixed exceptions not being thrown from several paths during login flows.