Skip to content

Releases: microsoft/SDCM

1.2024.730.1

30 Jul 16:25
e796eb1
Compare
Choose a tag to compare

What's Changed

Add managed identity option

Update package Microsoft.Devices.HardwareDevCenterManager to 3.0.12.
Update package Newtonsoft.Json to 13.0.3.
Update creds with new options of ClientCredentials, ManagedIdentity, and MiThenFile.
Update AuthorizationHandlerCredentials to use new credential options.

Full Changelog: #56

1.2023.221.1

23 Feb 01:01
17e62b4
Compare
Choose a tag to compare

Release

1.2023.221.1

Updates

  1. Dependency package updates:
    Microsoft.Data.Edm
    Microsoft.Data.OData
    Microsoft.Data.Services.Client
    Microsoft.Devices.HardwareDevCenterManager
    Microsoft.IdentityModel.Clients.ActiveDirectory
    Newtonsoft.Json
    System.Spatial

  2. DevCenterErrorDetailsDump updated to handle nulls and field not found exceptions.

  3. README file updates.

  4. .NET Build Validation GitHub action created for pull request validations.

  5. Bug Template added for issues.

1.2022.410.1

10 Apr 19:31
fab8e1f
Compare
Choose a tag to compare

Updates

Microsoft.Devices.HardwareDevCenterManager package updated to 2.2.7
This package update includes a catch for HttpRequestException

  • Microsoft.Devices.HardwareDevCenterManager pull request #18
  • By design, if exceptions are caught, the logic will retry the call until MAX_RETRIES is exhausted.

New

Try catch logic for API calls

This allows SDCM to catch exceptions and return ErrorCodes.PARTNER_CENTER_HTTP_EXCEPTION -1000
If using in automation or scripts, you can check for this error and retry the call.

LogExceptionToConsole

  • Exceptions will be logged to the console to help understand the exception and where it was caught.
  • LogExceptionToConsole Program.cs : line : 1209

ErrorCodes

  • SUBMISSION_ENTITY_NOT_FOUND -47
  • COMMIT_REQUEST_INVALID_FOR_CURRENT_STATE -48
  • PARTNER_CENTER_HTTP_EXCEPTION -1000

ErrorCodeConstants (Dashboard Error Codes)

  • EntityNotFound
  • RequestInvalidForCurrentState
  • ErrorMessageConstants
  • OnlyPendingSubmissionsCanBeCommitted
  • InitialSubmissionAlreadyExists

1.2021.1001.1

01 Oct 17:00
0bfa592
Compare
Choose a tag to compare

This update provides better handling of HTTP 429 responses and a version update to Mono.Options

ErroCodes enum now includes HTTP_429_RATE_LIMIT_EXCEEDED = -429.
HTTP 429 responses will return when detected to help avoid NULL Exceptions.
Mono.Options nuget package updated to v6.12.0.148.