DirectoryId and OrganizationId to DirectoryUsers and DirectoryGroups (#92)VerifyFactor attribute has been deprecated in favor of VerifyChallenge (#89)expires_in parameter when creating passwordless sessions (#53)created_at and updated_at fields (#85)domain_hint and login_hint parameters to GetAuthorizationURL (#72)organization parameter to GetAuthorizationURL (#71)domain parameter for GetAuthorizationURL in favor of organization (#71)DirectoriesService.DeleteDirectory where an error would be thrown when trying to decode the API response (#50)All synchronous methods for performing WorkOS API calls have been removed in (#41). These calls block the application thread, which results in poor performance and can even lead to deadlock.
The asynchronous methods (previously suffixed with Async) have been renamed to take the place of the synchronous methods. For example, GetProfileAndTokenAsync is now GetProfileAndToken.
If you were previously using the asynchronous methods you will need to drop the Async suffix.
If you were previously using the synchronous methods it is highly recommended you migrate your code to use async/await. If this is not possible for some reason, you can use the Task<T>.Result property to synchronously await the result. Accessing this property will block the calling thread until the API request completes.
Connection property to CreatePasswordlessSessionOptions (#38)
OrganizationsService.GetOrganization (#45)OrganizationsService.UpdateOrganization (#40)OrganizationId on Connections (#39)SSOService.GetProfile has been renamed to SSOService.GetProfileAndToken (#43)
Task<Profile> to Task<ProfileAndToken>PortalService class to OrganizationsService (#42)
PortalService.ListOrganizations → Organizations.ListOrganizationsPortalService.CreateOrganization → Organizations.CreateOrganizationSSOService.CreateConnection has been removed (#44)Connection (#39):
OAuthUidOAuthSecretOAuthRedirectUriSamlEntityIdSamlIdpUrlSamlRelyingPartyTrustCertSamlX509Certsredirect_uri option for creating Passwordless Sessions (#17)ConnectionType to reflect all Connection Types currently available in GA (#15)connection_id attribute on Profile objects. (#14)