Skip to content

Releases: workos/workos-go

v2.0.0

08 Dec 15:58
bb6e12d
Compare
Choose a tag to compare

Added

  • Add log_streams Admin Portal intent (#193)
  • Made #189

Breaking Changes

  • Improve SSO and Passwordless naming consistency (#193)
    • GetProfileOptionsGetProfileOpts
    • GetProfileAndTokenOptionsGetProfileAndTokenOpts
    • GetAuthorizationURLOptionsGetAuthorizationURLOpts
    • passwordless.SendSessionOpts.IDpasswordless.SendSessionOpts.SessionID
  • mfa: Make client functions more consistent (#189)
    • All mfa.Client methods now utilize provided ctx.
    • Removed log.Panic in favour of returning errors.
    • All mfa.Client methods now utilize the client's HTTPClient.
    • Added defers for response bodies.
    • Utilize http.Method* constants instead of strings.
    • Have Client.VerifyFactor call it's receiver, not DefaultClient.
  • MFA improvements (#188)
    • EnrollResponse updated to Factor
    • ChallengeResponse updated to Challenge
    • GetEnrollOpts updated to EnrollFactorOpts
    • VerifyOpts updated to VerifyChallengeOpts
    • Capitalized AuthenticationFactor fields to SMS and TOTP
    • Created type FactorType with SMS and TOTP enums & updated Factor and EnrollFactorOpts accordingly
    • Created TOTPDetails and SMSDetails structs
    • Changed VerifyResponse to be named `VerifyChallengeResponse
  • Standardise return type of VerifyChallenge and coalesce errors into Error (#187)

v1.21.0

14 Nov 14:57
b045064
Compare
Choose a tag to compare

Changed

  • Add GetLoginHandler to sso.Client (#180)

v1.20.0

11 Nov 19:29
85ed3f8
Compare
Choose a tag to compare

Changed

  • Cleaned inconsistencies on Audit Logs Client #181 #183

v1.19.0

25 Oct 16:57
6b9cf4c
Compare
Choose a tag to compare

Changed

  • Add CreatedAt and UpdatedAt to User in #175
  • Add support for DeleteFactor and GetFactor methods in #172
  • Add PrimaryEmail method for Directory User by in #169

v1.18.0

18 Oct 19:44
510e631
Compare
Choose a tag to compare

Added

  • SuccessURL to GenerateLinkOpts by in #177

v1.17.0

12 Oct 15:33
e164fd6
Compare
Choose a tag to compare

Added

  • Added job title attribute to directory user (#173)

v1.16.0

16 Sep 17:33
288cb35
Compare
Choose a tag to compare

Added

  • Added support for creating Admin Portal links for viewing Audit Logs (#170)

v1.15.0

09 Sep 19:13
080fb64
Compare
Choose a tag to compare

What's Changed

  • Add support for optional Idempotency Key in CreateOrganization Method (#166 )

v1.14.0

02 Sep 16:36
9a9d13b
Compare
Choose a tag to compare

Added

  • Added Client for Audit Logs features: CreateEvent, CreateExport, and GetExport (#164)

v1.13.0

14 Jul 21:13
1053ab6
Compare
Choose a tag to compare

Added

  • Added directory_id and organization_id to DirectoryGroup and DirectoryUser (#161)

Changed

  • Updated ChallengeFactor and VerifyChallenge endpoints (#160)