Releases: manicminer/hamilton
Releases · manicminer/hamilton
v0.21.0
msgraph.User{}
now supports theAgeGroup
field (#76)msgraph.User{}
now supports theConsentProvidedForMinor
field (#76)
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 aStringNullWhenEmpty
type (#76)msgraph.User{}.FaxNumber
is now aStringNullWhenEmpty
type (#76)msgraph.User{}.Mail
is now aStringNullWhenEmpty
type (#76)msgraph.User{}.PreferredLanguage
is now aStringNullWhenEmpty
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
v0.19.0
- Support for schema extensions (#68)
- Support for retrieving
SignInActivity
for users (#72)
- 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
- Support for application extensions (#61)
- Support for directory audit and sign-in reports (#61)
- 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 ofodata.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
- Support for restoring deleted applications/users/groups (#58)
- Support
PersonalMicrosoftAccount
for theSignInAudience
field for Applications (#59)
- 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
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 totrue
on your client(s), for example:client := msgraph.NewApplicationsClient(tenantId) client.BaseClient.DisableRetries = true
v0.15.0
- 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
v0.14.0
- Bug fix: Correctly marshal the request body for
ApplicationsClient{}.AddPassword()
andServicePrincipalsClient{}.AddPassword()
(#49) - Bug fix: Resolve a potential race condition where a cached access token might be refreshed multiple times unnecessarily (#46)
- Support for app role assignments using the appRolesAssignedTo and appRoleAssignments endpoints (#39)
- Support for listing deleted applications, groups and users (#48)
- Support for retrieving deleted applications, groups and users (#51)
v0.13.0
- 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)