Skip to content

Releases: manicminer/hamilton

v0.36.1

25 Nov 13:47
0f8e7e2
Compare
Choose a tag to compare
  • Fix an incorrect enum value for ConditionalAccessDevicePlatformAll (#127)

v0.36.0

25 Nov 12:33
8b50327
Compare
Choose a tag to compare

v0.35.0

16 Nov 23:58
03e3055
Compare
Choose a tag to compare
  • Auth package refactoring (#123)

    • Remove the auth.Api type and instead use environments.Api directly
    • Use the resource URI instead of the friendly name for Azure CLI auth tokens
  • Add the AuxiliaryTokens() method to the auth.Authorizer interface to support obtaining tokens for additional tenants (#123)

  • Expand support in auth.AutorestAuthorizerWrapper to support any autorest.Authorizer (#123)

    • autorest.BearerAuthorizer and autorest.MultiTenantBearerAuthorizer are fully supported with access tokens, refresh tokens and expiry
    • Other authorizers can supply access tokens only
  • Support auxiliary tenants with client secret and client certificate authorizers (#123)

  • Implement the autorest.Authorizer interface with auth.CachedAuthorizer (which wraps all supported Authorizers) (#123)

  • Export environment configs for more management plane APIs (#123)

    • Resource Manager
    • Batch Management
    • Data Lake
    • Gallery
    • KeyVault
    • Operational Insights
    • OSS RDBMS
    • Service Bus
    • Service Management (Azure Classic)
    • SQL Database
    • Storage
    • Synapse
  • Refactor and tidy up tests for the msgraph package (#123)

  • Say goodbye to Azure Germany 🇩🇪 (#123)

⚠️ BREAKING CHANGES:

  • The signatures for auth.NewClientCertificateAuthorizer, auth.NewClientSecretAuthorizer and auth.NewAzureCliAuthorizer have changed to accommodate passing additional tenant IDs for multi-tenant authorization (#123)

v0.34.0

12 Nov 00:42
68d5819
Compare
Choose a tag to compare
  • Remove a surplus configuration check when using Managed Identity authentication, which improves compatibility with Azure Cloud Shell (#119)
  • Add a new authorizer AutorestAuthorizerWrapper which supports obtaining tokens from go-autorest via autorest.BearerAuthorizer (#120)

v0.33.0

14 Oct 12:17
372f899
Compare
Choose a tag to compare
  • Support for specifying the client ID when using managed identity authentication (#115)
  • Mitigation for breaking API changes around the @odata.id field (#114)
    • If @odata.id is returned in the form objectType('GUID') (i.e. not a valid URI), then attempt to reconstruct a URI
    • This currently hardcodes the graph.microsoft.com host in the generated URI but this does not appear to be a problem for other clouds
    • This field is exported in all structs that reference it, so it's possible to override this if necessary
  • Support for running msgraph tests in national clouds (#114)

⚠️ BREAKING CHANGES:

  • The signatures for the auth.NewMsiAuthorizer() and auth.NewMsiConfig() functions have changed to accommodate the client ID (#115)

v0.32.0

06 Oct 09:23
bd069e5
Compare
Choose a tag to compare
  • Support for setting OData-related HTTP headers
    • Implement a new way to pass the entire odata.Query object as part of request inputs
    • Update all existing clients to pass odata.Query in full
      • The existing method of passing a url.Valuesmap still works, maintains compatibility and can be used for passing non-odata related query parameters
    • Support setting OData-related HTTP headers including OData-Version / OData-MaxVersion, odata-json parameters on the Accept header, and the ConsistencyLevel header which isn't strictly in the odata 'standard' but heavily related
    • Set the odata.metadata parameter to full when retrieving directory objects to ensure the @odata.id field is returned
      • This dramatically increases the payload volume so we don't default it everywhere
  • Support for assigning and retrieving a user's manager (#111)
  • Add application ID for "Azure VPN" to environments package (#113)

v0.31.0

30 Sep 18:56
80ee8fa
Compare
Choose a tag to compare
  • Bug fix: User{}.EmployeeType is a nullable string (#110)

v0.31.0

30 Sep 17:42
4e3cb1c
Compare
Choose a tag to compare
  • Add support for Entitlement Management (beta-only API) (#93)
  • Bug fix: handle inconsistent 400 error when listing sign-in reports with an OData filter (#108)
  • Bug fix: work around an API consistency issue when creating service principals for new applications that have not fully replicated (#109)

v0.30.0

22 Sep 15:04
dd2e27e
Compare
Choose a tag to compare

v0.29.0

15 Sep 20:07
ac7decc
Compare
Choose a tag to compare
  • Applications: add consistency check for roles/scopes that may be in the process of being disabled, when updating an application (#102)
  • Applications: support for uploading application logos via the ApplicationsClient{}.UploadLogo() method(#103)
  • Directory Roles: add the DirectoryROlesClient{}.GetByTemplateId() method for retrieving roles by their template ID (#101)
  • User model: support EmployeeOrgData (#99)