Skip to content

Major update for Async, Including some breaking changes. #167

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 1 commit into from
Sep 24, 2021

Conversation

MattB-msft
Copy link
Member

@MattB-msft MattB-msft commented Sep 24, 2021

***** Breaking Changes *****
Removed the constructor:
public ServiceClient(OrganizationWebProxyClient externalOrgWebProxyClient, ILogger logger = null)
Removed as we are refactoring how we will accept an external created client for internal use cases.
Contract change:
Added Support to set token file storage location back to connection string and constructors supporting User Authentication.
Modified DiscoverOrganizationsAsync to return a new return object called DiscoverOrganizationsResult
Modified Exception type thrown when external authentication fail to return DataverseOperationExecption vs general exception.

Updates:
Accepted suggestion to Updated logic to detect SDK runtime version for client. Thanks to GitHub user 0xced
Updated behavior of Token refresh to reduce cache hits, Optimized token lookup for cache hits over network calls.
Added Handlers to support timeouts from AAD Token service. Fixes #148
Added InMemory Token Cache system for S2S flows. Fixes #144
This pulls a new dependency on Microsoft.Extensions.Caching.Memory, min version 5.0.0
Added FileToken Storage Provider back into Client - works for User Access flows only... Does not work for S2S accounts.
Added configuration override support for setting MSAL Token Acquire Timeout, Retry Count, and MSALPIILogger
MSAL Token Timeout control : appsetting = MSALRequestTimeoutOverride, default is 30 seconds.
MSAL Token Acquire retry count: appsetting = MSALRequestRetryCountOverride, default is 3.
MSAL Allow PII in Log data: appsetting = MSALLogPII, default is false
Updated Async Implementation older SDK flow ( non-OData ) which should improve thread support. Fixes #146
Updated Internal interaction behaviors for communication to Dataverse Server
Added temp properties to allow for field control of this if the behavior does not work as intended.
Fixed an issue where an Guid.Empty Session ID was set the server.
Fixed an issue where Create and Update Operations would not properly respect API allowed fields for create or update. Fixes #163
Fixed an issue where logical name was being used instead of Schema name for Activity parties Fixes #166

@MattB-msft MattB-msft merged commit ba545dc into master Sep 24, 2021
@MattB-msft MattB-msft deleted the release/update/210924092146 branch March 10, 2022 00:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant