Skip to content

Releases: manicminer/hamilton

v0.21.0

06 Jul 13:59
da911c7
Compare
Choose a tag to compare
  • msgraph.User{} now supports the AgeGroup field (#76)
  • msgraph.User{} now supports the ConsentProvidedForMinor field (#76)

⚠️ BREAKING CHANGES:

  • msgraph.Application{}.SignInAudience is now a pointer reference (#76)
  • msgraph.ServicePrincipal{}.SignInAudience is now a pointer reference (#76)
  • msgraph.Group{}.ResourceBehaviorOptions is now a custom type (#75)
  • msgraph.Group{}.ResourceProvisioningOptions is now a custom type (#75)
  • msgraph.Group{}.Theme is now a custom type (#75)
  • msgraph.Group{}.Visibility is now a custom type (#75)
  • msgraph.User{}.EmployeeId is now a StringNullWhenEmpty type (#76)
  • msgraph.User{}.FaxNumber is now a StringNullWhenEmpty type (#76)
  • msgraph.User{}.Mail is now a StringNullWhenEmpty type (#76)
  • msgraph.User{}.PreferredLanguage is now a StringNullWhenEmpty type (#76)
  • msgraph.ApplicationExtensionTargetObject is now a type alias (#76)
  • msgraph.AppRoleAllowedMemberType is now a type alias (#76)
  • msgraph.BodyType is now a type alias (#76)
  • msgraph.ExtensionSchemaPropertyDataType is now a type alias (#76)
  • msgraph.GroupType is now a type alias (#76)
  • msgraph.GroupMembershipClaim is now a type alias (#76)
  • msgraph.KeyCredentialType is now a type alias (#76)
  • msgraph.KeyCredentialUsage is now a type alias (#76)
  • msgraph.PermissionScopeType is now a type alias (#76)
  • msgraph.ResourceAccessType is now a type alias (#76)
  • msgraph.SignInAudience is now a type alias (#76)

v0.20.0

30 Jun 23:07
6e317b4
Compare
Choose a tag to compare
  • Support the spa field for applications (#74)

v0.19.0

29 Jun 10:05
b00294a
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES:

  • Support for passing the raw bytes of a PKCS#12 bundle when using client certificate authentication. This alters the method signature of auth.NewClientCertificateAuthorizer() but does not affect the use of a PFX file read from the filesystem. See #65 for details and example usage.

v0.18.0

22 Jun 21:31
3de08b7
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES:

  • This release introduces support for OData query parameters via a new type odata.Query{}. Instead of accepting just a filter string, all clients now accept an instance of odata.Query{} on relevant List methods which encapsulates any combination of odata queries such as $filter, $search, $top etc. All documented parameters are supported and wrapped lightly where appropriate. (#63)
  • Updating to this release will require changes to affected method calls, for example:
    apps, status, err := appsClient.List(ctx, odata.Query{
    	Filter: fmt.Sprintf("startsWith(displayName,'%s')", searchTerm),
    	OrderBy: odata.OrderBy{
    		Field:     "displayName",
    		Direction: "asc",
    	},
    	Top: 10,
    })
  • Where an empty filter string was previously specified, it should be replaced with an empty odata.Query{} struct:
    apps, status, err := appsClient.List(ctx, odata.Query{})

v0.17.0

15 Jun 10:20
420f3fd
Compare
Choose a tag to compare

⚠️ BREAKING CHANGES:

  • This release adds a new type alias StringNullWhenEmpty which has replaced several existing field string types
  • It enables zeroing field values that don't accept empty strings. See (#59) for details and example usage

v0.16.0

08 Jun 21:02
567427b
Compare
Choose a tag to compare

BEHAVIORAL CHANGES:

  • This release implements a retry mechanism for some types of failed requests where the likely cause is indicated to be replication delays in Azure Active Directory (#57)
  • Client methods which retrieve, update or delete single, mutable objects will all exert this retry mechanism, and may take up to 2 minutes to return (successfully or not)
  • To opt out of this behavior, simply set the BaseClient.DisableRetries field to true on your client(s), for example:
    client := msgraph.NewApplicationsClient(tenantId)
    client.BaseClient.DisableRetries = true

v0.15.0

01 Jun 11:02
887bf8c
Compare
Choose a tag to compare
  • Bug fix: Set correct OData types when updating named locations (#55)
  • Support for permanently deleting applications, groups and service principals (#54)
  • Add a NamedLocationsClient{}.Get() method (#56)

v0.14.1

27 May 23:33
1e39419
Compare
Choose a tag to compare
  • Bug fix: Restore a missing field OnPremisesImmutableId in the User model (#53)

v0.14.0

27 May 21:54
3efc3b8
Compare
Choose a tag to compare

v0.13.0

18 May 11:11
f85fb36
Compare
Choose a tag to compare
  • Bug fix: Don't clear GroupMembershipClaims when nil for an Application (#40)
  • Bug fix: Handle empty OData error collections (#43)
  • Support for sending emails from the authenticated user principal or a specified user (#37)
  • Support for the ownedObjects endpoint for service principals (#38)
  • Support for managing identity providers (#41)
  • Support adding and removing application passwords (#44)
  • Support adding and removing service principal passwords (#45)