Skip to content

Latest commit

 

History

History
603 lines (381 loc) · 26.4 KB

CHANGELOG.md

File metadata and controls

603 lines (381 loc) · 26.4 KB

Change Log

v1.6.0 (2024-05-09)

Full Changelog

Added

  • [GH-380] - Add User Refresh Token Management Functionality to SDK #404 (developerkunal)
  • [GH-366] - Add support for enabled_connections field in CreateOrganizationConnections #394 (developerkunal)

Fixed

v1.5.0 (2024-04-23)

Full Changelog

Added

Fixed

v1.4.1 (2024-02-28)

Full Changelog

Added

v1.4.0 (2023-12-14)

Full Changelog

Added

  • [SDK-4478] Support organization id when resetting a password #333 (ewanharris)
  • Implement MFA authentication APIs #331 (ewanharris)
  • Export an Authentication Error to allow type assertions #330 (ewanharris)
  • [SDK-4738] Add support for performing Pushed Authorization Requests #327 (ewanharris)

Removed

v1.3.1 (2023-11-28)

Full Changelog

Changed

  • Allow Scopes in ClientGrant to be sent as an empty array (#318)

v1.3.0 (2023-11-10)

Full Changelog

Added

  • Add DisableSelfServiceChangePassword to ConnectionOptionsAD (#308)
  • Add support for using Organizations with Client Grants (#309)

v1.2.0 (2023-10-25)

Full Changelog

Added

  • Add Roles field to the OrganizationMember struct (#293)
  • Add CustomizeMFAInPostLoginAction tenant setting (#294)
  • Add Passkey data to AuthenticationMethod and ConnectionOptions (#296)
  • Add a Sort RequestOption helper to sort fields (#298)

v1.1.0 (2023-09-14)

Full Changelog

Added

  • Add ConnectionSettings and AttributeMap to ConnectionOptionsOIDC and ConnectionOptionsOkta (#277)
  • Add properties to ConnectionOptionsGoogleApps (#278)
  • Add Scopes and SetScopes for ConnectionOptionsPingFederate and ConnectionOptionsSAML (#274)
  • Add support for allow_organization_name_in_authentication_api tenant setting (#280/#281)

Changed

  • Bump Go version to 1.20 (#279)

Fixed

  • Allow sending null values for From and MessagingServiceSID in ConnectionOptionsSMS (#275)

v1.0.2 (2023-08-30)

Full Changelog

Added

  • Add line connection strategy (#271)

Fixed

  • Add missing scope tags to connection options (#269)
  • Fix incorrect json tag for PreviousThumbprints on ConnectionOptionsADFS (#270)

v1.0.1 (2023-08-22)

Full Changelog

Added

  • Support Client Assertion authentication on Authentication Client (#260)
  • Add more known properties onto ad, adfs, pingfederate, saml, and waad connection options (#263)

v1.0.0 (2023-07-27)

Full Changelog

Added

  • Generate safe getters for map[string]interface{} types (#205)
  • Expose configuration of retry strategy (#216)
  • Authentication client (#222, #227, #226, #229, #232)
  • Validate org_name claim in ID token (#246)
  • Support azure_cs and ms365 email providers (#247)
  • Support OIDCLogoutPrompt setting on tenant (#249)
  • Support DecryptionKey on SAML Connection Options (#251)

Breaking Changes

  • Improve typing of Client Addons (#208, #228)
  • Accept a context.Context as the first argument for all methods (#212)
  • Refactor Management struct to avoid chaining issue (#214)
  • Removed deprecated EmailManager (#218)
  • Removed ResourceServer.Stream (#224)
  • Removed DigitalOcean, Discord, Figma, Imgur, Slack, Spotify, Twitch, and Vimeo connection strategies (#245)

Please review the migration guide to understand the changes required to update your application.

v1.0.0-beta.0 (2023-06-26)

Full Changelog

Added

  • Generate safe getters for map[string]interface{} types (#205)
  • Expose configuration of retry strategy (#216)
  • Add Authentication Client (#222, #227, #226, #229, #232)

Breaking Changes

  • Improve typing of Client Addons (#208, #228)
  • Accept a context.Context as the first argument for all methods (#212)
  • Refactor Management struct to avoid chaining issue (#214)
  • Remove deprecated EmailManager (#218)
  • Remove ResourceServer.Stream (#224)

Please review the migration guide to understand the changes required to update your application.

v0.17.2 (2023-05-22)

Full Changelog

Added

  • Added support for updating the Expiry of a Credential (#206)/(#209)

Fixed

  • Correct the ForwardReqInfo property on ConnectionOptionsSMS (#207)

v0.17.1 (2023-05-15)

Full Changelog

Added

  • Added support for configuring RequirePushedAuthorizationRequests on Clients and Tenants (#201)
  • Added support for settings the OIDCBackchannelLogout configuration for a Client (#202)

Note At the time of release, both of these features require enablement for a tenant

v0.17.0 (2023-04-19)

Full Changelog

Added

  • Added support for managing APNS and FCM provider configurations (#184)
  • Added support for the MFAShowFactorListOnEnrollment tenant flag (#187)
  • Added support for setting OrganizationID on a Ticket (#195)
  • Added support for managing Client Credentials (#196)
  • Added support for setting Identity and OrganizationID on VerifyEmail calls (#197)

Fixed

  • Fixed handling of Log entries where Scope is returned as an array of strings (#194)

v0.16.0 (2023-03-15)

Full Changelog

Added

  • Introduce sending client information with requests (#164)
  • Added support for Ping Federate connection (#175)
  • Added support for Factor Management endpoints (#176)
  • Added support for setting disable_self_service_change_password on database connections (#178)

Fixed

  • Fixed issue when decoding ConnectionOptionsGoogleOAuth2 with allowed_audiences set as an empty string (#174)
  • Fixed support for checkpoint pagination (#179)

v0.15.1 (2023-01-30)

Full Changelog

Added

  • Added EnableScriptContext to ConnectionOptions (#158)
  • Added TrustEmailVerified, SignInEndpoint, Thumbprints, FedMetadataXML to ConnectionOptionsADFS (#161)

Fixed

  • Fixed the Connection.UnmarshalJSON() for ConnectionStrategyADFS (#160)

Changed

  • Changed the CrossOriginAuth's json tag cross_origin_auth to cross_origin_authentication (#159)

v0.15.0 (2023-01-26)

Full Changelog

Added

  • Added support for segment log stream type (#151)
  • Added Stage field to BreachedPasswordDetection (#148)
  • Added LogoURL field to ConnectionOptionsOkta (#153)

v0.14.0 (2022-12-19)

Full Changelog

Added

  • Added ability to retrieve job errors (#141)
  • Added summary to jobs (#140)

Fixed

  • Fixed import users job (#139)

v0.13.1 (2022-12-14)

Full Changelog

Added

  • Added Provider() and UpdateProvider() to MFA Push (#136)
  • Added Mixpanel LogStream (#133)

v0.13.0 (2022-11-07)

Full Changelog

Added

  • Added support for creating action log sessions (#127)
  • Added new email provider manager (#129)
  • Added support for Okta connection (#130)

Deprecated

  • Deprecated email manager (#129)

v0.12.0 (2022-10-18)

Full Changelog

Added

  • Added omitempty json tag to IdentityAPI on ConnectionOptionsAzureAD (#119)
  • Added ability to retrieve the default BrandingTheme (#122)
  • Added missing fields to Log (#115)
  • Added LastPasswordReset to User (#125)

⚠️Breaking Changes

  • Changed ClientMetadata to *map[string]interface{} in Client (#120)
  • Changed BrandingTheme fields from int to float64 to increase precision (#121)

v0.11.0 (2022-10-07)

Full Changelog

⚠️ Notice of Breaking Changes

Please note that this version introduces many minor breaking changes. The intention with this release was to capture as many breaking changes into a single release to minimize future disruption.

These changes were introduced for three primary reasons:

Review the complete list below before upgrading.

Changed

  • Action struct fields
    • SupportedTriggers to []ActionTrigger type
    • Dependencies to *[]ActionDependency type
    • Secrets to *[]ActionSecret type
  • Client struct fields
    • Callbacks to *[]string type
    • AllowedOrigins to *[]string type
    • WebOrigins to *[]string type
    • ClientAliases to *[]string type
    • AllowedClients to *[]string type
    • AllowedLogoutURLs to *[]string type
    • EncryptionKey to *map[string]string type
    • GrantTypes to *[]string type
    • ClientMetadata to *map[string]string type
    • Mobile to dedicated *ClientMobile type
    • Scopes to *map[string]string type
  • ClientNativeSocialLogin struct
    • Apple to dedicated *ClientNativeSocialLoginSupportEnabled type
    • Facebook to dedicated *ClientNativeSocialLoginSupportEnabled type
  • ClientGrant struct field
    • Scope to []string type
  • Connection struct fields
    • EnabledClients to *[]string type
    • Realms to *[]string type
    • Metadata to *map[string]string type
  • ConnectionOptions struct fields
  • CustomScripts to *map[string]string type
  • Configuration to *map[string]string type
  • ConnectionOptionsGoogleOAuth2 struct field
    • AllowedAudiences to *[]string type
  • ConnectionOptionsOIDC struct field
    • DomainAliases to *[]string type
  • ConnectionOptionsOAuth2 struct field
    • Scripts to *map[string]string type
  • ConnectionOptionsAD struct fields
    • DomainAliases to *[]string type
    • IPs to *[]string type
    • IPs added omitempty JSON struct tag
  • ConnectionOptionsAzureAD struct field
    • DomainAliases to *[]string type
  • ConnectionOptionsADFS struct field
    • DomainAliases to *[]string type
  • ConnectionOptionsSAML struct field
    • DomainAliases to *[]string type
  • ConnectionOptionsGoogleApps struct field
    • DomainAliases to *[]string type
  • Hook struct field
    • Dependencies to *map[string]string type
  • LogStream struct field
    • Filters to *[]map[string]string type
  • LogStreamSinkHTTP struct field
    • CustomHeaders to *[]map[string]string type
  • Organization struct field
    • Metadata to *map[string]string type
  • OrganizationBranding struct field
    • Colors to *map[string]string type
  • ResourceServer struct fields
    • Scopes to *[]ResourceServerScope type
    • Options to *map[string]string type
  • Tenant struct fields
    • AllowedLogoutURLs to *[]string type
    • SandboxVersionAvailable to *[]string type
    • EnabledLocales to *[]string type

v0.10.1 (2022-08-30)

Full Changelog

Changed

  • Enhance reliability of how we make requests and parse errors (#108

v0.10.0 (2022-08-23)

Full Changelog

Added

  • Added support for branding themes (#103, #104)
  • Added ability to pass a custom audience when using client credentials (#106)

v0.9.3 (2022-07-26)

Full Changelog

Added

  • Added support for checkpoint based pagination (#97)
  • Added Multifactor field to User struct (#97)
  • Added ClientID field to User struct (#97)

v0.9.2 (2022-07-18)

Full Changelog

Changed

  • [Breaking] Change Metadata to *map[string]interface{} in Organization (#95)
  • [Breaking] Change Metadata fields to *map[string]interface{} in User (#96s)

v0.9.1 (2022-07-15)

Full Changelog

Added

  • Added more connection strategies that default to OAuth2 (#93)

v0.9.0 (2022-07-12)

Full Changelog

Added

  • Added session_cookie tenant property (#88)
  • Added upstream_params connection property (#89)
  • Added include_email_in_redirect email template property (#90)

v0.8.0 (2022-07-06)

Full Changelog

Added

  • Added DisableSignOut field to SAMLP connection options (#78)
  • Added several missing tenant flags (#80)
  • Added PKCEEnabled field to Oauth2 connection options (#82)
  • Added Read() and Update() to WebAuthn Roaming Settings (#83)
  • Added Read() and Update() to WebAuthn Platform Settings (#83)
  • Added Read() and Update() to Duo Settings (#84)
  • Added Read() and Update() to Push CustomApp Settings (#85)
  • Added Enable() Recovery Code MFA (#86)

v0.7.0 (2022-06-22)

Full Changelog

Added

  • Added icon_url to OAuth2 connection options (#74)

Changed

  • [Breaking] Changed AuthParams to an interface{} in Email and SMS connection options (#75)

v0.6.4 (2022-06-08)

Full Changelog

Added

  • Added support for webauthn_platform_first_factor_prompt flag in the prompt (#59)

Changed

  • Bumped Go version to 1.18 (#71)
  • Ensured that all the tests can be run in any order
  • Ensured that all the tests clean up the test tenant afterwards of any created resources
  • Enabled http recordings with go-vcr to be used within tests for more reliable testing

v0.6.3 (2022-04-13)

Full Changelog

Fixed

  • Fixed uri path escaping for param IDs that have a forward slash in them (#40)

v0.6.2 (2022-04-07)

Full Changelog

Added

  • Added a method to Unlink a User's identity (#35)
  • Added fields required to support self-managed certificates (#37)
  • Added profileData key to UserIdentity (#33)
  • [DXCDT-104] Added Filters to LogStream (#38)

v0.6.1 (2022-03-03)

Full Changelog

Added

  • Added ShowAsButton option on Connection (#29)

Fixed

  • Fixed json tags on AllowList for Attack Protection structs (#30)

v0.6.0 (2022-02-22)

Full Changelog

Added

  • [DXCDT-44] Add attack protection endpoints (#27)
  • Added missing field ClientID to Ticket (#25)
  • Clarify intended usage of roles in app metadata vs RBAC (#24)

v0.5.0 (2022-02-14)

This project is a continuation of go-auth0/auth0. To view previous release notes please check CHANGELOG.md.

Breaking Changes

  • Renamed client.ClientCredentials to client.OAuth2ClientCredentials
  • Renamed ActionVersionError.Url to ActionVersionError.URL
  • Renamed ActionBindingReferenceById to ActionBindingReferenceByID
  • Renamed ConnectionOptionsSMS.GatewayUrl to ConnectionOptionsSMS.GatewayURL
  • Renamed Connection.ProvisioningTicketUrl to Connection.ProvisioningTicketURL
  • Removed deprecated ActionManager.ListTriggers()
  • Removed deprecated ActionManager.ReadVersion()
  • Removed deprecated ActionManager.ListVersions()
  • Removed deprecated ActionManager.ListBindings()
  • Removed deprecated ActionManager.ReadExecution()
  • Removed deprecated ClientRefreshToken.Type
  • Removed deprecated WithFields()
  • Removed deprecated WithoutFields()
  • Removed deprecated TenantFlags.ChangePasswordFlowV1